CN113286215B - Wireless earphone, control method thereof and earphone system - Google Patents

Wireless earphone, control method thereof and earphone system Download PDF

Info

Publication number
CN113286215B
CN113286215B CN202110169666.XA CN202110169666A CN113286215B CN 113286215 B CN113286215 B CN 113286215B CN 202110169666 A CN202110169666 A CN 202110169666A CN 113286215 B CN113286215 B CN 113286215B
Authority
CN
China
Prior art keywords
instruction
timing
result
duration
tout
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
CN202110169666.XA
Other languages
Chinese (zh)
Other versions
CN113286215A (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.)
Zhuhai Jieli Technology Co Ltd
Original Assignee
Zhuhai Jieli Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Jieli Technology Co Ltd filed Critical Zhuhai Jieli Technology Co Ltd
Priority to CN202110169666.XA priority Critical patent/CN113286215B/en
Publication of CN113286215A publication Critical patent/CN113286215A/en
Application granted granted Critical
Publication of CN113286215B publication Critical patent/CN113286215B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • 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 provides a wireless earphone, a control method thereof and an earphone system, wherein the wireless earphone comprises a wireless communication unit, a charging interface, a detection processing unit and a control unit; the detection processing unit is used for detecting the voltage of the charging interface, timing the duration time of the charging interface in a preset voltage state, and sending a warehousing instruction to the control unit when the timing time reaches the current warehousing instruction triggering time length, or sending a discharging instruction to the control unit when the timing time reaches the current discharging instruction triggering time length; the control unit is used for closing the wireless communication unit when receiving a warehousing instruction or opening the wireless communication unit when receiving an ex-warehousing instruction; the detection processing unit is also used for judging the timing result and adjusting the trigger duration of the warehouse entry instruction or the trigger duration of the warehouse exit instruction. The invention not only can realize more accurate in-warehouse or out-warehouse detection, but also is beneficial to realizing lower power consumption.

Description

Wireless earphone, control method thereof and earphone system
Technical Field
The invention relates to the technical field of wireless audio, in particular to a wireless earphone, a control method thereof and an earphone system.
Background
With the development of wireless communication technology, intelligent and wireless products have been deeply put into daily life, wherein TWS headphones are used as an extension of intelligent devices, and rapid development has been achieved in recent years. Currently, TWS headphones are mostly equipped with a charging bin with storage and charging functions, and can be controlled to be turned on and off by performing state recognition on different states (out of bin, in bin and out of bin) of the wireless headphones.
In the current TWS earphone, most of the functions for detecting the in-out state of the wireless earphone are arranged in the charging bin, for example, in one implementation manner in the prior art, the processor of the charging bin adopts a communication mode such as polling to detect the in-out state of the wireless earphone, but this mode easily causes the problem of higher detection power consumption; in another mode of the prior art, a sensor (such as a hall sensor) is used for detecting the in-out state of the wireless earphone, but the mode increases components of the scheme, so that the complexity of a product circuit is improved, the product cost is increased, and the sensor is easily influenced by a surrounding magnetic field, so that the detection result is inaccurate.
Disclosure of Invention
Based on the above-mentioned current situation, the main purpose of the present invention is to provide a wireless earphone, a control method thereof and an earphone system, which not only can realize more accurate in-warehouse or out-warehouse detection, but also is beneficial to realizing lower power consumption.
In order to achieve the above purpose, the technical scheme of the invention provides a wireless earphone, which comprises a wireless communication unit and a charging interface, and further comprises a detection processing unit and a control unit;
The detection processing unit is connected with the charging interface and the control unit, and is used for detecting the voltage of the charging interface, timing the duration time of the charging interface in a preset voltage state, and sending a warehousing instruction to the control unit when the timing time reaches the current warehousing instruction triggering duration, wherein the preset voltage state is a state that the voltage of the charging interface is larger than a threshold value;
The control unit is connected with the wireless communication unit and is used for closing the wireless communication unit when receiving the warehousing instruction;
The detection processing unit is also used for judging the timing result, and adjusting the trigger duration of the warehousing instruction when the timing result is in a preset range.
Further, the detection processing unit is configured with:
If the timing result is smaller than K1 Tin_set, reducing the trigger time length of the warehousing instruction;
and/or if the timing result is greater than tin_set and less than tin_max, increasing the trigger time length of the warehousing instruction;
Wherein K1 is a preset factor which is more than 0 and less than 1, tin_set is the current trigger time of the warehousing instruction, tin_max is a preset time, and Tin_max is more than Tin_set.
Further, the detection processing unit is configured with: if the result of the timing is smaller than k1×tin_set, the trigger duration of the binning instruction is reduced by:
And/or if the result of the timing is greater than tin_set and less than tin_max, increasing the binning instruction trigger time by:
wherein tin_set' is the adjusted trigger duration of the warehousing instruction, tin_set is the current trigger duration of the warehousing instruction, and Tin is the timing result.
Further, the value of K1 is any value from 0.3 to 0.8.
In order to achieve the above purpose, the technical scheme of the invention also provides a wireless earphone, which comprises a wireless communication unit and a charging interface, and further comprises a detection processing unit and a control unit;
The detection processing unit is connected with the charging interface and the control unit, and is used for detecting the voltage of the charging interface, timing the duration time of the charging interface in a preset voltage state, and sending a discharging instruction to the control unit when the timing time reaches the current discharging instruction triggering time length, wherein the preset voltage state is a state that the voltage of the charging interface is smaller than a threshold value;
The control unit is connected with the wireless communication unit and is used for starting the wireless communication unit when receiving the ex-bin instruction;
The detection processing unit is also used for judging the timing result, and adjusting the trigger duration of the discharging instruction when the timing result is in a preset range.
Further, the detection processing unit is configured with:
if the timing result is smaller than K2 Tout_set, reducing the trigger duration of the discharging instruction;
and/or if the result of the timing is greater than tout_set and less than tout_max, increasing the trigger time of the out-of-bin instruction;
Wherein, K2 is a preset factor greater than 0 and less than 1, tout_set is the current trigger duration of the out-of-bin instruction, tout_max is a preset duration, and tout_max is greater than tout_set.
Further, the detection processing unit is configured with: if the result of the timing is less than k2×tout_set, the trigger duration of the out-of-bin instruction is reduced by:
and/or if the result of the timing is greater than tout_set and less than tout_max, increasing the pop instruction trigger duration by:
Wherein tout_set' is the adjusted trigger duration of the out-of-bin instruction, tout_set is the current trigger duration of the out-of-bin instruction, and Tout is the result of the timing.
Further, the value of K2 is any value from 0.3 to 0.8.
In order to achieve the above purpose, the technical scheme of the invention also provides a wireless earphone, which comprises a wireless communication unit and a charging interface, and further comprises a detection processing unit and a control unit;
The detection processing unit is used for detecting the voltage of the charging interface, carrying out first timing on the duration time of the charging interface in a first preset voltage state and carrying out second timing on the duration time of the charging interface in a second preset voltage state, sending a warehousing instruction to the control unit when the first timing time reaches the current warehousing instruction triggering time length, and sending an unloading instruction to the control unit when the second timing time reaches the current unloading instruction triggering time length, wherein the first preset voltage state is a state that the voltage of the charging interface is larger than a threshold value, and the second preset voltage state is a state that the voltage of the charging interface is smaller than the threshold value;
the control unit is connected with the wireless communication unit and is used for closing the wireless communication unit when receiving the warehousing instruction and opening the wireless communication unit when receiving the discharging instruction;
The detection processing unit is further configured to determine a result of the first timing, adjust the trigger duration of the in-bin instruction when the result of the first timing is in a first preset range, determine a result of the second timing, and adjust the trigger duration of the out-bin instruction when the result of the second timing is in a second preset range.
Further, the detection processing unit and the control unit are integrated in the same chip.
Further, the detection processing unit comprises a voltage detection unit and a signal processing unit;
The voltage detection unit is connected with the charging interface and is used for detecting the voltage of the charging interface and outputting a preset signal to the signal processing unit when the charging interface is in a preset voltage state;
The signal processing unit is connected with the voltage detection unit and is used for detecting the preset signal and timing the duration of the preset signal.
Further, the voltage detection unit is an analog circuit, and the signal processing unit is a digital circuit.
In order to achieve the above object, the present invention further provides an earphone system, which includes a charging bin and the wireless earphone, wherein the charging bin includes a charging circuit, and when the wireless earphone is located in the charging bin, the charging circuit is electrically connected to a charging interface of the wireless earphone and provides a preset voltage to the charging interface.
In order to achieve the above object, the present invention further provides a method for controlling a wireless headset, where the wireless headset includes a wireless communication unit and a charging interface, and the method includes:
The wireless earphone detects the voltage of the charging interface and counts the duration time of the charging interface in a preset voltage state, wherein the preset voltage state is a state that the voltage of the charging interface is larger than a threshold value;
When the timed time reaches the current trigger duration of the warehousing instruction, the wireless earphone closes the wireless communication unit;
The wireless earphone judges the timing result, and adjusts the trigger duration of the warehousing instruction when the timing result is in a preset range.
Further, the wireless earphone judges the timing result, and adjusts the trigger duration of the warehousing instruction when the timing result is in a preset range, including:
If the timing result is smaller than K1 Tin_set, reducing the trigger time length of the warehousing instruction;
and/or if the timing result is greater than tin_set and less than tin_max, increasing the trigger time length of the warehousing instruction;
Wherein K1 is a preset factor which is more than 0 and less than 1, tin_set is the current trigger time of the warehousing instruction, tin_max is a preset time, and Tin_max is more than Tin_set.
Further, the wireless earphone judges the timing result, and adjusts the trigger duration of the warehousing instruction when the timing result is in a preset range, including:
if the result of the timing is smaller than k1×tin_set, the trigger duration of the binning instruction is reduced by:
And/or if the result of the timing is greater than tin_set and less than tin_max, increasing the binning instruction trigger time by:
wherein tin_set' is the adjusted trigger duration of the warehousing instruction, tin_set is the current trigger duration of the warehousing instruction, and Tin is the timing result.
In order to achieve the above object, the present invention further provides a method for controlling a wireless headset, where the wireless headset includes a wireless communication unit and a charging interface, and the method includes:
The wireless earphone detects the voltage of the charging interface and counts the duration time of the charging interface in a preset voltage state, wherein the preset voltage state is a state that the voltage of the charging interface is smaller than a threshold value;
when the timed time reaches the current trigger duration of the discharging instruction, the wireless earphone starts the wireless communication unit;
The wireless earphone judges the timing result, and adjusts the trigger duration of the discharging instruction when the timing result is in a preset range.
Further, the wireless earphone judges the timing result, and adjusts the trigger duration of the discharging instruction when the timing result is in a preset range, including:
if the timing result is smaller than K2 Tout_set, reducing the trigger duration of the discharging instruction;
and/or if the result of the timing is greater than tout_set and less than tout_max, increasing the trigger time of the out-of-bin instruction;
Wherein, K2 is a preset factor greater than 0 and less than 1, tout_set is the current trigger duration of the out-of-bin instruction, tout_max is a preset duration, and tout_max is greater than tout_set.
Further, the wireless earphone judges the timing result, and adjusts the trigger duration of the discharging instruction when the timing result is in a preset range, including:
if the result of the timing is less than k2×tout_set, the trigger duration of the out-of-bin instruction is reduced by:
and/or if the result of the timing is greater than tout_set and less than tout_max, increasing the pop instruction trigger duration by:
Wherein tout_set' is the adjusted trigger duration of the out-of-bin instruction, tout_set is the current trigger duration of the out-of-bin instruction, and Tout is the result of the timing.
According to the wireless earphone provided by the invention, the voltage of the self-charging interface is detected, the duration time of the self-charging interface in the preset voltage state is counted, the self-charging state is judged to be changed into the in-warehouse state when the counted time reaches the in-warehouse instruction triggering time length, or the self-charging state is judged to be changed into the out-warehouse state when the counted time reaches the out-warehouse instruction triggering time length, and the in-warehouse instruction triggering time length and the out-warehouse instruction triggering time length can be adjusted in real time according to the counted result, so that more accurate in-warehouse detection and out-warehouse detection can be realized, and lower power consumption can be realized.
Drawings
The above and other objects, features and advantages of the present invention will become more apparent from the following description of embodiments of the present invention with reference to the accompanying drawings, in which:
fig. 1 is a schematic diagram of a wireless earphone according to an embodiment of the present invention;
fig. 2 is a schematic diagram of another wireless earphone according to an embodiment of the present invention;
Fig. 3 is a flowchart of a process of controlling the binning of a wireless headset according to an embodiment of the present invention;
fig. 4 is a schematic diagram of yet another wireless earphone according to an embodiment of the present invention;
fig. 5 is a schematic diagram of still another wireless earphone according to an embodiment of the present invention;
fig. 6 is a flowchart of a process of controlling the delivery of a wireless headset according to an embodiment of the present invention.
Detailed Description
The present invention is described below based on examples, but the present invention is not limited to only these examples. In the following detailed description of the present invention, certain specific details are set forth in order to avoid obscuring the present invention, and in order to avoid obscuring the present invention, well-known methods, procedures, flows, and components are not presented in detail.
Moreover, those of ordinary skill in the art will appreciate that the drawings are provided herein for illustrative purposes and that the drawings are not necessarily drawn to scale.
Unless the context clearly requires otherwise, throughout the description and the claims, the words "comprise", "comprising", and the like are to be construed in an inclusive sense as opposed to an exclusive or exhaustive sense; that is, it is the meaning of "including but not limited to".
In the description of the present invention, it should be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Furthermore, in the description of the present invention, unless otherwise indicated, the meaning of "a plurality" is two or more.
Referring to fig. 1, fig. 1 is a schematic diagram of a wireless earphone provided by an embodiment of the present invention, where the wireless earphone includes a wireless communication unit 110 and a charging interface 120, where the wireless communication unit 110 is configured to establish wireless connection with an external device (such as a smart device such as a mobile phone, a tablet computer, etc.) to obtain audio data, and for example, the wireless communication unit may be a bluetooth communication unit, and the charging interface 120 is configured to be electrically connected to a charging circuit of a charging bin when the wireless earphone is located in the charging bin, so as to obtain power from the charging bin, and the wireless earphone further includes a detection processing unit 130 and a control unit 140;
The detection processing unit 130 is connected to the charging interface 120 and the control unit 240, where the detection processing unit 130 is configured to detect a voltage of the charging interface 120, time a duration of the charging interface 120 in a preset voltage state, and send a binning instruction to the control unit 140 when the time of the time reaches a current binning instruction trigger duration, where the preset voltage state is a state in which the voltage of the charging interface 120 is greater than a threshold value;
Namely, when the wireless earphone is in an out-of-bin state (namely, the wireless earphone is positioned outside the charging bin), the voltage of the charging interface of the wireless earphone is in a state smaller than the threshold value, when the detection processing unit detects that the voltage of the charging interface is changed from the state smaller than the threshold value to the state larger than the threshold value, the timing is started, and then, when the voltage of the charging interface is changed from the state larger than the threshold value to the state smaller than the threshold value, the timing is ended;
The detection processing unit 130 may implement timing by using a clock counter.
The control unit 140 is connected to the wireless communication unit 110, and the control unit 240 is configured to close the wireless communication unit 110 when receiving the binning instruction, that is, control the wireless earphone to enter a low power consumption mode;
The detection processing unit 130 is further configured to determine the timing result, and adjust the trigger duration of the warehousing instruction when the timing result is in a preset range.
The timing result is a time length from starting timing to ending timing.
According to the wireless earphone provided by the embodiment of the invention, the voltage of the self-charging interface is detected, the duration time of the self-charging interface in the preset voltage state is counted, the self-charging interface is judged to be changed from the discharging state to the charging state when the counted time reaches the charging instruction triggering time, and the charging instruction triggering time can be adjusted in real time according to the counted result, so that more accurate charging detection can be realized, and lower power consumption can be realized.
The wireless earphone in the embodiment of the invention can be a left earphone or a right earphone in the TWS earphone.
For example, in an embodiment, the detection processing unit 130 and the control unit 140 are integrated in the same chip in the wireless headset, which may be the processing chip of the wireless headset;
For example, in an embodiment, a corresponding analog circuit and/or digital circuit may be added to the processing chip of the existing wireless earphone, that is, the detection processing unit 130 is implemented by a hardware circuit, so that the performance of the earphone is prevented from being affected by implementing the above-mentioned in-bin detection, which is beneficial to reducing the operation load of the CPU, and normal detection and adjustment may be implemented in the chip sleep state.
For example, in one embodiment, referring to fig. 2, the detection processing unit includes a voltage detection unit 131 and a signal processing unit 132;
The voltage detection unit 131 is connected to the charging interface 120, where the voltage detection unit 131 is configured to detect a voltage of the charging interface 120, and output a preset signal to the signal processing unit 132 when the charging interface 120 is in the preset voltage state, for example, the voltage detection unit 131 may be implemented by an analog circuit, and the preset signal may be, for example, a low level signal or a high level signal;
For example, a high level signal is output to the signal processing unit 132 when the charging interface 120 is in the preset voltage state, a low level signal is output to the signal processing unit 132 when it is not in the preset voltage state (when the voltage of the charging interface is less than the above-mentioned threshold value), or a low level signal is output to the signal processing unit 132 when the charging interface 120 is in the preset voltage state, a high level signal is output to the signal processing unit 132 when it is not in the preset voltage state (when the voltage of the charging interface is less than the above-mentioned threshold value);
The signal processing unit 132 is connected to the voltage detecting unit, and is configured to detect the preset signal and time the duration of the preset signal, and may be implemented by a digital circuit, for example.
Specifically, the signal processing unit starts timing when detecting that the voltage detection unit starts outputting the preset signal, and finishes timing when the voltage detection unit stops outputting the preset signal, if the timing time can reach the current trigger duration of the warehousing instruction, the signal processing unit sends the warehousing instruction to the control unit when reaching the current trigger duration of the warehousing instruction, so that the wireless communication unit is closed, and the wireless earphone is controlled to enter a low-power consumption mode.
In the embodiment of the invention, when the wireless earphone is located in the charging bin, the charging bin applies a preset voltage to the charging interface of the earphone to supply power to the wireless earphone, so that the voltage of the charging interface of the earphone can be detected to be larger than the threshold value, and when the earphone is not located in the charging bin, the voltage of the charging interface of the earphone is detected to be smaller than the threshold value because the charging bin does not apply the voltage to the charging interface of the earphone, so that the in-bin state and the out-of-bin state of the earphone can be judged, wherein the magnitude of the threshold value can be set according to the preset voltage applied to the charging interface of the earphone by the charging bin.
In the embodiment of the invention, an initial trigger time length of the warehousing instruction can be preset in the wireless earphone, in a subsequent process, whether the current trigger time length of the warehousing instruction is accurate or not can be judged through a timing result, and real-time adjustment is performed on the current trigger time length of the warehousing instruction, namely when the timing result is smaller than the current trigger time length of the warehousing instruction and the difference value of the current trigger time length and the current trigger time length is larger, the current burr signal (interference signal such as a signal generated by static electricity, poor contact of a charging contact and the like) is smaller in width (the time length is smaller), so that the trigger time length of the warehousing instruction can be correspondingly reduced, the state of entering and exiting the warehousing can be recognized earlier, and the wireless earphone enters a low-power consumption mode as early as possible, and the energy consumption is reduced;
When the counted time reaches the current trigger time of the warehousing instruction, the detection processing unit sends the warehousing instruction and continues counting so as to judge whether a burr signal with larger width (longer time) exists currently. Preferably, a larger preset time period tin_max may be preset, if the counted time reaches the preset time period tin_max, the charging interface is still in the preset voltage state (the state that the voltage of the charging interface is greater than the threshold value), then the current burr signal with larger width (longer time) may not exist, the detection processing unit finishes counting, and determines that the current trigger time period of the warehousing instruction does not need to be adjusted, if the counted time period reaches the preset time period tin_max, the charging interface is changed from the state that the charging interface is in the preset voltage state to the state that the charging interface is not in the preset voltage state (the state that the voltage of the charging interface is less than the threshold value), then the current burr signal with larger width (longer time) may be judged, therefore, the trigger time period of the warehousing instruction may be correspondingly increased, so as to improve the accuracy of the warehousing detection.
The specific size of tin_max can be set according to specific situations.
For example, in one embodiment, the detection processing unit 130 is configured with:
If the timing result is smaller than K1-tin_set (i.e. the charging interface is changed from being in the preset voltage state to not being in the preset voltage state before the time of K1-tin_set), the trigger duration of the binning instruction is reduced;
and/or if the timing result is greater than tin_set and less than tin_max, increasing the trigger time length of the warehousing instruction;
Wherein, K1 is a preset factor greater than 0 and less than 1, tin_set is a current trigger duration of the in-store instruction, tin_max is a preset duration, and tin_max is greater than tin_set, for example, the value of K1 is any value from 0.3 to 0.8, for example, the value of K1 is 0.5.
For example, in an embodiment, the detection processing unit is configured with: if the result of the timing is smaller than k1×tin_set, the trigger duration of the binning instruction is reduced by:
And/or if the result of the timing is greater than tin_set and less than tin_max, increasing the binning instruction trigger time by:
wherein tin_set' is the adjusted trigger duration of the warehousing instruction, tin_set is the current trigger duration of the warehousing instruction, and Tin is the timing result.
For example, in one embodiment, referring to fig. 3, the wireless headset binning control process is as follows:
When the wireless earphone is in the out-of-bin state, the wireless communication unit 110 is in an on state, and when the detection processing unit 130 detects that the voltage of the charging interface 120 changes from a state smaller than a threshold value to a state larger than the threshold value, specifically, when the voltage detection unit 131 starts to output a preset signal, the signal processing unit 132 starts a clock counter;
If the timing result is smaller than K1 x tin_set, the detection processing unit 130 decreases the trigger time period tin_set of the binning instruction according to the above-mentioned preset rule, specifically, in this case, the signal processing unit 132 may decrease tin_set according to the preset rule, clear the preset signal (filtering process) output by the voltage detecting unit 131, and turn off the clock counter;
if the result of the timing is greater than K1 x tin_set and less than tin_set, determining that the signal is currently a glitch signal, and not currently sending a binning instruction and not adjusting the trigger time period tin_set of the binning instruction, specifically, in this case, the signal processing unit 132 may clear the preset signal (filtering process) output by the voltage detecting unit 131, and turn off the clock counter;
if the counted time can reach the current time period tin_set of triggering the binning instruction, when the counted time reaches the current time period tin_set of triggering the binning instruction, the detection processing unit 130 sends the binning instruction to the control unit 140, so that the wireless communication unit 110 is closed, and the wireless earphone enters a low-power mode, specifically, in this case, the signal processing unit 132 can send the binning instruction to the control unit 140;
Then, if the result Tin of the timing is greater than tin_set and less than tin_max, it indicates that there is a burr signal with a larger width, and the detection processing unit 130 increases the trigger time period tin_set of the binning instruction according to the above-mentioned preset rule, specifically, in this case, the signal processing unit 132 may turn off the clock counter and increase the trigger time period tin_set of the binning instruction according to the preset rule;
when the counted time can reach tin_max, it may be determined that there is no burr signal having a large width (longer time), the detection processing unit 130 may end the counting, and determine that there is no need to adjust the trigger time of the binning instruction, specifically, in this case, the clock counter may be turned off by the signal processing unit 132.
Through the mode, interference to the warehousing detection of the Bluetooth headset caused by static electricity, poor contact of the charging contact and the like can be reduced, and the adaptability to the individual differences of different TWS Bluetooth headsets is high.
Referring to fig. 4, fig. 4 is a schematic diagram of a wireless earphone provided by an embodiment of the present invention, where the wireless earphone includes a wireless communication unit 210 and a charging interface 220, where the wireless communication unit 210 is configured to establish wireless connection with an external device (such as a smart device of a mobile phone, a tablet computer, etc.) to obtain audio data, and the wireless communication unit may be, for example, a bluetooth communication unit, and the charging interface 220 is configured to be electrically connected to a charging circuit of a charging bin when the wireless earphone is located in the charging bin, so as to obtain power from the charging bin, and the wireless earphone further includes a detection processing unit 230 and a control unit 240;
The detection processing unit 230 is connected to the charging interface 220 and the control unit 240, where the detection processing unit 230 is configured to detect a voltage of the charging interface 220, time a duration of the charging interface 220 in a preset voltage state, and send an out-of-bin instruction to the control unit 240 when the time of the time reaches a current out-of-bin instruction trigger duration, where the preset voltage state is a state in which the voltage of the charging interface 220 is less than a threshold;
Namely, when the wireless earphone is in a warehousing state (namely, the wireless earphone is positioned in a charging warehouse), the voltage of a charging interface of the wireless earphone is in a state larger than the threshold value, when the detection processing unit detects that the voltage of the charging interface is changed from the state larger than the threshold value to the state smaller than the threshold value, the timing is started, and then, when the voltage of the charging interface is changed from the state smaller than the threshold value to the state larger than the threshold value, the timing is ended;
the detection processing unit 230 may implement timing by using a clock counter.
The control unit 240 is connected to the wireless communication unit 210, and the control unit 240 is configured to, when receiving the unloading instruction, turn on the wireless communication unit 210, so that the wireless headset can establish wireless connection with an external device (such as a smart device such as a mobile phone, a tablet computer, etc.), for example, establish wireless connection in a back connection manner;
The detection processing unit 230 is further configured to determine the timing result, and adjust the trigger duration of the discharging instruction when the timing result is within a preset range.
The timing result is a time length from starting timing to ending timing.
According to the wireless earphone provided by the embodiment of the invention, the voltage of the self-charging interface is detected, the duration time of the self-charging interface in the preset voltage state is counted, the self-charging state is judged to be changed into the discharging state when the counted time reaches the discharging instruction triggering time, and the discharging instruction triggering time can be adjusted in real time according to the counted result, so that more accurate discharging detection can be realized, and lower power consumption can be realized.
The wireless earphone in the embodiment of the invention can be a left earphone or a right earphone in the TWS earphone.
For example, in an embodiment, the detection processing unit 230 and the control unit 240 are integrated in the same chip in the wireless headset, which may be the processing chip of the wireless headset.
For example, in an embodiment, a corresponding analog circuit and/or digital circuit may be added to the processing chip of the existing wireless earphone, that is, the detection processing unit 230 is implemented by a hardware circuit, so that the influence of the implementation of the above-mentioned out-of-bin detection on the performance of the earphone can be avoided, which is beneficial to reducing the operation load of the CPU, and normal detection and adjustment can be implemented in the chip sleep state.
For example, in one embodiment, referring to fig. 5, the detection processing unit includes a voltage detection unit 231 and a signal processing unit 232;
The voltage detection unit 231 is connected to the charging interface 220, and the voltage detection unit 231 is configured to detect a voltage of the charging interface 220, and output a preset signal to the signal processing unit 232 when the charging interface 220 is in the preset voltage state, for example, the voltage detection unit 231 may be implemented by an analog circuit, and the preset signal may be, for example, a low level signal or a high level signal;
for example, a high level signal is output to the signal processing unit 132 when the charging interface 220 is in the preset voltage state, a low level signal is output to the signal processing unit 232 when it is not in the preset voltage state (when the voltage of the charging interface is greater than the above-mentioned threshold value), or a low level signal is output to the signal processing unit 232 when the charging interface 220 is in the preset voltage state, a high level signal is output to the signal processing unit 232 when it is not in the preset voltage state (when the voltage of the charging interface is greater than the above-mentioned threshold value);
The signal processing unit 232 is connected to the voltage detecting unit, and the signal processing unit 232 is configured to detect the preset signal and time the duration of the preset signal, for example, the signal processing unit may be implemented by using a digital circuit.
Specifically, the signal processing unit starts timing when detecting that the voltage detection unit starts outputting the preset signal, and finishes timing when the voltage detection unit stops outputting the preset signal, if the timing time can reach the current trigger duration of the discharging instruction, the signal processing unit sends the discharging instruction to the control unit when reaching the current trigger duration of the discharging instruction, so that the wireless communication unit is started.
In the embodiment of the invention, when the wireless earphone is located in the charging bin, the charging bin applies a preset voltage to the charging interface of the earphone to supply power to the wireless earphone, so that the voltage of the charging interface of the earphone can be detected to be larger than the threshold value, and when the earphone is not located in the charging bin, the voltage of the charging interface of the earphone is detected to be smaller than the threshold value because the charging bin does not apply the voltage to the charging interface of the earphone, so that the in-bin state and the out-of-bin state of the earphone can be judged, wherein the magnitude of the threshold value can be set according to the preset voltage applied to the charging interface of the earphone by the charging bin.
In the embodiment of the invention, an initial trigger time length of the delivery instruction can be preset in the wireless earphone, in a subsequent process, whether the current trigger time length of the delivery instruction is accurate or not can be judged through a timing result, and real-time adjustment is performed on the current trigger time length of the delivery instruction, namely when the timing result is smaller than the current trigger time length of the delivery instruction and the difference value between the current trigger time length and the current trigger time length is larger, the current burr signal (interference signal such as a signal generated by static electricity, poor contact of a charging contact and the like) is smaller in width (the time length is smaller), so that the trigger time length of the delivery instruction can be correspondingly reduced, the delivery state can be recognized earlier, and the wireless earphone can be quickly connected with external equipment in a wireless way;
When the counted time reaches the current trigger time of the discharging instruction, the detecting and processing unit sends the discharging instruction and continues counting so as to judge whether a burr signal with larger width (longer time) exists at present. Preferably, a larger preset duration tout_max may be preset, if the counted time reaches the preset duration tout_max, the charging interface is still in the preset voltage state (the state that the voltage of the charging interface is smaller than the threshold value), then it may be judged that there is no burr signal with a larger width (longer time), the detection processing unit may end the counting, and determine that there is no need to adjust the trigger duration of the discharging instruction currently, if the counted time reaches the preset duration tout_max, the charging interface is changed from the state that is in the preset voltage state to the state that is not in the preset voltage state (the state that the voltage of the charging interface is greater than the threshold value), then it may be judged that there is a burr signal with a larger width (longer time) currently, so the trigger duration of the discharging instruction may be correspondingly increased, so as to improve the accuracy of the discharging detection.
The specific size of tout_max may be set according to the specific situation.
For example, in one embodiment, the detection processing unit 230 is configured with:
if the timing result is smaller than K2 Tout_set, reducing the trigger duration of the discharging instruction;
and/or if the result of the timing is greater than tout_set and less than tout_max, increasing the trigger time of the out-of-bin instruction;
Wherein K2 is a preset factor greater than 0 and less than 1, tout_set is a current trigger duration of the out-of-bin instruction, tout_max is a preset duration, and tout_max is greater than tout_set, for example, the value of K2 is any value from 0.3 to 0.8, for example, the value of K2 is 0.5.
For example, in one embodiment, the detection processing unit 230 is configured with: if the result of the timing is less than k2×tout_set, the trigger duration of the out-of-bin instruction is reduced by:
and/or if the result of the timing is greater than tout_set and less than tout_max, increasing the pop instruction trigger duration by:
Wherein tout_set' is the adjusted trigger duration of the out-of-bin instruction, tout_set is the current trigger duration of the out-of-bin instruction, and Tout is the result of the timing.
For example, in one embodiment, referring to fig. 6, the wireless headset's ex-bin control process is as follows:
When the wireless earphone is in the in-store state, the wireless communication unit 210 is in the off state, and when the detection processing unit 230 detects that the voltage of the charging interface 220 changes from a state greater than a threshold value to a state less than the threshold value, specifically, when the voltage detection unit 231 starts to output a preset signal, the signal processing unit 232 starts a clock counter;
if the result of the timing is smaller than k2×tout_set, the detection processing unit 230 decreases the trigger duration tout_set of the discharging instruction according to the above-mentioned preset rule, in which case, the signal processing unit 232 may decrease tout_set according to the preset rule, clear the preset signal (filtering process) output by the voltage detecting unit 231, and turn off the clock counter;
If the result of the timing is greater than k2×tout_set and less than tout_set, determining that the signal is currently a glitch signal, and there is no need to send the out-of-bin instruction and no need to adjust the out-of-bin instruction trigger duration tout_set, specifically, in this case, the signal processing unit 232 may clear the preset signal (filtering process) output by the voltage detecting unit 231, and turn off the clock counter;
If the counted time can reach the current trigger duration tout_set of the in-bin instruction, when the counted time reaches the current trigger duration tout_set of the out-bin instruction, the detection processing unit 230 sends the out-bin instruction to the control unit 240, so as to turn on the wireless communication unit 210, in which case the out-bin instruction may be sent by the signal processing unit 232 to the control unit 240;
Then, if the result Tout of the timing is greater than tout_set and less than tout_max, it indicates that there is a burr signal with a larger width, and the detection processing unit 230 increases the trigger time period tout_set of the discharging instruction according to the above-mentioned preset rule, specifically, in this case, the signal processing unit 232 may turn off the clock counter and increase the trigger time period tout_set of the entering instruction according to the preset rule;
When the counted time can reach tout_max, it may be determined that there is no burr signal having a large width (longer time), and the detection processing unit 230 may end the counting and determine that there is no need to adjust the trigger time of the discharging instruction, specifically, in this case, the clock counter may be turned off by the signal processing unit 232.
Through the mode, interference to the delivery detection of the Bluetooth headset caused by static electricity, poor contact of a charging contact and the like can be reduced, and the adaptability to the individual differences of different TWS Bluetooth headsets is high.
The embodiment of the invention also provides a wireless earphone which comprises a wireless communication unit and a charging interface, and further comprises a detection processing unit and a control unit;
The detection processing unit is used for detecting the voltage of the charging interface, carrying out first timing on the duration time of the charging interface in a first preset voltage state and carrying out second timing on the duration time of the charging interface in a second preset voltage state, sending a warehousing instruction to the control unit when the first timing time reaches the current warehousing instruction triggering time length, and sending an unloading instruction to the control unit when the second timing time reaches the current unloading instruction triggering time length, wherein the first preset voltage state is a state that the voltage of the charging interface is larger than a threshold value, and the second preset voltage state is a state that the voltage of the charging interface is smaller than the threshold value;
The first timing is the timing of the duration time of the charging interface in the first preset voltage state, and the second timing is the timing of the duration time of the charging interface in the second preset voltage state;
the control unit is connected with the wireless communication unit and is used for closing the wireless communication unit when receiving the warehousing instruction and opening the wireless communication unit when receiving the discharging instruction;
The detection processing unit is further configured to determine a result of the first timing, adjust the trigger duration of the in-bin instruction when the result of the first timing is in a first preset range, determine a result of the second timing, and adjust the trigger duration of the out-bin instruction when the result of the second timing is in a second preset range.
That is, in the present embodiment, the wireless earphone may have the function of the wireless earphone shown in fig. 1 or fig. 2, and may also have the function of the wireless earphone shown in fig. 4 or fig. 5.
Preferably, in this embodiment, the detection processing unit and the control unit are integrated in the same chip.
Preferably, in the present embodiment, the detection processing unit includes a voltage detection unit and a signal processing unit;
the voltage detection unit is connected with the charging interface and is used for detecting the voltage of the charging interface and outputting a preset signal to the signal processing unit when the charging interface is in the preset voltage state;
The signal processing unit is connected with the voltage detection unit and is used for detecting the preset signal and timing the duration of the preset signal.
For example, in this embodiment, the voltage detection unit is an analog circuit, and the signal processing unit is a digital circuit.
The wireless earphone provided by the embodiment of the invention has the advantages that in the whole process of detecting and automatically adjusting the trigger time of the access bin command, the timing operation is started (the clock counter is started to be timed) after the preset signal is detected, the timing operation is stopped (the clock counter is stopped) after the signal is processed, the power consumption generated by the detection of the calculated access bin count can be greatly reduced, the interference of short access bin signals (bad access bin signals) generated by static electricity, poor contact of charging contacts and the like can be eliminated, the Bluetooth connection is more stable, the bad interference signals can be quickly eliminated according to different conditions, the detection time of the access bin state is shortened, the recovery speed of the TWS Bluetooth earphone is accelerated, and the user experience is improved.
The embodiment of the invention also provides an earphone system, which comprises a charging bin and the wireless earphone, wherein the charging bin comprises a charging circuit, and when the wireless earphone is positioned in the charging bin, the charging circuit is electrically connected with a charging interface of the wireless earphone and provides a preset voltage for the charging interface, and the earphone system can be a TWS earphone system.
The embodiment of the invention also provides a control method of the wireless earphone, wherein the wireless earphone comprises a wireless communication unit and a charging interface, and the method comprises the following steps:
The wireless earphone detects the voltage of the charging interface and counts the duration time of the charging interface in a preset voltage state, wherein the preset voltage state is a state that the voltage of the charging interface is larger than a threshold value;
When the timed time reaches the current trigger duration of the warehousing instruction, the wireless earphone closes the wireless communication unit;
The wireless earphone judges the timing result, and adjusts the trigger duration of the warehousing instruction when the timing result is in a preset range.
For example, in an embodiment, the wireless earphone determines the result of the timing, and adjusts the trigger duration of the in-bin instruction when the result of the timing is in a preset range, including:
If the timing result is smaller than K1 Tin_set, reducing the trigger time length of the warehousing instruction;
and/or if the timing result is greater than tin_set and less than tin_max, increasing the trigger time length of the warehousing instruction;
Wherein K1 is a preset factor which is more than 0 and less than 1, tin_set is the current trigger time of the warehousing instruction, tin_max is a preset time, and Tin_max is more than Tin_set.
For example, in an embodiment, the wireless earphone determines the result of the timing, and adjusts the trigger duration of the in-bin instruction when the result of the timing is in a preset range, including:
if the result of the timing is smaller than k1×tin_set, the trigger duration of the binning instruction is reduced by:
And/or if the result of the timing is greater than tin_set and less than tin_max, increasing the binning instruction trigger time by:
wherein tin_set' is the adjusted trigger duration of the warehousing instruction, tin_set is the current trigger duration of the warehousing instruction, and Tin is the timing result.
The embodiment of the invention also provides a control method of the wireless earphone, wherein the wireless earphone comprises a wireless communication unit and a charging interface, and the method comprises the following steps:
The wireless earphone detects the voltage of the charging interface and counts the duration time of the charging interface in a preset voltage state, wherein the preset voltage state is a state that the voltage of the charging interface is smaller than a threshold value;
when the timed time reaches the current trigger duration of the discharging instruction, the wireless earphone starts the wireless communication unit;
The wireless earphone judges the timing result, and adjusts the trigger duration of the discharging instruction when the timing result is in a preset range.
For example, in an embodiment, the wireless earphone determines the result of the timing, and adjusts the trigger duration of the out-of-bin instruction when the result of the timing is in a preset range, including:
if the timing result is smaller than K2 Tout_set, reducing the trigger duration of the discharging instruction;
and/or if the result of the timing is greater than tout_set and less than tout_max, increasing the trigger time of the out-of-bin instruction;
Wherein, K2 is a preset factor greater than 0 and less than 1, tout_set is the current trigger duration of the out-of-bin instruction, tout_max is a preset duration, and tout_max is greater than tout_set.
For example, in an embodiment, the wireless earphone determines the result of the timing, and adjusts the trigger duration of the out-of-bin instruction when the result of the timing is in a preset range, including:
if the result of the timing is less than k2×tout_set, the trigger duration of the out-of-bin instruction is reduced by:
and/or if the result of the timing is greater than tout_set and less than tout_max, increasing the pop instruction trigger duration by:
Wherein tout_set' is the adjusted trigger duration of the out-of-bin instruction, tout_set is the current trigger duration of the out-of-bin instruction, and Tout is the result of the timing.
Those skilled in the art will appreciate that the above-described preferred embodiments can be freely combined and stacked without conflict.
It will be understood that the above-described embodiments are merely illustrative and not restrictive, and that all obvious or equivalent modifications and substitutions to the details given above may be made by those skilled in the art without departing from the underlying principles of the invention, are intended to be included within the scope of the appended claims.

Claims (15)

1. The wireless earphone comprises a wireless communication unit and a charging interface, and is characterized by further comprising a detection processing unit and a control unit;
The detection processing unit is connected with the charging interface and the control unit, and is used for detecting the voltage of the charging interface, timing the duration time of the charging interface in a preset voltage state, and sending a warehousing instruction to the control unit when the timing time reaches the current warehousing instruction triggering duration, wherein the preset voltage state is a state that the voltage of the charging interface is larger than a threshold value;
The control unit is connected with the wireless communication unit and is used for closing the wireless communication unit when receiving the warehousing instruction;
The detection processing unit is also used for judging the timing result, and adjusting the trigger time length of the warehousing instruction when the timing result is in a preset range;
The detection processing unit is configured with:
If the timing result is smaller than K1 Tin_set, reducing the trigger time length of the warehousing instruction;
and/or if the timing result is greater than tin_set and less than tin_max, increasing the trigger time length of the warehousing instruction;
Wherein K1 is a preset factor which is more than 0 and less than 1, tin_set is the current trigger time of the warehousing instruction, tin_max is a preset time, and Tin_max is more than Tin_set.
2. The wireless headset of claim 1, wherein the detection processing unit is configured with: if the result of the timing is smaller than k1×tin_set, the trigger duration of the binning instruction is reduced by:
And/or if the result of the timing is greater than tin_set and less than tin_max, increasing the binning instruction trigger time by:
wherein tin_set' is the adjusted trigger duration of the warehousing instruction, tin_set is the current trigger duration of the warehousing instruction, and Tin is the timing result.
3. The wireless headset of claim 1, wherein K1 has a value of any of 0.3-0.8.
4. The wireless earphone comprises a wireless communication unit and a charging interface, and is characterized by further comprising a detection processing unit and a control unit;
The detection processing unit is connected with the charging interface and the control unit, and is used for detecting the voltage of the charging interface, timing the duration time of the charging interface in a preset voltage state, and sending a discharging instruction to the control unit when the timing time reaches the current discharging instruction triggering time length, wherein the preset voltage state is a state that the voltage of the charging interface is smaller than a threshold value;
The control unit is connected with the wireless communication unit and is used for starting the wireless communication unit when receiving the ex-bin instruction;
The detection processing unit is also used for judging the timing result, and adjusting the trigger duration of the discharging instruction when the timing result is in a preset range;
The detection processing unit is configured with:
if the timing result is smaller than K2 Tout_set, reducing the trigger duration of the discharging instruction;
and/or if the result of the timing is greater than tout_set and less than tout_max, increasing the trigger time of the out-of-bin instruction;
Wherein, K2 is a preset factor greater than 0 and less than 1, tout_set is the current trigger duration of the out-of-bin instruction, tout_max is a preset duration, and tout_max is greater than tout_set.
5. The wireless headset of claim 4, wherein the detection processing unit is configured with: if the result of the timing is less than k2×tout_set, the trigger duration of the out-of-bin instruction is reduced by:
and/or if the result of the timing is greater than tout_set and less than tout_max, increasing the pop instruction trigger duration by:
Wherein tout_set' is the adjusted trigger duration of the out-of-bin instruction, tout_set is the current trigger duration of the out-of-bin instruction, and Tout is the result of the timing.
6. The wireless headset of claim 4, wherein K2 has a value of any of 0.3-0.8.
7. The wireless earphone comprises a wireless communication unit and a charging interface, and is characterized by further comprising a detection processing unit and a control unit;
The detection processing unit is used for detecting the voltage of the charging interface, carrying out first timing on the duration time of the charging interface in a first preset voltage state and carrying out second timing on the duration time of the charging interface in a second preset voltage state, sending a warehousing instruction to the control unit when the first timing time reaches the current warehousing instruction triggering time length, and sending an unloading instruction to the control unit when the second timing time reaches the current unloading instruction triggering time length, wherein the first preset voltage state is a state that the voltage of the charging interface is larger than a threshold value, and the second preset voltage state is a state that the voltage of the charging interface is smaller than the threshold value;
the control unit is connected with the wireless communication unit and is used for closing the wireless communication unit when receiving the warehousing instruction and opening the wireless communication unit when receiving the discharging instruction;
The detection processing unit is further configured to determine a result of the first timing, adjust the trigger duration of the in-bin instruction when the result of the first timing is in a first preset range, determine a result of the second timing, and adjust the trigger duration of the out-of-bin instruction when the result of the second timing is in a second preset range;
The detection processing unit is configured with:
If the result of the first timing is smaller than K1 Tin_set, reducing the trigger duration of the warehousing instruction;
and/or if the result of the first timing is greater than tin_set and less than tin_max, increasing the trigger time length of the warehousing instruction;
Wherein K1 is a preset factor which is more than 0 and less than 1, tin_set is the current trigger time of the warehousing instruction, tin_max is a preset time, and Tin_max is more than Tin_set;
if the result of the second timing is smaller than K2 x tout_set, reducing the trigger duration of the discharging instruction;
and/or if the result of the second timing is greater than tout_set and less than tout_max, increasing the trigger duration of the out-of-bin instruction;
Wherein, K2 is a preset factor greater than 0 and less than 1, tout_set is the current trigger duration of the out-of-bin instruction, tout_max is a preset duration, and tout_max is greater than tout_set.
8. The wireless headset of claim 7, wherein the detection processing unit and the control unit are integrated in the same chip.
9. The wireless headset of claim 7, wherein the detection processing unit comprises a voltage detection unit and a signal processing unit;
The voltage detection unit is connected with the charging interface and is used for detecting the voltage of the charging interface and outputting a preset signal to the signal processing unit when the charging interface is in a preset voltage state;
The signal processing unit is connected with the voltage detection unit and is used for detecting the preset signal and timing the duration of the preset signal.
10. The wireless headset of claim 9, wherein the voltage detection unit is an analog circuit and the signal processing unit is a digital circuit.
11. An earphone system comprising a charging bin and the wireless earphone of any of claims 1-10, the charging bin comprising a charging circuit that electrically connects a charging interface of the wireless earphone and provides a preset voltage to the charging interface when the wireless earphone is in the charging bin.
12. A method for controlling a wireless headset, the wireless headset comprising a wireless communication unit and a charging interface, the method comprising:
The wireless earphone detects the voltage of the charging interface and counts the duration time of the charging interface in a preset voltage state, wherein the preset voltage state is a state that the voltage of the charging interface is larger than a threshold value;
When the timed time reaches the current trigger duration of the warehousing instruction, the wireless earphone closes the wireless communication unit;
the wireless earphone judges the timing result, and adjusts the triggering duration of the warehousing instruction when the timing result is in a preset range;
The wireless earphone judges the timing result, and adjusts the triggering duration of the warehousing instruction when the timing result is in a preset range, and the wireless earphone comprises the following steps:
If the timing result is smaller than K1 Tin_set, reducing the trigger time length of the warehousing instruction;
and/or if the timing result is greater than tin_set and less than tin_max, increasing the trigger time length of the warehousing instruction;
Wherein K1 is a preset factor which is more than 0 and less than 1, tin_set is the current trigger time of the warehousing instruction, tin_max is a preset time, and Tin_max is more than Tin_set.
13. The method of claim 12, wherein the wireless headset determining the result of the timing, and adjusting the trigger duration of the binning instruction when the result of the timing is within a preset range, comprises:
if the result of the timing is smaller than k1×tin_set, the trigger duration of the binning instruction is reduced by:
And/or if the result of the timing is greater than tin_set and less than tin_max, increasing the binning instruction trigger time by:
wherein tin_set' is the adjusted trigger duration of the warehousing instruction, tin_set is the current trigger duration of the warehousing instruction, and Tin is the timing result.
14. A method for controlling a wireless headset, the wireless headset comprising a wireless communication unit and a charging interface, the method comprising:
The wireless earphone detects the voltage of the charging interface and counts the duration time of the charging interface in a preset voltage state, wherein the preset voltage state is a state that the voltage of the charging interface is smaller than a threshold value;
when the timed time reaches the current trigger duration of the discharging instruction, the wireless earphone starts the wireless communication unit;
the wireless earphone judges the timing result, and adjusts the triggering duration of the discharging instruction when the timing result is in a preset range;
The wireless earphone judges the timing result, and adjusts the triggering duration of the discharging instruction when the timing result is in a preset range, and the wireless earphone comprises the following steps:
if the timing result is smaller than K2 Tout_set, reducing the trigger duration of the discharging instruction;
and/or if the result of the timing is greater than tout_set and less than tout_max, increasing the trigger time of the out-of-bin instruction;
Wherein, K2 is a preset factor greater than 0 and less than 1, tout_set is the current trigger duration of the out-of-bin instruction, tout_max is a preset duration, and tout_max is greater than tout_set.
15. The method of claim 14, wherein the wireless headset determining the result of the timing, and adjusting the trigger duration of the discharge instruction when the result of the timing is within a preset range, comprises:
if the result of the timing is less than k2×tout_set, the trigger duration of the out-of-bin instruction is reduced by:
and/or if the result of the timing is greater than tout_set and less than tout_max, increasing the pop instruction trigger duration by:
Wherein tout_set' is the adjusted trigger duration of the out-of-bin instruction, tout_set is the current trigger duration of the out-of-bin instruction, and Tout is the result of the timing.
CN202110169666.XA 2021-02-07 2021-02-07 Wireless earphone, control method thereof and earphone system Active CN113286215B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110169666.XA CN113286215B (en) 2021-02-07 2021-02-07 Wireless earphone, control method thereof and earphone system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110169666.XA CN113286215B (en) 2021-02-07 2021-02-07 Wireless earphone, control method thereof and earphone system

Publications (2)

Publication Number Publication Date
CN113286215A CN113286215A (en) 2021-08-20
CN113286215B true CN113286215B (en) 2024-06-04

Family

ID=77275749

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110169666.XA Active CN113286215B (en) 2021-02-07 2021-02-07 Wireless earphone, control method thereof and earphone system

Country Status (1)

Country Link
CN (1) CN113286215B (en)

Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020095622A (en) * 2001-06-15 2002-12-28 김창진 wireless hands free system for mobile phone and method of controling thereof
JP2005184619A (en) * 2003-12-22 2005-07-07 Casio Comput Co Ltd Portable electronic equipment device and its display method
JP2008289033A (en) * 2007-05-21 2008-11-27 Seiko Epson Corp Apparatus for detecting use of earphone, portable acoustic equipment, portable acoustic equipment control program, recording medium, and portable acoustic equipment control method
CN106559719A (en) * 2015-09-30 2017-04-05 苹果公司 Earplug with acoustics insert
CN206077633U (en) * 2016-08-23 2017-04-05 深圳市三诺数字科技有限公司 A kind of In-Ear wireless headset
CN208158835U (en) * 2018-04-28 2018-11-27 惠州超声音响有限公司 Wireless headset cradle
CN110166868A (en) * 2019-05-28 2019-08-23 歌尔科技有限公司 A kind of charging box and charging system communicated with wireless headset
CN110430504A (en) * 2019-08-07 2019-11-08 湖南国声声学科技股份有限公司深圳分公司 Charge control method, device, charging box and computer readable storage medium
CN110572738A (en) * 2019-10-08 2019-12-13 上海爻火微电子有限公司 wireless earphone charging circuit and wireless earphone box
CN110602598A (en) * 2019-10-24 2019-12-20 歌尔科技有限公司 Wireless earphone, charging box and wireless earphone charging system
CN110650400A (en) * 2019-09-30 2020-01-03 歌尔科技有限公司 Wireless earphone and low-power-consumption method, device and system thereof
CN110677767A (en) * 2019-10-31 2020-01-10 歌尔科技有限公司 Wireless headset control method and system and TWS headset
CN111049230A (en) * 2019-12-31 2020-04-21 歌尔科技有限公司 Wireless earphone, charging method thereof, charging box and readable storage medium
CN210579189U (en) * 2019-10-28 2020-05-19 深圳市伟创芯电子有限公司 Ear-entering detection warehousing reset system
JP2020108223A (en) * 2018-12-26 2020-07-09 株式会社Jvcケンウッド Charging control device, charging case, charging system, charging control method, and program
CN111697713A (en) * 2019-03-16 2020-09-22 炬芯(珠海)科技有限公司 Wireless earphone charging control method, wireless earphone and charging box
CN111884277A (en) * 2020-04-20 2020-11-03 珠海市杰理科技股份有限公司 Charging control method and device, control chip and mobile charging device
CN111987753A (en) * 2019-05-23 2020-11-24 深圳市思远半导体有限公司 Charging control method and related equipment
WO2021017147A1 (en) * 2019-07-26 2021-02-04 歌尔股份有限公司 Wireless earphone serial port control method and apparatus, wireless earphone, and storage medium
CN112332499A (en) * 2020-11-24 2021-02-05 深圳市卓翼科技股份有限公司 Charging control method, system, charging box and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8295532B2 (en) * 2008-01-11 2012-10-23 Broadcom Corporation Method and system for wireless headset instant on capability during battery charging
JP5210776B2 (en) * 2008-09-25 2013-06-12 株式会社日立製作所 Charge / discharge control device for lithium ion secondary battery

