Earphones wearing status detection device and method
Patent Information
- Application Number
- TW113113031
- Authority / Receiving Office
- TW · TW
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2023-09-07
- Filing Date
- 2024-04-08
- Publication Date
- 2026-10-11
- Estimated Expiration
- 2044-04-07
Smart Images

Figure TWG2TB001915117_001 
Figure TWG2TB001915117_002 
Figure TWG2TB001915117_003
Abstract
Description
Earphone Wearing State Detection Device and Method Embodiments of the present invention relate to the technical field of earphones. For example, it relates to an earphone wearing state detection device and method. The noise sources of earphone products can be divided into two types. One is the electrical noise caused by internal circuits or external signals, and manufacturers can effectively suppress and eliminate the electrical noise through circuit design. The other type of noise is environmental noise, which will affect the comfort of users when using earphones. In order to improve this environmental noise, the method of active noise cancellation is generally adopted. The traditional digital active noise cancellation system samples the surrounding environmental noise through a detection microphone, and uses signal processing to generate a signal for canceling the environmental noise, and emits audio signals with opposite phases of these noises through a speaker, thereby canceling the external environmental noise. Generally, an active noise cancellation system continuously monitors the sound reaching the ears through a detection microphone located in the earphone housing. The output signal of the detection microphone is amplified, digitized by an analog-to-digital converter, and then sent to a digital noise reduction processor. The signal from the music source is digitized by an analog-to-digital converter, and then processed by a digital equalizer processor to obtain appropriate characteristics. Then it enters the digital noise reduction processor. The digital noise reduction processor extracts the noise that needs to be canceled in order to subtract the environmental noise from the music source signal. The extracted noise that needs to be canceled undergoes phase inversion, and the processed signal result is played back together with the music signal through a driver, so as to cancel the noise before it enters the ears. Generally, earphones with an active noise cancellation function system require a battery or other power source to operate. In this case, a common problem is that if the user removes the earphones without turning them off, the power will continue to be consumed. Also, before the user puts on the earphones, it is hoped that the active noise cancellation function system can be notified in advance for pre-start preparation. The present invention provides an earphone wearing state detection device and method to solve the problem that the related technology cannot effectively detect the wearing state of earphones. According to an aspect of the present invention, there is provided an earphone wearing state detection device, including a sensor, a speaker, an acoustic detection component, and a microprocessor. The acoustic detection component is connected to the speaker through an analog-to-digital converter, and the microprocessor is respectively connected to the sensor and the acoustic detection component; the sensor is used to, when the earphone is in a wearing state at the current time, combine with the microprocessor to judge the wearing state of the earphone within a time period after the current time; the acoustic detection component is used to, when the earphone is in an unworn state at the current time, combine with the microprocessor and the speaker to judge the wearing state of the earphone within a time period after the current time. According to another aspect of the present invention, there is provided a headphone wearing state detection device, including a sensor, a speaker, an acoustic detection component, and a microprocessor. The acoustic detection component is respectively connected to the speaker through an analog-to-digital converter, and the microprocessor is respectively connected to the sensor and the acoustic detection component; the sensor is configured to send a trigger signal to the microprocessor after sensing that the headphones are taken off the ear; the microprocessor is configured to switch to the acoustic detection component after receiving the trigger signal; the acoustic detection component is configured to receive the audio signal received by the microphone in the acoustic detection component, and play the audio signal through the speaker; convert the time-domain signal of the audio signal to a frequency-domain signal; and identify the converted frequency-domain signal to determine the wearing state of the headphones. According to another aspect of the present invention, there is provided a method for detecting the wearing state of headphones, including: when the headphones are in a worn state at the current time, determining the wearing state of the headphones within a time period after the current time through a sensor; when the headphones are in an unworn state at the current time, determining the wearing state of the headphones within a time period after the current time through a speaker and an acoustic detection component. According to another aspect of the present invention, there is provided a method for detecting the wearing state of headphones, including: triggering the acoustic detection component after the sensor senses that the headphones are taken off the ear; receiving the audio signal received by the microphone through the acoustic detection component, and playing the audio signal through the speaker; converting the time-domain signal of the audio signal to a frequency-domain signal through the acoustic detection component, and identifying the converted frequency-domain signal to determine the wearing state of the headphones. According to still another aspect of the present invention, there is provided a headphone, wherein the shape of the earcup foam of the headphone matches the sensor, and the headphone includes the headphone wearing state detection device according to any embodiment of the present invention. It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present invention, nor is it used to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. In order to enable those skilled in the art to better understand the solution of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention. It should be understood that the various steps described in the method embodiments of the present invention can be executed in a different order and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present invention is not limited in this regard. As used herein, the term "including" and its variations are open-ended, that is, "including but not limited to". The term "based on" means "at least partially based on". The term "an embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description. It should be noted that the terms "first", "second", etc. in the specification, claims and drawings of the present invention are used to distinguish similar objects and do not necessarily describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units does not necessarily limit to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices. It should be noted that the modifications of "one" and "multiple" mentioned in the present invention are illustrative rather than restrictive. Those of ordinary skill in the art should understand that unless clearly stated otherwise in the context, it should be understood as "one or more". The names of the messages or information exchanged between multiple devices in the embodiments of the present invention are only for illustrative purposes and are not used to limit the scope of these messages or information. Embodiment 1 FIG. 1 is a schematic structural diagram of a headphone wearing state detection device provided by Embodiment 1 of the present invention. The headphone wearing state detection device is applicable to detecting whether the headphones are worn in the ear. Among them, the headphone wearing state detection device can be implemented by software and hardware. The headphone wearing state detection device may include a sensor and an acoustic detection component to detect whether the headphones are worn in the ear through different components. As shown in FIG. 1, a headphone wearing state detection device 10 provided by Embodiment 1 of the present invention includes: a sensor 110, a speaker 120, an acoustic detection component 130, and a microprocessor 140. The acoustic detection component 130 is connected to the speaker 120 through a digital-to-analog converter DA, and the microprocessor 140 is respectively connected to the sensor 110 and the acoustic detection component 130; The sensor 110 is used to, when the headphones are in the wearing state at the current time, combine with the microprocessor 140 to judge the wearing state of the headphones within the time after the current time. The acoustic detection component 130 is used to, when the headphones are in the non-wearing state at the current time, combine with the microprocessor 140 and the speaker 120 to judge the wearing state of the headphones within the time after the current time. It should be noted that since the sensor 110 cannot distinguish whether the object is a human ear or a metal object, the wearing state of the earphone can be detected by the sensor 110 when it is determined that the earphone is in the wearing state. At this time, the detected distance is between the user's ear and the earphone, which can effectively avoid misjudgment caused by placing the earphone on a metal object. In this embodiment, the sensor 110 can be different types of sensors. In one embodiment, the sensor 110 can include an optical sensor 1101, a pressure sensor, a biological sensor, and a magnetic sensor 1102. Among them, the optical sensor 1101 can send the time difference of light reflection to the microprocessor 140 through the principle of light reflection, so that the microprocessor 140 can determine the wearing state of the earphone within a certain time after the current time; the pressure sensor can measure the pressure value of the earcup according to the mechanical principle, so that the microprocessor 140 can determine the wearing state of the earphone within a certain time after the current time according to the pressure value; the magnetic sensor 1102 can measure the magnetic field strength of the magnet in the speaker 120 through the principle of magnetic induction, so that the microprocessor 140 can determine the wearing state of the earphone within a certain time after the current time according to the magnetic field strength. Among them, the microprocessor 140 can be a kind of small-sized computing and processing chip. The microprocessor 140 can calculate the wearing state of the earphone within a certain time after the current time according to the measurement results fed back by the sensor 110. In this embodiment, the acoustic detection component 130 can be a component including software and hardware. The acoustic detection component 130 is arranged between the speaker 120 and the microprocessor 140. When it is detected that the earphone is not worn on the user's ear or the earphone has been in the unworn state for a long time, the wearing state of the earphone in the later stage can be detected through the acoustic detection component 130. Among them, the acoustic detection component 130 can detect the distance between the earphone and the object according to the acoustic principle by combining the microprocessor 140 and the speaker 120, and then can judge the wearing state of the earphone. In addition, it can also effectively judge whether the earphone has been worn by a person through the acoustic detection component 130. In this embodiment, the speaker 120 can be any component with the function of playing audio. Exemplarily, the speaker 120 can be a speaker. The speaker 120 can be used to receive the audio signal converted by the digital-to-analog converter DA of the acoustic detection component 130 and play the sound. The earphone wearing state detection device provided in the first embodiment of the present invention includes a sensor 110, a speaker 120, an acoustic detection component 130, and a microprocessor 140. The acoustic detection component 130 is connected to the speaker 120 through a digital-to-analog converter DA, and the microprocessor 140 is respectively connected to the sensor 110 and the acoustic detection component 130. The sensor 110 is used to determine the wearing state of the earphone within a time period after the current time in combination with the microprocessor 140 when the earphone is in a worn state at the current time. The acoustic detection component 130 is used to determine the wearing state of the earphone within a time period after the current time in combination with the microprocessor 140 and the speaker 120 when the earphone is in an unworn state at the current time. Through the acoustic detection component and the sensor, this device can effectively detect the wearing state of the earphone. Embodiment 2 FIG. 2 is a structural schematic diagram of an earphone wearing state detection device 10 provided in the second embodiment of the present invention. The second embodiment is optimized on the basis of the first embodiment above. For details not described in this embodiment, reference can be made to the first embodiment, and details will not be repeated here. In this embodiment, the sensor 110 is an optical sensor 1101, and the optical sensor 1101 includes a proximity sensor 111 and an infrared emission source 112; The infrared emission source 112 is used to emit infrared light; The proximity sensor 111 is used to receive the infrared light reflected by an object after the infrared light is emitted, and send the time of the received reflected infrared light to the microprocessor 140, so that the microprocessor 140 calculates the distance between the object and the earphone according to the time, and determines the wearing state of the earphone within a time period after the current time according to the distance. The optical sensor 1101 can be a sensor that measures distance through optics. When it is detected that the earphone is worn on the user's ear, that is, when the earphone is in a worn state, the wearing state of the earphone in the later stage can be detected through the optical sensor 1101. Among them, the optical sensor 1101 can measure the time when the infrared light is reflected back, so that the microprocessor 140 calculates the distance between the user's ear and the earphone according to this time, and then determines the wearing state of the earphone. In one embodiment, if the distance between the user's ear and the earphone is greater than a preset value, it can be determined that the earphone has left the ear, and at this time the earphone is not in a worn state; if the distance between the user's ear and the earphone is less than or equal to the preset value, it can be determined that the earphone is still worn on the user's ear, and the earphone is in a worn state. Among them, the preset value can be set according to the actual situation, and no specific limitation is made here. Among them, the proximity sensor 111 is a general term for sensors that replace contact detection methods such as limit switches and are used to detect without contacting the detection object. The proximity sensor 111 can detect the movement information and presence information of an object and convert it into an electrical signal. The working principle of the optical sensor 1101 is as follows: The infrared emission source 112 emits infrared light, which is irradiated onto the surface of an object and reflected back to the proximity sensor 111. Since the speed of light is known, the proximity sensor 111 can measure the time for the infrared light to be reflected back, and then the microprocessor 140 can calculate the product of the speed of light and the time to obtain the distance between the object and the earphone. Herein, the object can be understood as the human ear, that is, the optical sensor 1101 measures the distance between the human ear and the earphone. An earphone wearing state detection device provided in the second embodiment of the present invention includes an optical sensor 1101, a speaker 120, an acoustic detection component 130, and a microprocessor 140. The acoustic detection component 130 is connected to the speaker 120 through a digital-to-analog converter DA, and the microprocessor 140 is respectively connected to the optical sensor 1101 and the acoustic detection component 130. The optical sensor 1101 is used to, when the earphone is in a wearing state at the current time, combine with the microprocessor 140 to determine the wearing state of the earphone within a time period after the current time. The acoustic detection component 130 is used to, when the earphone is in a non-wearing state at the current time, combine with the microprocessor 140 and the speaker 120 to determine the wearing state of the earphone within a time period after the current time. This device can effectively detect the wearing state of the earphone through the acoustic detection component and the sensor. Embodiment Three FIG. 3 is a structural schematic diagram of an earphone wearing state detection device 10 provided in the third embodiment of the present invention. The third embodiment is optimized based on the first embodiment above. For details not described in this embodiment, reference can be made to the first embodiment, which will not be elaborated herein. In this embodiment, the sensor 110 is a magnetic sensor 1102. The magnetic sensor 1102 is used to measure the magnetic field strength of the magnet when the magnet in the speaker 120 moves, and send the magnetic field strength to the microprocessor 140, so that the microprocessor 140 calculates the relative motion state between the object and the earphone according to the magnetic field strength, and determines the wearing state of the earphone within a time period after the current time according to the relative motion state. Among them, there is a magnet in the speaker 120. When the earphone leaves the human ear, the magnet in the speaker 120 will move. Then, the magnetic sensor 1102 can measure the change in the strength of the magnet in the speaker 120. Then, the microprocessor 140 can calculate the relative motion state between the object and the earphone according to the magnetic field strength of the magnet in the speaker 120, and determine the wearing state of the earphone within a time period after the current time according to the relative motion state. In an embodiment, if the magnetic field strength of the magnet becomes smaller, it indicates that the earphone is moving away from the object, and it is determined that the earphone is in a non-wearing state within a time period after the current time; if the magnetic field strength of the magnet becomes larger, it indicates that the earphone is approaching the object, and it is determined that the earphone is in a wearing state within a time period after the current time. An earphone wearing state detection device 10 provided in Embodiment 3 of the present invention includes a magnetic sensor 1102, a speaker 120, an acoustic detection component 130, and a microprocessor 140. The acoustic detection component 130 is connected to the speaker 120 through a digital-to-analog converter DA, and the microprocessor 140 is respectively connected to the magnetic sensor 1102 and the acoustic detection component 130. The magnetic sensor 1102 is used to determine the wearing state of the earphone within a time period after the current time in combination with the microprocessor 140 when the earphone is in a wearing state at the current time. The acoustic detection component 130 is used to determine the wearing state of the earphone within a time period after the current time in combination with the microprocessor 140 and the speaker 120 when the earphone is in a non-wearing state at the current time. Through the acoustic detection component and the sensor, this device can effectively detect the wearing state of the earphone. Embodiment 4 FIG. 4 is a schematic structural diagram of an earphone wearing state detection device 10 provided in Embodiment 4 of the present invention. Embodiment 4 is optimized on the basis of the above embodiments. For details not described in this embodiment, reference can be made to Embodiments 1 to 3, which will not be elaborated here. In this embodiment, the acoustic detection component 130 includes a microphone 131. The microphone 131 can be any component with an audio acquisition function. Exemplarily, the microphone 131 can be a microphone. The microphone 131 can include two microphones, which are respectively arranged at the front and rear positions of the speaker 120. The microphone 131 can be used to receive external audio signals of the earphone, and the audio signals can include environmental noise and reflected audio. In this embodiment, the acoustic detection component 130 is used to: send a test audio to the speaker 120 so that the speaker 120 plays a sound wave to the outside; wherein, the reflected audio returned after the sound wave is reflected by an object is received by the microphone 131 and sent to the microprocessor 140, so that the microprocessor 140 determines whether the earphone is worn on a person according to the amplitude change of the reflected audio. Among them, any segment of audio can be used as the test audio for playing. It should be noted that the amplitude of the reflected sound wave after the sound wave is reflected by the human ear is from 20 hz to 2 khz, and the amplitude change of the reflected sound wave after the sound wave is reflected by the metal plane is not so drastic. Therefore, it can be confirmed whether the earphone is placed on the surface of a metal object or worn on a person according to the amplitude change of the received reflected sound wave. In one embodiment, the acoustic detection component 130 further includes a sound processing software system 132; The microprocessor 140 is further used to: edit different audio signals into time codes and send the time codes to the sound processing software system 132; The sound processing software system 132 is used to: process the time code and send it to the broadcaster 120 through a digital-to-analog converter DA, so that the broadcaster 120 plays the different audio signals; among them, the reflected audio signal after the different audio signals are reflected by an object is received by the radio 131; The sound processing software system 132 is also used to: receive the reflected audio signal sent by the radio 131 through an analog-to-digital converter, obtain the corresponding time code after frequency sampling the reflected audio signal, and send the sending time point and the receiving time point of the corresponding time code to the microprocessor 140; The microprocessor 140 is also used to: calculate the time difference according to the sending time point and the receiving time point, and determine the wearing state of the earphone according to the time difference. Among them, the microprocessor 140 is mainly used to edit different audio signals into time codes, and then send the time codes to the sound processing software system 132 for processing, and forward them to the broadcaster 120 through the digital-to-analog converter DA to emit different audio signals; the audio signals collide with an object and are reflected, and then are received by the radio 131. The radio 131 digitizes the received reflected audio signal through an analog-to-digital converter and sends it to the sound processing software system 132 for frequency sampling, determines the corresponding time code according to the sampled frequency, and sends the sending time point and the receiving time point of the corresponding time code to the microprocessor 140, so that the microprocessor 140 can calculate the time difference between the sending and receiving of each audio signal according to the time point, and further calculate the relative position between the object and the earphone according to the time difference. In an embodiment, a time code corresponds to an audio signal, and the time code includes a first time code and a second time code; among them, a preset number of first time codes are used as the first group of time codes, a preset number of second time codes are used as the second group of time codes, and the first group of time codes and the second group of time codes are sent at intervals. Within each group of time codes, the audio signals corresponding to each time code are sent in the arranged order of multiple time codes. It can be understood that the first group of time codes and the second group of time codes are also the different naming used to distinguish the two groups of time codes; the first time code and the second time code are the different naming used to distinguish the codes belonging to different groups. The time codes belonging to the first group of time codes are named the first time code, and the time codes belonging to the second group of time codes are named the second time code. It should be noted that setting two groups of time codes is to distinguish the audio signals sent in adjacent time periods and not to confuse the audio signals. Exemplarily, the first time code corresponding to the 5KHz audio signal is A, and the second time code corresponding to it is G; the first time code corresponding to the 10KHz audio signal is B, and the second time code corresponding to it is H; the first time code corresponding to the 15KHz audio signal is C, and the second time code corresponding to it is I; the first time code corresponding to the 25KHz audio signal is D, and the second time code corresponding to it is J; the first time code corresponding to the 35KHz audio signal is E, and the second time code corresponding to it is K; the first time code corresponding to the 45KHz audio signal is F, and the second time code corresponding to it is L. In this embodiment, the sound processing software system 132 sequentially sends out time codes at a first predetermined interval time and transmits them to the broadcaster 120. For example, after sending out the time code A, wait for the first predetermined time interval and then send out the time code B, and then wait for the first predetermined interval time to send out the code C until the code F is sent out. Among them, the first predetermined interval time can be 1 second, that is, it takes a total of 6 seconds to send the time codes A - F. The broadcaster 120 can inject corresponding audio signals into the headphone audio signal according to the received time codes to play multiple audio signals corresponding to the time codes. After an interval of the second predetermined interval time, the sound processing software system 132 sequentially sends out time codes at the first predetermined interval time in the playing order of G, H, I, J, K, L and transmits them to the broadcaster 120. Among them, the second predetermined interval time is 1 second, that is, it takes a total of 12 seconds to play the audio signals corresponding to the time codes A - F and the time codes G - L. The sound processing software system 132 repeats the above process until the preset time is reached, and all audio signals corresponding to the time codes are sent to the broadcaster 120. Among them, the preset time can be 60 seconds. In one embodiment, the audio signal includes a first audio signal, and the radio 131 includes a feedback radio 1311. Correspondingly, The microprocessor 140 is specifically used for: determining a plurality of first time differences of the first audio signal according to a plurality of first time points when the first audio signal reflected for the first time is received through the feedback radio 1311 and a plurality of second time points when the first audio signal is played through the broadcaster 120, and determining the wearing state of the earphone according to the change of the plurality of first time differences. In this embodiment, the microprocessor 140 detects the reflected audio signal from the sound signal sampled from the environment by the feedback radio 1311, and obtains a plurality of first time points when the feedback radio 1311 receives the audio signals corresponding to the time codes A - F after reflection; after the microprocessor 140 sends out the time codes for 60 seconds, it stores a plurality of second time points when these time codes are sent out, and then subtracts the second time points corresponding to the same code from the first time points respectively to obtain a plurality of first time differences; the microprocessor 140 can judge the wearing status of the earphone according to the change of these first time differences. In one embodiment, the microprocessor 140 may determine whether multiple first time differences are all greater than a preset first time; if so, it indicates that the earphone and the object maintain a fixed distance for a continuous period. Therefore, the microprocessor 140 determines that the earphone is in an unworn state. Exemplarily, the first time may be 90 us. In one embodiment, when the microprocessor 140 determines that one of the multiple first time differences is less than the preset first time, this indicates that the distance between the earphone and the object is changing. Therefore, it is necessary to further determine the change in the distance between the earphone and the object. Corresponding to the playback order, if among the multiple first time differences, there is a starting first time difference and a last first time difference with a later order, such that the last first time difference is greater than the starting first time difference, it indicates that the earphone is moving away from the object. Therefore, the microprocessor 140 may determine that the wearing state of the earphone is out of the ear. Conversely, if there is no starting first time difference and a last first time difference with a later order such that the last first time difference is greater than the starting first time difference, it indicates that the earphone is not moving away from the object. Therefore, the microprocessor 140 may determine that the wearing state of the earphone is worn. In one embodiment, after the microprocessor 140 determines that not all of the multiple first time differences are greater than the preset first time, the microprocessor 140 may further determine the change in the distance between the earphone and the object. Corresponding to the playback order, if among the multiple first time differences, there is a starting first time difference and a last first time difference with a later order such that the last first time difference is less than the starting first time difference, it indicates that the earphone is approaching the object. Therefore, the microprocessor 140 determines that the wearing state of the earphone is worn. Conversely, if there is no starting first time difference and a last first time difference with a later order such that the last first time difference is less than the starting first time difference, it indicates that the earphone is moving away from the object. Therefore, the microprocessor 140 determines that the wearing state of the earphone is out of the ear. In one embodiment, the audio signal includes a second audio signal, and the microphone 131 includes a feedforward microphone 1312. Correspondingly, The microprocessor 140 is specifically configured to: determine multiple second time differences of the second audio signal according to multiple third time points when the second audio signal that has undergone the first reflection is received through the feedforward microphone 1312 and multiple fourth time points when the second audio signal is played by the speaker 120; and determine whether the earphone is in a hand-held state according to whether the second time differences are all less than a preset time. In this embodiment, the microprocessor 140 issues time codes at a first predetermined interval in the playback order of A - F and transmits them to the broadcaster 120; the broadcaster 120 can inject corresponding audio signals into the headphone audio signal according to the received time codes to play a plurality of second audio signals corresponding to the time codes; after an interval of a second predetermined interval, the microprocessor 140 issues time codes at a first predetermined interval in the playback order of G - L and transmits them to the broadcaster 120; the microprocessor 140 repeats the above process until all the audio signals corresponding to the time codes are transmitted to the broadcaster 120. The feed - forward microphone 1312 transmits the sampled sound signal to the sound processing software system 132. The sound processing software system 132 detects the reflected audio signal from the sound signal sampled by the feed - forward microphone 1312 for the environment and obtains a plurality of third time points when the feed - forward microphone 1312 receives a plurality of second audio signals after the first reflection; the sound processing software system 132 sends the plurality of third time points to the microprocessor 140 so that the microprocessor 140 can judge whether the headphone is in the hand - held state according to the plurality of third time points. In one embodiment, when the microprocessor 140 issues the 60 - second time code, it stores a plurality of fourth time points when these time codes are issued, and then subtracts the fourth time points corresponding to the same code from the third time points respectively to obtain a plurality of second time differences. Among them, if all the plurality of second time differences are less than a preset second time and these second time differences are approximately the same as each other, this situation indicates that the headphone and the object are stably maintained at a preset distance, and it can be judged that the headphone is in the hand - held state. Therefore, in response to all the plurality of second time differences being less than a preset second time and the difference between these second time differences being less than an error value, the microprocessor 140 judges that the headphone is in the hand - held state. An earphone wearing state detection device provided in the fourth embodiment of the present invention concretizes the process of detecting the earphone state through the acoustic detection component 130. By detecting the wearing state of the earphone through the acoustic detection component 130, it can reduce misjudgment and effectively reduce the power consumption of the earphone. On the basis of the technical solutions of the above - mentioned embodiments, the embodiments of the present invention provide two specific implementation manners. FIG. 5 is a structural schematic diagram of an earphone wearing state detection device provided by an exemplary embodiment of the present invention. As shown in FIG. 5, the device includes an optical sensor 1101, a feed - forward microphone 53, a feedback microphone 54, a time - of - flight ranging microprocessor 51, a sound acquisition and processing system 52, a speaker 55, a digital - to - analog converter DA, and an analog - to - digital converter AD. Among them, the optical sensor 1101 is used to: when the earphone is in the wearing state at the current time, judge the wearing state of the earphone within the time after the current time; The time-of-flight ranging microprocessor 51 and the sound acquisition and processing system 52 are used to: when the earphone is in the non-worn state at the current time, combine the feedforward microphone 53, the feedback microphone 54, and the speaker 55 to determine the wearing state of the earphone within the time after the current time. For the detailed process, reference can be made to Embodiments 1 to 4, and no repeated description will be given here. FIG. 6 is a schematic structural diagram of another earphone wearing state detection device provided by an exemplary embodiment of the present invention. As shown in FIG. 6, the device includes a magnetic sensor 1102, a feedforward microphone 53, a feedback microphone 54, a time-of-flight ranging microprocessor 51, a sound acquisition and processing system 52, a speaker 55, a digital-to-analog converter DA, and an analog-to-digital converter AD. Among them, the magnetic sensor 1102 is used to: when the earphone is in the worn state at the current time, determine the wearing state of the earphone within the time after the current time; The time-of-flight ranging microprocessor 51 and the sound acquisition and processing system 52 are used to: when the earphone is in the non-worn state at the current time, combine the feedforward microphone 53, the feedback microphone 54, and the speaker 55 to determine the wearing state of the earphone within the time after the current time. For the detailed process, reference can be made to Embodiment 3, and no repeated description will be given here. Embodiment 5 FIG. 7 is a schematic structural diagram of an earphone wearing state detection device provided by Embodiment 5 of the present invention. The earphone wearing state detection device is applicable to detecting whether the earphone leaves the human ear when the user wears the earphone. Among them, the earphone wearing state detection device can be implemented by software and hardware, and the earphone wearing state detection device can include an acoustic detection component to detect whether the earphone is inserted into the ear through the acoustic detection component. As shown in FIG. 7, an earphone wearing state detection device 20 provided by Embodiment 5 of the present invention includes: a sensor 210, a broadcaster 220, an acoustic detection component 230, and a microprocessor 240. The acoustic detection component 230 is connected to the broadcaster 220 through a digital-to-analog converter DA, and the microprocessor 240 is respectively connected to the sensor 210 and the acoustic detection component 230; The sensor 210 is used to send a trigger signal to the microprocessor 240 after sensing that the earphone has left the ear; The microprocessor 240 is used to trigger the acoustic detection component 230 to detect the wearing state of the earphone after receiving the trigger signal; The acoustic detection component 230 is used to receive an audio signal through a radio receiver in the acoustic detection component 230, perform a conversion from a time-domain signal to a frequency-domain signal on the audio signal; and identify the converted frequency-domain signal to determine the wearing state of the earphone, where the audio signal is played by the broadcaster 220. In this embodiment, the sensor 210 can be different types of sensors. Optionally, the sensor 210 can include an optical sensor, a pressure sensor, a biological sensor, and a magnetic sensor. In this embodiment, there is no limitation on how the sensor 210 senses that the earphone is removed from the ear. After the sensor 210 senses that the earphone is removed from the ear, it can trigger the acoustic detection component 230 to detect the wearing state of the earphone in various ways. One feasible way is to send a trigger signal to the acoustic detection component 230 to trigger the acoustic detection component 230 to detect the wearing state of the earphone. In one embodiment, the microphone can include a feedforward microphone and a feedback microphone. In one embodiment, after the acoustic detection component 230 is triggered, first the speaker 220 plays an audio segment, and then the microphone picks up the sound. After the earphone leaves the ear, the audio signals received by the feedforward microphone and the feedback microphone will gradually change. At this time, the feedforward microphone and the feedback microphone send the received audio signals to the acoustic detection component 230, and the acoustic detection component 230 converts the audio signal from a time-domain signal to a frequency-domain signal and then performs signal recognition to determine the wearing status of the earphone. An earphone wearing state detection device provided in Embodiment 5 of the present invention can effectively detect the wearing state of the earphone through an acoustic detection component and a sensor. Embodiment Six FIG. 8 is a flowchart of an earphone wearing state detection method provided in Embodiment 6 of the present invention. This earphone wearing state detection method is applicable to detecting whether the earphone is inserted into the ear. This method can be executed by the earphone wearing state detection device provided in Embodiments 1 to 4. The method specifically includes the following steps: Step S110: When the earphone is in a wearing state at the current time, use the sensor to determine the wearing state of the earphone within a time period after the current time. In this embodiment, the sensor can be different types of sensors. In one embodiment, the sensor can include an optical sensor, a pressure sensor, a biological sensor, and a magnetic sensor. After detecting that the earphone is worn on the user's ear, that is, when the earphone is in a wearing state, the sensor can be used to detect the subsequent wearing state of the earphone. It should be noted that since the sensor cannot distinguish whether the object is a human ear or a metal object, the sensor can be used to detect the wearing state of the earphone when it is determined that the earphone is in a wearing state. At this time, the detected is the distance between the user's ear and the earphone, which can effectively avoid misjudgment caused by the earphone being placed on a metal object. When the sensor is an optical sensor, the optical sensor can emit infrared light towards an object to measure the time for the infrared light to be reflected back, enabling the microprocessor to calculate the distance between the user's ear and the earphone based on this time, and further determine the wearing state of the earphone. In one embodiment, if the distance between the user's ear and the earphone is greater than a preset value, it can be determined that the earphone has left the ear, and at this time, the earphone is not in a worn state; if the distance between the user's ear and the earphone is less than or equal to the preset value, it can be determined that the earphone is still worn on the user's ear, and the earphone is in a worn state. The preset value can be set according to the actual situation and is not specifically limited here. When the sensor is a magnetic sensor, the magnetic sensor measures the magnetic field strength of the magnet when the magnet in the speaker moves, enabling the microprocessor to calculate the relative motion state between the object and the earphone based on the magnetic field strength, and determine the wearing state of the earphone within a time period after the current time according to the relative motion state. In one embodiment, if the magnetic field strength of the magnet becomes smaller, it indicates that the earphone has left the ear, and it can be determined that the earphone is not in a worn state; if the magnetic field strength of the magnet becomes larger, it indicates that the earphone is approaching the ear, and it can be determined that the earphone is in a worn state. Step S120: When the earphone is in an unworn state at the current time, determine the wearing state of the earphone within a time period after the current time through the speaker and the acoustic detection component. In this embodiment, the acoustic detection component can be a component including software and hardware, and the acoustic detection component is arranged between the speaker and the microprocessor. When it is detected that the earphone is not worn on the user's ear, or the earphone has been in an unworn state for a long time, the wearing state of the earphone in the later stage can be detected through the acoustic detection component. The acoustic detection component can include a microphone and a sound processing software system. The acoustic detection component can detect the distance between the earphone and the object according to the acoustic principle by combining the speaker and the microprocessor, and further can determine the wearing state of the earphone. In addition, it can also effectively determine whether the earphone is worn by a person through the acoustic detection component. A method for detecting the wearing state of an earphone provided in Embodiment Six of the present invention first determines the wearing state of the earphone within a time period after the current time through a sensor when the earphone is in a worn state at the current time; then determines the wearing state of the earphone within a time period after the current time through the speaker and the acoustic detection component when the earphone is in an unworn state at the current time. This method can effectively detect the wearing state of the earphone through the acoustic detection component and the optical detection component. Embodiment Seven FIG. 9 is a flowchart of a method for detecting the wearing state of an earphone provided in Embodiment Seven of the present invention. This method for detecting the wearing state of an earphone is applicable to the situation of detecting whether the earphone leaves the human ear when the user wears the earphone. This method can be executed by the earphone wearing state detection device provided in Embodiment Five. The method includes the following steps: Step S210: After the sensor senses that the earphone is removed from the ear, trigger the acoustic detection component. In this embodiment, the sensor can be different types of sensors. In one embodiment, the sensor can include an optical sensor, a pressure sensor, a biological sensor, and a magnetic sensor. There is no limitation on how the sensor senses that the earphone is removed from the ear. After the sensor senses that the earphone is removed from the ear, it can trigger the acoustic detection component to detect the wearing state of the earphone in various ways. One feasible way is to send a trigger signal to the acoustic detection component to trigger the acoustic detection component to detect the wearing state of the earphone. Step S220: Receive an audio signal through the receiver of the acoustic detection component, where the audio signal is played through a broadcaster. Among them, the receiver can include a feedforward receiver and a feedback receiver. Step S230: Convert the audio signal from a time-domain signal to a frequency-domain signal through the acoustic detection component, and identify the converted frequency-domain signal to determine the wearing state of the earphone. In one embodiment, after the acoustic detection component is triggered, first the broadcaster will play an audio segment, and then the receiver will receive the audio. After the earphone is removed from the ear, the audio signals received by the feedforward receiver and the feedback receiver will gradually change. At this time, the feedforward receiver and the feedback receiver send the received audio signals to the acoustic detection component. The acoustic detection component converts the audio signal from a time-domain signal to a frequency-domain signal and then performs signal identification to determine the wearing condition of the earphone. A method for detecting the wearing state of an earphone provided in Embodiment Seven of the present invention first triggers the acoustic detection component after the sensor senses that the earphone is removed from the ear; then receives the audio signal received by the receiver through the acoustic detection component, the audio signal is played through the broadcaster, and the acoustic detection component includes a receiver; finally, converts the audio signal from a time-domain signal to a frequency-domain signal through the acoustic detection component, and identifies the converted frequency-domain signal to determine the wearing state of the earphone. This method can effectively detect the wearing state of the earphone. Embodiment Eight FIG. 10 is a schematic structural diagram of an earphone 101 provided in Embodiment Eight of the present invention. As shown in FIG. 10, the earphone 101 includes the earphone wearing state detection device 10 or 20 provided in any embodiment of the present invention, and the shape of the earcup foam 102 of the earphone 101 matches the sensor. When the sensor is an optical sensor, the earcup foam 102 is set to be concave to facilitate the optical sensor to emit and receive light. When the sensor is a magnetic sensor, the earcup foam 102 is flat, and the earphone speaker is rotatable to facilitate the magnetic sensor to sense the magnetic field change. FIG. 11 is a schematic structural diagram of a headset provided in Embodiment 8 of the present invention. As shown in FIG. 11, the internal structure of the headset wearing state detection device is embodied. The headset wearing state detection device in the headset 101 includes: an optical sensor 1101, a feedforward microphone 53, a feedback microphone 54, a time-of-flight ranging microprocessor 51, a sound acquisition and processing system 52, and a speaker 55. FIG. 12 is a schematic structural diagram of another headset provided in Embodiment 8 of the present invention. As shown in FIG. 12, the internal structure of the headset wearing state detection device is embodied. The headset wearing state detection device in the headset 101 includes: a magnetic sensor 1102, a feedforward microphone 53, a feedback microphone 54, a time-of-flight ranging microprocessor 51, a sound acquisition and processing system 52, and a speaker 55. A headset provided in Embodiment 8 of the present invention can execute the headset wearing state detection method provided in any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method. It should be understood that various forms of the processes shown above can be used, steps can be reordered, added or deleted. For example, the steps described in the present invention can be executed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved, and no limitation is made herein. The above specific embodiments do not constitute a limitation to the protection scope of the present invention. Those of ordinary skill in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. 10, 20: headset wearing state detection device 101: headset 102: earcup foam 110, 210: sensor 1101: optical sensor 111: proximity sensor 112: infrared emission source 1102: magnetic sensor 120, 220: broadcaster 130, 230: acoustic detection component 131: radio receiver 1311: feedback radio receiver 1312: feedforward radio receiver 132: sound processing software system 140, 240: microprocessor 51: time-of-flight ranging microprocessor 52: sound acquisition and processing system 53: feedforward microphone 54: feedback microphone 55: speaker DA: digital-to-analog converter AD: analog-to-digital converter S110, S120, S210~S230: steps FIG. 1 is a schematic structural diagram of a headphone wearing state detection device provided by Embodiment 1 of the present invention; FIG. 2 is a schematic structural diagram of a headphone wearing state detection device provided by Embodiment 2 of the present invention; FIG. 3 is a schematic structural diagram of a headphone wearing state detection device provided by Embodiment 3 of the present invention; FIG. 4 is a schematic structural diagram of a headphone wearing state detection device provided by Embodiment 4 of the present invention; FIG. 5 is a schematic structural diagram of a headphone wearing state detection device provided by an exemplary embodiment of the present invention; FIG. 6 is a schematic structural diagram of another headphone wearing state detection device provided by an exemplary embodiment of the present invention; FIG. 7 is a schematic structural diagram of a headphone wearing state detection device provided by Embodiment 5 of the present invention; FIG. 8 is a schematic flowchart of a headphone wearing state detection method provided by Embodiment 6 of the present invention; FIG. 9 is a schematic flowchart of a headphone wearing state detection method provided by Embodiment 7 of the present invention; FIG. 10 is a schematic structural diagram of a headphone provided by Embodiment 8 of the present invention; FIG. 11 is a specific structural diagram of a headphone provided by Embodiment 8 of the present invention; FIG. 12 is a specific structural diagram of another headphone provided by Embodiment 8 of the present invention. 10: Headphone wearing state detection device 110: Sensor 120: Speaker 130: Acoustic detection component 140: Microprocessor DA: Digital-to-analog converter
Claims
1. A headphone wearing status detection device, comprising: The device comprises a sensor, a microphone, an acoustic detection component, and a microprocessor. The acoustic detection component is connected to the microphone via a digital-to-analog converter (DAC). The microprocessor is connected to both the sensor and the acoustic detection component. The sensor, when the headphones are currently worn, is used in conjunction with the microprocessor to determine the wearing status of the headphones in the time following the current time. The acoustic detection component, when the headphones are currently not worn, is used in conjunction with the microprocessor and the microphone to determine the wearing status of the headphones in the time following the current time. The earcups of the headphones are planar. The sensor is a magnetic sensor that matches the earcup foam. The magnetic sensor measures the magnetic field strength of the magnet when it moves within the microphone and sends the magnetic field strength to the microprocessor. The microprocessor calculates the relative motion between the object and the headphones based on the magnetic field strength and determines the wearing status of the headphones in the time following the current time based on the relative motion. The microphone is rotatable to allow the magnetic sensor to detect changes in the magnetic field.
2. The headphone wearing status detection device as described in claim 1, wherein, The acoustic detection component includes a microphone, which is used to send test audio to the loudspeaker so that the loudspeaker plays the test audio to the outside. The microphone is used to receive reflected audio and send the reflected audio to the microprocessor so that the microprocessor determines whether the headphones are being worn by a person based on the amplitude change of the reflected audio. The reflected audio is the audio formed after the played test audio is reflected by an object.
3. The headphone wearing status detection device as described in claim 1 or 2, wherein, The acoustic detection component includes a sound processing software system; the microprocessor is used to: edit different audio signals into time codes, and send the time codes to the sound processing software system; the sound processing software system is used to: send the time codes to the broadcaster via the digital-to-analog converter, so that the broadcaster plays the different audio signals; wherein, the reflected audio signals after the different audio signals are played and reflected by an object are received by a microphone; the sound processing software system is also used to: receive the reflected audio signals sent by the microphone via the analog-to-digital converter, sample the frequency of the reflected audio signals to obtain the corresponding time codes, and send the transmission time point and reception time point of the corresponding time codes to the microprocessor; the microprocessor is also used to: calculate the time difference based on the transmission time point and the reception time point, and determine the wearing status of the headphones based on the time difference.
4. The headphone wearing status detection device as described in claim 3, wherein, The audio signal includes a first audio signal, the receiver includes a feedback receiver, and the microprocessor is configured to: determine multiple first time differences of the first audio signal based on multiple first time points when the first audio signal after its first reflection is received through the feedback receiver and multiple second time points when the first audio signal is played through the loudspeaker, and determine the wearing status of the headphones based on the changes in the multiple first time differences.
5. The headphone wearing status detection device as described in claim 3, wherein, The audio signal includes a second audio signal, the microphone includes a feedforward microphone, and the microprocessor is configured to: determine multiple second time differences of the second audio signal based on multiple third time points when the second audio signal after the first reflection is received through the feedforward microphone and multiple fourth time points when the second audio signal is played through the microphone; and determine whether the headphones are in a handheld state based on whether all the second time differences are less than a preset time.
6. A headphone wearing status detection device, comprising: The device comprises a sensor, a microphone, an acoustic detection component, and a microprocessor. The acoustic detection component is connected to the microphone via a digital-to-analog converter (DAC). The microprocessor is connected to both the sensor and the acoustic detection component. The sensor detects when the earphone is removed from the ear and sends a trigger signal to the microprocessor. The microprocessor, upon receiving the trigger signal, triggers the acoustic detection component to detect the earphone's wearing status. The acoustic detection component receives an audio signal via a microphone; performs a time-domain to frequency-domain conversion on the audio signal; and identifies the converted frequency-domain signal to determine the earphone's wearing status. The audio signal is played by the microphone. The earcup foam of the headphones is planar, and the sensor is a magnetic sensor that matches the earcup foam. The magnetic sensor is used to measure the magnetic field strength of the magnet when the magnet moves inside the speaker, and sends the magnetic field strength to the microprocessor so that the microprocessor can calculate the relative motion state between the object and the headphones based on the magnetic field strength, and determine the wearing state of the headphones in the time after the current time based on the relative motion state; wherein the speaker is rotatable so that the magnetic sensor can sense the change in magnetic field.
7. A method for detecting headphone wearing status, executed by the headphone wearing status detection device according to any one of claims 1 to 5, the headphone wearing status detection method comprising: When the headphones are currently being worn, the sensor determines the wearing status of the headphones in the time following the current time; when the headphones are currently not being worn, the speaker and acoustic detection components determine the wearing status of the headphones in the time following the current time.
8. A method for detecting headphone wearing status, executed by the headphone wearing status detection device described in claim 6, the headphone wearing status detection method comprising: The acoustic detection component is triggered when the sensor detects that the earphone is removed from the ear; The acoustic detection component receives an audio signal via its microphone, which is then played through a loudspeaker. The acoustic detection component converts the audio signal from a time-domain signal to a frequency-domain signal, and identifies the converted frequency-domain signal to determine the wearing status of the headphones.
Citation Information
Patent Citations
Wireless earphone and power saving method thereof
TW201114269A
Headset apparatus
TW201729611A
Headphone and headphone status detection method
TW202325046A
