Earphone

By using speaker components, microphones and filtering circuits in the headset, combined with programmable logic devices, ultrasonic technology to achieve temperature measurement, ranging and dust removal functions, the problem of increased size and weight of the headset is solved, and the versatility of the headset is improved. performance.

CN119277267APending Publication Date: 2025-01-07VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411643939.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-18
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

Existing true wireless Bluetooth headsets require additional components such as thermistors, sense capacitors, or infrared sensors when implementing complex functions, resulting in increased headset size and weight.

Method used

The use of speaker components, microphones and filter circuits, combined with programmable logic devices, temperature measurement, ranging and dust removal functions are achieved through ultrasonic technology, avoiding the use of additional components and reducing the volume and weight of the headphones.

Benefits of technology

It achieves the versatility enhancement of the headphones, while reducing volume and weight, improving the overall performance and efficiency of the headphones.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119277267A_ABST
    Figure CN119277267A_ABST
Patent Text Reader

Abstract

The invention provides an earphone, and belongs to the technical field of earphones, and the earphone comprises an earphone housing which is provided with a sound cavity and an installation cavity, and the sound cavity is located at one side of the installation cavity; the loudspeaker assembly comprises a loudspeaker, the loudspeaker is arranged in the sound cavity, and the loudspeaker assembly can emit ultrasonic waves; the microphone is arranged in the mounting cavity and can receive ultrasonic waves; the filter circuit is arranged in the mounting cavity, the filter circuit is electrically connected with the microphone and is used for filtering the first data to generate second data, and the first data is the data of the ultrasonic waves received by the microphone; and the programmable logic device is arranged in the mounting cavity, is electrically connected with the filter circuit and is used for acquiring and processing the second data so as to realize at least one of a temperature measurement function, a distance measurement function and a dust removal function of the earphone.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of earphones, and specifically relates to an earphone. Background Art

[0002] In the related technology, some functions of true wireless Bluetooth headsets require the setting of corresponding components. For example, to realize the temperature measurement function, a thermistor needs to be set on the headset; to realize in-ear detection, a detection capacitor or infrared sensor needs to be set; to realize the dustproof function, a dustproof net needs to be set. The addition of the above components will lead to an increase in the volume and weight of the headset. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide an earphone that can effectively solve the technical problem that the earphone needs to add additional components to realize complex functions, resulting in a larger volume and weight of the earphone.

[0004] An embodiment of the present application provides a headset, comprising:

[0005] An earphone housing, the earphone housing having a sound cavity and a mounting cavity, wherein the sound cavity is located on one side of the mounting cavity;

[0006] A speaker assembly, the speaker assembly includes a speaker, the speaker is arranged in the sound cavity, and the speaker assembly can emit ultrasonic waves;

[0007] A microphone is arranged in the installation cavity, and the microphone can receive ultrasonic waves;

[0008] A filter circuit is arranged in the installation cavity, the filter circuit is electrically connected to the microphone, and is used to filter the first data to generate second data, the first data being the data of the ultrasonic wave received by the microphone;

[0009] A programmable logic device is arranged in the installation cavity. The programmable logic device is electrically connected to the filter circuit and is used to collect and process the second data to realize at least one of the temperature measurement function, the distance measurement function and the dust removal function of the earphone.

[0010] In an embodiment of the present application, the earphone includes an earphone shell, a speaker assembly, a microphone, a filter circuit and a programmable logic device, and the speaker assembly, the microphone, the filter circuit and the programmable logic device are arranged in the earphone shell. Specifically, a sound cavity and an installation cavity are formed in the earphone shell, the speaker assembly includes a speaker, the speaker is arranged in the sound cavity, and the microphone, the filter circuit and the programmable logic device are arranged in the installation cavity.

[0011] The speaker assembly has an ultrasonic function and can emit ultrasonic waves. The microphone has an ultrasonic receiving function and can receive ultrasonic waves. The filter circuit is electrically connected to the microphone, which can be changed into a logic device and electrically connected to the filter circuit. After receiving the ultrasonic wave, the microphone generates first data. The first data enters the filter circuit. The filter circuit filters the first data to generate second data. The second data is input into the programmable logic device. The programmable logic device collects the second data and processes the second data, thereby realizing at least one of the temperature measurement function, the distance measurement function and the dust removal function of the earphone. That is, by utilizing the inherent components in the earphone, the speaker assembly and the microphone emit ultrasonic waves, and the second data of a specific frequency is selected through the filter, thereby realizing the temperature measurement function, the distance measurement function and the dust removal function of the earphone. The earphone does not need to be placed with components such as thermistors, detection capacitors, infrared sensors and dustproof nets, which helps to reduce the size and weight of the earphone. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0013] Figure 1 One of the schematic diagrams of an earphone provided by an embodiment of the present application is shown;

[0014] Figure 2 One of the cross-sectional views of an earphone provided by one embodiment of the present application is shown;

[0015] Figure 3 A second schematic diagram of an earphone provided by an embodiment of the present application is shown;

[0016] Figure 4 A second cross-sectional view of an earphone provided by an embodiment of the present application is shown;

[0017] Figure 5 A circuit diagram of a speaker assembly, a microphone, a filter circuit, a programmable logic device, a second switch, and a codec in a headset provided by an embodiment of the present application is shown;

[0018] Figure 6 A circuit diagram of a filter circuit provided by one embodiment of the present application is shown;

[0019] Figure 7 A circuit diagram of a speaker assembly and a programmable logic device is shown in one embodiment of the present application;

[0020] Figure 8 A third cross-sectional view of an earphone provided by an embodiment of the present application is shown;

[0021] Fig. 9A curve chart showing second data received by a programmable logic device in an earphone provided by an embodiment of the present application is shown;

[0022] Fig.10 A graph showing the temperature and velocity of ultrasound under different humidity conditions.

[0023] Figures 1 to 8 Reference numerals:

[0024] 100 earphone, 110 earphone shell, 112 head, 114 handle, 116 sound cavity, 118 installation cavity, 120 speaker assembly, 122 speaker, 124 power amplifier, 130 microphone, 140 filter circuit, 142 filter resistor, 144 filter capacitor, 1442 first capacitor, 1444 second capacitor, 1446 third capacitor, 146 first switch, 1462 first sub-switch, 1464 second sub-switch, 1466 third sub-switch, 148 filter, 150 first resistor, 160 programmable logic device, 170 second switch, 180 vocal blocking structure, 190 encoder / decoder. DETAILED DESCRIPTION

[0025] The embodiments of the present application will be described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and should not be construed as limitations on the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.

[0026] The term "first" or "second" in the specification and claims of this application may include one or more of the features explicitly or implicitly. In the description of this application, unless otherwise specified, "plurality" means two or more. In addition, "and / or" in the specification and claims means at least one of the connected objects, and the character " / " generally means that the objects connected before and after are in an "or" relationship.

[0027] In the description of the present application, it should be understood that the terms "upper", "inner", etc., indicating the orientation or positional relationship are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present application.

[0028] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0029] Combine the following Figures 1 to 10 The earphone 100 according to the embodiment of the present application is described.

[0030] like Figures 1 to 5 As shown, an embodiment of the present application provides an earphone 100, including: an earphone shell 110, the earphone shell 110 has a sound cavity 116 and an installation cavity 118, the sound cavity 116 is located on one side of the installation cavity 118; a speaker assembly 120, arranged in the sound cavity 116, the speaker assembly 120 can emit ultrasonic waves; a microphone 130, arranged in the installation cavity 118, the microphone 130 can receive ultrasonic waves; a filter circuit 140, arranged in the installation cavity 118, the filter circuit 140 and the microphone 130 are electrically connected, and are used to filter first data to generate second data, the first data is the data of the ultrasonic wave received by the microphone 130; a programmable logic device 160, arranged in the installation cavity 118, the programmable logic device 160 and the filter circuit 140 are electrically connected, and are used to collect and process the second data to realize at least one of the temperature measurement function, the distance measurement function and the dust removal function of the earphone 100.

[0031] In an embodiment of the present application, the earphone 100 includes an earphone housing 110, a speaker assembly 120, a microphone 130, a filter circuit 140 and a programmable logic device 160. The speaker assembly 120, the microphone 130, the filter circuit 140 and the programmable logic device 160 are arranged in the earphone housing 110. Specifically, a sound cavity 116 and an installation cavity 118 are formed in the earphone housing 110. The speaker assembly 120 includes a speaker 122. The speaker 122 is arranged in the sound cavity 116 and divides the sound cavity 116 into a front cavity and a rear cavity. The microphone 130, the filter circuit 140 and the programmable logic device 160 are arranged in the installation cavity 118.

[0032] The speaker assembly 120 has an ultrasonic function and can emit ultrasonic waves. The microphone 130 has an ultrasonic receiving function and can receive ultrasonic waves. The filter circuit 140 is electrically connected to the microphone 130, and the logic device can be electrically connected to the filter circuit 140. After receiving the ultrasonic wave, the microphone 130 generates first data, and the first data enters the filter circuit 140. The filter circuit 140 filters the first data to generate second data. The second data is input into the programmable logic device 160. The programmable logic device 160 collects the second data and processes the second data, thereby realizing at least one of the temperature measurement function, the distance measurement function and the dust removal function of the earphone 100. That is, by using the inherent components in the earphone 100, the speaker assembly 120 and the microphone 130 emit ultrasonic waves, and the second data of a specific frequency is selected through the filter 148, thereby realizing the temperature measurement function, the distance measurement function and the dust removal function of the earphone 100. The earphone 100 does not need to place components such as thermistors, detection capacitors, infrared sensors and dustproof nets, which helps to reduce the volume and weight of the earphone 100.

[0033] Of course, in other embodiments of the present application, the earphone housing 110 can be any other shape or structure, for example, a "bean" shape or a "clip" shape, etc., and the earphone 100 can be an in-ear earphone, a headphone, or a bone conduction earphone, etc.

[0034] like Figure 5 and Figure 6 As shown, as a possible implementation, the filter circuit 140 includes: a filter resistor 142; a filter capacitor 144, which is connected in parallel with the filter resistor 142, and the first data is sent to the filter resistor 142 and the filter capacitor 144; a first switch 146, which is connected in series with the filter capacitor 144, and the control end of the first switch 146 is electrically connected to the programmable logic device 160; wherein the number of the filter capacitor 144 and the first switch 146 is at least two, one filter capacitor 144 and one first switch 146 are connected in series, and the frequency of the data passed through the filter resistor 142 and the filter capacitor 144 is matched with at least one of the temperature measurement function, the distance measurement function and the dust removal function.

[0035] Specifically, the filter circuit 140 includes a filter resistor 142, a filter capacitor 144 and a first switch 146, wherein the filter capacitor 144 and the first switch 146 are connected in series, and the filter capacitor 144 and the first switch 146 have at least two groups, and the control end of each first switch 146 is electrically connected to the programmable logic device 160, so that the programmable logic device 160 can control the state of each first switch 146 according to the function performed by the headset 100, that is, the frequency of the second data required for the temperature measurement function, the distance measurement function and the dust removal function is different. The programmable logic device 160 controls the first switch 146 according to the function performed by the headset 100, thereby adjusting the frequency of the data that can be passed by the filter circuit 140 to meet the second data required for different functions.

[0036] That is, after the first data is input into the filter resistor 142 and the filter capacitor 144 , the second data is obtained.

[0037] The filter circuit 140 may be a low-pass filter circuit or a high-pass filter circuit.

[0038] like Figure 5 and Figure 6 As shown, the filter circuit 140 also includes a filter 148, and the filter 148 is connected in parallel with the filter resistor 142 and the filter capacitor 144. The first data is sent to the filter resistor 142, the filter capacitor 144 and the filter 148, and the filter 148 is specifically an RC filter. That is, after the first data is input into the filter resistor 142, the filter capacitor 144 and the filter 148, the second data is obtained.

[0039] like Figure 5 As shown, as a possible implementation, the filter circuit 140 also includes a first resistor 150, which is connected in series to the input ends of the filter resistor 142 and the filter capacitor 144, or the first resistor 150 is connected in series to the input ends of the filter resistor 142, the filter capacitor 144 and the filter 148, so as to achieve the effect of limiting current and reduce the possibility of circuit damage caused by surges.

[0040] like Figure 5 and Figure 6As shown, as a possible implementation, the number of filter capacitors 144 is three, namely, a first capacitor 1442, a second capacitor 1444 and a third capacitor 1446, the number of first switches 146 is three, namely, a first sub-switch 1462, a second sub-switch 1464 and a third sub-switch 1466, the first capacitor 1442 and the first sub-switch 1462 are connected in series, the second capacitor 1444 and the second sub-switch 1464 are connected in series, and the third capacitor 1446 and the third sub-switch 1466 are connected in series; wherein, the first capacitor 1442 is used for the temperature measurement function, the second capacitor 1444 is used for the distance measurement function, and the third capacitor 1446 is used for the dust removal function.

[0041] Specifically, the number of filter capacitors 144 is three, namely, a first capacitor 1442, a second capacitor 1444 and a third capacitor 1446. The number of first switches 146 is three, namely, a first sub-switch 1462, a second sub-switch 1464 and a third sub-switch 1466. The first capacitor 1442 and the first sub-switch 1462 are connected in series. When the first sub-switch 1462 is turned on, the first capacitor 1442 is connected to the circuit. The second capacitor 1444 and the second sub-switch 1464 are connected in series. When the second sub-switch 1464 is turned on, the second capacitor 1444 is connected to the circuit. The third capacitor 1446 and the third sub-switch 1466 are connected in series. When the third sub-switch 1466 is turned on, the third capacitor 1446 is connected to the circuit, thereby realizing various functions of the headset 100.

[0042] As a possible implementation, when the earphone 100 performs the temperature measurement function, the programmable logic device 160 controls the first sub-switch 1462 to be turned on, and controls the second sub-switch 1464 and the third sub-switch 1466 to be turned off; when the earphone 100 performs the ranging function, the programmable logic device 160 controls the first sub-switch 1462 to be turned off, and controls the second sub-switch 1464 and the third sub-switch 1466 to be turned on; when the earphone 100 performs the dust removal function, the programmable logic device 160 controls the first sub-switch 1462 and the second sub-switch 1464 to be turned off, and controls the third sub-switch 1466 to be turned on.

[0043] Specifically, when the earphone 100 performs the temperature measurement function, the programmable logic device 160 controls the first sub-switch 1462 to turn on, and controls the second sub-switch 1464 and the third sub-switch 1466 to turn off, that is, the first capacitor 1442 performs the filtering function, so that after the first data passes through the filtering circuit 140, the second data required by the temperature measurement function is output for processing by the programmable logic device 160.

[0044] When the headset 100 performs the ranging function, the programmable logic device 160 controls the first sub-switch 1462 to be closed, and controls the second sub-switch 1464 and the third sub-switch 1466 to be opened, that is, the second capacitor 1444 and the third capacitor 1446 perform the filtering function, and the third capacitor 1446 is used to compensate and adjust the bandwidth of the second data, thereby improving the accuracy of the ranging function, so that after the first data passes through the filtering circuit 140, the second data required by the ranging function is output for processing by the programmable logic device 160. That is, the third capacitor 1446 is used for the ranging function and the dust removal function.

[0045] When the earphone 100 performs the dust removal function, the programmable logic device 160 controls the first sub-switch 1462 and the second sub-switch 1464 to be closed, and controls the third sub-switch 1466 to be opened, that is, the third capacitor 1446 performs the filtering function, so that after the first data passes through the filtering circuit 140, the second data required by the dust removal function is output for processing by the programmable logic device 160.

[0046] like Figure 5 As shown, the whole is an adaptive frequency division detection circuit, the programmable logic device 160 obtains the data of the microphone 130, the first data on the AMIC1_P network generates the second data through the filter circuit 140, the programmable logic device 160 obtains the second data and performs detection, because the first data generated by the microphone 130 is a broadband data, generally covering data within 100KHz, in order to accurately distinguish the scenes, the filter circuit 140 is designed.

[0047] When the earphone 100 performs the temperature measurement function, the programmable logic device 160 pulls up the temperature measurement GPIO, pulls down the distance measurement GPIO, pulls down the dust removal GPIO, turns on the first sub-switch 1462, and turns on the second sub-switch 1464 and the third sub-switch 1466. The comparator is in wideband mode, F = 1÷2×π×R1×C1, C1 is set and adjusted according to the actual situation of the earphone 100, F represents the frequency of the second data output by the filter circuit 140, R1 represents the resistance value of the filter resistor 142, and C1 represents the capacitance value of the first capacitor 1442.

[0048] When the earphone 100 performs the temperature measurement function, the programmable logic device 160 pulls the temperature measurement GPIO low, the distance measurement GPIO high, the dust removal GPIO high, the first sub-switch 1462 is closed, the second sub-switch 1464 and the third sub-switch 1466 are both turned on, and the comparator is in narrowband mode, F = 1÷2×π×R1×(C2+C3), C2 and C3 are set and adjusted according to the actual situation of the earphone 100, F represents the frequency of the second data output by the filter circuit 140, R1 represents the resistance value of the filter resistor 142, C2 represents the capacitance value of the second capacitor 1444, and C3 represents the capacitance value of the third capacitor 1446.

[0049] When the earphone 100 performs the dust removal function, the programmable logic device 160 has no requirements for the second data and only performs detection to determine whether the dust removal function is performed normally. Therefore, the programmable logic device 160 pulls down the temperature measurement GPIO, pulls down the distance measurement GPIO, pulls up the dust removal GPIO, the first sub-switch 1462 and the second sub-switch 1464 are both closed, the third sub-switch 1466 is turned on, and the comparator is in ultra-wideband mode.

[0050] As a possible implementation, the frequency corresponding to the distance measurement function is 22KHz to 23.6KHz; the frequency corresponding to the temperature measurement function is 20KHz to 100KHz; and the frequency corresponding to the dust removal function is 50KHz to 100KHz.

[0051] Specifically, the frequency corresponding to the distance measurement function is 22KHz to 23.6KHz; the frequency corresponding to the temperature measurement function is 20KHz to 100KHz; the frequency corresponding to the dust removal function is 50KHz to 100KHz, so as to meet the various functions of the headset 100.

[0052] like Figure 5 As shown, as a possible implementation, it also includes: a second switch 170, one end of which is electrically connected to the microphone 130, and the other end of which is electrically connected to the filter circuit 140, and the control end of the second switch 170 is electrically connected to the programmable logic device 160.

[0053] Specifically, the earphone 100 also includes a second switch 170, one end of the second switch 170 is electrically connected to the microphone 130, and the other end of the second switch 170 is electrically connected to the filter circuit 140. Therefore, when the second switch 170 is turned on, the first data can enter the filter circuit 140 after passing through the second switch 170. When the second switch 170 is turned off, the first data cannot enter the filter circuit 140 after passing through the second switch 170. Therefore, the second switch 170 can be adjusted according to demand, so as to turn off the second switch 170 when the earphone 100 does not perform the temperature measurement function, the distance measurement function and the dust removal function, thereby reducing the energy consumption of the earphone 100.

[0054] The second switch 170 is located in the mounting cavity 118 .

[0055] like Figure 1 and Figure 2 As shown, as a possible implementation, it also includes: an earphone housing 110, a speaker assembly 120 and a microphone 130 are both arranged in the earphone housing 110, and the speaker 122 and the microphone 130 are oriented in the same direction.

[0056] Specifically, the earphone 100 also includes an earphone housing 110, a speaker 122 and a microphone 130 are both disposed inside the earphone housing 110, and the speaker assembly 120 and the microphone 130 are oriented in the same direction, so that after the speaker assembly 120 emits an ultrasonic wave, the microphone 130 can smoothly receive the returned ultrasonic wave, thereby improving the accuracy and timeliness of the first data.

[0057] like Figure 2 As shown, as a possible implementation, the earphone housing 110 includes: a head 112, with a sound cavity 116 located in the head 112; a handle 114, which is arranged on the head 112, with a mounting cavity 118 located in the handle 114, and the speaker 122 and the microphone 130 are oriented in the same direction.

[0058] Specifically, the earphone housing 110 includes a head 112 and a handle 114, the handle 114 is arranged on the head 112, the sound cavity 116 is located in the head 112, the installation cavity 118 is located in the handle 114, the speaker 122 is arranged in the head 112, and the microphone 130 is arranged in the handle 114, so that the speaker 122 and the microphone 130 are relatively far apart, thereby reducing the influence of human voice or other sounds emitted by the speaker assembly 120 on the microphone 130's reception of ultrasonic waves, thereby improving the accuracy of the first data.

[0059] The head 112 is used to form a sound cavity 116, and part of its structure is in-ear, ensuring the in-ear effect of the sound emitted by the speaker 122. The handle 114 is used to form an installation cavity 118, which is far away from the human ear, reducing the interference of the sound emitted by the speaker 122 on the microphone 130. In addition, the distance between the speaker 122 and the microphone 130 is far, which is beneficial to increase the propagation time of ultrasonic waves and reduce the difficulty of collecting ultrasonic waves.

[0060] Furthermore, the speaker 122 and the microphone 130 are oriented in the same direction, which can increase the energy of the ultrasonic waves received by the microphone 130 and improve the accuracy of the microphone 130 in collecting ultrasonic waves.

[0061] That is, if Figure 2 As shown, the earphone housing 110 includes a head 112 and a handle 114, the head 112 is used to enter the ear, the head 112 has a sound cavity 116, the speaker 122 is arranged in the sound cavity 116, the handle 114 has a mounting cavity 118, and the microphone 130 is arranged in the mounting cavity 118, thereby increasing the distance between the speaker 122 and the microphone 130, reducing the interference of the speaker 122 on the microphone 130, and increasing the travel of the ultrasonic wave, so that the propagation time of the ultrasonic wave is longer, which is conducive to reducing the difficulty of calculating the time. In addition, such a setting method can effectively increase the volume of the sound cavity 116, thereby helping to improve the sound quality of the earphone 100.

[0062] like Figure 3 , Figure 4 and Figure 8 As shown, as a possible implementation, it also includes: a vocal blocking structure 180, which is disposed in the earphone housing 110 and separates the sound cavity 116 and the installation cavity 118. The vocal blocking structure 180 is used to block the human voice and allow ultrasonic waves to pass through.

[0063] Specifically, the earphone 100 also includes a vocal blocking structure 180. The speaker assembly 120, the microphone 130 and the vocal blocking structure 180 are all arranged in the earphone shell 110. The vocal blocking structure can separate the interior of the earphone shell into a sound cavity 116 and an installation cavity 118. The vocal blocking structure 180 is located between the speaker 122 and the microphone 130, so that the vocal blocking structure 180 is used to block the human voice and enable ultrasonic waves to pass through the microphone 130, thereby reducing the interference of the human voice on the data received by the microphone 130 and improving the accuracy of the first data.

[0064] Specifically, a sound cavity 116 is formed on a side of the vocal blocking structure 180 facing the speaker 122 , and the speaker 122 is disposed corresponding to the sound cavity 116 .

[0065] The size of the human voice barrier structure 180 depends on the density and sound speed of the medium, as well as the propagation direction of the sound wave in different media. When the sound wave passes through the interface of the medium, if the acoustic impedance of the two media is different, reflection and refraction will occur. The human voice barrier structure 180 is designed to pass sound in the ultrasonic frequency band, but not sound in the human voice frequency band.

[0066] The head 112 is used to form a sound cavity 116, and part of its structure is in-ear, ensuring the in-ear effect of the sound emitted by the speaker 122. The handle 114 is used to form an installation cavity 118, which is far away from the human ear, reducing the interference of the sound emitted by the speaker 122 on the microphone 130. In addition, the distance between the speaker 122 and the microphone 130 is far, which is beneficial to increase the propagation time of ultrasonic waves and reduce the difficulty of collecting ultrasonic waves.

[0067] That is, if Figure 4As shown, the earphone housing 110 includes a head 112 and a handle 114, the head 112 is used for entering the ear, and the head 112 has a sound cavity 116 and a mounting cavity 118, and the sound cavity 116 and the mounting cavity 118 are respectively located in two directions of the head 112, the speaker 122 is arranged in the sound cavity 116, and the microphone 130 is arranged in the mounting cavity 118, thereby increasing the distance between the speaker 122 and the microphone 130, reducing the interference of the speaker 122 on the microphone 130, and increasing the travel of the ultrasonic wave, so that the propagation time of the ultrasonic wave is longer, which is conducive to reducing the difficulty of calculating the time. In addition, such a setting method can effectively free up the internal space of the handle 114, which is conducive to the setting of other components, such as facilitating the placement of components such as circuit boards and batteries.

[0068] Or Figure 8 As shown, the earphone housing 110 does not have a handle, and has a sound cavity 116 and a mounting cavity 118 in the earphone housing 110, and the sound cavity 116 and the mounting cavity 118 are respectively located in two directions of the earphone housing 110, the speaker 122 is arranged in the sound cavity 116, and the microphone 130 is arranged in the mounting cavity 118, thereby increasing the distance between the speaker 122 and the microphone 130, reducing the interference of the speaker 122 on the microphone 130, and increasing the travel of the ultrasonic wave, so that the propagation time of the ultrasonic wave is longer, which is conducive to reducing the difficulty of calculating the time. In addition, such a setting method can effectively reduce the volume of the earphone 100 and reduce the weight of the earphone 100.

[0069] like Figure 4 As shown, as a possible implementation, the earphone housing 110 includes: a head 112 , a sound cavity 116 and a mounting cavity 118 are both located in the head 112 , and the speaker 122 and the microphone 130 are oriented in opposite directions.

[0070] Specifically, the earphone housing 110 includes a head 112, a sound cavity 116 and an installation cavity 118 are both located in the head 112, a speaker assembly 120, a microphone 130 and a vocal blocking structure 180 are all disposed in the head 112. Due to the large volume of the head 112, this arrangement is more conducive to the arrangement of internal components of the earphone 100.

[0071] That is, the human voice blocking structure 180 is used to separate the space of the head 112, forming a sound cavity 116 on one side and a mounting cavity 118 on the other side. The part of the head 112 with the sound cavity 116 is used for entering the ear, and the part of the head 112 with the mounting cavity 118 is away from the human ear. In addition, the speaker 122 and the microphone 130 are oriented in opposite directions, which facilitates the microphone 130 to collect the human voice and reduces the background noise of the human voice frequency band of the first data, while the background noise of the ultrasonic frequency band has no effect on the human voice frequency band, and will not affect the playback and recording effects of the headset 100.

[0072] This arrangement allows the speaker 122 and the microphone 130 to be farther apart, thereby reducing the interference of the sound emitted by the speaker 122 on the microphone 130 , and is beneficial for increasing the propagation time of ultrasonic waves, thereby reducing the difficulty of collecting ultrasonic waves.

[0073] Moreover, such a configuration can effectively increase and reduce the volume of the earphone 100 and reduce the weight of the earphone 100 .

[0074] Optionally, the earphone housing 110 further includes a handle 114 , which is disposed on one side of the head 112 .

[0075] like Figure 5 and Figure 7 As shown, as a possible implementation, the speaker component 120 and the programmable logic device 160 are electrically connected, and the speaker component 120 sends an interrupt signal to the programmable logic device 160, and the interrupt signal includes a temperature measurement interrupt signal, a distance measurement interrupt signal and a dust removal interrupt signal, so that the programmable logic device 160 can control the operation or interruption of the filter circuit 140, and the interrupt function is an interrupt function that adaptively reports the occurrence frequency of the speaker 122.

[0076] Figure 5 Among them, INT represents an interrupt signal, MIC_BIAS1 represents a microphone bias signal, AMIC1_P represents the positive electrode of a microphone differential signal, AMIC1_M represents the negative electrode of a microphone differential signal, GPIO represents a programmable control pin, VDD_BUCK represents a power supply, VDD_PX represents a power supply, VDD_TXRX represents a power supply, DVDD represents a power supply, VBAT represents a power supply, VREG_S4A_1P8 represents a power supply, VPH_PWR represents a power supply, EAR_OUT_P represents a power supply, EAR_OUT_M represents a power supply, 1210DREC represents a power supply, C1 represents a first capacitor 1442, C2 represents a second capacitor 1444, C3 represents a third capacitor 1446, and R1 represents a filter resistor 142.

[0077] Figure 6 In which C1 represents the first capacitor 1442 , C2 represents the second capacitor 1444 , C3 represents the third capacitor 1446 , and R1 represents the filter resistor 142 .

[0078] Figure 7 Among them, INT represents an interrupt signal, VREG_S4A_1P8 represents a power supply, VPH_PWR represents a power supply, and 1210DREC represents a power supply.

[0079] like Figure 5As shown, as a possible implementation, the programmable logic device 160 is electrically connected to the speaker assembly 120 , and the programmable logic device 160 controls the frequency of the ultrasonic wave emitted by the speaker assembly 120 according to the function performed by the earphone 100 .

[0080] Specifically, the programmable logic device 160 is electrically connected to the speaker assembly 120, and when the earphone 100 performs a certain function, the programmable logic device 160 controls the ultrasonic waves of corresponding frequencies emitted by the speaker assembly 120 according to the function performed by the earphone 100 to improve the reliability of the earphone 100 in performing the corresponding function.

[0081] The speaker assembly 120 includes a power amplifier 124 and a speaker 122 . The power amplifier 124 and the programmable logic device 160 are electrically connected, and the speaker 122 and the power amplifier 124 are electrically connected.

[0082] As a possible implementation, when the earphone 100 performs a temperature measurement function, the programmable logic device 160 controls the speaker assembly 120 to emit ultrasonic waves in a first frequency band; the programmable logic device 160 determines the velocity of the ultrasonic waves based on second data; and determines the ambient temperature of the earphone 100 based on the velocity.

[0083] Specifically, when the earphone 100 performs the temperature measurement function, the programmable logic device 160 controls the speaker assembly 120 to emit ultrasonic waves of the first frequency band, and the microphone 130 receives the returned ultrasonic waves to generate first data. The first data generates second data after passing through the filtering circuit 140. The programmable logic device 160 determines the velocity of the ultrasonic waves based on the second data, and determines the ambient temperature of the earphone 100 based on the velocity. That is, based on the principle that the velocities of ultrasonic waves are different at different ambient temperatures, the ambient temperature is determined by detecting the velocity of the ultrasonic waves, thereby achieving temperature measurement through ultrasonic waves.

[0084] Among them, when the earphone 100 performs the temperature measurement function, the programmable logic device 160 controls the first sub-switch 1462 to turn on, controls the second sub-switch 1464 and the third sub-switch 1466 to turn off, and controls the speaker assembly 120 to emit ultrasonic waves of the first frequency band. The microphone 130 receives the returned ultrasonic waves and generates first data. The first data generates second data after passing through the filtering circuit 140. The frequency band of the second data is also the first frequency band. The programmable logic device 160 determines the rate of the ultrasonic wave based on the second data, and determines the ambient temperature of the earphone 100 based on the rate. The first frequency band can be 20KHz to 100KHz.

[0085] The propagation time of the ultrasonic wave can be determined by the second data, and the distance from the human ear or the storage box to the earphone 100 can be preset to determine the velocity of the ultrasonic wave.

[0086] For the temperature measurement function, the speed at which ultrasonic waves propagate in the medium is related to the temperature, and the internal temperature of the earphone 100 is measured, thereby having the characteristics of high precision, high linearity, fast response, and little environmental influence without increasing the cost of components. Specifically, all substances are composed of basic particles such as molecules, atoms, and ions. These basic particles are in thermal motion all the time, and changes in temperature will affect the intensity of the irregular thermal motion of the particles.

[0087] When the temperature is high, the random thermal motion intensifies, the density of the medium increases, and the speed of the ultrasonic wave increases. When the temperature is low, the random thermal motion slows down, the density of the medium decreases, and the speed of the ultrasonic wave decreases.

[0088] like Fig.10 As shown, L1 is the velocity curve of the ultrasonic wave under the condition of 100% air humidity, which is the relationship between the velocity of the ultrasonic wave and the temperature, and L2 is the velocity curve of the ultrasonic wave under the condition of 0% air humidity, which is the relationship between the velocity of the ultrasonic wave and the temperature. As shown by curve L2, in the range of 250K to 330K (-23℃ to 57℃), the velocity of the ultrasonic wave is basically linearly related to the temperature. In the high temperature and high humidity environment of 315K and 100% air humidity, this linear relationship cannot be maintained. However, for the working environment of the headset 100, in most usage scenarios, this linear relationship is relatively reliable. Therefore, through the above principle, the ambient temperature of ultrasonic wave propagation can be obtained by calculating the velocity of the ultrasonic wave.

[0089] Among them, Fig. 9 As shown, the second data has two peaks, the first peak is generated when the ultrasonic wave propagates normally, and the second peak is generated after the ultrasonic wave returns.

[0090] In a specific application, it is first determined whether the earphone 100 is placed in a storage box or worn by a human body. When the earphone 100 is in the storage box, the processor obtains the insertion information from the storage box and sends the flag to the programmable logic device 160. Then the programmable logic device 160 sends the temperature measurement INT to the power amplifier 124, the speaker 122 sends ultrasonic waves of the first frequency band, the first frequency band is 20KHz to 100KHz, and the microphone 130 receives the returned ultrasonic waves to generate the first data, and the first data is filtered to obtain the second data. According to the temperature measurement principle, the programmable logic device 160 calculates the ambient temperature. Since the earphone 100 is in the storage box at this time, the temperature at this time is used to control the charging rate of the earphone 100 to prevent the storage box and the earphone 100 from being too high.

[0091] When the earphone 100 is worn by a human body, the flag here is given by the distance measurement function, and the programmable logic device 160 sends the distance measurement INT to the power amplifier 124 every first period, and the speaker 122 emits ultrasonic waves of the second frequency band, and the second frequency band is 22KHz to 23.6KHz. When the distance measurement mode determines that the earphone 100 is worn by a human body, the programmable logic device 160 sends the temperature measurement INT to the power amplifier 124, and the speaker 122 sends ultrasonic waves of the first frequency band, and the first frequency band is 20KHz to 100KHz, and the microphone 130 receives the returned ultrasonic waves, generates the first data, and obtains the second data after filtering the first data. According to the temperature measurement principle, the programmable logic device 160 calculates the ambient temperature.

[0092] The first time period may be 50 ms to 150 ms, for example 50 ms, 80 ms, 100 ms, 120 ms or 150 ms.

[0093] As a possible implementation, when the earphone 100 performs a ranging function, the programmable logic device 160 controls the speaker assembly 120 to emit ultrasonic waves in a second frequency band and records the start time; the programmable logic device 160 determines the return time of the ultrasonic waves based on the second data; and determines the distance between the earphone 100 and the target object based on the start time and the return time.

[0094] Specifically, when the earphone 100 performs the ranging function, the programmable logic device 160 controls the speaker assembly 120 to emit ultrasonic waves in the second frequency band and records the start time. The microphone 130 receives the returned ultrasonic waves and generates first data. The first data generates second data after passing through the filtering circuit 140. The programmable logic device 160 records the return time of receiving the second data and determines the distance between the earphone 100 and the target object based on the start time and the return time, thereby realizing ranging through ultrasonic waves.

[0095] In which, when the earphone 100 performs the ranging function, the programmable logic device 160 controls the first sub-switch 1462 to be closed, controls the second sub-switch 1464 and the third sub-switch 1466 to be turned on, and controls the speaker assembly 120 to emit ultrasonic waves of the second frequency band, and when recording the start time of the ultrasonic wave, the microphone 130 receives the returned ultrasonic wave and generates the first data. The first data generates the second data after passing through the filtering circuit 140, and the frequency band of the second data is also the second frequency band, and the return time of receiving the second data is recorded. The programmable logic device 160 determines the distance between the earphone 100 and the human ear or the storage box according to the start time and the return time. The second frequency band can be 22KHz to 23.6KHz.

[0096] For the distance measurement function, in-ear detection can be realized. The principle is that the speaker 122 emits ultrasonic waves in a certain direction and records the start time T1 of the emission. When the ultrasonic waves encounter obstacles during the propagation process, they will be reflected back. After receiving the returned ultrasonic waves, the microphone 130 records the return time T2. Distance = (T2-T1) × speed of sound ÷ 2. By judging the distance, it can be determined whether the earphone 100 is in the wearing state or the taking-off state.

[0097] Among them, Fig. 9 As shown, the second data has two peaks, the first peak is generated when the ultrasonic wave propagates normally, and the second peak is generated after the ultrasonic wave returns.

[0098] In a specific application, the programmable logic device 160 sends a ranging INT to the power amplifier 124 every second time period, and the speaker 122 sends ultrasonic waves in the second frequency band. The second frequency band is 22KHz to 23.6KHz, which is shorter than the first frequency band required for the temperature measurement function. If the frequency band is wide, it will bring in environmental interference, which is not conducive to improving the signal-to-noise ratio. Therefore, a narrower second frequency band can reduce interference and improve the accuracy of ranging.

[0099] The second time period may be 50 ms to 150 ms, for example, 50 ms, 80 ms, 100 ms, 120 ms or 150 ms.

[0100] As a possible implementation, when the earphone 100 performs the dust removal function, the programmable logic device 160 controls the speaker assembly 120 to emit ultrasonic waves in the third frequency band; the programmable logic device 160 determines whether the dust removal function is performed normally based on the second data.

[0101] Specifically, when the earphone 100 performs the dust removal function, the programmable logic device 160 controls the speaker assembly 120 to emit ultrasonic waves in the third frequency band, and the microphone 130 receives the returned ultrasonic waves to generate first data. The first data generates second data after passing through the filtering circuit 140. The programmable logic device 160 determines whether the dust removal function of the earphone 100 is performed normally based on the second data, thereby achieving dust removal through ultrasonic waves.

[0102] Among them, when the earphone 100 performs the dust removal function, the programmable logic device 160 controls the first sub-switch 1462 and the second sub-switch 1464 to be closed, controls the third sub-switch 1466 to be turned on, and controls the speaker assembly 120 to emit ultrasonic waves in the third frequency band. The microphone 130 receives the returned ultrasonic waves and generates first data. The first data generates second data after passing through the filtering circuit 140. The frequency band of the second data is also the third frequency band, so as to determine whether the earphone 100 is performing the dust removal function according to the second data. The third frequency band can be 50KHz to 100KHz.

[0103] As for the dust removal function, ultrasonic dust removal uses the vibration energy of ultrasound to remove dust. When ultrasound acts on dust particles, it will produce violent mechanical resonance, causing the dust particles to detach from the earphone 100, thereby achieving the purpose of dust removal.

[0104] Among them, Fig. 9 As shown, the second data has two peaks, the first peak is generated when the ultrasonic wave propagates normally, and the second peak is generated after the ultrasonic wave returns.

[0105] In a specific application, first determine whether the earphone 100 is placed in a storage box or worn by a human body. When the earphone 100 is in the storage box, turn on the temperature measurement function and the dust removal function simultaneously. The dust removal function requires the programmable logic device 160 to send the dust removal INT to the power amplifier 124. Since dust removal requires relatively large energy, the ultrasonic wave needs to be in a higher frequency band. The speaker 122 sends ultrasonic waves in the third frequency band, which is 50KHZ to 100KHz. Through the corresponding structure, it is ensured that the energy of the ultrasonic wave in this frequency band can also be transmitted to the sound inlet of the microphone 130, so that the speaker 122 and the microphone 130 can remove dust synchronously, reducing the risk of blockage of the sound outlet and sound inlet of the earphone 100.

[0106] As a possible implementation, the headset 100 further includes a codec 190 electrically connected to the microphone 130 .

[0107] In the description of this specification, the description with reference to the terms "one embodiment" or "specific embodiment" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0108] Although the embodiments of the present application have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present application, and that the scope of the present application is defined by the claims and their equivalents.

Claims

1. A headset, characterized in that: include: An earphone housing, the earphone housing having a sound cavity and a mounting cavity, the sound cavity being located on one side of the mounting cavity; A speaker assembly, the speaker assembly comprising a speaker, the speaker is arranged in the sound cavity, and the speaker assembly can emit ultrasonic waves; A microphone, disposed in the installation cavity, and capable of receiving the ultrasonic wave; a filter circuit, disposed in the installation cavity, the filter circuit being electrically connected to the microphone and configured to filter the first data to generate second data, wherein the first data is data of the ultrasonic wave received by the microphone; A programmable logic device is arranged in the installation cavity, and the programmable logic device is electrically connected to the filter circuit, and is used to collect and process the second data to realize at least one of the temperature measurement function, distance measurement function and dust removal function of the headset.

2. The earphone according to claim 1, characterized in that The filtering circuit comprises: Filter resistor; A filter capacitor is connected in parallel with the filter resistor, and the first data is sent to the filter resistor and the filter capacitor; A first switch is connected in series with the filter capacitor, and a control end of the first switch is electrically connected to the programmable logic device; Among them, the number of the filter capacitor and the first switch is at least two, one filter capacitor and one first switch are connected in series, and the frequency of the data passed through the filter resistor and the filter capacitor is matched with at least one of the temperature measurement function, the distance measurement function and the dust removal function.

3. The earphone according to claim 2, characterized in that The number of the filter capacitors is three, namely, a first capacitor, a second capacitor, and a third capacitor; the number of the first switches is three, namely, a first sub-switch, a second sub-switch, and a third sub-switch; the first capacitor is connected in series with the first sub-switch, the second capacitor is connected in series with the second sub-switch, and the third capacitor is connected in series with the third sub-switch; The first capacitor is used for the temperature measurement function, the second capacitor is used for the distance measurement function, and the third capacitor is used for the dust removal function.

4. The earphone according to claim 3, characterized in that: When the earphone performs the temperature measurement function, the programmable logic device controls the first sub-switch to be turned on, and controls the second sub-switch and the third sub-switch to be turned off; When the headset performs the ranging function, the programmable logic device controls the first sub-switch to be turned off, and controls the second sub-switch and the third sub-switch to be turned on; When the earphone performs the dust removal function, the programmable logic device controls the first sub-switch and the second sub-switch to be turned off, and controls the third sub-switch to be turned on.

5. The earphone according to claim 2, characterized in that: The frequency corresponding to the distance measurement function is 22KHz to 23.6KHz; The frequency corresponding to the temperature measurement function is 20KHz to 100KHz; The frequency corresponding to the dust removal function is 50KHz to 100KHz.

6. The earphone according to any one of claims 1 to 5, characterized in that: Also includes: A second switch has one end electrically connected to the microphone and the other end electrically connected to the filter circuit; a control end of the second switch is electrically connected to the programmable logic device.

7. The earphone according to any one of claims 1 to 5, characterized in that: The earphone housing comprises: a head, wherein the sound cavity is located in the head; The handle is arranged on the head, the mounting cavity is located on the handle, and the speaker and the microphone are oriented in the same direction.

8. The earphone according to any one of claims 1 to 5, characterized in that: Also includes: A vocal isolation structure is arranged in the earphone housing to separate the sound cavity and the installation cavity. The vocal isolation structure is used to isolate the human voice and allow the ultrasonic wave to pass through.

9. The earphone according to claim 8, characterized in that The earphone housing comprises: The sound cavity and the installation cavity are both located on the head, and the speaker and the microphone are oriented in opposite directions.

10. The earphone according to any one of claims 1 to 5, characterized in that: The programmable logic device is electrically connected to the speaker assembly, and the programmable logic device controls the frequency of the ultrasonic wave emitted by the speaker assembly according to the function performed by the earphone.

11. The earphone according to claim 10, characterized in that In the case where the earphone performs the temperature measurement function, the programmable logic device controls the speaker assembly to emit the ultrasonic wave in the first frequency band; The programmable logic device determines the velocity of the ultrasonic wave according to the second data; The ambient temperature of the earphone is determined according to the rate.

12. The earphone according to claim 10, characterized in that When the earphone performs the ranging function, the programmable logic device controls the speaker assembly to emit the ultrasonic wave of the second frequency band and records the starting time; The programmable logic device determines the return time of the ultrasonic wave according to the second data; The distance between the earphone and the target object is determined according to the start time and the return time.

13. The earphone according to claim 10, characterized in that When the earphone performs the dust removal function, the programmable logic device controls the speaker assembly to emit the ultrasonic wave in the third frequency band; The programmable logic device determines whether the dust removal function is performed normally according to the second data.