Patent Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020095622A (en) * 2001-06-15 2002-12-28 김창진 wireless hands free system for mobile phone and method of controling thereof
JP2005184619A (en) * 2003-12-22 2005-07-07 Casio Comput Co Ltd Portable electronic equipment device and its display method
JP2008289033A (en) * 2007-05-21 2008-11-27 Seiko Epson Corp Apparatus for detecting use of earphone, portable acoustic equipment, portable acoustic equipment control program, recording medium, and portable acoustic equipment control method
CN106559719A (en) * 2015-09-30 2017-04-05 苹果公司 Earplug with acoustics insert
CN206077633U (en) * 2016-08-23 2017-04-05 深圳市三诺数字科技有限公司 A kind of In-Ear wireless headset
CN208158835U (en) * 2018-04-28 2018-11-27 惠州超声音响有限公司 Wireless headset cradle
JP2020108223A (en) * 2018-12-26 2020-07-09 株式会社Jvcケンウッド Charging control device, charging case, charging system, charging control method, and program
CN111697713A (en) * 2019-03-16 2020-09-22 炬芯(珠海)科技有限公司 Wireless earphone charging control method, wireless earphone and charging box
CN111987753A (en) * 2019-05-23 2020-11-24 深圳市思远半导体有限公司 Charging control method and related equipment
CN110166868A (en) * 2019-05-28 2019-08-23 歌尔科技有限公司 A kind of charging box and charging system communicated with wireless headset
WO2021017147A1 (en) * 2019-07-26 2021-02-04 歌尔股份有限公司 Wireless earphone serial port control method and apparatus, wireless earphone, and storage medium
CN110430504A (en) * 2019-08-07 2019-11-08 湖南国声声学科技股份有限公司深圳分公司 Charge control method, device, charging box and computer readable storage medium
CN110650400A (en) * 2019-09-30 2020-01-03 歌尔科技有限公司 Wireless earphone and low-power-consumption method, device and system thereof
CN110572738A (en) * 2019-10-08 2019-12-13 上海爻火微电子有限公司 wireless earphone charging circuit and wireless earphone box
CN110602598A (en) * 2019-10-24 2019-12-20 歌尔科技有限公司 Wireless earphone, charging box and wireless earphone charging system
CN210579189U (en) * 2019-10-28 2020-05-19 深圳市伟创芯电子有限公司 Ear-entering detection warehousing reset system
CN110677767A (en) * 2019-10-31 2020-01-10 歌尔科技有限公司 Wireless headset control method and system and TWS headset
CN111049230A (en) * 2019-12-31 2020-04-21 歌尔科技有限公司 Wireless earphone, charging method thereof, charging box and readable storage medium
CN111884277A (en) * 2020-04-20 2020-11-03 珠海市杰理科技股份有限公司 Charging control method and device, control chip and mobile charging device
CN112332499A (en) * 2020-11-24 2021-02-05 深圳市卓翼科技股份有限公司 Charging control method, system, charging box and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
a health care self-monotoring system for patients with cisual impairment using a network of sensors;oana geman;《2015 e-health and bioengineering conference》;20160128;全文 *
三麦克风降噪蓝牙耳机的设计;李德华;《中国优秀硕士论文全文数据库信息科技辑》;20130115;全文 *
无线耳机充电盒检测设备的设计与研究;常瑞鹏;《全国优秀硕士论文全文数据库信息科技辑》;20181015;全文 *

Also Published As

Publication number Publication date
CN113286215A (en) 2021-08-20

Similar Documents

Publication Publication Date Title
EP3349324B1 (en) Charging control method, charging control device and terminal
US11336105B2 (en) Multi-battery charging and discharging device and mobile terminal
CN107843802B (en) Internal short circuit detection method and device
CN112039154B (en) Battery protection circuit, battery pack and electronic device
US9673643B2 (en) Battery presence detecting method, apparatus and charging system
CN110121812B (en) Method for charging battery, charging device and terminal equipment
CN109888889B (en) Charging control method and device, storage medium and electronic equipment
JP7016881B2 (en) Reverse charging device, reverse charging current adjustment method and device
US11411422B2 (en) Battery charging method, battery charging apparatus and storage medium
EP3579375B1 (en) Charging method, charging device and terminal
CN102917124A (en) Method for dynamically adjusting threshold of distance sensor, and mobile terminal
CN111987773B (en) On-chip system, battery pack and electronic device
CN106374154B (en) A kind of charge control method and electronic equipment
CN111103963A (en) Fingerprint module starting method and device, storage medium and terminal
CN111987753A (en) Charging control method and related equipment
CN113286215B (en) Wireless earphone, control method thereof and earphone system
US11556158B2 (en) On-the-go (OTG) control and configuration method, mobile terminal, and storage medium
US9122470B2 (en) Electronic device with power control function
CN101471582B (en) Charging method and battery charging system
CN217406709U (en) Charging bin, earphone and TWS earphone
US20140215203A1 (en) Protection device, protection method and electronic system thereof
CN111384754B (en) Charging method, charging device, storage medium and mobile terminal
CN110086508B (en) Voltage adjusting method, system, storage medium and mobile terminal
CN109672242B (en) Terminal charging control method and device and storage medium
CN217240902U (en) TWS bluetooth headset box that charges

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
CB02 Change of applicant information

Address after: 519075 No. 333, Kexing Road, Xiangzhou District, Zhuhai City, Guangdong Province

Applicant after: ZHUHAI JIELI TECHNOLOGY Co.,Ltd.

Address before: 519085 Complex Building 9 (1-4 floors), No. 107, Shihua West Road, Jida, Zhuhai, Guangdong

Applicant before: ZHUHAI JIELI TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant