CN118509772A - Chirp signal equalization optimization method for progressive filter parameter adjustment - Google Patents
Chirp signal equalization optimization method for progressive filter parameter adjustment Download PDFInfo
- Publication number
- CN118509772A CN118509772A CN202410924676.3A CN202410924676A CN118509772A CN 118509772 A CN118509772 A CN 118509772A CN 202410924676 A CN202410924676 A CN 202410924676A CN 118509772 A CN118509772 A CN 118509772A
- Authority
- CN
- China
- Prior art keywords
- signal
- response
- filter
- chirp signal
- loudspeaker
- 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
Links
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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2430/00—Signal processing covered by H04R, not provided for in its groups
- H04R2430/03—Synergistic effects of band splitting and sub-band processing
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Circuit For Audible Band Transducer (AREA)
Abstract
Description
技术领域Technical Field
本发明涉及音频信号处理技术领域,尤其涉及渐进式滤波器参数调整的Chirp信号均衡优化方法。The present invention relates to the technical field of audio signal processing, and in particular to a Chirp signal equalization optimization method for progressive filter parameter adjustment.
背景技术Background Art
在现代音频测试系统的设计与实施过程中,频率响应的均衡优化占据着至关重要的地位,它直接关系到最终输出音质的纯净度与整体系统的性能表现。这一技术环节的核心目标在于消除或减少由于硬件限制、环境因素等引起的频率响应非线性,从而确保音频信号在全频段范围内都能保持一致且理想的播放效果。In the design and implementation of modern audio test systems, frequency response equalization optimization plays a vital role, which is directly related to the purity of the final output sound quality and the performance of the overall system. The core goal of this technical link is to eliminate or reduce the frequency response nonlinearity caused by hardware limitations, environmental factors, etc., so as to ensure that the audio signal can maintain consistent and ideal playback effects in the full frequency range.
传统的均衡优化策略,尽管具有一定的实用性和便捷性,其基本原理在于分析测量到的音频设备(如扬声器)实际的频率响应曲线,并将其与期望的理想声压响应曲线进行对比。一旦发现偏差,便直接根据这些差异计算出需要补偿的电压值,随后在信号处理阶段将这些补偿值加到相应频段的信号上,以此来实现频率响应的校正。这种方法的优势在于操作直观、实现简单,能够较为快速地对频响不平进行初步修正。Although the traditional equalization optimization strategy has certain practicality and convenience, its basic principle is to analyze the actual frequency response curve of the measured audio equipment (such as speakers) and compare it with the expected ideal sound pressure response curve. Once the deviation is found, the voltage value that needs to be compensated is directly calculated based on these differences, and then these compensation values are added to the signal of the corresponding frequency band in the signal processing stage to achieve the correction of the frequency response. The advantage of this method is that it is intuitive to operate and simple to implement, and it can make preliminary corrections to the uneven frequency response relatively quickly.
然而,这种直接而机械的补偿方式也暴露出一些显著的问题。首先,由于补偿过程过于依赖原始差值的直接转换,往往忽视了声音信号在物理层面的连续性和动态特性,导致在某些频点上的过度补偿或不足补偿,引起声压级的突变现象。这种突变不仅会使得扬声器播放时产生可闻的噪声或失真,影响音质的自然度和清晰度,还可能导致扬声器工作状态不稳定,增加功耗,缩短使用寿命。However, this direct and mechanical compensation method also exposes some significant problems. First, because the compensation process relies too much on the direct conversion of the original difference, it often ignores the continuity and dynamic characteristics of the sound signal at the physical level, resulting in over-compensation or under-compensation at certain frequency points, causing a sudden change in the sound pressure level. This sudden change will not only cause audible noise or distortion when the speaker is playing, affecting the naturalness and clarity of the sound quality, but may also cause the speaker to work in an unstable state, increase power consumption, and shorten its service life.
发明内容Summary of the invention
本发明的目的在于提供渐进式滤波器参数调整的Chirp信号均衡优化方法,旨在可以采用渐进式滤波器参数应用与动态增益调整技术,避免声压突变,实现平滑过渡,确保音质稳定和信号的高保真度。The purpose of the present invention is to provide a Chirp signal equalization optimization method for progressive filter parameter adjustment, aiming to adopt progressive filter parameter application and dynamic gain adjustment technology to avoid sudden changes in sound pressure, achieve smooth transition, and ensure stable sound quality and high fidelity of signals.
为实现上述目的,本发明提供了渐进式滤波器参数调整的Chirp信号均衡优化方法,包括采用扬声器播放Chirp信号,并使用麦克风采集扬声器发射的Chirp信号响应,得到响应信号;To achieve the above object, the present invention provides a Chirp signal equalization optimization method with progressive filter parameter adjustment, comprising using a loudspeaker to play a Chirp signal, and using a microphone to collect a Chirp signal response emitted by the loudspeaker to obtain a response signal;
对响应信号进行快速傅里叶变换以确定需要均衡的频率段;Performing fast Fourier transform on the response signal to determine the frequency band that needs to be equalized;
按滤波器参数采用滤波器对需要均衡的频率段进行处理,并采用麦克风实时采集并分析扬声器响应信号以对滤波器参数进行修正;A filter is used to process the frequency band that needs to be equalized according to the filter parameters, and a microphone is used to collect and analyze the speaker response signal in real time to modify the filter parameters;
使用仿真工具验证滤波器参数调整后的效果。Use simulation tools to verify the effect of filter parameter adjustment.
其中,所述采用扬声器播放Chirp信号,并使用麦克风采集扬声器发射的Chirp信号响应,得到响应信号的具体步骤包括:The specific steps of using a loudspeaker to play a Chirp signal and using a microphone to collect a Chirp signal response emitted by the loudspeaker to obtain a response signal include:
确定Chirp信号的工作参数;Determine the working parameters of the Chirp signal;
基于工作参数采用音频输出设备生成Chirp信号以覆盖扬声器的工作频段;Based on the working parameters, an audio output device is used to generate a chirp signal to cover the working frequency band of the speaker;
将扬声器与音频输出设备连接,通过扬声器播放Chirp信号;Connect the speaker to the audio output device and play the Chirp signal through the speaker;
将麦克风放置在扬声器前方记录扬声器发射的Chirp信号响应,得到响应信号。Place a microphone in front of the speaker to record the chirp signal response emitted by the speaker and obtain a response signal.
其中,所述工作参数包括起始频率、终止频率、持续时间和信号幅值。The working parameters include starting frequency, ending frequency, duration and signal amplitude.
其中,所述对响应信号进行快速傅里叶变换以确定需要均衡的频率段的具体步骤包括:The specific step of performing fast Fourier transform on the response signal to determine the frequency band that needs to be equalized includes:
对采集的响应信号进行预处理;Preprocessing the collected response signal;
对预处理后的响应信号进行快速傅里叶变换以获取扬声器的频率响应曲线;Performing fast Fourier transform on the preprocessed response signal to obtain the frequency response curve of the speaker;
设定频率响应的阈值以识别超出阈值的频率点,标记频率响应曲线中的关键点,确定需要均衡的频率段。Set the frequency response threshold to identify the frequency points that exceed the threshold, mark the key points in the frequency response curve, and determine the frequency band that needs equalization.
其中,所述对采集的响应信号进行预处理的具体步骤包括:The specific steps of preprocessing the collected response signal include:
使用小波变换对信号进行去噪处理;Use wavelet transform to denoise the signal;
对信号进行均值归一化处理;Perform mean normalization on the signal;
应用汉宁窗函数对信号进行处理。Apply the Hanning window function to process the signal.
其中,所述按滤波器参数采用滤波器对需要均衡的频率段进行处理,并采用麦克风实时采集并分析扬声器响应信号以对滤波器参数进行修正的具体步骤包括:The specific steps of using a filter to process the frequency band that needs to be equalized according to the filter parameters, and using a microphone to collect and analyze the speaker response signal in real time to correct the filter parameters include:
S601将滤波器的初始调整参数应用在需要均衡的频率段上;S601 applies the initial adjustment parameters of the filter to the frequency band that needs to be equalized;
S602发射应用初始调整参数后的Chirp信号,使用麦克风实时采集并分析扬声器响应;S602 transmits a Chirp signal after applying the initial adjustment parameters, and uses a microphone to collect and analyze the speaker response in real time;
S603使用监测系统实时采集扬声器响应,根据实时数据反馈,动态调整滤波器参数;S603 uses a monitoring system to collect speaker responses in real time and dynamically adjusts filter parameters based on real-time data feedback;
S604动态调整输入信号增益,使用过渡函数对参数调整进行平滑处理;S604 dynamically adjusts the input signal gain and uses a transition function to smooth the parameter adjustment;
S605对调整参数进行修改后,重复步骤S601~S604,每次迭代后记录频率响应曲线,并评估调整效果。After the adjustment parameters are modified in S605, steps S601 to S604 are repeated, and the frequency response curve is recorded after each iteration, and the adjustment effect is evaluated.
本发明的渐进式滤波器参数调整的Chirp信号均衡优化方法,通过专业的音频测试软件生成Chirp信号——这是一种频率线性变化的信号,能够在短时间内覆盖扬声器的整个工作频带。这种信号对于揭示系统响应中的非线性与频率特性尤为有效。随后,将此Chirp信号通过播放,其包含的宽频谱特性能够全面激发扬声器及周围声学环境的特性。使用高精度麦克风近距离采集扬声器发出的Chirp信号的响应。此响应包含了扬声器自身特性、房间声学效应及可能存在的任何非理想因素。采集到的信号被数字化并存储,准备进行深入分析。将采集到的响应信号导入信号处理软件,运用快速傅里叶变换将其从时域转换到频域。通过FFT分析,可以直观地观察到扬声器在各个频率点上的响应幅度与相位特性,从而精确识别出需要均衡的频率段,这些通常是响应曲线的峰谷或偏离目标响应的地方。基于FFT分析结果,选择合适的滤波器类型(如低通、高通、带通或-notch等)并初步设定滤波器参数。然后,按照预设的参数对之前识别出的频率段进行处理。这一过程不是一蹴而就的,而是通过反复迭代,逐步调整滤波器的截止频率、斜率、增益等参数,每次调整后,再次使用麦克风实时采集扬声器的响应信号,并立即分析,以实时反馈调整效果。利用高速数据处理技术,实时监测经过滤波处理后扬声器响应的变化。通过比较处理前后的频响曲线,可以迅速判断滤波器参数调整的效果,并据此进行细微修正。在经过多轮迭代调整,滤波器参数达到较为满意的状态后,使用高精度的仿真工具对当前参数设置下的扬声器性能进行验证。综上所述,渐进式滤波器参数调整结合Chirp信号与仿真验证的方法,采用渐进式滤波器参数应用与动态增益调整技术,避免声压突变,实现平滑过渡,确保音质稳定和信号的高保真度。The Chirp signal equalization optimization method for progressive filter parameter adjustment of the present invention generates a Chirp signal through professional audio test software, which is a signal with linear frequency changes and can cover the entire working frequency band of the speaker in a short time. This signal is particularly effective in revealing the nonlinearity and frequency characteristics in the system response. Subsequently, the Chirp signal is played, and the wide spectrum characteristics contained in it can fully excite the characteristics of the speaker and the surrounding acoustic environment. A high-precision microphone is used to collect the response of the Chirp signal emitted by the speaker at a close distance. This response includes the speaker's own characteristics, room acoustic effects and any non-ideal factors that may exist. The collected signal is digitized and stored for in-depth analysis. The collected response signal is imported into the signal processing software and converted from the time domain to the frequency domain using the fast Fourier transform. Through FFT analysis, the response amplitude and phase characteristics of the speaker at each frequency point can be intuitively observed, so as to accurately identify the frequency bands that need to be equalized, which are usually the peaks and valleys of the response curve or places that deviate from the target response. Based on the FFT analysis results, a suitable filter type (such as low pass, high pass, band pass or -notch, etc.) is selected and the filter parameters are preliminarily set. Then, the previously identified frequency bands are processed according to the preset parameters. This process is not achieved overnight, but through repeated iterations, the filter's cutoff frequency, slope, gain and other parameters are gradually adjusted. After each adjustment, the microphone is used again to collect the speaker's response signal in real time and analyze it immediately to provide real-time feedback on the adjustment effect. Using high-speed data processing technology, the changes in the speaker response after filtering are monitored in real time. By comparing the frequency response curves before and after processing, the effect of the filter parameter adjustment can be quickly determined, and subtle corrections can be made accordingly. After multiple rounds of iterative adjustments, when the filter parameters reach a relatively satisfactory state, a high-precision simulation tool is used to verify the speaker performance under the current parameter settings. In summary, the progressive filter parameter adjustment combines the Chirp signal with the simulation verification method, and uses the progressive filter parameter application and dynamic gain adjustment technology to avoid sudden changes in sound pressure, achieve smooth transition, and ensure stable sound quality and high fidelity of the signal.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
图1是本发明的第一实施例的渐进式滤波器参数调整的Chirp信号均衡优化方法的流程图。FIG. 1 is a flow chart of a Chirp signal equalization optimization method with progressive filter parameter adjustment according to a first embodiment of the present invention.
图2是本发明的第一实施例的采用播放Chirp信号,并使用麦克风采集扬声器发射的Chirp信号响应,得到响应信号的流程图。FIG. 2 is a flow chart of the first embodiment of the present invention, which uses a Chirp signal to be played and a microphone to collect a Chirp signal response emitted by a speaker to obtain a response signal.
图3是本发明的第一实施例的对响应信号进行快速傅里叶变换以确定需要均衡的频率段的流程图。FIG. 3 is a flow chart of performing fast Fourier transform on a response signal to determine a frequency band that needs equalization according to the first embodiment of the present invention.
图4是本发明的第一实施例的对采集的响应信号进行预处理的流程图。FIG. 4 is a flow chart of preprocessing the collected response signal according to the first embodiment of the present invention.
图5是本发明的第一实施例的按滤波器参数采用滤波器对需要均衡的频率段进行处理,并采用麦克风实时采集并分析扬声器响应信号以对滤波器参数进行修正的流程图。5 is a flow chart of the first embodiment of the present invention, which uses a filter to process a frequency band that needs equalization according to filter parameters, and uses a microphone to collect and analyze a speaker response signal in real time to modify the filter parameters.
图6是本发明的第一实施例获取播放的Chirp信号的设备连接图。FIG. 6 is a diagram showing the connection of devices for acquiring a played Chirp signal according to the first embodiment of the present invention.
具体实施方式DETAILED DESCRIPTION
下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本发明,而不能理解为对本发明的限制。Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.
第一实施例:First embodiment:
请参阅图1~图6,本发明提供一种渐进式滤波器参数调整的Chirp信号均衡优化方法,包括:Referring to FIG. 1 to FIG. 6 , the present invention provides a Chirp signal equalization optimization method for progressive filter parameter adjustment, comprising:
S101采用扬声器播放Chirp信号,并使用麦克风采集扬声器发射的Chirp信号响应,得到响应信号;S101 uses a speaker to play a Chirp signal, and uses a microphone to collect the Chirp signal response emitted by the speaker to obtain a response signal;
具体步骤包括:The specific steps include:
S201确定Chirp信号的工作参数;S201 determines the working parameters of the Chirp signal;
确定Chirp信号的起始频率和终止频率。设定Chirp信号的持续时间和信号幅值。Determine the starting frequency of the Chirp signal and stop frequency . Set the duration of the Chirp signal Sum signal amplitude .
在此步骤中,首要任务是精心设定Chirp信号的参数,这些参数直接关乎测试的有效性和针对性。核心参数包括但不限于起始频率(标志着Chirp信号的最低频点),终止频率(代表信号能达到的最高频点),持续时间(决定了信号覆盖频谱的精细程度)以及信号幅值(影响信号的强度及测试的灵敏度)。这些参数的设定需基于扬声器的技术规格和预期的测试目标,以确保Chirp信号能够充分而精确地刺激并考察扬声器的全频段表现。In this step, the first task is to carefully set the parameters of the Chirp signal, which are directly related to the effectiveness and pertinence of the test. The core parameters include but are not limited to the starting frequency (marking the lowest frequency of the Chirp signal), the ending frequency (representing the highest frequency that the signal can reach), the duration (determines the fineness of the signal coverage of the spectrum) and the signal amplitude (affects the strength of the signal and the sensitivity of the test). The setting of these parameters needs to be based on the technical specifications of the speaker and the expected test objectives to ensure that the Chirp signal can fully and accurately stimulate and examine the full-band performance of the speaker.
S202基于工作参数采用音频输出设备生成Chirp信号以覆盖扬声器的工作频段;S202 generates a Chirp signal using an audio output device based on the working parameters to cover the working frequency band of the speaker;
根据之前定义好的参数,使用专业的音频生成软件或硬件设备来创建Chirp信号。该信号被精心设计以覆盖扬声器宣称的工作频段,从而确保测试的全面性。这一步骤要求高度的精准度,以生成无失真、符合要求的Chirp信号。其波形如下:According to the previously defined parameters, use professional audio generation software or hardware equipment to create a Chirp signal. The signal is carefully designed to cover the working frequency band declared by the speaker to ensure the comprehensiveness of the test. This step requires a high degree of precision to generate a distortion-free, compliant Chirp signal. Its waveform is as follows:
。 .
S203将扬声器与音频输出设备连接,通过扬声器播放Chirp信号;S203 connects the speaker to the audio output device and plays the Chirp signal through the speaker;
通过物理连接或无线方式,将音频输出设备与扬声器对接。一旦连接成功,Chirp信号被传输至扬声器并被播放出来,开始对扬声器的性能进行实际考验。Connect the audio output device to the speaker through physical connection or wireless connection. Once the connection is successful, the chirp signal is transmitted to the speaker and played out, starting the actual test of the speaker's performance.
S204将麦克风放置在扬声器前方记录扬声器发射的Chirp信号响应,得到响应信号。S204 places a microphone in front of the speaker to record the chirp signal response emitted by the speaker to obtain a response signal.
在确保麦克风具有足够高灵敏度和准确性的前提下,将其置于扬声器前方的理想位置。这样做的目的是为了最有效地捕捉从扬声器辐射出的Chirp信号经过空气传播后的响应,这个响应包含了扬声器频率响应、失真度、指向性等多方面的信息。记录下来的响应信号将成为后续数据分析的基础,用以评估扬声器的实际性能是否达到设计标准或满足特定的应用需求。Under the premise of ensuring that the microphone has high enough sensitivity and accuracy, it is placed in the ideal position in front of the speaker. The purpose of this is to most effectively capture the response of the chirp signal radiated from the speaker after it propagates through the air. This response contains information such as the speaker's frequency response, distortion, and directivity. The recorded response signal will become the basis for subsequent data analysis to evaluate whether the actual performance of the speaker meets the design standards or meets specific application requirements.
S102对响应信号进行快速傅里叶变换以确定需要均衡的频率段;S102 performs fast Fourier transform on the response signal to determine the frequency band that needs to be equalized;
具体步骤包括:The specific steps include:
S301对采集的响应信号进行预处理;S301 pre-processes the collected response signal;
具体步骤包括:The specific steps include:
S401使用小波变换对信号进行去噪处理;S401 uses wavelet transform to denoise the signal;
小波变换是一种时频局部化的分析方法,能够在不同尺度上分析信号特征,特别适合于含有突发性或非平稳性噪声的信号处理。通过选择合适的小波基和分解层数,可以有效分离信号中的噪声成分并予以去除,保留信号的真实特征。Wavelet transform is a time-frequency localized analysis method that can analyze signal characteristics at different scales. It is particularly suitable for processing signals containing sudden or non-stationary noise. By selecting the appropriate wavelet basis and decomposition layer number, the noise components in the signal can be effectively separated and removed, retaining the true characteristics of the signal.
S402对信号进行均值归一化处理;S402 performs mean normalization processing on the signal;
此步骤旨在消除信号的直流偏移,将信号调整到一个共同的参考水平。通过计算信号的平均值并从每个样本点中减去这个平均值,可以使信号的数值中心位于零点,便于后续处理和比较。均值归一化有助于改善算法对信号动态范围的适应性,尤其是在信号强度变化较大的场景下。This step aims to remove the DC offset of the signal and adjust the signal to a common reference level. By calculating the average value of the signal and subtracting this average value from each sample point, the numerical center of the signal can be located at zero, which is convenient for subsequent processing and comparison. Mean normalization helps improve the algorithm's adaptability to the dynamic range of the signal, especially in scenarios where the signal strength varies greatly.
S403应用汉宁窗函数对信号进行处理。S403 applies a Hanning window function to process the signal.
窗函数在信号处理中用于减少频谱泄漏,特别是在进行FFT之前对信号进行截断时。汉宁窗是一种常用的窗函数,因其旁瓣衰减相对较好且主瓣宽度适中,在保持频谱分辨率的同时能有效抑制旁瓣泄露效应。通过对信号两端施加汉宁窗,可以平滑地将信号过渡到零,减少因直接截断信号导致的频谱失真,从而获得更准确的频谱估计。Window functions are used in signal processing to reduce spectral leakage, especially when the signal is truncated before FFT. The Hanning window is a commonly used window function. Because of its relatively good sidelobe attenuation and moderate mainlobe width, it can effectively suppress the sidelobe leakage effect while maintaining spectral resolution. By applying a Hanning window to both ends of the signal, the signal can be smoothly transitioned to zero, reducing the spectral distortion caused by directly truncating the signal, thereby obtaining a more accurate spectrum estimate.
S302对预处理后的响应信号进行快速傅里叶变换以获取扬声器的频率响应曲线;S302 performs fast Fourier transform on the preprocessed response signal to obtain a frequency response curve of the speaker;
通过数学变换将时间域的信号转换到了频率域,直观展示出扬声器在不同频率下的响应强度。这一步骤生成的频率响应曲线是评估扬声器性能的重要指标,它能够显示出扬声器在整个可听频率范围内(通常是20Hz至20kHz)的增益或衰减特性。利用FFT,我们可以清晰地观察到扬声器输出在各个频率点上的波动,这对于后续的均衡处理极为重要。The time domain signal is converted to the frequency domain through mathematical transformation, which intuitively shows the response strength of the speaker at different frequencies. The frequency response curve generated in this step is an important indicator for evaluating the performance of the speaker. It can show the gain or attenuation characteristics of the speaker in the entire audible frequency range (usually 20Hz to 20kHz). Using FFT, we can clearly observe the fluctuations of the speaker output at various frequency points, which is extremely important for subsequent equalization processing.
FFT计算为 记录频率响应曲线,识别主要频率成分。The FFT is calculated as Record the frequency response curve and identify the main frequency components.
S303设定频率响应的阈值以识别超出阈值的频率点,标记频率响应曲线中的关键点,确定需要均衡的频率段。S303 sets a threshold of the frequency response to identify frequency points exceeding the threshold, marks key points in the frequency response curve, and determines a frequency band that needs to be equalized.
设定频率响应的阈值:根据扬声器的设计标准、应用环境要求或是听众的偏好,设定一个或多个参考阈值。这些阈值通常用来区分“可接受”的频率响应范围与需要修正的区域。例如,如果目标是实现平坦的频率响应,则阈值可能设定为某个固定的偏差值,如±3dB。Set frequency response thresholds: Set one or more reference thresholds based on the design criteria of the speaker, the application environment requirements, or the preferences of the audience. These thresholds are usually used to distinguish between the "acceptable" frequency response range and the area that needs correction. For example, if the goal is to achieve a flat frequency response, the threshold may be set to a fixed deviation value, such as ±3dB.
识别超出阈值的频率点:通过对比频率响应曲线上的每个数据点与预设的阈值,识别出那些偏离理想响应曲线过多的频率点。这些点代表了扬声器在特定频率上的过度增强或减弱,是造成音质失真或不平衡的主要因素。Identify frequency points that exceed the threshold: By comparing each data point on the frequency response curve with the preset threshold, identify those frequency points that deviate too much from the ideal response curve. These points represent the excessive enhancement or reduction of the speaker at a specific frequency, which is the main factor causing distortion or imbalance in sound quality.
标记频率响应曲线中的关键点:对识别出的异常频率点进行标记,这些点即为均衡处理的重点关注对象。根据要平衡的EQ段与频谱频率对比,把频谱中频率范围在要平衡EQ段的数据保存记录。Mark the key points in the frequency response curve: Mark the identified abnormal frequency points, which are the focus of equalization processing. Compare the EQ segment to be balanced with the frequency spectrum, and save and record the data of the frequency range in the EQ segment to be balanced.
确定需要均衡的频率段:基于被标记的关键点,确定具体的频率范围,这些范围内的频率响应将通过均衡器进行增益或衰减调整,以达到改善整体频率响应均匀性、提升音质的目的。均衡处理的目标是使得最终的频率响应曲线尽可能接近理想的平坦状态,或根据特定需求进行艺术性的调整,如增加低音的丰满度或高音的清晰度。Determine the frequency band that needs to be equalized: Based on the marked key points, determine the specific frequency range. The frequency response within these ranges will be adjusted by the equalizer for gain or attenuation to improve the uniformity of the overall frequency response and enhance the sound quality. The goal of equalization is to make the final frequency response curve as close to the ideal flat state as possible, or to make artistic adjustments based on specific needs, such as increasing the fullness of the bass or the clarity of the treble.
S103按滤波器参数采用滤波器对需要均衡的频率段进行处理,并采用麦克风实时采集并分析扬声器响应信号以对滤波器参数进行修正;S103 uses a filter to process the frequency band that needs to be equalized according to the filter parameters, and uses a microphone to collect and analyze the speaker response signal in real time to modify the filter parameters;
具体步骤包括:The specific steps include:
S601将滤波器的初始调整参数应用在需要均衡的频率段上;S601 applies the initial adjustment parameters of the filter to the frequency band that needs to be equalized;
首先,基于前期的分析或预设的标准,确定滤波器的基本配置参数,比如截止频率、增益值和品质因数(Q值)等,这些参数对应于扬声器响应中辨识出的不平坦区域或需要增强/衰减的特定频率带。这些初始参数被加载到数字信号处理器(DSP)中的滤波器模块,针对特定的频率段进行初步的均衡处理。First, based on the previous analysis or preset standards, the basic configuration parameters of the filter are determined, such as cutoff frequency, gain value and quality factor (Q value), which correspond to the uneven areas identified in the speaker response or the specific frequency bands that need to be enhanced/attenuated. These initial parameters are loaded into the filter module in the digital signal processor (DSP) for preliminary equalization processing for specific frequency bands.
S602发射应用初始调整参数后的Chirp信号,使用麦克风实时采集并分析扬声器响应;S602 transmits a Chirp signal after applying the initial adjustment parameters, and uses a microphone to collect and analyze the speaker response in real time;
接着,通过音频输出设备再次播放已经嵌入了初始均衡设置后的新Chirp信号。此时,系统中的麦克风不仅捕捉扬声器发出的信号,而且通过实时信号处理技术,立即对采集到的响应信号进行频谱分析,以直观反映当前均衡设置下的频率响应特性。Next, the new chirp signal with the initial equalization settings embedded in it is played again through the audio output device. At this point, the microphone in the system not only captures the signal from the speaker, but also uses real-time signal processing technology to immediately perform spectrum analysis on the collected response signal to intuitively reflect the frequency response characteristics under the current equalization settings.
S603使用监测系统实时采集扬声器响应,根据实时数据反馈,动态调整滤波器参数;S603 uses a monitoring system to collect speaker responses in real time and dynamically adjusts filter parameters based on real-time data feedback;
在初始阶段将滤波器的参数应用在原始信号上时,采用非常小的幅度,通常是滤波器参数的10%或更小,初始参数计算 , 将调整后的滤波器参数应用到信号处理中。When applying the filter parameters to the original signal in the initial stage, a very small amplitude is used, usually 10% or less of the filter parameters. The initial parameter calculation , Apply the adjusted filter parameters to signal processing.
S604动态调整输入信号增益,使用过渡函数对参数调整进行平滑处理;S604 dynamically adjusts the input signal gain and uses a transition function to smooth the parameter adjustment;
使用监测系统实时采集频率响应数据,根据实时数据反馈,动态调整滤波器参数,动态调整输入信号增益,确保输出电压稳定,增益计算。为初始增益值,为过渡函数。Use the monitoring system to collect frequency response data in real time, dynamically adjust the filter parameters and input signal gain according to the real-time data feedback, ensure the output voltage is stable, and calculate the gain. . is the initial gain value, is the transition function.
为了避免滤波器参数的突变导致的音质波动或瞬态失真,引入平滑过渡处理机制。利用数学过渡函数(如指数衰减、窗口函数等)渐进式地应用新旧参数之间的变化,保证调整过程中的音质连续性和稳定性。在调整过程中逐步应用过渡函数,确保平滑过渡,过渡函数为 。In order to avoid sound quality fluctuations or transient distortion caused by sudden changes in filter parameters, a smooth transition processing mechanism is introduced. Mathematical transition functions (such as exponential decay, window function, etc.) are used to gradually apply changes between new and old parameters to ensure the continuity and stability of sound quality during the adjustment process. The transition function is gradually applied during the adjustment process to ensure a smooth transition. The transition function is .
其中,t为当前的时间或迭代次数;T为过渡的总时间或总迭代次数。Where t is the current time or the number of iterations; T is the total transition time or the total number of iterations.
S605对调整参数进行修改后,重复步骤S601~S604,每次迭代后记录频率响应曲线,并评估调整效果。After the adjustment parameters are modified in S605, steps S601 to S604 are repeated, and the frequency response curve is recorded after each iteration, and the adjustment effect is evaluated.
计算每次修改参数调整的步长,逐步增加滤波器参数,向目标值逼近参数调整步长计算: 逐次增加滤波器参数,每次调整后重新发射信号并检测响应,其中为目标滤波器参数值,为当前滤波器参数值,为调整步数。Calculate the step size of each parameter adjustment, gradually increase the filter parameters, and approach the target value. Calculate the parameter adjustment step size: The filter parameters are increased gradually, and the signal is retransmitted after each adjustment and the response is detected, where is the target filter parameter value, is the current filter parameter value, To adjust the number of steps.
依据上述步骤调整后的参数,系统重新进入下一个循环,再次应用更新的滤波器设置,并持续监控及优化。每完成一轮迭代,系统会记录下当前的频率响应曲线,对比之前的曲线,直观评估均衡处理的改善效果。这一迭代过程持续进行,直至达到预定的性能指标或最佳化标准,确保最终扬声器的输出频率响应达到高度均衡和优化状态。Based on the parameters adjusted in the above steps, the system re-enters the next cycle, applies the updated filter settings again, and continues to monitor and optimize. After each iteration, the system records the current frequency response curve, compares it with the previous curve, and intuitively evaluates the improvement effect of the equalization processing. This iterative process continues until the predetermined performance indicators or optimization standards are achieved, ensuring that the output frequency response of the final speaker is highly balanced and optimized.
使用切比雪夫数字滤波器设计方法计算滤波器系数,实现滤波器的递归结构或非递归结构,使用公式逐步调整滤波器系数,Use the Chebyshev digital filter design method to calculate the filter coefficients, implement the recursive structure or non-recursive structure of the filter, and use the formula to gradually adjust the filter coefficients.
递归结构表示为 ,The recursive structure is represented as ,
非递归结构表示为 ,The non-recursive structure is represented by ,
迭代调整表示为 ,The iterative adjustment is expressed as ,
其中是滤波器输出,是滤波器输入,和是滤波器系数,和分别是滤波器的阶数,是当前的滤波器系数,是更新后的滤波器系数,是调整量。in is the filter output, is the filter input, and are the filter coefficients, and are the order of the filter, are the current filter coefficients, are the updated filter coefficients, is the adjustment amount.
S104使用仿真工具验证滤波器参数调整后的效果。S104 uses a simulation tool to verify the effect of the adjusted filter parameters.
使用仿真工具验证滤波器参数调整后的效果,确保频率响应的平滑过渡,没有明显的突变。Use simulation tools to verify the effect of filter parameter adjustment to ensure smooth transition of frequency response without obvious mutations.
以上所揭露的仅为本发明一种较佳实施例而已,当然不能以此来限定本发明之权利范围,本领域普通技术人员可以理解实现上述实施例的全部或部分流程,并依本发明权利要求所作的等同变化,仍属于发明所涵盖的范围。What is disclosed above is only a preferred embodiment of the present invention, and it certainly cannot be used to limit the scope of rights of the present invention. Ordinary technicians in this field can understand that all or part of the processes of the above embodiment and equivalent changes made according to the claims of the present invention still fall within the scope of the invention.
Claims (6)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410924676.3A CN118509772A (en) | 2024-07-11 | 2024-07-11 | Chirp signal equalization optimization method for progressive filter parameter adjustment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410924676.3A CN118509772A (en) | 2024-07-11 | 2024-07-11 | Chirp signal equalization optimization method for progressive filter parameter adjustment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN118509772A true CN118509772A (en) | 2024-08-16 |
Family
ID=92235424
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202410924676.3A Pending CN118509772A (en) | 2024-07-11 | 2024-07-11 | Chirp signal equalization optimization method for progressive filter parameter adjustment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN118509772A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119094934A (en) * | 2024-08-30 | 2024-12-06 | 深圳市金富强技术科技有限公司 | A method, device and equipment for adaptively adjusting microphone equalization |
| CN119545247A (en) * | 2024-11-28 | 2025-02-28 | 江苏省如皋中等专业学校 | A method and system for acoustic dynamic gain equalization |
Citations (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5511129A (en) * | 1990-12-11 | 1996-04-23 | Craven; Peter G. | Compensating filters |
| US20030232612A1 (en) * | 2002-06-14 | 2003-12-18 | Richards James L. | Method and apparatus for converting RF signals to baseband |
| MX2008011994A (en) * | 2006-03-24 | 2008-11-27 | Dolby Sweden Ab | Generation of spatial downmixes from parametric representations of multi channel signals. |
| CN106658327A (en) * | 2015-10-28 | 2017-05-10 | 音乐集团公司 | Sound level estimation |
| CN112003527A (en) * | 2020-07-22 | 2020-11-27 | 西安理工大学 | An Improved Method of Iterative Extended Kalman Filter for Speed Identification of Asynchronous Motors |
| EP3748551A1 (en) * | 2019-06-07 | 2020-12-09 | Robert Bosch GmbH | Method, device and computer program for adjusting a hyperparameter |
| US20210241748A1 (en) * | 2020-02-05 | 2021-08-05 | Bose Corporation | Systems and methods for transitioning a noise-cancellation system |
| CN114157965A (en) * | 2021-11-26 | 2022-03-08 | 国光电器股份有限公司 | Sound effect compensation method and device, earphone and storage medium |
| US20220201421A1 (en) * | 2019-09-19 | 2022-06-23 | Wave Sciences, LLC | Spatial audio array processing system and method |
| CN115668986A (en) * | 2020-05-20 | 2023-01-31 | 哈曼国际工业有限公司 | System, apparatus and method for multi-dimensional adaptive microphone-speaker array sets for room correction and equalization |
| WO2024006778A1 (en) * | 2022-06-30 | 2024-01-04 | Dolby Laboratories Licensing Corporation | Audio de-reverberation |
-
2024
- 2024-07-11 CN CN202410924676.3A patent/CN118509772A/en active Pending
Patent Citations (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5511129A (en) * | 1990-12-11 | 1996-04-23 | Craven; Peter G. | Compensating filters |
| US20030232612A1 (en) * | 2002-06-14 | 2003-12-18 | Richards James L. | Method and apparatus for converting RF signals to baseband |
| MX2008011994A (en) * | 2006-03-24 | 2008-11-27 | Dolby Sweden Ab | Generation of spatial downmixes from parametric representations of multi channel signals. |
| CN106658327A (en) * | 2015-10-28 | 2017-05-10 | 音乐集团公司 | Sound level estimation |
| EP3748551A1 (en) * | 2019-06-07 | 2020-12-09 | Robert Bosch GmbH | Method, device and computer program for adjusting a hyperparameter |
| US20220201421A1 (en) * | 2019-09-19 | 2022-06-23 | Wave Sciences, LLC | Spatial audio array processing system and method |
| US20210241748A1 (en) * | 2020-02-05 | 2021-08-05 | Bose Corporation | Systems and methods for transitioning a noise-cancellation system |
| CN115668986A (en) * | 2020-05-20 | 2023-01-31 | 哈曼国际工业有限公司 | System, apparatus and method for multi-dimensional adaptive microphone-speaker array sets for room correction and equalization |
| CN112003527A (en) * | 2020-07-22 | 2020-11-27 | 西安理工大学 | An Improved Method of Iterative Extended Kalman Filter for Speed Identification of Asynchronous Motors |
| CN114157965A (en) * | 2021-11-26 | 2022-03-08 | 国光电器股份有限公司 | Sound effect compensation method and device, earphone and storage medium |
| WO2024006778A1 (en) * | 2022-06-30 | 2024-01-04 | Dolby Laboratories Licensing Corporation | Audio de-reverberation |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119094934A (en) * | 2024-08-30 | 2024-12-06 | 深圳市金富强技术科技有限公司 | A method, device and equipment for adaptively adjusting microphone equalization |
| CN119545247A (en) * | 2024-11-28 | 2025-02-28 | 江苏省如皋中等专业学校 | A method and system for acoustic dynamic gain equalization |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12289085B2 (en) | Analyzing and determining conference audio gain levels | |
| CN109831733B (en) | Test method, apparatus, equipment and storage medium for audio playback performance | |
| CN118509772A (en) | Chirp signal equalization optimization method for progressive filter parameter adjustment | |
| KR100584609B1 (en) | Earphone frequency characteristic correction method and device | |
| US20120230501A1 (en) | auditory test and compensation method | |
| EP3871212A1 (en) | Tuning method, manufacturing method, computer-readable storage medium and tuning system | |
| CN116684806A (en) | Method for testing abnormal sound of loudspeaker | |
| CN114422893A (en) | Noise reduction processing method and device, earphone and storage medium | |
| CN105764008A (en) | Method and apparatus for debugging transmission frequency characteristic of acoustic amplification system | |
| US9807519B2 (en) | Method and apparatus for analyzing and visualizing the performance of frequency lowering hearing aids | |
| CN115835092B (en) | A method, system, computer and storage medium for suppressing audio sound reinforcement feedback | |
| US10965265B2 (en) | Method and device for adjusting audio signal, and audio system | |
| CN115767359A (en) | Noise reduction method and device, test method and device, electronic device and storage medium | |
| CN117178567A (en) | Measuring speech intelligibility in audio environments | |
| CN118368562A (en) | Frequency response compensation method, device, equipment and storage medium | |
| CN121418725A (en) | An automatic audio frequency response equalization method, system, device, and storage medium | |
| KR102917485B1 (en) | Systems and methods for providing personalized audio replay on a plurality of consumer devices | |
| CN108495237A (en) | A kind of amplitude gain control method of loudspeaker tonequality equilibrium | |
| Sy et al. | Optimizing Audio Performance through Speaker Equalization Calibration Heuristics in Controlled Acoustic Environments | |
| CN121509889A (en) | Automatic Tuning Method and System for Audio Devices Based on Curve Comparison | |
| CN119364258A (en) | Ear canal sound quality compensation method and device, electronic device, and storage medium | |
| CN120913587A (en) | Audio processing method, system, electronic equipment and storage medium | |
| TW202207220A (en) | Noise detection device and method thereof | |
| CN120932660A (en) | Automatic equalization amplitude-frequency response method, device, equipment and storage medium | |
| CN116264658A (en) | Audio adjustment system and audio adjustment method |
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 | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20240816 |
|
| RJ01 | Rejection of invention patent application after publication |