CN114095833B - Noise reduction method based on pressure feedback, TWS earphone and storage medium - Google Patents
Noise reduction method based on pressure feedback, TWS earphone and storage medium Download PDFInfo
- Publication number
- CN114095833B CN114095833B CN202111372868.0A CN202111372868A CN114095833B CN 114095833 B CN114095833 B CN 114095833B CN 202111372868 A CN202111372868 A CN 202111372868A CN 114095833 B CN114095833 B CN 114095833B
- Authority
- CN
- China
- Prior art keywords
- data
- pressure
- noise reduction
- microphone
- audio data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000009467 reduction Effects 0.000 title claims abstract description 82
- 238000000034 method Methods 0.000 title claims abstract description 68
- 238000012545 processing Methods 0.000 claims abstract description 42
- 238000007781 pre-processing Methods 0.000 claims abstract description 24
- 238000013507 mapping Methods 0.000 claims description 62
- 238000012360 testing method Methods 0.000 claims description 39
- 238000004590 computer program Methods 0.000 claims description 8
- 238000013461 design Methods 0.000 abstract description 5
- 238000004891 communication Methods 0.000 description 9
- 230000006870 function Effects 0.000 description 8
- 238000001914 filtration Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 6
- 238000007789 sealing Methods 0.000 description 6
- 239000000306 component Substances 0.000 description 5
- 239000003990 capacitor Substances 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 230000002093 peripheral effect Effects 0.000 description 4
- 239000003985 ceramic capacitor Substances 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 239000012528 membrane Substances 0.000 description 2
- 239000000758 substrate Substances 0.000 description 2
- 230000003139 buffering effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 239000008358 core component Substances 0.000 description 1
- 238000013016 damping Methods 0.000 description 1
- 230000006866 deterioration Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000035939 shock Effects 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R3/00—Circuits for transducers, loudspeakers or microphones
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L25/00—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
- G10L25/48—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
- H04R1/1083—Reduction of ambient noise
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R5/00—Stereophonic arrangements
- H04R5/033—Headphones for stereophonic communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R5/00—Stereophonic arrangements
- H04R5/04—Circuit arrangements, e.g. for selective connection of amplifier inputs/outputs to loudspeakers, for loudspeaker detection, or for adaptation of settings to personal preferences or hearing impairments
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T90/00—Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Computational Linguistics (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Soundproofing, Sound Blocking, And Sound Damping (AREA)
Abstract
The invention discloses a noise reduction method based on pressure feedback, TWS earphone and computer readable storage medium, wherein carrier equipment applied by the noise reduction method based on pressure feedback comprises a microphone, a pressure sensor, a PCB and a loudspeaker, wherein the PCB is provided with a sound guide hole, and the microphone and the pressure sensor are arranged on two sides of the sound guide hole on the PCB; the noise reduction method based on pressure feedback comprises the following steps: receiving the original audio data picked up by the microphone; if the pressure data acquired by the pressure sensor and subjected to pre-processing are received at the same time, taking the original audio data as data to be noise reduced, and using the pressure data to perform noise reduction processing on the data to be noise reduced to obtain audio data to be played; and driving a loudspeaker to play the audio data to be played. Therefore, the method and the device achieve the purpose of carrying out audio noise reduction more simply, more cost-effectively and spatially without changing the original design of the TWS earphone.
Description
Technical Field
The present invention relates to the field of audio, and in particular, to a noise reduction method based on pressure feedback, a TWS headset, and a computer readable storage medium.
Background
As wireless audio transmission technology matures, TWS (True Wireless Stereo ) headphones are increasingly entering the consumer electronics market. TWS earphone outward appearance is little, and corresponding inside PCB (printed circuit board, printed wiring board) circuit board will be designed smaller, and is thinner, and the intensity of PCB board also reduces thereupon.
In the earphone working process, the capacitor on the PCB is continuously charged and discharged. Due to the piezoelectric effect, capacitive vibration is caused, and the undesirable vibration is conducted to various parts of the earphone through the PCB to form mechanical vibration. When vibration is conducted to the vicinity of a MIC (Microphone), the MIC receives noise caused by the vibration. However, noise generated by MIC reception causes problems such as noise increase in MIC to SKP (Speaker) transmission mode, and deterioration of ANC (Active Noise Control, active noise reduction function) index.
The current solution to this problem is: 1, replacing special capacitor, but the cost is increased. 2, the PCB is designed to be thickened, but the volume of the TWS earphone becomes large. And 3, the slotting of the PCB is used for buffering vibration, but the size of the TWS earphone is also increased. And 4, the MIC is placed by adopting the soft and hard combined plate, so that the structural design is difficult and the cost is high.
Disclosure of Invention
The invention mainly aims to provide a noise reduction method based on pressure feedback, which aims to solve the technical problem of how to perform audio noise reduction more simply, more cost-effectively and spatially under the condition of not changing the original design of TWS (time and space) headphones in the prior art.
In order to achieve the above purpose, the invention provides a noise reduction method based on pressure feedback, wherein carrier equipment applied to the noise reduction method based on pressure feedback comprises a microphone, a pressure sensor, a PCB board and a loudspeaker, wherein the PCB board is provided with a sound guide hole, and the microphone and the pressure sensor are arranged on two sides of the sound guide hole on the PCB board; the noise reduction method based on pressure feedback comprises the following steps:
receiving the original audio data picked up by the microphone;
if the pressure data acquired by the pressure sensor and subjected to pre-processing are received at the same time, taking the original audio data as data to be noise reduced, and using the pressure data to perform noise reduction processing on the data to be noise reduced to obtain audio data to be played;
and driving a loudspeaker to play the audio data to be played.
Optionally, after the step of receiving the raw audio data picked up by the microphone, the method further includes:
and if the pressure data is not received at the same time, not performing noise reduction processing, taking the original audio data as audio data to be played, and executing the step of driving a loudspeaker to play the audio data to be played.
Optionally, after the step of receiving the raw audio data picked up by the microphone, the method further includes:
and judging whether pressure data which are acquired by the pressure sensor and subjected to pre-processing are received at the same time, wherein the pressure data are data obtained by the pressure signal processing module after pre-processing the original pressure data acquired by the pressure sensor.
Optionally, the step of using the pressure data to perform noise reduction processing on the data to be noise reduced includes:
and inquiring a pre-stored mapping relation by using the pressure data to obtain corresponding target calibration data, and compensating the target calibration data for the data to be noise reduced to obtain the audio data to be played.
Optionally, before the step of receiving the raw audio data picked up by the microphone, the method further includes:
after simulating an on-board noise environment, receiving test audio data collected by the microphone as calibration data, synchronously receiving test pressure data collected by the pressure sensor, and establishing association between the calibration data and the test pressure data according to a collection time sequence to construct a pre-stored mapping relation.
Optionally, the pre-stored mapping relationship includes a first mapping relationship of the calibration data and the test pressure data in an amplitude dimension and a second mapping relationship of the calibration data and the test pressure data in a frequency dimension, and the step of establishing association of the calibration data and the test pressure data according to the acquisition time sequence to construct the pre-stored mapping relationship includes:
the first mapping relation between the calibration data and the test pressure data in the amplitude dimension is obtained by applying different levels of air pressure intensity in the cavity of the microphone;
and obtaining a second mapping relation between the calibration data and the test pressure data in the frequency dimension by applying sine pressure signals with different frequencies in the cavity of the microphone.
Optionally, the step of using the pressure data to query a pre-stored mapping relationship to obtain corresponding target calibration data, compensating the target calibration data for the data to be noise reduced, and obtaining the audio data to be played includes:
inquiring the first mapping relation by using the amplitude of the pressure data to obtain first target calibration data with corresponding amplitude and compensating the amplitude of the data to be noise reduced;
inquiring the second mapping relation by using the frequency of the pressure data to obtain second target calibration data of corresponding frequency and compensating the frequency of the data to be noise reduced;
and compensating the amplitude and the frequency of the data to be noise reduced to obtain the audio data to be played.
Optionally, before the step of receiving the raw audio data picked up by the microphone, the method further includes:
and detecting the working states of the carrier equipment circuit and the elements, and executing the step of receiving the original audio data picked up by the microphone if the working states are normal.
In addition, to achieve the above object, the present invention also provides a TWS headset including: the microphone and the pressure sensor are arranged on two sides of the sound guide hole on the PCB; the computer program when executed by the processor implements the steps of the noise reduction method based on pressure feedback as described above.
In addition, to achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the noise reduction method based on pressure feedback as described above.
According to the noise reduction method based on pressure feedback, the TWS earphone and the computer readable storage medium, vibration caused by a piezoelectric effect is conducted to each part of the earphone through the PCB when the ceramic capacitor on the PCB is charged and discharged, noise is formed by the vibration of the PCB, and acting force causing deformation can be detected by adding the pressure sensor at the feedforward microphone and the conversation microphone. After normal conditions are simulated in advance by applying different levels of air pressure intensity and different frequencies of sinusoidal pressure signals in the microphone cavity, the corresponding relation between the amplitude and the frequency of the audio data picked up by the microphone and the pressure data collected by the pressure sensor under the condition of on-board noise is recorded. When the pressure sensor and the microphone collect and pick up pressure data and audio data at the same time, the fact that plate vibration occurs is indicated, and noise data are doped in the audio data. At the moment, corresponding audio data is obtained by inquiring the corresponding relation by utilizing the pressure data and is used as calibration data, and the calibration data is used for compensating the audio data doped with noise data, so that the noise reduction processing is completed. Therefore, under the condition of not changing the original design of the TWS earphone, the method is simpler, saves cost and reduces the noise of the audio frequency in a space.
Drawings
FIG. 1 is a schematic diagram of a terminal structure of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flow chart of an embodiment of a noise reduction method based on pressure feedback according to the present invention;
FIG. 3 is a system frame diagram of an embodiment of an application carrier of the noise reduction method based on pressure feedback according to the present invention;
fig. 4 is a schematic structural installation diagram of an embodiment of an application carrier of the noise reduction method based on pressure feedback according to the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
In order to better understand the above technical solutions, the following detailed description will refer to the accompanying drawings and specific embodiments.
As shown in fig. 1, fig. 1 is a schematic diagram of a terminal structure of a hardware running environment according to an embodiment of the present invention.
The terminal device in the embodiment of the present invention may be a terminal device such as a TWS headset that can perform bluetooth connection through the bluetooth communicator 1003. The peripheral equipment in the embodiment of the invention can be a game handle, and also can be equipment which can be connected with terminal equipment in a Bluetooth communication way, such as a smart phone, a tablet personal computer, a portable computer, a sound box and the like.
As shown in fig. 1, the terminal device may include: a processor 1001, such as a CPU, a communication bus 1002, a bluetooth communicator 1003, a memory 1004. Wherein the communication bus 1002 is used to enable connected communication between these components. The bluetooth communicator 1003 is in communication connection with the peripheral device by using the bluetooth wireless technology standard, and can implement short-distance data exchange between devices. The bluetooth communicator 1003 transmits data in the memory 1004 to a peripheral device which establishes a bluetooth connection with the bluetooth communicator 1003 under the control of the processor 1001, and receives data transmitted from the peripheral device. The memory 1004 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1004 may also optionally be a storage device separate from the processor 1001 described above.
Optionally, the terminal device may further include a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, and the like. Among other sensors, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display screen according to the brightness of ambient light. Of course, the terminal may also be configured with other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, and the like, which are not described herein.
It will be appreciated by those skilled in the art that the operating device structure shown in FIG. 1 is not limiting of the operating device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
As shown in fig. 1, an operating system and a noise reduction program based on pressure feedback implementing the present invention may be included in a memory 1004, which is a computer storage medium.
In the terminal shown in fig. 1, the processor 1001 may be configured to call a noise reduction program based on pressure feedback stored in the memory 1004, and perform the following operations:
receiving the original audio data picked up by the microphone;
if the pressure data acquired by the pressure sensor and subjected to pre-processing are received at the same time, taking the original audio data as data to be noise reduced, and using the pressure data to perform noise reduction processing on the data to be noise reduced to obtain audio data to be played;
and driving a loudspeaker to play the audio data to be played.
Further, the processor 1001 may call a noise reduction program based on pressure feedback stored in the memory 1004, and further perform the following operations:
after the step of receiving the original audio data picked up by the microphone, the method further comprises:
and if the pressure data is not received at the same time, not performing noise reduction processing, taking the original audio data as audio data to be played, and executing the step of driving a loudspeaker to play the audio data to be played.
Further, the processor 1001 may call a noise reduction program based on pressure feedback stored in the memory 1004, and further perform the following operations:
after the step of receiving the original audio data picked up by the microphone, the method further comprises:
and judging whether pressure data which are acquired by the pressure sensor and subjected to pre-processing are received at the same time, wherein the pressure data are data obtained by the pressure signal processing module after pre-processing the original pressure data acquired by the pressure sensor.
Further, the processor 1001 may call a noise reduction program based on pressure feedback stored in the memory 1004, and further perform the following operations:
the step of using the pressure data to perform noise reduction processing on the data to be noise reduced includes:
and inquiring a pre-stored mapping relation by using the pressure data to obtain corresponding target calibration data, and compensating the target calibration data for the data to be noise reduced to obtain the audio data to be played.
Further, the processor 1001 may call a noise reduction program based on pressure feedback stored in the memory 1004, and further perform the following operations:
before the step of receiving the original audio data picked up by the microphone, the method further comprises:
after simulating an on-board noise environment, receiving test audio data collected by the microphone as calibration data, synchronously receiving test pressure data collected by the pressure sensor, and establishing association between the calibration data and the test pressure data according to a collection time sequence to construct a pre-stored mapping relation.
Further, the processor 1001 may call a noise reduction program based on pressure feedback stored in the memory 1004, and further perform the following operations:
the pre-stored mapping relation comprises a first mapping relation of the calibration data and the test pressure data in an amplitude dimension and a second mapping relation of the calibration data and the test pressure data in a frequency dimension, and the step of establishing the association of the calibration data and the test pressure data according to the acquisition time sequence to construct the pre-stored mapping relation comprises the following steps:
the first mapping relation between the calibration data and the test pressure data in the amplitude dimension is obtained by applying different levels of air pressure intensity in the cavity of the microphone;
and obtaining a second mapping relation between the calibration data and the test pressure data in the frequency dimension by applying sine pressure signals with different frequencies in the cavity of the microphone.
Further, the processor 1001 may call a noise reduction program based on pressure feedback stored in the memory 1004, and further perform the following operations:
the step of obtaining the audio data to be played by using the pressure data to query a pre-stored mapping relation to obtain corresponding target calibration data and compensating the target calibration data for the data to be noise reduced comprises the following steps:
inquiring the first mapping relation by using the amplitude of the pressure data to obtain first target calibration data with corresponding amplitude and compensating the amplitude of the data to be noise reduced;
inquiring the second mapping relation by using the frequency of the pressure data to obtain second target calibration data of corresponding frequency and compensating the frequency of the data to be noise reduced;
and compensating the amplitude and the frequency of the data to be noise reduced to obtain the audio data to be played.
Further, the processor 1001 may call a noise reduction program based on pressure feedback stored in the memory 1004, and further perform the following operations:
before the step of receiving the original audio data picked up by the microphone, the method further comprises:
and detecting the working states of the carrier equipment circuit and the elements, and executing the step of receiving the original audio data picked up by the microphone if the working states are normal.
Referring to fig. 2, the invention provides a noise reduction method based on pressure feedback, wherein carrier equipment applied to the noise reduction method based on pressure feedback comprises a microphone, a pressure sensor, a PCB board and a loudspeaker, wherein the PCB board is provided with a sound guide hole, and the microphone and the pressure sensor are arranged on two sides of the sound guide hole; the noise reduction method based on pressure feedback comprises the following steps:
step S10, receiving the original audio data picked up by the microphone.
Referring to fig. 3, in an embodiment of the noise reduction method based on pressure feedback according to the present invention, the carrier device may be a TWS earphone, and a system frame of the TWS earphone includes:
BT SOC (Bluetooth System On Chip, bluetooth chip), which is a core component of the TWS headset circuit, internally contains DSP (Digital Signal Processing ) and Codec (multimedia digital signal Codec) modules, which are mainly responsible for signal conversion of DAC (Digital to Analog Converter, digital-to-analog converter) and ADC (Analog to Digital Converter, analog-to-digital converter). The main function of the BT SOC is to carry out Bluetooth communication, collect MIC signals and drive SPK to sound. And processing the pressure data uploaded by the pressure signal processing module, compensating the pressure data on an algorithm, controlling and detecting the states of other external circuit elements, and ensuring that the TWS earphone can work normally.
SPK plays a main role in playing sound under the drive of BT SOC.
And calling MIC, picking up the speaking voice of the user, and transmitting the signal to the BT SOC.
And feedforward MIC, picking up external natural sound in an algorithm, and transmitting a signal to the BT SOC.
The MIC is fed back, the surrounding sound of the SPK is picked up near the SPK, and the signal is transmitted to the BT SOC.
The pressure detection 1, i.e. the pressure sensor 1, detects the substrate vibration of the feedforward MIC and transmits the data to the pressure signal processing module.
The pressure detection 2, i.e. the pressure sensor 2, detects the substrate vibration of the call MIC and transmits the data to the pressure signal processing module.
The pressure signal processing module performs pre-processing (such as filtering, amplifying, etc.) on the pressure detection sensor signal, and transmits the data to the BT SOC.
In one embodiment, the audio data picked up by the feedforward MIC and/or the call MIC as shown in fig. 3 is received as the original audio data, and the MIC in fig. 4 is the feedforward MIC and/or the call MIC, and one sound guiding hole corresponds to one microphone and one pressure sensor.
And step S20, if the pressure data acquired by the pressure sensor and subjected to pre-processing are received at the same time, taking the original audio data as data to be noise reduced, and using the pressure data to perform noise reduction processing on the data to be noise reduced to obtain the audio data to be played.
Referring to fig. 4, in an embodiment of the hardware structure of the TWS earphone, the feedforward MIC and/or the call MIC are/is welded on the PCB board, a circular pressure sensor, i.e. a pressure sensor, is installed around the sound guiding hole (the dashed frame portion of the PCB board in fig. 4), an elastic sealing ring is installed on the pressure sensor, a waterproof membrane is installed between the sealing ring and the casing, and a ceramic capacitor is disposed on the PCB board. When the ceramic capacitor is charged and discharged continuously, capacitor vibration can be generated due to the piezoelectric effect, the capacitor vibration can cause vibration of the PCB, and the volume of the sealing ring can be compressed when the PCB vibrates due to the fact that the sealing ring is elastic. At this time, the waterproof membrane is equivalent to a damping, and the air pressure can be changed in the cavity formed in the rubber ring and the sound guide hole. This varying air pressure is picked up by the MIC and noise is created. Therefore, if the BT SOC receives the original audio data picked up by the call microphone and the feedforward microphone at the same time, and the pressure signal processing module performs pre-processing, such as filtering, amplifying, etc., on the original pressure data monitored by the pressure sensor, it proves that the picked up original audio data is data to be noise-reduced, and noise reduction processing needs to be performed on the data to obtain the audio data to be played. Moreover, as MIC and the corresponding pressure sensor almost coincide in structure position, only the thickness of one PCB board is spaced, so that almost synchronous audio signals and pressure signals collected by the MIC and the corresponding pressure sensor can be ensured. In addition, normal external sound can not cause the deformation of elastic sealing ring, can not change the interact power between sealing ring and the PCB board yet, and pressure sensor can not respond to normal external sound.
And step S30, driving a loudspeaker to play the audio data to be played.
After the BT SOC performs noise reduction processing on the data to be noise reduced to obtain the audio data to be played, driving a loudspeaker to play the audio data to be played after the noise reduction processing. At this time, the feedback microphone picks up the sound around the speaker, verifies whether the audio data of the sound played by the speaker is consistent with the audio data expected to be output, and may also use the audio data of the sound around the feedback microphone to perform further noise reduction processing, so as to achieve a better noise reduction effect. That is, in the earphone adopting the ANC active noise reduction function in the prior art, the method of the embodiment of the invention can be applied without pressure, the combination of the technology of the method does not affect the feedback noise reduction function and the capability of the earphone adopting the original ANC active noise reduction function, and the noise reduction treatment of the on-board vibration noise in the embodiment is not affected, so that the method is low in cost and easy to expand the application and popularization of the embodiment of the invention. In the embodiment of the invention, the method for further noise reduction processing of the original audio data picked up by the feedback microphone is not limited.
In this embodiment, the force sensor may detect the force causing deformation by adding the pressure sensor at the feedforward microphone and the communication microphone, and when the pressure sensor and the microphone collect and pick up the pressure data and the original audio data at the same time, it is indicated that the PCB board has a vibration, and the original audio data is doped with noise data. At this time, the original audio data serving as the data to be noise-reduced is noise-reduced by using the pressure data representing the noise data, so that the audio data to be played is obtained. Therefore, under the condition of not changing the original design of the TWS earphone, the method is simpler, saves cost and reduces the noise of the audio frequency in a space.
Further, in another embodiment of the noise reduction method based on pressure feedback of the present invention, after the step of receiving the raw audio data picked up by the microphone, the method further includes:
and if the pressure data is not received at the same time, not performing noise reduction processing, taking the original audio data as audio data to be played, and executing the step of driving a loudspeaker to play the audio data to be played.
The original pressure data are collected through the pressure sensors at the feedforward microphone and the conversation microphone, if the pressure data after the pressure signal processing module carries out pre-processing such as filtering and amplifying on the original pressure data monitored by the pressure sensors are not received, the fact that the PCB board is not subjected to plate vibration at the moment is indicated, noise reduction processing is not needed on the received original audio data picked up by the conversation microphone and the feedforward microphone, and the original audio data can be directly driven to be played as audio data to be played to play the audio data or further processed.
Optionally, after the step of receiving the raw audio data picked up by the microphone, the method further includes:
and judging whether pressure data which are acquired by the pressure sensor and subjected to pre-processing are received at the same time, wherein the pressure data are data obtained by the pressure signal processing module after pre-processing the original pressure data acquired by the pressure sensor.
After the BT SOC receives the original audio data, judging whether the original pressure data is received through the pressure sensors at the feedforward microphone and the communication microphone, if the original pressure data monitored by the pressure sensors is received, carrying out pre-processing such as filtering and amplifying, and the like, on the original pressure data, the BT SOC indicates that the plate shock occurs at the moment, and the received communication microphone and the original audio data picked up by the feedforward microphone are required to be subjected to noise reduction processing, and after the audio data to be played is obtained, the loudspeaker is driven to play the audio data to be played. The BT SOC takes a microsecond time to receive the pressure data, and the BT SOC receives the audio data in a millisecond level, and the BT SOC approximately synchronizes the receiving time delay with respect to the human ear hearing despite a slight time delay.
Further, in still another embodiment of the noise reduction method based on pressure feedback of the present invention, the step of using the pressure data to perform noise reduction processing on the data to be noise reduced includes:
and inquiring a pre-stored mapping relation by using the pressure data to obtain corresponding target calibration data, and compensating the target calibration data for the data to be noise reduced to obtain the audio data to be played.
And when the pressure signal processing module receives the pressure data obtained by pre-processing such as filtering, amplifying and the like on the original pressure data monitored by the pressure sensor, the PCB is vibrated, and the original audio data picked up by the conversation microphone and the feedforward microphone are data to be noise-reduced and are required to be noise-reduced. The pre-stored mapping relation is inquired by using the pressure data subjected to pre-processing such as filtering, amplifying and the like to obtain corresponding target calibration data, the target calibration data is compensated for the data to be noise reduced to obtain the audio data to be played, and the loudspeaker is driven to play the audio data to be played. For example, the pre-stored mapping relationship is a correspondence relationship between the pressure data 1 corresponding to the audio data 1, the pressure data 2 corresponding to the audio data 2, and the like.
Optionally, before the step of receiving the raw audio data picked up by the microphone, the method further includes:
after simulating an on-board noise environment, receiving test audio data collected by the microphone as calibration data, synchronously receiving test pressure data collected by the pressure sensor, and establishing association between the calibration data and the test pressure data according to a collection time sequence to construct a pre-stored mapping relation.
To obtain a pre-stored mapping relation for inquiry during noise reduction processing, sine pressure signals with different levels of air pressure intensity or different frequencies are applied to the cavity of a microphone, the amplitude and the frequency of noise data in an on-board noise environment are simulated, test audio data of a conversation microphone and a feedforward microphone received in the simulated on-board noise environment are used as calibration data, pressure data after pre-processing is carried out on original pressure data acquired by the pressure sensor and received at the same moment are subjected to function fitting to obtain a function relation, or the two data are manufactured into a table, the corresponding mapping relation of the two data can be obtained through table lookup during noise reduction processing, and the function relation or the table is used as the pre-stored mapping relation. In the embodiment of the invention, the method for obtaining the pre-stored mapping relation between the calibration data and the pressure data is not limited.
Further, in still another embodiment of the noise reduction method based on pressure feedback of the present invention, the pre-stored mapping relationship includes a first mapping relationship of the calibration data and the test pressure data in an amplitude dimension and a second mapping relationship of the calibration data and the test pressure data in a frequency dimension, and the step of establishing the association of the calibration data and the test pressure data according to the acquisition timing to construct the pre-stored mapping relationship includes:
the first mapping relation between the calibration data and the test pressure data in the amplitude dimension is obtained by applying different levels of air pressure intensity in the cavity of the microphone;
and obtaining a second mapping relation between the calibration data and the test pressure data in the frequency dimension by applying sine pressure signals with different frequencies in the cavity of the microphone.
And taking the received test audio data of the call microphone and the feedforward microphone as calibration data, and carrying out pre-processing such as filtering, amplifying and the like on the original pressure data monitored by the pressure sensor by the pressure signal processing module to obtain pressure data, wherein the amplitude and the frequency of the data exist. Thus, the pre-stored mapping relation of the calibration data and the pressure data also comprises a pre-stored mapping relation of the amplitude and a pre-stored mapping relation of the frequency, namely a first mapping relation in the amplitude dimension and a second mapping relation in the frequency dimension. Regarding a pre-stored mapping relationship, namely, a corresponding relationship between the processed pressure data and the test audio data picked up by the microphone in the simulated on-board noise environment. Under a quiet environment, different levels of air pressure intensity are applied in the microphone sound receiving cavity, test audio data picked up by the microphone and pressure data obtained after pre-processing of original pressure data of the pressure sensor are respectively read, a corresponding functional relation of the test audio data and the pressure data or a corresponding filling table is found, and a first mapping relation between the processed pressure data and the test audio data picked up by the microphone in an amplitude dimension can be obtained and is used as a basis of noise reduction processing. The above is the correspondence map when different magnitudes are considered, and the correspondence map for different frequencies is similarly handled. Sinusoidal pressure signals with different frequencies are applied in the microphone cavity, and the processed pressure data and the test audio data picked up by the microphone are in one-to-one correspondence. Therefore, the pre-stored mapping relation between the pressure data and the test audio data is established, so that the pressure data can be used for representing the noise data, and during noise reduction processing, the noise data which needs to be removed from the audio data to be subjected to noise reduction is obtained by inquiring the pressure data, and the noise reduction processing is completed.
Optionally, the step of using the pressure data to query a pre-stored mapping relationship to obtain corresponding target calibration data, compensating the target calibration data for the data to be noise reduced, and obtaining the audio data to be played includes:
inquiring the first mapping relation by using the amplitude of the pressure data to obtain first target calibration data with corresponding amplitude and compensating the amplitude of the data to be noise reduced;
inquiring the second mapping relation by using the frequency of the pressure data to obtain second target calibration data of corresponding frequency and compensating the frequency of the data to be noise reduced;
and compensating the amplitude and the frequency of the data to be noise reduced to obtain the audio data to be played.
Therefore, after the first mapping relation and the second mapping relation of the calibration data and the pressure data are obtained after the calibration in advance, the first mapping relation is queried by using the amplitude of the pressure data subjected to the pre-processing during the noise reduction processing, the calibration data with the corresponding amplitude is obtained, and the amplitude of the data to be noise reduced is compensated by the calibration data with the corresponding amplitude. And using the frequency of the pressure data subjected to the pre-processing to obtain and query a second mapping relation, obtaining calibration data of the corresponding frequency, and compensating the frequency of the data to be noise reduced by the calibration data of the corresponding frequency. Therefore, after the amplitude and the frequency of the data to be noise reduced are respectively compensated, the audio data to be played is obtained, and the noise reduction processing of the data to be noise reduced is completed.
Optionally, before the step of receiving the raw audio data picked up by the microphone, the method further includes:
and detecting the working states of the carrier equipment circuit and the elements, and executing the step of receiving the original audio data picked up by the microphone if the working states are normal.
Referring to fig. 3, before receiving the original audio data picked up by the microphone, or during the use process after the TWS earphone is powered on, the working states of the circuits and components are detected, so that the normal operation of the earphone is ensured.
In addition, an embodiment of the present invention further provides a TWS earphone, where the TWS earphone includes: the microphone and the pressure sensor are arranged on two sides of the sound guide hole on the PCB; the computer program when executed by the processor implements the steps of the noise reduction method based on pressure feedback as described above.
In addition, the embodiment of the invention further provides a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and the computer program realizes the steps of the noise reduction method based on the pressure feedback when being executed by a processor.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.
Claims (9)
1. The noise reduction method based on the pressure feedback is characterized in that carrier equipment applied to the noise reduction method based on the pressure feedback comprises a microphone, a pressure sensor, a PCB and a loudspeaker, wherein the PCB is provided with a sound guide hole, and the microphone and the pressure sensor are arranged on two sides of the sound guide hole; the noise reduction method based on pressure feedback comprises the following steps:
receiving the original audio data picked up by the microphone;
if the pressure data acquired by the pressure sensor and subjected to pre-processing are received at the same time, taking the original audio data as data to be noise reduced, and using the pressure data to perform noise reduction processing on the data to be noise reduced to obtain audio data to be played;
driving a loudspeaker to play the audio data to be played;
before the step of receiving the original audio data picked up by the microphone, the method further comprises:
after simulating an on-board noise environment, receiving test audio data collected by the microphone as calibration data, synchronously receiving test pressure data collected by the pressure sensor, and establishing association between the calibration data and the test pressure data according to a collection time sequence to construct a pre-stored mapping relation.
2. The method of noise reduction based on pressure feedback of claim 1, further comprising, after the step of receiving raw audio data picked up by the microphone:
and if the pressure data is not received at the same time, not performing noise reduction processing, taking the original audio data as audio data to be played, and executing the step of driving a loudspeaker to play the audio data to be played.
3. The method of noise reduction based on pressure feedback of claim 1, further comprising, after the step of receiving raw audio data picked up by the microphone:
and judging whether pressure data which are acquired by the pressure sensor and subjected to pre-processing are received at the same time, wherein the pressure data are data obtained by the pressure signal processing module after pre-processing the original pressure data acquired by the pressure sensor.
4. A noise reduction method based on pressure feedback as defined in any one of claims 1 to 3, wherein the step of noise reduction processing of the data to be noise reduced using the pressure data includes:
and inquiring a pre-stored mapping relation by using the pressure data to obtain corresponding target calibration data, and compensating the target calibration data for the data to be noise reduced to obtain the audio data to be played.
5. The noise reduction method based on pressure feedback according to claim 1, wherein the pre-stored mapping relation includes a first mapping relation of the calibration data and the test pressure data in an amplitude dimension and a second mapping relation in a frequency dimension, and the step of establishing the association of the calibration data and the test pressure data according to the acquisition timing to construct the pre-stored mapping relation includes:
the first mapping relation between the calibration data and the test pressure data in the amplitude dimension is obtained by applying different levels of air pressure intensity in the cavity of the microphone;
and obtaining a second mapping relation between the calibration data and the test pressure data in the frequency dimension by applying sine pressure signals with different frequencies in the cavity of the microphone.
6. The method for noise reduction based on pressure feedback according to claim 5, wherein the step of obtaining the audio data to be played by using the pressure data to query a pre-stored mapping relationship to obtain corresponding target calibration data, and compensating the target calibration data for the data to be noise reduced comprises:
inquiring the first mapping relation by using the amplitude of the pressure data to obtain first target calibration data with corresponding amplitude and compensating the amplitude of the data to be noise reduced;
inquiring the second mapping relation by using the frequency of the pressure data to obtain second target calibration data of corresponding frequency and compensating the frequency of the data to be noise reduced;
and compensating the amplitude and the frequency of the data to be noise reduced to obtain the audio data to be played.
7. The method of noise reduction based on pressure feedback of claim 1, further comprising, prior to the step of receiving raw audio data picked up by the microphone:
and detecting the working states of the carrier equipment circuit and the elements, and executing the step of receiving the original audio data picked up by the microphone if the working states are normal.
8. A TWS headset, the TWS headset comprising: the microphone and the pressure sensor are arranged on two sides of the sound guide hole on the PCB; the computer program, when executed by the processor, implements the steps of the pressure feedback based noise reduction method as defined in any one of claims 1 to 7.
9. A computer-readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, implements the steps of the pressure feedback based noise reduction method according to any of claims 1 to 7.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111372868.0A CN114095833B (en) | 2021-11-18 | 2021-11-18 | Noise reduction method based on pressure feedback, TWS earphone and storage medium |
PCT/CN2021/139056 WO2023087469A1 (en) | 2021-11-18 | 2021-12-17 | Noise reduction method based on pressure sensing feedback, and device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111372868.0A CN114095833B (en) | 2021-11-18 | 2021-11-18 | Noise reduction method based on pressure feedback, TWS earphone and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114095833A CN114095833A (en) | 2022-02-25 |
CN114095833B true CN114095833B (en) | 2023-04-25 |
Family
ID=80302037
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111372868.0A Active CN114095833B (en) | 2021-11-18 | 2021-11-18 | Noise reduction method based on pressure feedback, TWS earphone and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN114095833B (en) |
WO (1) | WO2023087469A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118262735B (en) * | 2024-05-28 | 2024-08-09 | 广东鼎创智造科技有限公司 | Automatic noise reduction system of microphone |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108235170A (en) * | 2017-12-29 | 2018-06-29 | 湖南海翼电子商务股份有限公司 | For the circuit and method of the adaptive adjustment sound of earphone |
CN110519671A (en) * | 2019-08-26 | 2019-11-29 | 华为技术有限公司 | Wireless headset |
CN111031424A (en) * | 2019-12-06 | 2020-04-17 | 歌尔股份有限公司 | Vibration sensing device, earphone and electronic equipment |
EP3836557A1 (en) * | 2018-09-20 | 2021-06-16 | Huawei Technologies Co., Ltd. | Method and device employing multiple tws earpieces connected in relay mode to realize automatic interpretation |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7269266B2 (en) * | 2003-04-08 | 2007-09-11 | Mayur Technologies | Method and apparatus for tooth bone conduction microphone |
US9047855B2 (en) * | 2012-06-08 | 2015-06-02 | Bose Corporation | Pressure-related feedback instability mitigation |
CN213342626U (en) * | 2020-10-19 | 2021-06-01 | 东莞市庭丰电子有限公司 | TWS earphone feedback noise reduction MIC device and earphone |
CN214101722U (en) * | 2021-01-12 | 2021-08-31 | 深圳市芯加元科技有限公司 | Circuit structure for solving noise of Bluetooth earphone |
-
2021
- 2021-11-18 CN CN202111372868.0A patent/CN114095833B/en active Active
- 2021-12-17 WO PCT/CN2021/139056 patent/WO2023087469A1/en unknown
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108235170A (en) * | 2017-12-29 | 2018-06-29 | 湖南海翼电子商务股份有限公司 | For the circuit and method of the adaptive adjustment sound of earphone |
EP3836557A1 (en) * | 2018-09-20 | 2021-06-16 | Huawei Technologies Co., Ltd. | Method and device employing multiple tws earpieces connected in relay mode to realize automatic interpretation |
CN110519671A (en) * | 2019-08-26 | 2019-11-29 | 华为技术有限公司 | Wireless headset |
CN111031424A (en) * | 2019-12-06 | 2020-04-17 | 歌尔股份有限公司 | Vibration sensing device, earphone and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
WO2023087469A1 (en) | 2023-05-25 |
CN114095833A (en) | 2022-02-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103501375B (en) | Method and device for controlling sound effect | |
EP3598435B1 (en) | Method for processing information and electronic device | |
US20110014957A1 (en) | Headset | |
US8290184B2 (en) | MEMS microphone | |
EP2846556B1 (en) | Electronic device | |
CN106454674A (en) | Testing tooling | |
CN109951602B (en) | Vibration control method and mobile terminal | |
CN112543250B (en) | Audio play control method, smart phone, device and readable storage medium | |
CN110246513B (en) | Voice signal processing method and mobile terminal | |
CN101414839A (en) | Portable electronic device and noise elimination method therefore | |
WO2018149074A1 (en) | Noise-cancelling headphone and electronic device | |
CN107396275B (en) | A kind of amplitude detecting device, method and mobile terminal | |
CN109547894B (en) | Amplitude adjustment method and device for electroacoustic device and mobile terminal | |
CN114095833B (en) | Noise reduction method based on pressure feedback, TWS earphone and storage medium | |
CN108289270A (en) | A kind of loud speaker and mobile terminal | |
CN108234727A (en) | A kind of noise-reduction method and mobile terminal | |
CN111614329B (en) | Power amplifier, electronic equipment, voltage control method and device | |
CN107580098B (en) | Mobile terminal | |
CN112394771A (en) | Communication method, communication device, wearable device and readable storage medium | |
CN108391208B (en) | Signal switching method, device, terminal, earphone and computer readable storage medium | |
KR101648042B1 (en) | Earphone system for mobile phone with Active Noise Cancellation function | |
CN109348385B (en) | Microphone with echo silencing system and electronic equipment | |
CN114125624B (en) | Active noise reduction method, noise reduction earphone and computer readable storage medium | |
CN207531028U (en) | A kind of bluetooth headset | |
CN106210951A (en) | The adaptation method of a kind of bluetooth earphone, device and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |