Multichannel sound amplifying system and method for adjusting volume of loudspeaker

文档序号:1470569 发布日期:2020-02-21 浏览:19次 中文

阅读说明:本技术 一种用于调节扬声器音量的多通道扩声系统及方法 (Multichannel sound amplifying system and method for adjusting volume of loudspeaker ) 是由 齐园蕾 杨飞然 杨军 于 2019-11-29 设计创作,主要内容包括:本发明属于公共广播扩声技术领域,具体涉及一种用于调节扬声器音量的多通道扩声系统,所述多通道扩声系统包括多个扩声子系统,每个扩声子系统对应一个通道,每个扩声子系统利用采集到的声信号和所有通道中的声源信号进行回声消除,获得误差信号;根据获得的误差信号,获取当前环境的噪声声压级,再结合映射函数,计算该扩声子系统中的扬声器音量值,获得对应的当前时刻的扬声器音量增益值;将从扩声子系统中拾取的待播放的声信号与获得的当前时刻的扬声器音量增益值相乘,获得处理后的声源信号,并经扩声子系统中的扬声器播放扩声。(The invention belongs to the technical field of public broadcasting sound amplification, and particularly relates to a multi-channel sound amplification system for adjusting the volume of a loudspeaker, wherein the multi-channel sound amplification system comprises a plurality of sound amplification subsystems, each sound amplification subsystem corresponds to one channel, and each sound amplification subsystem performs echo cancellation by using collected sound signals and sound source signals in all channels to obtain error signals; acquiring the noise sound pressure level of the current environment according to the acquired error signal, and then calculating the loudspeaker volume value in the sound amplification subsystem by combining a mapping function to acquire the corresponding loudspeaker volume gain value at the current moment; and multiplying the sound signal to be played picked up from the sound reinforcement subsystem by the obtained loudspeaker volume gain value at the current moment to obtain a processed sound source signal, and playing sound reinforcement through a loudspeaker in the sound reinforcement subsystem.)

1. A multi-channel sound amplifying system for adjusting the volume of a loudspeaker is characterized in that the multi-channel sound amplifying system comprises a plurality of sound amplifying subsystems, each sound amplifying subsystem corresponds to one channel, and each sound amplifying subsystem performs echo cancellation by using collected sound signals and sound source signals in all the channels to obtain error signals; acquiring the noise sound pressure level of the current environment according to the acquired error signal, and then calculating the loudspeaker volume value in the sound amplification subsystem by combining a mapping function to acquire the corresponding loudspeaker volume gain value at the current moment; and multiplying the sound signal to be played picked up from the sound reinforcement subsystem by the obtained loudspeaker volume gain value at the current moment to obtain a processed sound source signal, and playing sound reinforcement through a loudspeaker in the sound reinforcement subsystem.

2. The system of claim 1, wherein the sound amplification subsystem comprises a microphone, a multi-channel echo cancellation module, a noise sound pressure level acquisition module, a volume gain acquisition module and a loudspeaker which are sequentially connected in sequence;

the microphone is used for acquiring acoustic signals in real time;

the multi-channel echo cancellation module is used for carrying out echo cancellation by utilizing the sound signals acquired in real time and the sound source signals in all channels to obtain error signals;

the noise sound pressure level obtaining module is used for obtaining the noise sound pressure level of the current environment according to the obtained error signal;

the volume gain acquisition module is used for calculating the volume value of an expected loudspeaker in the sound amplifying subsystem according to the noise sound pressure level of the current environment and by combining a mapping function, and acquiring the corresponding loudspeaker volume gain value at the current moment;

and the loudspeaker is used for multiplying the sound signal to be played picked up from the sound reinforcement subsystem with the obtained loudspeaker volume gain value at the current moment to obtain a processed sound source signal and playing sound reinforcement.

3. The system of claim 2, wherein the acoustic signal comprises: ambient noise signals and echo signals of the respective channels.

4. The system according to claim 2, wherein the echo cancellation is performed by using the real-time collected acoustic signals and the acoustic source signals in all channels to obtain an error signal; the method specifically comprises the following steps:

