CN112259115A - Method for reducing environmental noise by using piezoelectric acceleration sensor - Google Patents

Method for reducing environmental noise by using piezoelectric acceleration sensor Download PDF

Info

Publication number
CN112259115A
CN112259115A CN202011168680.XA CN202011168680A CN112259115A CN 112259115 A CN112259115 A CN 112259115A CN 202011168680 A CN202011168680 A CN 202011168680A CN 112259115 A CN112259115 A CN 112259115A
Authority
CN
China
Prior art keywords
noise
acceleration sensor
audio signal
piezoelectric acceleration
axes
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.)
Pending
Application number
CN202011168680.XA
Other languages
Chinese (zh)
Inventor
单天
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Zhangxin Information Technology Co ltd
Original Assignee
Shanghai Zhangxin Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Zhangxin Information Technology Co ltd filed Critical Shanghai Zhangxin Information Technology Co ltd
Priority to CN202011168680.XA priority Critical patent/CN112259115A/en
Publication of CN112259115A publication Critical patent/CN112259115A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/02Speech enhancement, e.g. noise reduction or echo cancellation
    • G10L21/0208Noise filtering
    • G10L21/0216Noise filtering characterised by the method used for estimating noise

Landscapes

  • Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Quality & Reliability (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a method for reducing environmental noise by using a piezoelectric acceleration sensor, which comprises the following three steps: s1, receiving the vibration generated by the environmental noise by a piezoelectric acceleration sensor attached to the electronic product, generating voltage signals on three axes of the piezoelectric acceleration sensor, and obtaining acceleration values Gx, Gy and Gz on the three axes; s2, using algorithm software to reconstruct the audio signal, so as to obtain a noise audio signal G, G = f (Gx, Gy, Gz); s3 simulates an audio signal Gf with equal amplitude and opposite phase through a noise suppression algorithm, and the audio signal Gf is emitted through a loudspeaker, so that the ambient noise is counteracted. The invention realizes the noise reduction effect by using the piezoelectric acceleration sensor of the electronic product, does not need to change the internal structure of the original electronic product which already comprises the piezoelectric acceleration sensor, and does not need to add any auxiliary hardware.

Description

Method for reducing environmental noise by using piezoelectric acceleration sensor
Technical Field
The invention belongs to the technical field of electronics, and particularly relates to a method for reducing environmental noise by using a piezoelectric acceleration sensor in an electronic product.
Background
When people use electronic products such as mobile phones, pads, electronic readers and the like in a noisy environment, it is desirable to reduce the ambient noise through sound amplification equipment such as earphones, sound boxes and the like. In the noise reduction earphones in the market at present, noise reduction methods are divided into passive noise reduction and active noise reduction. The passive noise reduction earphone is common sound insulation, a closed space is formed in an ear hole by utilizing a silica gel plug and the like, and external noise is prevented from being transmitted into the ear hole. The principle of the active noise reduction earphone is that a microphone attached to the earphone is used for receiving surrounding noise and transmitting the surrounding noise to a chip, and a loudspeaker is controlled to emit sound with the same amplitude and opposite phase to the noise, so that the sound and the original noise are mutually offset. This method works very well in filtering low frequency noise. The active noise reduction technology of sound boxes and other sound amplification equipment is realized by a microphone and a noise reduction chip in the equipment. However, the sound amplifying devices such as the earphone and the bluetooth speaker which are matched with the electronic product are not necessarily equipped with the microphone and the special chip for noise reduction. If the audio is output to a headphone or other sound amplification device without a microphone and a dedicated chip, the noise reduction function cannot be provided. Moreover, when the microphone of the electronic device is used to provide the noise reduction function, authorization needs to be obtained in the operating system of the electronic device, and after the application is closed, the corresponding function authorization is terminated, which results in a complicated use procedure.
However, most electronic products such as mobile phones, pads, electronic readers, etc. are equipped with acceleration sensors, and the acceleration sensors applied to consumer electronics are generally three-axis piezoelectric acceleration sensors. The acceleration sensor belongs to basic hardware and can be called more conveniently. Based on the characteristics of the existing electronic product, the inventor develops a method for reducing the environmental noise by using a piezoelectric acceleration sensor attached to the electronic product.
Disclosure of Invention
The invention aims to provide a method for reducing environmental noise by using a piezoelectric acceleration sensor of an electronic product, and overcomes the defect that a noise reduction function cannot be provided when public address equipment such as earphones, sound boxes and the like does not comprise a microphone and a special chip. The invention does not need to change the internal structure of the original electronic product which already comprises the piezoelectric acceleration sensor, and does not need to add any auxiliary hardware.
In order to achieve the above object, the present invention provides a method for reducing ambient noise by using a piezoelectric acceleration sensor, comprising the following three steps:
s1: ambient noise data collection
The vibration generated by the environmental noise is received by a piezoelectric acceleration sensor attached to the electronic product, and voltage signals are generated on three axes of the piezoelectric acceleration sensor; analog signals output by the piezoelectric acceleration sensor are read by an analog-to-digital converter (ADC) on a singlechip of an electronic product and are converted into digital signals to be output, and acceleration values Gx, Gy and Gz on three axes are obtained;
s2: analyzing the noise data to obtain a noise audio signal G
According to the signals of the axes of the piezoelectric acceleration sensor X, Y, Z, audio signal reconstruction is carried out by using algorithm software to obtain a noise audio signal G;
the noise audio signal G is calculated as follows: g = f (Gx, Gy, Gz),
wherein Gx, Gy, Gz respectively represent acceleration values that obtain positive or negative values in three directions of the axis of the piezoelectric acceleration sensor X, Y, Z,
the noise audio signal G is synthesized according to the following flow:
s2.1, judging whether the Y-axis numerical value and the Z-axis numerical value are in the same direction by taking the X-axis numerical value as a reference;
if the X-axis value is a positive value, the Y-axis and Z-axis values read at the same time are also positive values and are in the same direction of sound waves; otherwise, the sound waves are in different directions;
s2.2, if the sound waves are in different directions, adjusting the Y, Z axis value to be a positive value;
s2.3, summing the positive values of the X, Y, Z axes to obtain a noise audio signal G;
the above process is circulated according to time intervals to obtain the value G, and the continuous signals are sampled according to certain time intervals. Nyquist's theorem holds that the original signal can be completely restored from its sampling as long as the sampling frequency is equal to or greater than twice the highest frequency contained in the signal, which corresponds to at least two points per cycle when the signal is at the highest frequency. Thus successive G values form an audio sound wave.
S3: through a noise suppression algorithm, an audio signal Gf with equal amplitude and opposite phase of noise is simulated and is emitted through a loudspeaker, so that environmental noise is counteracted, and the effect of suppressing noise is achieved;
the anti-phase signal Gf, which can be realized by the noise audio signal G, is given by the formula: gf = -G.
The invention has the beneficial effects that:
1. the noise reduction of the invention does not depend on a microphone and a noise reduction chip in public address equipment such as an earphone.
2. The noise reduction effect can be realized by fully utilizing an acceleration sensor already contained in consumer electronic (such as a mobile phone, a Pad, an electronic reader and the like) equipment.
3. The optimization can be continuously adjusted through the optimization of software algorithms.
Drawings
FIG. 1 is a schematic flow diagram of the present invention;
fig. 2 is a schematic diagram of the noise audio signal G obtained by the present invention.
Detailed Description
As shown in fig. 1, the method for reducing environmental noise by using a piezoelectric acceleration sensor of the present invention includes the following three steps:
s1: ambient noise data collection
Voltage signals are generated on three axes of the piezoelectric acceleration sensor by the vibration sensed by the piezoelectric acceleration sensor, analog signals (voltage) output by the piezoelectric acceleration sensor are read by an analog-to-digital converter (ADC) on the module and are converted into digital signals to be output, and acceleration values Gx, Gy and Gz on the three axes are obtained;
we describe below with an H48C tri-axial acceleration sensor: H48C is connected to the singlechip only need directly select arbitrary three foot to connect can, the pin of being connected with the singlechip can be selected wantonly, H48C triaxial acceleration sensor can measure the acceleration value of 3g on three axle (X, Y, Z) direction, an automatic load regulator is carried to the module board, provide 3.3V's power for H48C, the analog signal (voltage) of H48C output is read and is converted into digital signal output by MCP3204 (four-channel, 12-bit) on the module.
By means of MEMS technology, the acceleration sensor and a built-in compensation H48C are synchronously output through an MCP3204 analog-to-digital converter, and to acquire the acceleration value of a specified axis, the voltage of the specified axis is actually read, and the acceleration Gx/Gy/Gz value is calculated through the following formula:
Gx/Gy/Gz = ((axis – vRef) / 4095) x (3.3 / 0.3663)
in this formula axis and vRef represent count values obtained by AD conversion, 4095 is the maximum count output of a 12-bitADC, 3.3 is the voltage supplied to the inside by H48C, and 0.3663 is the voltage output by H48C at the time of acceleration of 1 g. We can simplify the formula to the following expression:
Gx/Gy/Gz = (axis – vRef) x 0.0022
according to the simplified formula, the software program flow of Gx/Gy/Gz is as follows:
1. setting X, Y and a marking parameter axisnum of a Z axis, and setting initial values, namely 0 represents the X axis, 1 represents the Y axis, and 2 represents the Z axis;
2. reading the count value by using axisnum parameters, namely reading the count value on an X axis, a Y axis or a Z axis, assigning the count value as axis and vRef parameters, and calculating (axis-vRef) X0.0022 to obtain a Gx/Gy/Gz value.
: analyzing the noise data to obtain a noise audio signal G
According to the signals of the axes of the piezoelectric acceleration sensor X, Y, Z, audio signal reconstruction is carried out by using algorithm software to obtain a noise audio signal G;
the noise audio signal G is calculated as follows: g = f (Gx, Gy, Gz),
wherein Gx, Gy, Gz respectively represent acceleration values that obtain positive or negative values in three directions of the axis of the piezoelectric acceleration sensor X, Y, Z,
the noise audio signal G, as shown in fig. 2, is synthesized according to the following procedure:
s2.1, judging whether the Y-axis numerical value and the Z-axis numerical value are in the same direction by taking the X-axis numerical value as a reference;
if the X-axis value is a positive value, the Y-axis and Z-axis values read at the same time are also positive values and are in the same direction of sound waves; otherwise, the sound waves are in different directions;
s2.2, if the sound waves are in different directions, adjusting the Y, Z axis value to be a positive value;
s2.3, summing the positive values of the X, Y, Z axes to obtain a noise audio signal G;
the above process is circulated according to time intervals to obtain the value G, and the continuous signals are sampled according to certain time intervals.
Nyquist's theorem holds that the original signal can be completely restored from its sampling as long as the sampling frequency is equal to or greater than twice the highest frequency contained in the signal, which corresponds to at least two points per cycle when the signal is at the highest frequency. Thus successive G values form an audio sound wave.
: through a noise suppression algorithm, an audio signal Gf with equal amplitude and opposite phase of noise is simulated and is emitted through a loudspeaker, so that environmental noise is counteracted, and the effect of suppressing noise is achieved;
the anti-phase signal Gf can be realized by directly changing the synthesized value G, and the formula is: gf = -G.
The method for reducing the environmental noise by using the piezoelectric acceleration sensor of the electronic product overcomes the defect that the noise reduction function cannot be provided when the public address equipment such as earphones, sound boxes and the like does not comprise a microphone and a special chip. The invention does not need to change the internal structure of the original electronic product which already comprises the piezoelectric acceleration sensor, does not need to add any auxiliary hardware, and can continuously adjust and optimize through the optimization of a software algorithm.

Claims (3)

1. A method of reducing ambient noise using a piezoelectric acceleration sensor, characterized by: the method comprises the following three steps:
s1: ambient noise data collection
The vibration generated by the environmental noise is received by a piezoelectric acceleration sensor attached to the electronic product, and voltage signals are generated on three axes of the piezoelectric acceleration sensor; analog signals output by the piezoelectric acceleration sensor are read by an analog-to-digital converter (ADC) on a singlechip of an electronic product and are converted into digital signals to be output, and acceleration values Gx, Gy and Gz on three axes are obtained;
s2: analyzing the noise data to obtain a noise audio signal G
According to the signals of the axes of the piezoelectric acceleration sensor X, Y, Z, audio signal reconstruction is carried out by using algorithm software, and noise audio signals G, G = f (Gx, Gy, Gz) are obtained;
s3: through a noise suppression algorithm, an audio signal Gf with equal amplitude and opposite phase of noise is simulated and is emitted through a loudspeaker, so that environmental noise is counteracted, and the effect of suppressing noise is achieved;
the anti-phase signal Gf, which can be realized by the noise audio signal G, is given by the formula: gf = -G.
2. A method of reducing ambient noise using a piezoelectric acceleration sensor according to claim 1, characterized by: the noise audio signal G is synthesized according to the following process:
s2.1, judging whether the Y-axis numerical value and the Z-axis numerical value are in the same direction by taking the X-axis numerical value as a reference;
if the X-axis numerical value is a positive value, and the Y-axis numerical value and the Z-axis numerical value which are read simultaneously are also positive values, the sound waves are in the same direction; otherwise, the sound waves are in different directions;
s2.2, if the sound waves are in different directions, adjusting the Y, Z axis value to be a positive value;
and S2.3, summing the positive values of the X, Y, Z axes to obtain a noise audio signal G.
3. A method of reducing ambient noise using a piezoelectric acceleration sensor according to claim 1, characterized by: the noise audio signal G is obtained circularly according to a certain time interval.
CN202011168680.XA 2020-10-28 2020-10-28 Method for reducing environmental noise by using piezoelectric acceleration sensor Pending CN112259115A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011168680.XA CN112259115A (en) 2020-10-28 2020-10-28 Method for reducing environmental noise by using piezoelectric acceleration sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011168680.XA CN112259115A (en) 2020-10-28 2020-10-28 Method for reducing environmental noise by using piezoelectric acceleration sensor

Publications (1)

Publication Number Publication Date
CN112259115A true CN112259115A (en) 2021-01-22

Family

ID=74261321

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011168680.XA Pending CN112259115A (en) 2020-10-28 2020-10-28 Method for reducing environmental noise by using piezoelectric acceleration sensor

Country Status (1)

Country Link
CN (1) CN112259115A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009220731A (en) * 2008-03-17 2009-10-01 Nissan Motor Co Ltd Noise controller for vehicle
CN102159426A (en) * 2008-09-18 2011-08-17 本田技研工业株式会社 Active noise control device
CN208689932U (en) * 2018-06-19 2019-04-02 山东共达电声股份有限公司 A kind of car audio clunk management system
CN209234033U (en) * 2019-03-07 2019-08-09 歌尔科技有限公司 A kind of active noise reduction earphone
CN111586522A (en) * 2020-05-20 2020-08-25 歌尔科技有限公司 Earphone noise reduction method, earphone noise reduction device, earphone and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009220731A (en) * 2008-03-17 2009-10-01 Nissan Motor Co Ltd Noise controller for vehicle
CN102159426A (en) * 2008-09-18 2011-08-17 本田技研工业株式会社 Active noise control device
CN208689932U (en) * 2018-06-19 2019-04-02 山东共达电声股份有限公司 A kind of car audio clunk management system
CN209234033U (en) * 2019-03-07 2019-08-09 歌尔科技有限公司 A kind of active noise reduction earphone
CN111586522A (en) * 2020-05-20 2020-08-25 歌尔科技有限公司 Earphone noise reduction method, earphone noise reduction device, earphone and storage medium

Similar Documents

Publication Publication Date Title
CN105280195B (en) The processing method and processing device of voice signal
CN108174320B (en) A kind of adaptive ear canal active noise reduction earphone and adaptive ear canal active denoising method
CN113475094B (en) Different head detection in headphones
CN106454674A (en) Testing tooling
CN109495806B (en) Earphone noise reduction system and method, earphone, computer equipment and medium
CN103827959A (en) Electronic devices for controlling noise
CN208691496U (en) Headphone calibration structure and its earphone
KR101753064B1 (en) Smartphone-based hearing aids
CN108401204A (en) A kind of novel active noise reduction earphone
CN110830862A (en) Self-adaptive noise-reduction earphone
CN110187859A (en) A kind of denoising method and electronic equipment
US20230396940A1 (en) Hearing aid having a sensor
CN105323682B (en) A kind of digital-analog hybrid microphone and earphone
US20240078991A1 (en) Acoustic devices and methods for determining transfer functions thereof
CN111491234B (en) Headset noise reduction earphone
CN112259115A (en) Method for reducing environmental noise by using piezoelectric acceleration sensor
CN112714392A (en) Vibration test system and vibration test method for earphone voice pickup sensor
WO2023087469A1 (en) Noise reduction method based on pressure sensing feedback, and device and storage medium
CN201219305Y (en) Bone conduction apparatus
CN113808566B (en) Vibration noise processing method and device, electronic equipment and storage medium
CN213547789U (en) Voice wearable device and system thereof
CN213403428U (en) Noise reduction system based on mobile phone and earphone
CN209627692U (en) Bone conduction sensor based on MEMS
CN114019455A (en) Target sound source detection system based on MEMS accelerometer
CN109889966B (en) Bone conduction sensor based on micro-electromechanical system

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20210122