the multi-channel echo cancellation module comprises: an adaptive filter; inputting the sound signals collected in real time and sound source signals in all channels into an adaptive filter by using the adaptive filter, wherein the sound signals collected by a microphone are used as real expected signals; identifying an unknown system impulse response w by using the adaptive filter; system impulse response based on current estimatesConvolving the sound source signals in all channels

Figure FDA0002294868760000012

5. The system according to claim 2, wherein the noise sound pressure level of the current environment is obtained according to the obtained error signal; the method specifically comprises the following steps:

and acquiring the noise sound pressure level of the current environment according to the acquired error signal by adopting the A weighting network standard.

6. The system according to claim 2, wherein the volume value of the speaker in the loudspeaker subsystem is calculated according to the noise sound pressure level of the current environment and in combination with the mapping function, and a corresponding speaker volume gain value is obtained;

specifically, under a quiet environment, measuring the sound pressure level of environmental noise under the environment to be NS _ min dB by using a sound level meter, and setting the volume of a loudspeaker to be Out _ min;

under a noisy environment, measuring the sound pressure level of environmental noise under the environment to be NS _ max dB, and setting the volume of a loudspeaker to be Out _ max;

establishing a mapping function f between the noise sound pressure level and the loudspeaker volume according to the measured numerical value; the mapping function f is a linear function with a slope Gain _ slope expressed as:

Gain_slope=(Out_max-Out_min)/(NS_max-NS_min) (1)

the desired loudspeaker volume value at the noise sound pressure level of the current environment is then:

SL=Out_min+Gain_slope*(NL-NS_min) (2)

wherein SL is a desired loudspeaker volume value at the noise sound pressure level NL of the current environment in the public address subsystem;

thus, the speaker volume gain value g at the current time is the desired speaker volume value SL divided by SL';

wherein SL' is a sound pressure level corresponding to the sound signal to be played.

7. A multi-channel sound amplification method for adjusting the volume of a speaker, the method comprising:

carrying out echo cancellation by using the real-time collected acoustic signals and the sound source signals in all channels to obtain error signals;

acquiring the noise sound pressure level of the current environment according to the acquired error signal;

calculating the volume value of an expected loudspeaker in the sound amplifying subsystem by combining a mapping function according to the noise sound pressure level of the current environment, and obtaining the corresponding loudspeaker volume gain value at the current moment;

and multiplying the sound signal to be played picked up from the sound reinforcement subsystem by the obtained loudspeaker volume gain value at the current moment to obtain a processed sound source signal, and playing sound reinforcement through a loudspeaker.

8. The method according to claim 7, wherein the echo cancellation is performed by using the real-time collected acoustic signals and the acoustic source signals in all channels to obtain an error signal; the method specifically comprises the following steps:

inputting the sound signals collected in real time and sound source signals in all channels into an adaptive filter by using the adaptive filter, wherein the sound signals collected by a microphone are used as real expected signals; identifying an unknown system impulse response w by using the adaptive filter; system impulse response based on current estimates

Figure FDA0002294868760000031

9. The method according to claim 7, wherein the noise sound pressure level of the current environment is obtained according to the obtained error signal; the method specifically comprises the following steps:

and acquiring the noise sound pressure level of the current environment according to the acquired error signal by adopting the A weighting network standard.

10. The method according to claim 7, wherein the volume value of the speaker in the loudspeaker subsystem is calculated according to the noise sound pressure level of the current environment and the mapping function, and the corresponding volume gain value of the speaker is obtained; the method specifically comprises the following steps:

under a quiet environment, measuring the sound pressure level of environmental noise under the environment to be NS _ min dB by using a sound level meter, and setting the volume of a loudspeaker to be Out _ min;

under a noisy environment, measuring the sound pressure level of environmental noise under the environment to be NS _ max dB, and setting the volume of a loudspeaker to be Out _ max;

establishing a mapping function f between the noise sound pressure level and the loudspeaker volume according to the measured numerical value; the mapping function f is a linear function with a slope Gain _ slope expressed as:

Gain_slope=(Out_max-Out_min)/(NS_max-NS_min) (1)

the desired loudspeaker volume value at the noise sound pressure level of the current environment is then:

SL=Out_min+Gain_slope*(NL-NS_min) (2)

wherein SL is a desired loudspeaker volume value at the noise sound pressure level NL of the current environment in the public address subsystem;

thus, the speaker volume gain value g at the current time is the desired speaker volume value SL divided by SL';

wherein SL' is a sound pressure level corresponding to the sound signal to be played.

Technical Field

The invention belongs to the technical field of public broadcasting sound amplification, and particularly relates to a multichannel sound amplification system and method for adjusting the volume of a loudspeaker, in particular to a multichannel sound amplification system and method for adaptively adjusting the volume of the loudspeaker based on environmental noise.

Background

At present, public broadcasting public address systems are widely applied to daily life of people, such as airports, railway stations, subway stations, schools and other places. In these applications, personnel activities are frequent and the ambient noise sound pressure level is constantly changing. The volume of the existing public broadcasting public address system is often fixed or manually adjusted by workers. Such a sound amplification system does not well meet the actual requirements. When the environment is quite quiet, the sound amplifying system only needs to enable listeners to clearly hear the broadcast without excessive volume, and at the moment, if the volume is excessive, sound pollution is easily caused and even hearing of people is easily damaged. When the environment is noisy, the sound amplification system should turn the volume of the speaker up properly to allow the listener to hear the broadcast content. Therefore, an adaptive speaker gain control system is necessary.

The key of the loudspeaker gain self-adaptive control system is to detect the sound pressure level of the environmental noise in real time, and then adjust the output volume of the loudspeaker according to the size of the sound pressure level of the noise. The difficulty with this problem is that the signal picked up by the microphone includes not only ambient noise but also echo signals output by the local speakers. And thus cannot directly use the signal picked up by the microphone to estimate the noise sound pressure level. The traditional environmental noise Detection method is mainly based on voice endpoint Detection (VAD) and environmental noise envelope Detection. In public address systems, the types and forms of noise are various, such as air conditioning voices, walking voices, speaking voices and the like, wherein the speaking voices often occupy the main component. In addition, the sound source signal of the public address system may be a voice signal or a music signal. The algorithm based on VAD has the problems that it is difficult to accurately estimate the noise power spectrum and the music signal is wrongly judged as noise, so the method based on VAD and the method based on environmental noise envelope detection are often not good in practice. Recently, there is also a document that proposes to adjust the gain of a public address system by estimating the on-site signal-to-noise ratio. However, this method cannot calculate the noise sound pressure level of the actual environment in real time, and therefore cannot establish an accurate mapping relationship between the noise sound pressure level and the speaker output signal.

In addition, public broadcasting sound reinforcement systems in actual life, such as airports, train station waiting rooms and the like, are all multi-channel sound reinforcement systems. If a conventional independent control system is adopted, it may cause that the output signals of two adjacent loudspeakers mutually consider each other as respective noises to estimate, so that the loudspeaker output volumes of the adjacent systems compete with each other.

Disclosure of Invention

The invention aims to solve the above-mentioned defects of the existing sound amplifying system, and provides a multi-channel sound amplifying system and method for adjusting the volume of a loudspeaker,

in order to achieve the above object, the present invention provides a multi-channel sound amplifying system for adjusting the volume of a speaker, where the multi-channel sound amplifying system includes a plurality of sound amplifying subsystems, each sound amplifying subsystem corresponds to one channel, and each sound amplifying subsystem performs echo cancellation by using an acquired sound signal and sound source signals in all channels to obtain an error signal; acquiring the noise sound pressure level of the current environment according to the acquired error signal, and then calculating the loudspeaker volume value in the sound amplification subsystem by combining a mapping function to acquire the corresponding loudspeaker volume gain value at the current moment; and multiplying the sound signal to be played picked up from the sound reinforcement subsystem by the obtained loudspeaker volume gain value at the current moment to obtain a processed sound source signal, and playing sound reinforcement through a loudspeaker in the sound reinforcement subsystem.

As one improvement of the above technical solution, the sound amplification subsystem includes a microphone, a multi-channel echo cancellation module, a noise sound pressure level acquisition module, a volume gain acquisition module, and a speaker, which are sequentially connected;

the microphone is used for acquiring acoustic signals in real time;

the multi-channel echo cancellation module is used for carrying out echo cancellation by utilizing the sound signals acquired in real time and the sound source signals in all channels to obtain error signals;

the noise sound pressure level obtaining module is used for obtaining the noise sound pressure level of the current environment according to the obtained error signal;

the volume gain acquisition module is used for calculating the volume value of an expected loudspeaker in the sound amplifying subsystem according to the noise sound pressure level of the current environment and by combining a mapping function, and acquiring the corresponding loudspeaker volume gain value at the current moment;

and the loudspeaker is used for multiplying the sound signal to be played picked up from the sound reinforcement subsystem with the obtained loudspeaker volume gain value at the current moment to obtain a processed sound source signal and playing sound reinforcement.

The acoustic signal includes: ambient noise signals and echo signals of the respective channels.

As one improvement of the above technical solution, the echo cancellation is performed by using the real-time collected acoustic signals and the acoustic source signals in all channels to obtain an error signal; the method specifically comprises the following steps:

the multi-channel echo cancellation module comprises: an adaptive filter; inputting the sound signals collected in real time and sound source signals in all channels into an adaptive filter by using the adaptive filter, wherein the sound signals collected by a microphone are used as real expected signals; identifying an unknown system impulse response w by using the adaptive filter; system impulse response based on current estimates

Figure BDA0002294868770000031

Convolving the sound source signals in all channels

Figure BDA0002294868770000032

Calculating an estimated desired signalThe error between the true desired signal and the estimated desired signal is an error signal eiAnd echo cancellation is realized.

As one improvement of the above technical solution, the noise sound pressure level of the current environment is obtained according to the obtained error signal; the method specifically comprises the following steps:

and acquiring the noise sound pressure level of the current environment according to the acquired error signal by adopting the A weighting network standard.

As one improvement of the above technical solution, the volume value of the speaker in the loudspeaker subsystem is calculated according to the noise sound pressure level of the current environment and by combining with a mapping function, and a corresponding speaker volume gain value is obtained;

specifically, under a quiet environment, a sound level meter is utilized to measure the sound pressure level of environmental noise under the environment to be NS _ mindB, and the volume of a loudspeaker is set to be Out _ min;

under a noisy environment, measuring the sound pressure level of environmental noise under the environment to be NS _ max dB, and setting the volume of a loudspeaker to be Out _ max;

establishing a mapping function f between the noise sound pressure level and the loudspeaker volume according to the measured numerical value; the mapping function f is a linear function with a slope Gain _ slope expressed as:

Gain_slope=(Out_max-Out_min)/(NS_max-NS_min) (1)

the desired loudspeaker volume value at the noise sound pressure level of the current environment is then:

SL=Out_min+Gain_slope*(NL-NS_min) (2)

wherein SL is a desired loudspeaker volume value at the noise sound pressure level NL of the current environment in the public address subsystem;

thus, the speaker volume gain value g at the current time is the desired speaker volume value SL divided by SL';

wherein SL' is a sound pressure level corresponding to the sound signal to be played.

The invention also provides a multichannel sound amplifying method for adjusting the volume of a loudspeaker, which comprises the following steps:

carrying out echo cancellation by using the real-time collected acoustic signals and the sound source signals in all channels to obtain error signals;

acquiring the noise sound pressure level of the current environment according to the acquired error signal;

calculating the volume value of an expected loudspeaker in the sound amplifying subsystem by combining a mapping function according to the noise sound pressure level of the current environment, and obtaining the corresponding loudspeaker volume gain value at the current moment;

and multiplying the sound signal to be played picked up from the sound reinforcement subsystem by the obtained loudspeaker volume gain value at the current moment to obtain a processed sound source signal, and playing sound reinforcement through a loudspeaker.

As one improvement of the above technical solution, the echo cancellation is performed by using the real-time collected acoustic signals and the acoustic source signals in all channels to obtain an error signal; the method specifically comprises the following steps:

inputting the sound signals collected in real time and sound source signals in all channels into an adaptive filter by using the adaptive filter, wherein the sound signals collected by a microphone are used as real expected signals; identifying an unknown system impulse response w by using the adaptive filter; system impulse response based on current estimates

Figure BDA0002294868770000041

Convolving the sound source signals in all channels

Figure BDA0002294868770000042

Calculating an estimated desired signal

Figure BDA0002294868770000043

The error between the true desired signal and the estimated desired signal is an error signal eiAnd echo cancellation is realized.

As one improvement of the above technical solution, the noise sound pressure level of the current environment is obtained according to the obtained error signal; the method specifically comprises the following steps:

and acquiring the noise sound pressure level of the current environment according to the acquired error signal by adopting the A weighting network standard.

As one improvement of the above technical solution, the volume value of the speaker in the loudspeaker subsystem is calculated according to the noise sound pressure level of the current environment and by combining with a mapping function, and a corresponding speaker volume gain value is obtained; the method specifically comprises the following steps:

under a quiet environment, measuring the sound pressure level of environmental noise under the environment to be NS _ min dB by using a sound level meter, and setting the volume of a loudspeaker to be Out _ min;

under a noisy environment, measuring the sound pressure level of environmental noise under the environment to be NS _ max dB, and setting the volume of a loudspeaker to be Out _ max;

establishing a mapping function f between the noise sound pressure level and the loudspeaker volume according to the measured numerical value; the mapping function f is a linear function with a slope Gain _ slope expressed as:

Gain_slope=(Out_max-Out_min)/(NS_max-NS_min) (1)

the desired loudspeaker volume value at the noise sound pressure level of the current environment is then:

SL=Out_min+Gain_slope*(NL-NS_min) (2)

wherein SL is a desired loudspeaker volume value at the noise sound pressure level NL of the current environment in the public address subsystem;

thus, the speaker volume gain value g at the current time is the desired speaker volume value SL divided by SL';

wherein SL' is a sound pressure level corresponding to the sound signal to be played.

Compared with the prior art, the invention has the beneficial effects that:

1. the system and the method can calculate the proper loudspeaker gain value according to the sound pressure level of the actual environment noise, so that the listener can clearly hear the broadcast content with relatively comfortable loudspeaker volume;

2. the system of the invention is not only suitable for a multi-channel sound amplifying system, but also can be simplified into a single-channel sound amplifying system;

3. the system and the method can detect the noise sound pressure level of the actual environment in real time and reflect the noise level of the current environment in real time.

4. The system and the method of the invention can realize that the user can adjust the parameters by himself and change the corresponding characteristics of the system.

Drawings

Fig. 1 is a schematic structural diagram of a multichannel sound amplifying system for adjusting the volume of a loudspeaker according to the present invention;

fig. 2 is a schematic diagram of echo cancellation in a multi-channel echo cancellation module of a multi-channel sound amplification system for adjusting the volume of a loudspeaker according to the present invention;

fig. 3 is a schematic diagram of a linear mapping function adopted by a volume gain obtaining module of a multi-channel sound amplification system for adjusting the volume of a loudspeaker according to the present invention;

fig. 4 is a flow chart of a multichannel sound amplification method for adjusting the volume of a loudspeaker according to the present invention;

fig. 5 is a schematic diagram of a specific application scenario of a multi-channel sound amplification system for adjusting speaker volume according to the present invention.

Detailed Description

The invention will now be further described with reference to the accompanying drawings.

The invention provides a multichannel sound amplifying system and a method for adjusting the volume of a loudspeaker, which utilize a multichannel Echo Cancellation (AEC) mode to eliminate Echo signals in signals collected by a microphone through signals collected by the microphone and sound source signals of all channels, and further calculate the sound pressure level of real environmental noise in real time. Wherein the microphone is preferably a microphone. The centralized control of the multi-channel sound amplification system provided by the invention is more in line with the actual requirements. As a special case, the technique of the present invention can of course be applied in a single-channel public address system.

As shown in fig. 1, the multi-channel sound amplifying system includes a plurality of sound amplifying subsystems, each sound amplifying subsystem corresponds to one channel, and each sound amplifying subsystem performs multi-channel echo cancellation by using collected sound signals and sound source signals in all channels to obtain an error signal; calculating the noise sound pressure level of the current environment according to the obtained error signal, and then calculating the volume value of the loudspeaker in the sound amplification subsystem by combining a mapping function to obtain a corresponding loudspeaker volume gain value; and multiplying the sound signal to be played by the obtained loudspeaker volume gain value to obtain a processed sound source signal, and playing and amplifying sound through a loudspeaker in the sound amplifying subsystem. The number N (N is more than or equal to 1) of the sound amplification subsystems depends on a specific application scene; when the method is applied to a railway station, N (N is more than or equal to 1) can be the number of waiting rooms.

The sound amplification subsystem comprises a microphone, a multi-channel echo cancellation module, a noise sound pressure level acquisition module, a volume gain acquisition module and a loudspeaker which are sequentially connected;

the microphone is used for acquiring acoustic signals in real time; wherein the acoustic signal comprises: an ambient noise signal and echo signals of each channel;

the multi-channel echo cancellation module is used for carrying out echo cancellation by utilizing the sound signals acquired in real time and the sound source signals in all channels to obtain error signals;

specifically, as shown in fig. 2, the multi-channel echo cancellation module includes: an adaptive filter; inputting the sound signals collected in real time and sound source signals in all channels into an adaptive filter by using the adaptive filter, wherein the sound signals collected by a microphone are used as real expected signals; identifying an unknown system impulse response w by using the adaptive filter; system impulse response based on current estimates

Figure BDA0002294868770000061

Convolving the sound source signals in all channels

Figure BDA0002294868770000062

Calculating an estimated desired signalThe error between the true desired signal and the estimated desired signal is an error signal eiAnd echo cancellation is realized. The adaptive filter is adjusted according to the error signal of the current timeThe object is to make

Figure BDA0002294868770000065

Approximating the true system impulse response w.

The noise sound pressure level obtaining module is used for obtaining the noise sound pressure level of the current environment according to the obtained error signal;

specifically, the noise sound pressure level of the current environment is obtained according to the obtained error signal by adopting the A weighting network standard.

The noise sound pressure level should be calculated in conjunction with the auditory characteristics of the human ear. Since the evaluation of the A-weighted network on the noise is relatively close to the perception of the human ear on the noise, the A sound level is generally used for representing the actual noise level and used as the basis for actually evaluating the noise. In order to prevent the loudspeaker volume from generating sudden change to damage the hearing, the average value of the noise sound pressure level in the recent period of time is used as the noise sound pressure level of the current environment.

The volume gain acquisition module is used for calculating the volume value of the loudspeaker in the sound amplifying subsystem according to the noise sound pressure level of the current environment and combining the mapping function, and acquiring the corresponding volume gain value of the loudspeaker at the current moment; the method specifically comprises the following steps:

under a quiet environment, measuring the sound pressure level of environmental noise under the environment to be NS _ min dB by using a sound level meter;

when the noise sound pressure level is NS _ min dB, the volume of the loudspeaker is set to be Out _ min, so that the listener can easily hear the loudspeaker broadcast content at the volume;

in a noisy environment, for example, noise can be artificially played, and environments such as airports or railway stations are simulated; measuring the sound pressure level of the environmental noise under the environment to be NS _ max dB;

when the noise sound pressure level is NS _ max dB, the volume of the speaker is set to Out _ max so that the listener can clearly hear the broadcast content at the volume and does not feel harsh;

establishing a mapping function f between the noise sound pressure level and the loudspeaker volume according to the measured numerical value; the mapping function f is preferably a linear function, and the slope Gain _ slope of the mapping function f is calculated by the following formula:

Gain_slope=(Out_max-Out_min)/(NS_max-NS_min) (1)

the speaker volume value at the noise sound pressure level of the current environment is:

SL=Out_min+Gain_slope*(NL-NS_min) (2)

wherein, SL is the volume value of the loudspeaker under the noise sound pressure level NL of the current environment in the sound amplifying subsystem;

thus, the speaker volume gain value g at the current time is the desired speaker volume value SL divided by SL';

wherein SL' is a sound pressure level corresponding to the sound signal to be played.

When the sound pressure level of the environmental noise is lower than NS _ min dB, the volume of the loudspeaker is set to be Out _ min; when the ambient noise sound pressure level is higher than NS _ max dB, the loudspeaker volume is set to Out _ max;

wherein the upper limit and the lower limit of the speaker volume gain value can be set by a user.

In addition, the system parameters of the invention, such as the maximum value and the minimum value of the noise sound pressure level, the maximum value and the minimum value of the gain value of the loudspeaker and the like, can be read and loaded by a user through a serial port or an upper computer and the like, and then the system parameters are adjusted according to the actual environment.

And the loudspeaker is used for multiplying the sound signal to be played picked up from the sound reinforcement subsystem with the obtained loudspeaker volume gain value at the current moment to obtain a processed sound source signal and playing sound reinforcement.

Based on the above system, the present invention further provides a multichannel sound amplifying method for adjusting the volume of a speaker, as shown in fig. 4, the method includes:

carrying out echo cancellation on the sound signals acquired in real time and the sound source signals in all channels to obtain error signals;

specifically, an adaptive filter is utilized to input an acoustic signal acquired in real time and acoustic source signals in all channels into the adaptive filter, wherein the acoustic signal acquired by a microphone is taken as a real expected signal; identifying an unknown system impulse response w by using the adaptive filter; system impulse response based on current estimates

Figure BDA0002294868770000071

Convolving the sound source signals in all channels

Figure BDA0002294868770000072

Calculating an estimated desired signalThe error between the true desired signal and the estimated desired signal is an error signal eiAnd echo cancellation is realized. The adaptive filter is adjusted according to the error signal of the current timeThe object is to make

Figure BDA0002294868770000082

Approximating the true system impulse response w. Wherein the acoustic signal comprises: an ambient noise signal and echo signals of each channel;

acquiring the noise sound pressure level of the current environment according to the acquired error signal;

specifically, the noise sound pressure level of the current environment is obtained according to the obtained error signal by adopting the A weighting network standard.

The noise sound pressure level should be calculated in conjunction with the auditory characteristics of the human ear. Since the evaluation of the A-weighted network on the noise is relatively close to the perception of the human ear on the noise, the A sound level is generally used for representing the actual noise level and used as the basis for actually evaluating the noise. In order to prevent the loudspeaker volume from generating sudden change to damage the hearing, the average value of the noise sound pressure level in the recent period of time is used as the noise sound pressure level of the current environment.

According to the noise sound pressure level of the current environment, and by combining with a mapping function, calculating the volume value of a loudspeaker in the sound amplifying subsystem, and obtaining the corresponding loudspeaker volume gain value at the current moment;

specifically, as shown in fig. 3, in a quiet environment, the ambient noise sound pressure level in that environment is measured with a sound level meter to be NS _ min dB;

when the noise sound pressure level is NS _ min dB, the volume of the loudspeaker is set to be Out _ min, so that the listener can easily hear the loudspeaker broadcast content at the volume;

in a noisy environment, for example, noise can be artificially played, and environments such as airports or railway stations are simulated; measuring the sound pressure level of the environmental noise under the environment to be NS _ max dB;

when the noise sound pressure level is NS _ max dB, the volume of the speaker is set to Out _ max so that the listener can clearly hear the broadcast content at the volume and does not feel harsh;

establishing a mapping function f between the noise sound pressure level and the loudspeaker volume according to the measured numerical value; the mapping function f is preferably a linear function, and the slope Gain _ slope of the mapping function f is calculated by the following formula:

Gain_slope=(Out_max-Out_min)/(NS_max-NS_min) (1)

the speaker volume value at the noise sound pressure level of the current environment is:

SL=Out_min+Gain_slope*(NL-NS_min) (2)

wherein, SL is the volume value of the loudspeaker under the noise sound pressure level NL of the current environment in the sound amplifying subsystem;

thus, the speaker volume gain value g at the current time is the desired speaker volume value SL divided by SL';

wherein SL' is a sound pressure level corresponding to the sound signal to be played.

When the sound pressure level of the environmental noise is lower than NS _ min dB, the volume of the loudspeaker is set to be Out _ min; when the ambient noise sound pressure level is higher than NS _ max dB, the speaker volume is set to Out _ max.

And multiplying the sound signal to be played picked up from the sound reinforcement subsystem by the obtained loudspeaker volume gain value to obtain a processed sound source signal, and playing sound reinforcement through the loudspeaker.

15页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种麦克风阵列的测试装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!