CN104503297A - DSP audio digital signal processing system and method - Google Patents

DSP audio digital signal processing system and method Download PDF

Info

Publication number
CN104503297A
CN104503297A CN201410685104.0A CN201410685104A CN104503297A CN 104503297 A CN104503297 A CN 104503297A CN 201410685104 A CN201410685104 A CN 201410685104A CN 104503297 A CN104503297 A CN 104503297A
Authority
CN
China
Prior art keywords
module
audio
response curve
frequency response
speaker
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.)
Granted
Application number
CN201410685104.0A
Other languages
Chinese (zh)
Other versions
CN104503297B (en
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.)
Ningbo Zhongrong Acoustics Technology Co Ltd
Original Assignee
Ningbo Zhongrong Acoustics 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 Ningbo Zhongrong Acoustics Technology Co Ltd filed Critical Ningbo Zhongrong Acoustics Technology Co Ltd
Priority to CN201410685104.0A priority Critical patent/CN104503297B/en
Publication of CN104503297A publication Critical patent/CN104503297A/en
Application granted granted Critical
Publication of CN104503297B publication Critical patent/CN104503297B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25314Modular structure, modules

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Circuit For Audible Band Transducer (AREA)
  • Tone Control, Compression And Expansion, Limiting Amplitude (AREA)

Abstract

本发明涉及电声技术领域,尤其涉及一种DSP音频数字信号处理系统与方法,所述DSP音频数字信号处理系统包括音频模拟信号输入接口模块、DSP数字信号处理模块、音频模拟信号输出接口模块、单片机微控制模块、显示模块及用户操作接口模块,所述显示模块、用户操作接口模块以及DSP数字信号处理模块均与单片机微控制模块信号连接,所述音频模拟信号输入接口模块以及音频模拟信号输出接口模块均与DSP数字信号处理模块信号连接,采用这种系统与方法可以将传统的纯模拟信号处理的音频功放前级改为带DSP数字信号处理功能的数字前级,依靠数字信号处理的高速、高效和灵活性。

The present invention relates to the field of electroacoustic technology, and in particular to a DSP audio digital signal processing system and method. The DSP audio digital signal processing system includes an audio analog signal input interface module, a DSP digital signal processing module, an audio analog signal output interface module, Single-chip micro-control module, display module and user operation interface module, the display module, user-operation interface module and DSP digital signal processing module are all connected with single-chip micro-control module signal, the audio analog signal input interface module and audio analog signal output The interface modules are all connected to the DSP digital signal processing module signal. With this system and method, the traditional pure analog signal processing audio power amplifier pre-stage can be changed into a digital pre-amplifier with DSP digital signal processing function. , efficiency and flexibility.

Description

DSP音频数字信号处理系统与方法DSP audio digital signal processing system and method

技术领域 technical field

本发明涉及电声技术领域,尤其涉及一种DSP音频数字信号处理系统与方法。 The invention relates to the field of electroacoustic technology, in particular to a DSP audio digital signal processing system and method.

背景技术 Background technique

音频电信号转换为实际的声音信号,通过扬声器来完成,作为一种换能器件,其性能优劣对音质的影响最大。在音响设备中,扬声器是最重要的器件,同时也是最薄弱的器件,虽然种类繁多,但结构原理基本上是相同的,另外由于材质的不同,造成不同的扬声器性能差异巨大,其在频率响应上的固有缺陷是无法完全通过更新设计或材料选择来弥补的。音箱是整个音响系统的终端设备,其发声部件就是扬声器,所以,扬声器的性能也就在很大程度上确定了音箱的性能。音箱可分为有源音箱(也叫 主动式音箱)和无源音箱(也叫 被动式音箱)两类,有源音箱内部自带专用的功率放大电路,使用较低的音频信号电平直接驱动,无源音箱需要外接功放。本发明针对的是有源音箱,因此,在所有文挡中多提高的音箱均指有源音箱。传统的功放采用纯模拟电路,除过对音频信号进行放大外,如果想对音箱的频响性能进行矫正,只能通过增加硬件电路来实现,受电路原理和元件参数的影响,很难达到理想的效果,并且只能做些简单的调整,如果想要实现精密调节,就会极大的增加实现电路的复杂程度。 Audio electrical signals are converted into actual sound signals through loudspeakers. As a transducer device, its performance has the greatest impact on sound quality. In audio equipment, the speaker is the most important device and also the weakest device. Although there are many types, the structural principles are basically the same. In addition, due to the different materials, the performance of different speakers varies greatly. Inherent defects in technology cannot be completely remedied by updating the design or material selection. The speaker is the terminal equipment of the entire audio system, and its sound-generating component is the speaker. Therefore, the performance of the speaker determines the performance of the speaker to a large extent. Speakers can be divided into active speakers (also called active speakers) and passive speakers (also called passive speakers). Active speakers have a dedicated power amplifier circuit inside, which is directly driven by a lower audio signal level. Passive speakers require an external power amplifier. The present invention is aimed at the active sound box, therefore, the loud sound box in all documents all refers to the active sound box. The traditional power amplifier uses a pure analog circuit. In addition to amplifying the audio signal, if you want to correct the frequency response performance of the speaker, you can only achieve it by adding hardware circuits. Due to the influence of circuit principles and component parameters, it is difficult to achieve ideal effect, and only some simple adjustments can be made. If you want to achieve precise adjustment, the complexity of the circuit will be greatly increased.

发明内容 Contents of the invention

本发明所要解决的技术问题是:提供一种DSP音频数字信号处理系统与方法,采用这种系统与方法可以将传统的纯模拟信号处理的音频功放前级改为带DSP数字信号处理功能的数字前级,依靠数字信号处理的高速、高效和灵活性,从软件层面上来弥补扬声器、音箱以及音频功放的固有缺陷,对音响系统的性能参数和听觉效果进行大幅度提升。 The technical problem to be solved by the present invention is to provide a DSP audio digital signal processing system and method, which can change the traditional pure analog signal processing audio power amplifier pre-stage into a digital audio amplifier with DSP digital signal processing function. Relying on the high speed, high efficiency and flexibility of digital signal processing, the front stage can make up for the inherent defects of speakers, speakers and audio power amplifiers from the software level, and greatly improve the performance parameters and auditory effects of the audio system.

本发明所采用的技术方案是:一种DSP音频数字信号处理系统与方法, The technical solution adopted in the present invention is: a DSP audio digital signal processing system and method,

所述DSP音频数字信号处理系统包括音频模拟信号输入接口模块、DSP数字信号处理模块、音频模拟信号输出接口模块、单片机微控制模块、显示模块及用户操作接口模块,所述显示模块、用户操作接口模块以及DSP数字信号处理模块均与单片机微控制模块信号连接,所述音频模拟信号输入接口模块以及音频模拟信号输出接口模块均与DSP数字信号处理模块信号连接; The DSP audio digital signal processing system includes an audio analog signal input interface module, a DSP digital signal processing module, an audio analog signal output interface module, a single-chip micro-control module, a display module and a user operation interface module, the display module, the user operation interface The module and the DSP digital signal processing module are all signal-connected with the microcontroller micro-control module, and the audio analog signal input interface module and the audio analog signal output interface module are all signal-connected with the DSP digital signal processing module;

所述音频模拟信号输入接口模块用于连接外部音频信号输入、信号放大及提高信噪比,并将处理后的信号送入DSP数字信号处理模块的模拟信号输入接口; The audio analog signal input interface module is used to connect external audio signal input, signal amplification and improve signal-to-noise ratio, and the processed signal is sent to the analog signal input interface of the DSP digital signal processing module;

所述DSP数字信号处理模块用于对输入的模拟音频信号进行A/D转换、数字信号处理,处理结束后再通过D/A转换输出经过分频后的高音、低音和超低音模拟信号到音频模拟信号输出接口模块; The DSP digital signal processing module is used to perform A/D conversion and digital signal processing on the input analog audio signal, and then output the frequency-divided treble, bass and subwoofer analog signals to the audio through D/A conversion. Analog signal output interface module;

所述音频模拟信号输出接口模块分高音输出通道、低音输出通道和超低音输出通道,高音输出通道和低音输出通道分别与功放后级高音、低音放大电路连接,超低音输出通道输出的超低音信号直接作为超低音音箱的信号源; The audio analog signal output interface module is divided into treble output channel, bass output channel and subwoofer output channel. Directly used as the signal source of the subwoofer;

所述显示模块作为用户接口界面,用于显示系统功能、模块运行状态、参数以及用户操作指示; The display module is used as a user interface interface for displaying system functions, module operating status, parameters and user operation instructions;

所述用户操作接口模块集成系统所有操作与设置为一体; The user operation interface module integrates all operations and settings of the system;

所述单片机微控制模块用于控制系统中其他模块的运行状态;所述单片机微控制模块中的单片机微控制程序中集成有DSP数字信号处理的程序代码和参数,主要功能包括DSP数字信号处理程序代码和参数的载入、DSP数字信号处理各功能模块的运行状态控制和运行参数设置更新、LCD显示控制与更新、用户操作检测与识别、系统运行状态和系统掉电监控; The single-chip micro-control module is used to control the operating status of other modules in the system; the single-chip micro-control program in the single-chip micro-control module is integrated with program codes and parameters of DSP digital signal processing, and the main functions include DSP digital signal processing program Loading of codes and parameters, operation status control and operation parameter setting update of each functional module of DSP digital signal processing, LCD display control and update, user operation detection and identification, system operation status and system power-off monitoring;

所述DSP数字信号处理模块包括依次信号连接的A/D转换模块、扬声器频响曲线矫正模块以及D/A转换模块; The DSP digital signal processing module includes an A/D conversion module, a loudspeaker frequency response curve correction module and a D/A conversion module connected in sequence;

所述DSP音频数字信号处理方法主要包括以下步骤: The DSP audio digital signal processing method mainly comprises the following steps:

(1)、设定扬声器频响曲线矫正参数以及通过用户操作接口模块设定其他参数; (1) Set the speaker frequency response curve correction parameters and set other parameters through the user operation interface module;

(2)、外部音频模拟信号输入音频模拟信号输入接口模块,然后经过音频模拟信号输入接口模块信号放大及提高信噪比后输入到A/D转换模块,然后再经过A/D转换模块转变成音频数字信号输入到扬声器频响曲线矫正模块; (2) The external audio analog signal is input to the audio analog signal input interface module, and then input to the A/D conversion module after the signal is amplified by the audio analog signal input interface module and the signal-to-noise ratio is improved, and then converted into The audio digital signal is input to the speaker frequency response curve correction module;

(3)、扬声器频响曲线矫正模块根据步骤(1)设定的扬声器频响曲线矫正参数来对传输过来的音频数字信号进行处理; (3) The speaker frequency response curve correction module processes the transmitted audio digital signal according to the speaker frequency response curve correction parameters set in step (1);

(4)、将步骤(3)处理后的音频数字信号输入到D/A转换模块,然后经过D/A转换模块转化变成音频模拟信号; (4), input the audio digital signal processed in step (3) to the D/A conversion module, and then convert it into an audio analog signal through the D/A conversion module;

(5)、将步骤(4)转化后的音频模拟信号通过音频模拟信号输出接口模块输出; (5) Outputting the audio analog signal converted in step (4) through the audio analog signal output interface module;

且所述步骤(1)的设定扬声器频响曲线矫正参数主要包括以下步骤: And the step (1) of setting speaker frequency response curve correction parameters mainly includes the following steps:

A、首先使用电声测试仪器,在标准的消声室里测得音箱的实际频率响应曲线和实际相位响应曲线; A. First use electro-acoustic testing equipment to measure the actual frequency response curve and actual phase response curve of the speaker in a standard anechoic chamber;

B、将步骤A中所测得的实际频率响应曲线与由扬声器工程师和音箱工程师来制定的目标频率响应曲线进行对比,获得在音频各个频率点上的差值,从而得出一个扬声器频率响应曲线矫正表,所述矫正表包括所要插入的频率矫正点的个数,以及每个频率点所需滤波器的中心频率、滤波器类型、滤波器Q值及提升或衰减的幅度参数; B. Compare the actual frequency response curve measured in step A with the target frequency response curve formulated by the speaker engineer and speaker engineer to obtain the difference at each frequency point of the audio, thus obtaining a speaker frequency response curve Correction table, the correction table includes the number of frequency correction points to be inserted, and the center frequency of the filter required for each frequency point, filter type, filter Q value and the amplitude parameters of boost or attenuation;

C、根据步骤B所获得的扬声器频率响应曲线矫正表中的参数来对扬声器频响曲线矫正模块进行设置; C. Set the speaker frequency response curve correction module according to the parameters in the speaker frequency response curve correction table obtained in step B;

D、将步骤C所设置好的扬声器频响曲线矫正模块单独下载到专用的扬声器频率响应曲线矫正调试板中,并重复步骤A,对经过矫正后的音箱进行测试,获得经过矫正后实际测得的音箱频率响应曲线,并与步骤B中制定的目标频率响应曲线进行对比,如果两者还有区别,则对扬声器频率响应曲线矫正表进行微调整,然后根据微调整后扬声器频率响应曲线矫正表中的参数对扬声器频响曲线矫正模块进行设置,之后再重复步骤步骤D,直至两者相同; D. Download the speaker frequency response curve correction module set in step C to the dedicated speaker frequency response curve correction debugging board, and repeat step A to test the corrected speaker to obtain the actual measured value after correction The frequency response curve of the loudspeaker, and compare it with the target frequency response curve established in step B. If there is still a difference between the two, fine-tune the correction table for the frequency response curve of the speaker, and then use the correction table for the frequency response curve of the speaker after fine-tuning Set the parameters in the speaker frequency response curve correction module, and then repeat step D until the two are the same;

E、将步骤D调整完成的扬声器频率响应曲线矫正表中的参数来对扬声器频响曲线矫正模块进行设置,再将设置好的扬声器频响曲线矫正模块添加到DSP数字信号处理模块中。 E. Adjust the parameters in the speaker frequency response curve correction table completed in step D to set the speaker frequency response curve correction module, and then add the set speaker frequency response curve correction module to the DSP digital signal processing module.

采用以上结构与方法与现有技术相比,本发明具有以下优点:本发明将DSP数字信号处理技术引入到音频信号放大系统中,设计一套具有DSP数字信号处理功能的音频功放前级系统,依靠DSP强大的数字信号处理能力和可编程性,在软件层面上来对音箱的性能进行提升,本系统可以彻底省去音频信号处理模拟电子电路部分,使用一块DSP数字信号处理芯片和简单的外围电路来代替,所有跟音频信号处理有关的功能全部使用软件来完成,最后集成到DSP芯片中加以实现,功能上的增加并不需要对硬件进行任何改动,并且可以做到更精细的调节和处理,以往依靠纯硬件电路不可能实现的功能,在本系统中可以轻松的实现。同时,在系统中加入单片机微控制系统和显示功能,集成所有操作于一个带按键的旋转编码器中,使整个系统更加的智能化和可显示化,极大提升人机可操作性能。对整个音箱来说,性能更加接近理想化要求。 Compared with the prior art by adopting the above structure and method, the present invention has the following advantages: the present invention introduces DSP digital signal processing technology into the audio signal amplification system, and designs a set of audio power amplifier pre-stage system with DSP digital signal processing function, Relying on the powerful digital signal processing capability and programmability of DSP, the performance of the speaker is improved at the software level. This system can completely omit the audio signal processing analog electronic circuit part, and use a DSP digital signal processing chip and simple peripheral circuits. Instead, all functions related to audio signal processing are completed by software, and finally integrated into the DSP chip for implementation. The increase in functions does not require any changes to the hardware, and more fine adjustment and processing can be achieved. In the past, the functions that could not be realized by relying on pure hardware circuits can be easily realized in this system. At the same time, a single-chip micro-control system and display function are added to the system, and all operations are integrated into a rotary encoder with buttons, which makes the whole system more intelligent and displayable, and greatly improves the man-machine operability. For the whole speaker, the performance is closer to the idealized requirement.

附图说明 Description of drawings

图1为本发明DSP音频数字信号处理系统与方法的系统框图。 Fig. 1 is a system block diagram of the DSP audio digital signal processing system and method of the present invention.

图2为本发明DSP音频数字信号处理系统与方法系统开机步骤图。 Fig. 2 is a diagram of the start-up steps of the DSP audio digital signal processing system and method of the present invention.

图3本发明DSP音频数字信号处理系统与方法系统设置操作流程图。 Fig. 3 is a flow chart of the system setting operation of the DSP audio digital signal processing system and method of the present invention.

图4为本发明DSP音频数字信号处理系统音箱的频响曲线在矫正前和矫正后的对比结果。 Fig. 4 is a comparison result of the frequency response curve of the sound box of the DSP audio digital signal processing system of the present invention before and after correction.

图5为本发明DSP音频数字信号处理系统音箱的可选音效及其对应的频响曲线。 Fig. 5 is the optional sound effect of the speakers of the DSP audio digital signal processing system of the present invention and their corresponding frequency response curves.

图6为本发明DSP音频数字信号处理系统音箱在安装位置不同时所进行的处理效果对比图。 Fig. 6 is a comparison diagram of the processing effect performed by the speakers of the DSP audio digital signal processing system of the present invention when the installation positions are different.

图7为本发明DSP音频数字信号处理系统音箱高、低音处理模块的处理效果图。 FIG. 7 is a processing effect diagram of the loudspeaker and bass processing modules of the DSP audio digital signal processing system of the present invention.

图8为本发明DSP音频数字信号处理系统超低音音箱对频响曲线矫正的效果和超低音截止频率的设置。 Fig. 8 shows the effect of the subwoofer speaker on frequency response curve correction and the setting of the subwoofer cut-off frequency of the DSP audio digital signal processing system of the present invention.

具体实施方式 Detailed ways

以下结合附图与具体实施方式对本发明做进一步描述,但是本发明不仅限于以下具体实施方式。 The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments, but the present invention is not limited to the following specific embodiments.

如图所示:一种DSP音频数字信号处理系统与方法, As shown in the figure: a DSP audio digital signal processing system and method,

所述DSP音频数字处理系统包括音频模拟信号输入接口模块、DSP数字信号处理模块、音频模拟信号输出接口模块、单片机微控制模块、显示模块及用户操作接口模块,所述显示模块、用户操作接口模块以及DSP数字信号处理模块均与单片机微控制模块信号连接,所述音频模拟信号输入接口模块以及音频模拟信号输出接口模块均与DSP数字信号处理模块信号连接; The DSP audio digital processing system includes an audio analog signal input interface module, a DSP digital signal processing module, an audio analog signal output interface module, a single-chip micro-control module, a display module and a user operation interface module, the display module, the user operation interface module And the DSP digital signal processing module is all connected with the single-chip micro-control module signal, and the audio analog signal input interface module and the audio analog signal output interface module are all connected with the DSP digital signal processing module signal;

所述音频模拟信号输入接口模块用于连接外部音频信号输入、信号放大及提高信噪比,并将处理后的信号送入DSP数字信号处理模块的模拟信号输入接口; The audio analog signal input interface module is used to connect external audio signal input, signal amplification and improve signal-to-noise ratio, and the processed signal is sent to the analog signal input interface of the DSP digital signal processing module;

所述DSP数字信号处理模块用于对输入的模拟音频信号进行A/D转换、数字信号处理,处理结束后再通过D/A转换输出经过分频后的高音、低音和超低音模拟信号到音频模拟信号输出接口模块; The DSP digital signal processing module is used to perform A/D conversion and digital signal processing on the input analog audio signal, and then output the frequency-divided treble, bass and subwoofer analog signals to the audio through D/A conversion. Analog signal output interface module;

所述音频模拟信号输出接口模块分高音输出通道、低音输出通道和超低音输出通道,高音输出通道和低音输出通道分别与功放后级高、低放大电路连接,超低音输出通道输出的超低音信号直接作为超低音音箱的信号源; The audio analog signal output interface module is divided into treble output channel, bass output channel and subwoofer output channel. Directly used as the signal source of the subwoofer;

所述显示模块作为用户接口界面,用于显示系统功能、模块运行状态、参数以及用户操作指示;所述显示模块为LCD显示屏; The display module is used as a user interface interface for displaying system functions, module operating status, parameters and user operation instructions; the display module is an LCD display;

所述用户操作接口模块集成系统所有操作与设置为一体;所述用户操作接口模块为一个带按键功能的旋转编码器; The user operation interface module integrates all operations and settings of the system; the user operation interface module is a rotary encoder with button function;

所述单片机微控制模块用于控制系统中其他模块的运行状态; The single-chip micro-control module is used to control the operating status of other modules in the system;

所述DSP数字信号处理模块包括依次信号连接的A/D转换模块、扬声器频响曲线矫正模块以及D/A转换模块;所述DSP数字信号处理模块还包括输入信号压限控制模块、系统主音量控制及系统静音控制模块、噪声处理模块、音频高音处理模块、音频低音处理模块、扬声器响度控制模块、音效设置模块、系统延时模块、音箱最大功率控制模块、音频高低音分频模块和超低音设置模块。 The DSP digital signal processing module includes an A/D conversion module, a loudspeaker frequency response curve correction module and a D/A conversion module connected in sequence; the DSP digital signal processing module also includes an input signal pressure limit control module, a system master volume Control and system mute control module, noise processing module, audio treble processing module, audio bass processing module, loudspeaker loudness control module, sound effect setting module, system delay module, speaker maximum power control module, audio treble and bass frequency division module and subwoofer Set up modules.

所述DSP音频数字信号处理方法主要包括以下步骤: The DSP audio digital signal processing method mainly comprises the following steps:

(1)、设定扬声器频响曲线矫正参数以及通过用户操作接口模块设定其他参数; (1) Set the speaker frequency response curve correction parameters and set other parameters through the user operation interface module;

(2)、外部音频模拟信号输入音频模拟信号输入接口模块,然后经过音频模拟信号输入接口模块信号放大及提高信噪比后输入到A/D转换模块,然后再经过A/D转换模块转变成音频数字信号输入到扬声器频响曲线矫正模块; (2) The external audio analog signal is input to the audio analog signal input interface module, and then input to the A/D conversion module after the signal is amplified by the audio analog signal input interface module and the signal-to-noise ratio is improved, and then converted into The audio digital signal is input to the speaker frequency response curve correction module;

(3)、扬声器频响曲线矫正模块根据步骤(1)设定的扬声器频响曲线矫正参数来对传输过来的音频数字信号进行处理; (3) The speaker frequency response curve correction module processes the transmitted audio digital signal according to the speaker frequency response curve correction parameters set in step (1);

(4)、将步骤(3)处理后的音频数字信号输入到D/A转换模块,然后经过D/A转换模块转化变成音频模拟信号; (4), input the audio digital signal processed in step (3) to the D/A conversion module, and then convert it into an audio analog signal through the D/A conversion module;

(5)、将步骤(4)转化后的音频模拟信号通过音频模拟信号输出接口模块输出。 (5) Outputting the audio analog signal converted in step (4) through the audio analog signal output interface module.

且在步骤(3)之前还需要对输入音频信号的最大峰值进行限制:当输入音频信号的最大峰值超过阀值时,根据信号峰值压缩表对音频信号进行压缩,并根据压缩的程度在LCD显示屏上进行显示以提示用户应降低输入信号音量;对于未超过阀值的信号,则不进行任何处理。 And before step (3), it is necessary to limit the maximum peak value of the input audio signal: when the maximum peak value of the input audio signal exceeds the threshold, the audio signal is compressed according to the signal peak compression table, and is displayed on the LCD according to the degree of compression Display on the screen to prompt the user to reduce the volume of the input signal; for signals that do not exceed the threshold, no processing is performed.

然后再进行系统主音量控制和系统静音控制:将系统音量分为91级:-80dB ~ +10dB,并以 1dB 为调节步长,由用户进行设置,当音量小于 -79dB 时系统自动切换到静音模式。 Then perform system master volume control and system mute control: divide the system volume into 91 levels: -80dB ~ +10dB, and adjust the step size by 1dB, set by the user, when the volume is less than -79dB, the system will automatically switch to mute model.

在步骤(3)之后,还需要进行音频高音处理:使用高肩滤波器或尖顶滤波器对高音进行提升或衰减,调节范围为:-10dB ~ +10dB,并且以 1dB 作为步长进行调节。 After step (3), audio treble processing is also required: use a high shoulder filter or a peak filter to boost or attenuate the treble, the adjustment range is: -10dB ~ +10dB, and the adjustment is made in steps of 1dB.

音频低音处理:使用低肩滤波器或尖顶滤波器对低音进行提升或衰减,调节范围为:-10dB ~ +10dB,并且以 1dB 作为步长进行调节。 Audio bass processing: use low shoulder filter or peak filter to boost or attenuate the bass, the adjustment range is: -10dB ~ +10dB, and adjust with 1dB as the step size.

扬声器响度控制:在音箱输出声压级较低时,为平衡高、中、低音的响度,依据标准的等响曲线图,对小于60Hz的低音部分和大于7000Hz的高音部分进行提升。 Loudspeaker loudness control: When the output sound pressure level of the speaker is low, in order to balance the loudness of the high, middle and bass, according to the standard equal loudness curve, the bass part less than 60Hz and the treble part greater than 7000Hz are boosted.

音效设置:使用10段均衡滤波器,对声音的各频率段进行提升或衰减,来模拟音箱在不同应用场合下的听觉效果。 Sound effect setting: Use 10-band equalization filter to boost or attenuate each frequency band of the sound to simulate the auditory effect of the speaker in different applications.

系统延时:在多音箱应用环境下,为使多个音箱输出的声音同步到达某一听觉区域,依据声音在空气中的传播速度,对不同摆放位置的音箱按距离进行延时后再输出,并将延时时长以距离(单位为 m(米)或ft(英尺))的形式供用户进行设置。 System delay: In a multi-speaker application environment, in order to make the sound output by multiple speakers reach a certain hearing area synchronously, according to the propagation speed of the sound in the air, the speakers in different positions are delayed according to the distance before outputting , and the delay time is set by the user in the form of distance (unit: m (meter) or ft (feet)).

音箱最大功率控制:依据音箱最大输出功率要求,对音频模拟信号输出接口输出给音频功放后级的信号瞬间峰值电平进行限制,确保功放工作在安全功率范围内,避免因功率过大而烧坏功放或扬声器,对超过规定阀值的电平按比例进行压缩压缩,压缩后的信号电平 = 原信号电平 *(阀值电平 / 原引号电平)。未超过阀值的信号不做任何处理。 Speaker maximum power control: According to the maximum output power requirements of the speaker, limit the instantaneous peak level of the signal output from the audio analog signal output interface to the rear stage of the audio power amplifier to ensure that the power amplifier works within a safe power range and avoid burning out due to excessive power The power amplifier or speaker compresses the level exceeding the specified threshold proportionally, and the compressed signal level = original signal level * (threshold level / original quotation mark level). Signals that do not exceed the threshold are not processed.

音频高低音分频:除过高、低两分频输出,还可进行高、中、低三分频除数,各频段分频器的滤波器类型、分频点频率、末端增益、输出极性等参数均可选,具体要求由工程师确定,但对于用户来说,是不可见的。 Audio high and low frequency division: In addition to high and low two-frequency output, high, medium and low three-frequency divisor can also be performed, the filter type, crossover point frequency, end gain, output polarity of the frequency divider of each frequency band Parameters such as are optional, and the specific requirements are determined by the engineer, but they are invisible to the user.

超低音设置:过程类似音频高低音分频,超低音分频器的滤波器类型、截止频率、末端增益、输出极性等参数可选,具体要求由工程师确定,但对于用户来说,是不可见的。 Subwoofer setting: The process is similar to the audio treble and bass crossover. The filter type, cutoff frequency, end gain, output polarity and other parameters of the subwoofer crossover are optional. The specific requirements are determined by the engineer, but for the user, it is not necessary visible.

且所述步骤(1)的设定扬声器频响曲线矫正参数主要包括以下步骤: And the step (1) of setting speaker frequency response curve correction parameters mainly includes the following steps:

A、首先使用电声测试仪器,在标准的消声室里测得音箱的实际频率响应曲线和实际相位响应曲线; A. First use electro-acoustic testing equipment to measure the actual frequency response curve and actual phase response curve of the speaker in a standard anechoic chamber;

B、将步骤A中所测得的实际频率响应曲线与由扬声器工程师和音箱工程师来制定的目标频率响应曲线进行对比,获得在音频各个频率点上的差值,从而得出一个扬声器频率响应曲线矫正表,所述矫正表包括所要插入的频率矫正点的个数,以及每个频率点所需滤波器的中心频率、滤波器类型、滤波器Q值及提升或衰减的幅度参数; B. Compare the actual frequency response curve measured in step A with the target frequency response curve formulated by the speaker engineer and speaker engineer to obtain the difference at each frequency point of the audio, thus obtaining a speaker frequency response curve Correction table, the correction table includes the number of frequency correction points to be inserted, and the center frequency of the filter required for each frequency point, filter type, filter Q value and the amplitude parameters of boost or attenuation;

C、根据步骤B所获得的扬声器频率响应曲线矫正表中的参数来对扬声器频响曲线矫正模块进行设置; C. Set the speaker frequency response curve correction module according to the parameters in the speaker frequency response curve correction table obtained in step B;

D、将步骤C所设置好的扬声器频响曲线矫正模块单独下载到专用的扬声器频率响应曲线矫正调试板中,并重复步骤A,对经过矫正后的音箱进行测试,获得经过矫正后实际测得的音箱频率响应曲线,并与步骤B中制定的目标频率响应曲线进行对比,如果两者还有区别,则对扬声器频率响应曲线矫正表进行微调整,然后根据微调整后扬声器频率响应曲线矫正表中的参数对扬声器频响曲线矫正模块进行设置,之后再重复步骤步骤D,直至两者相同; D. Download the speaker frequency response curve correction module set in step C to the dedicated speaker frequency response curve correction debugging board, and repeat step A to test the corrected speaker to obtain the actual measured value after correction The frequency response curve of the loudspeaker, and compare it with the target frequency response curve established in step B. If there is still a difference between the two, fine-tune the correction table for the frequency response curve of the speaker, and then use the correction table for the frequency response curve of the speaker after fine-tuning Set the parameters in the speaker frequency response curve correction module, and then repeat step D until the two are the same;

E、将步骤D调整完成的扬声器频率响应曲线矫正表中的参数来对扬声器频响曲线矫正模块进行设置,再将设置好的扬声器频响曲线矫正模块添加到DSP数字信号处理模块中。 E. Adjust the parameters in the speaker frequency response curve correction table completed in step D to set the speaker frequency response curve correction module, and then add the set speaker frequency response curve correction module to the DSP digital signal processing module.

如图1所示为本发明系统结构框图。其中,LCD显示屏和带按键的旋转编码器为用户接口,用户对系统的所有操作设置均通过对旋转编码器的顺时针旋转操作、逆时针旋转操作或按键来实现,LCD显示屏用来显示系统功能及各功能模块的运行状态和参数,同时,在用户进行系统设置时,对用户进行操作提示;音频模拟信号输入接口接收外部音频信号输入并进行前期降噪和放大处理,然后将信号送至DSP数字信号处理模块的模拟输入端口;DSP数字信号处理模块自带模/数转换和数/模转换,模/数转换模块将音频模拟信号转换为数字信号,数/模转换模块将经过处理后的数字音频信号重新转换为模拟信号,然后送至音频功放后级进一步进行放大,本系统跟音频处理相关的所有操作均在DSP数字信号处理模块中完成;微控制器模块为整个系统的控制部分,在系统上电后,首先控制系统中各模块完成复位,然后将DSP程序代码和参数通过I2C总线载入到DSP数字信号处理器中,同时通过SPI总线控制LCD显示屏按流程完成系统开机显示步骤,待系统进入正常工作状态后控制LCD显示系统主界面,此后开始接受用户操作设置。 As shown in Fig. 1, it is a block diagram of the system structure of the present invention. Among them, the LCD display and the rotary encoder with buttons are the user interface. All the user's operation settings on the system are realized by rotating the rotary encoder clockwise, counterclockwise or pressing the buttons. The LCD display is used to display System functions and the operating status and parameters of each functional module. At the same time, when the user sets the system, the user will be prompted for the operation; the audio analog signal input interface receives the external audio signal input and performs pre-noise reduction and amplification processing, and then sends the signal to the To the analog input port of the DSP digital signal processing module; the DSP digital signal processing module has its own analog/digital conversion and digital/analog conversion, the analog/digital conversion module converts the audio analog signal into a digital signal, and the digital/analog conversion module will be processed The final digital audio signal is re-converted into an analog signal, and then sent to the audio power amplifier for further amplification. All operations related to audio processing in this system are completed in the DSP digital signal processing module; the microcontroller module is the control of the entire system. Part, after the system is powered on, firstly control the reset of each module in the system, then load the DSP program code and parameters into the DSP digital signal processor through the I2C bus, and at the same time control the LCD display through the SPI bus to complete the system startup according to the process The display step is to control the LCD to display the main interface of the system after the system enters the normal working state, and then start to accept user operation settings.

如图2所示为系统的开机步骤:首先,系统上电;系统上电后微控制器模块首先进行复位,复位完成后再控制系统中其它模块进行复位;等待系统中所有模块均完成复位后控制LCD显示公司Logo,然后载入DSP数字信号处理的程序代码和参数数据到DSP数字信号处理芯片中,但此时DSP处于静音状态,等待2S后控制LCD显示产品型号,紧接着再等待2S后控制LCD显示系统主界面,同时控制DSP数字信号处理模块开始工作,整个系统开始进入正常的工作状态,微控制器开始接受用户操作;在系统主界面状态下,用户可通过向左或向右旋转旋转编码器来调整系统主音量。 Figure 2 shows the startup steps of the system: first, power on the system; after the system is powered on, the microcontroller module first resets, and then controls other modules in the system to reset after the reset is completed; wait for all modules in the system to complete the reset Control the LCD to display the company Logo, and then load the DSP digital signal processing program code and parameter data into the DSP digital signal processing chip, but at this time the DSP is in a mute state, wait for 2S and then control the LCD to display the product model, and then wait for another 2S Control the LCD to display the main interface of the system, and at the same time control the DSP digital signal processing module to start working, the whole system starts to enter the normal working state, and the microcontroller begins to accept user operations; in the state of the main interface of the system, the user can turn left or right Rotate the encoder to adjust the system master volume.

如图3为系统设置流程图:在系统主界面状态下,按一下旋转编码器的按键,将会进入到系统参数设置状态,图3中所列出的是系统中所有可由用户自行设置的功能模块及其对应的可选参数值,而对于频响曲线矫正模块、响度控制模块、信号压限处理模块、功放最大功率监测模块、高低音分频模块等,是完全为提升音箱的品质而设计的,针对不同的音箱和扬声器,模块的具体功能和参数是固定选用的最优方案,对用户来说是不可见的,因此用户不能设置这些参数。 Figure 3 is the flow chart of the system setting: In the state of the main interface of the system, press the button of the rotary encoder to enter the system parameter setting state, and all the functions in the system that can be set by the user are listed in Figure 3 modules and their corresponding optional parameter values, and for the frequency response curve correction module, loudness control module, signal pressure limit processing module, power amplifier maximum power monitoring module, high-bass crossover module, etc., it is completely designed to improve the quality of the speaker Yes, for different speakers and speakers, the specific functions and parameters of the module are the optimal solution for fixed selection, which is invisible to the user, so the user cannot set these parameters.

在进入到系统参数设置状态后,通过向左或向右旋转旋转编码器来选择不同的功能菜单。旋转编码器 向右 旋转一挡将会选中下一个菜单项,而 向左 旋转一挡则会选中上一个菜单项,被选中的菜单项会变为翻转显示,而该菜单项右侧对应的参数值则处于正常显示状态。当需要对某个功能项的参数值进行修改时,首先旋转旋转编码器选中该功能项的菜单标签,然后按一下旋转编码器,则进入到该菜单项的参数设置状态,此时,菜单项的标签恢复到正常显示状态,而将右侧该菜单项当前的参数值翻转显示,改参数值靠左显示为居中显示,并且添加左、右两个倒三角导向标志,当当前参数值左侧还有可选参数时,显示左侧的倒三角导向标志,否则不显示;当当前参数值右侧还有可选参数时,显示右侧的倒三角导向标志,否则不显示。菜单项的可选参数值列表采用从左向右或从右向左依次显示的方式供用户进行选择。 After entering the system parameter setting state, select different function menus by rotating the rotary encoder left or right. Rotating the rotary encoder to the right by one gear will select the next menu item, while rotating it to the left by one gear will select the previous menu item, and the selected menu item will be displayed in reverse, and the corresponding parameter on the right side of the menu item The value is displayed normally. When it is necessary to modify the parameter value of a function item, firstly rotate the rotary encoder to select the menu label of the function item, and then press the rotary encoder to enter the parameter setting state of the menu item. At this time, the menu item The label of the menu item returns to the normal display state, and the current parameter value of the menu item on the right is flipped and displayed, and the parameter value is displayed on the left to be displayed in the center, and the left and right inverted triangle guide signs are added. When the current parameter value is on the left side When there are optional parameters, display the inverted triangle guide sign on the left, otherwise it will not display; when there are optional parameters on the right side of the current parameter value, display the inverted triangle guide sign on the right, otherwise it will not display. The optional parameter value list of the menu item is displayed sequentially from left to right or right to left for the user to choose.

在更改菜单项的参数值时,是立即生效的,也就是说,对菜单项的参数值所做的每一次调整,都会立刻对应有系统中该菜单项对应的功能模块的一次状态切换,但只是一个临时的工作状态,只有当退出系统参数设置状态时,系统才会对所做的所有修改进行保存,并作为下一次开机时模块的默认工作状态。当设置好某个菜单项的参数后,需要按一下旋转编码器退出菜单项参数值设置状态,系统自动返回到该菜单项的选中状态,此时可继续对其它功能菜单的参数值进行修改,所有菜单项参数值的调整方法相同。 When changing the parameter value of a menu item, it takes effect immediately, that is to say, every adjustment made to the parameter value of a menu item will immediately correspond to a state switch of the function module corresponding to the menu item in the system, but It is only a temporary working state. Only when exiting the system parameter setting state, the system will save all the modifications made, and it will be the default working state of the module when the module is turned on next time. After setting the parameters of a menu item, you need to press the rotary encoder to exit the parameter value setting state of the menu item, and the system will automatically return to the selected state of the menu item. At this time, you can continue to modify the parameter values of other function menus. The method of adjusting parameter values of all menu items is the same.

在进行系统复位时,也就是将系统恢复到出厂时系统各功能模块的工作状态,首先操作旋转编码器选中系统复位菜单,然后按一下旋转编码器,系统会控制LCD显示系统复位确认对话界面供用户进行确认,此时,可通过向左或向右旋转旋转编码器来选择“YES”或“NO”标签,然后再按一下旋转编码器通知系统执行系统复位操作,若选择的为“NO”,则系统不做任何处理直接返回到系统复位菜单的选中状态,复位操作结束;如果选择的为“YES”,则系统开始执行复位操作,将系统中所有功能模块的状态恢复到出厂时的状态,然后自动返回到系统复位菜单的选中状态,复位操作结束。 When performing a system reset, that is to restore the system to the working state of each functional module of the system at the factory, first operate the rotary encoder to select the system reset menu, and then press the rotary encoder, the system will control the LCD to display the system reset confirmation dialog interface for The user confirms, at this time, the "YES" or "NO" label can be selected by rotating the rotary encoder left or right, and then press the rotary encoder to notify the system to perform a system reset operation, if the selection is "NO" , the system returns directly to the selected state of the system reset menu without any processing, and the reset operation ends; if the selection is "YES", the system starts to execute the reset operation, and restores the state of all functional modules in the system to the factory state , and then automatically return to the selected state of the system reset menu, and the reset operation ends.

退出系统参数设置状态。当完成系统参数设置后,需要退出系统参数设置状态并返回到系统主界面,则需首先操作旋转编码器选中退出并保存菜单项,然后按一下旋转编码器,系统会首先对更改后的各菜单项的参数值进行保存,保存结束后自动返回到系统主界面显示状态。 Exit the system parameter setting state. After completing the system parameter setting, you need to exit the system parameter setting state and return to the main interface of the system, you need to first operate the rotary encoder to select the exit and save menu item, and then press the rotary encoder, the system will first change each menu Save the parameter value of the item, and automatically return to the display state of the main interface of the system after saving.

在图 3 所示的系统设置操作流程图中各标注的含义对应如下: The meanings of the labels in the system setting operation flowchart shown in Figure 3 correspond to the following:

Press :表示按一下旋转编码器 Press : Indicates that the rotary encoder is clicked

Left  :表示 向左旋转 旋转编码器 Left : Indicates that the rotary encoder rotates to the left

Right :表示 向右旋转 旋转编码器 Right : Indicates that the rotary encoder rotates to the right

默认值:表示系统在出厂时或执行系统复位后该菜单项所使用的默认参数值 Default value: Indicates the default parameter value used by the menu item when the system leaves the factory or after performing a system reset

开机值:表示在系统每次开机时均使用该参数值作为默认设置,此外在本次正常工作状态时对该菜单项参数值的调整不影响下一次系统上电时的工作状态。 Power-on value: Indicates that the parameter value is used as the default setting every time the system is powered on, and the adjustment of the parameter value of this menu item in this normal working state will not affect the working state when the system is powered on next time.

音箱频响曲线矫正:该模块针对具体型号的音箱,其参数由扬声器设计工程师、音箱设计工程师和试音工程师共同调试给出,为一个固定的功能模块,因此对用户是不可见的,用户不能对其参数进行调整。 Speaker frequency response curve correction: This module is aimed at specific models of speakers, and its parameters are jointly debugged and given by speaker design engineers, speaker design engineers and sound test engineers. It is a fixed functional module, so it is invisible to users, and users cannot Adjust its parameters.

如上图 4 所示,为一款使用DSP音频数字信号处理前级的音箱的频响曲线在矫正前和矫正后的对比结果,曲线1为音箱低音单元在矫正前的频响曲线,经过矫正后变为曲线5;曲线2为音箱高音单元在矫正前的频响曲线,经过矫正后变为曲线6。模块使用了九个相互独立的尖峰滤波器,各滤波器的参数如下表1所示: As shown in Figure 4 above, it is a comparison result of the frequency response curve of a speaker using DSP audio digital signal processing before and after correction. Curve 1 is the frequency response curve of the speaker bass unit before correction. After correction It becomes curve 5; curve 2 is the frequency response curve of the speaker tweeter before correction, and becomes curve 6 after correction. The module uses nine independent spike filters, and the parameters of each filter are shown in Table 1 below:

序号serial number 中心频率:HzCenter frequency: Hz 品质因素Q 值Quality factor Q value 提升或衰减幅度:dBBoost or attenuation range: dB 滤波器类型filter type 11 70.0070.00 1.51.5 6.06.0 Peaking FilterPeaking Filter 22 160.00160.00 3.03.0 1.01.0 Peaking FilterPeaking Filter 33 550.00550.00 2.02.0 -5.0-5.0 Peaking FilterPeaking Filter 44 1200.001200.00 10.010.0 -3.0-3.0 Peaking FilterPeaking Filter 55 1700.001700.00 5.05.0 -2.0-2.0 Peaking FilterPeaking Filter 66 3700.003700.00 2.02.0 -4.0-4.0 Peaking FilterPeaking Filter 77 5500.005500.00 5.05.0 -3.0-3.0 Peaking FilterPeaking Filter 88 8700.008700.00 5.05.0 3.03.0 Peaking FilterPeaking Filter 99 13200.0013200.00 5.05.0 5.05.0 Peaking FilterPeaking Filter

表1 Table 1

表中提升或衰减幅度,正值表示对该频率段的信号进行提升,负值表示对该频率段的信号进行衰减。高、低音分频,低音的截止频率为 2700.00Hz,采用林奎茨-瑞丽(Linkwitz-Riley 48)48阶滤波器,末端增益为0dB;高音的起始频率为 2600.00Hz,同样采用林奎茨-瑞丽(Linkwitz-Riley 48)48阶滤波器,末端增益为2.0dB。 In the boost or attenuation range in the table, a positive value means boosting the signal of the frequency band, and a negative value means attenuating the signal of the frequency band. Treble and bass frequency division, the cut-off frequency of bass is 2700.00Hz, using Linkwitz-Riley (Linkwitz-Riley 48) 48-order filter, the end gain is 0dB; the starting frequency of treble is 2600.00Hz, also using Linkwitz-Riley -Riley (Linkwitz-Riley 48) 48th order filter with an end gain of 2.0dB.

如图 5 为一款使用DSP音频数字信号处理前级的音箱的可选音效及其对应的频响曲线。处理方法同样是对音频信号的某一频段进行提升或衰减,但使用的是一个10段参数均衡器,构建出一个虚拟的听觉环境效果,图中10号曲线MUSIC,不对信号做任何处理,为系统默认的效果状态;11号曲线LIVE构建的是演唱会现场的听觉效果;12号曲线CLUB构建的是俱乐部里的听觉效果;13号线SPEECH线则是在接麦克风时对语音信号的处理效果。 Figure 5 shows the optional sound effects and corresponding frequency response curves of a speaker that uses DSP audio digital signal processing pre-stage. The processing method is also to boost or attenuate a certain frequency band of the audio signal, but a 10-segment parametric equalizer is used to construct a virtual auditory environment effect. No. 10 curve MUSIC in the figure does not do any processing to the signal, for The default effect state of the system; curve 11 LIVE builds the auditory effect of the concert scene; curve 12 CLUB builds the auditory effect in the club; line 13 SPEECH is the processing effect of the voice signal when the microphone is connected .

如图 6 所示为一款使用DSP音频数字信号处理前级的音箱在安装位置不同时所进行的处理效果对比。如在POLE支架安装方式下,对1kHz以下的信号进行提升,60到500Hz之间约提升6dB,用来弥补声响向音箱背面扩散而噪成的低音响度减弱。 Figure 6 shows a comparison of the processing effects of a speaker using DSP audio digital signal processing pre-stage when the installation location is different. For example, in the POLE bracket installation mode, the signal below 1kHz is boosted, and the signal between 60 and 500Hz is boosted by about 6dB, which is used to compensate for the weakening of the bass caused by the sound spreading to the back of the speaker.

如图 7 所示为一款使用DSP音频数字信号处理前级的音箱高、低音处理模块的处理效果,对低音的处理采用一个尖峰滤波器,中心频率为65.00Hz,品质因素(Q值)为1.0,末端增益为0;对高音的处理同样采用一个尖峰滤波器,中心频率为11000.00Hz,品质因素(Q值)为5.0,末端增益为0。高、低音的提升或衰减范围均为 +10dB ~ -10dB,中间的曲线为不进行任何处理(0dB)时的曲线,上放为最大提升 10dB后的曲线,下放为最大衰减 -10dB 后的曲线。高、低音模块是为满足个人听觉爱好而设计。 As shown in Figure 7, the processing effect of a speaker high and bass processing module using DSP audio digital signal processing front stage, a peak filter is used for bass processing, the center frequency is 65.00Hz, and the quality factor (Q value) is 1.0, the end gain is 0; a peak filter is also used for treble processing, the center frequency is 11000.00Hz, the quality factor (Q value) is 5.0, and the end gain is 0. The boost or attenuation range of treble and bass is +10dB ~ -10dB, the curve in the middle is the curve without any processing (0dB), the curve after the maximum boost of 10dB, and the curve after the maximum attenuation of -10dB . The treble and bass modules are designed to meet personal listening preferences.

如图 8 所示为一款使用DSP音频数字信号处理前级的超低音音箱对频响曲线矫正的效果和超低音截止频率的设置。6号曲线为原始的(不带DSP音频数字信号处理)的频响曲线,8号曲线为带DSP音频数字信号处理对频响曲线矫正后的效果。超低音截止频率设置使用一个林奎茨-瑞丽(Linkwitz-Riley 48)48阶滤波器,10号曲线的截止频率为 150.00Hz,11号曲线的截止频率为120.00Hz,12号曲线的截止频率为100.00Hz,13号曲线的截止频率为80.00Hz,14号曲线的截止频率为60.00Hz,具体参数则由用户自行设置。 Figure 8 shows the effect of frequency response curve correction and the setting of subwoofer cutoff frequency by a subwoofer speaker using DSP audio digital signal processing pre-stage. Curve No. 6 is the original frequency response curve (without DSP audio digital signal processing), and No. 8 curve is the corrected effect of frequency response curve with DSP audio digital signal processing. The subwoofer cutoff frequency setting uses a Linkwitz-Riley 48 order filter, the cutoff frequency of curve 10 is 150.00Hz, the cutoff frequency of curve 11 is 120.00Hz, and the cutoff frequency of curve 12 is 100.00Hz, the cut-off frequency of curve No. 13 is 80.00Hz, and the cut-off frequency of curve No. 14 is 60.00Hz. The specific parameters are set by the user.

Claims (3)

1.一种DSP音频数字信号处理系统,其特征在于: 1. A DSP audio digital signal processing system, characterized in that: 所述DSP音频数字信号处理系统包括音频模拟信号输入接口模块、DSP数字信号处理模块、音频模拟信号输出接口模块、单片机微控制模块、显示模块及用户操作接口模块,所述显示模块、用户操作接口模块以及DSP数字信号处理模块均与单片机微控制模块信号连接,所述音频模拟信号输入接口模块以及音频模拟信号输出接口模块均与DSP数字信号处理模块信号连接; The DSP audio digital signal processing system includes an audio analog signal input interface module, a DSP digital signal processing module, an audio analog signal output interface module, a single-chip micro-control module, a display module and a user operation interface module, the display module, the user operation interface The module and the DSP digital signal processing module are all signal-connected with the microcontroller micro-control module, and the audio analog signal input interface module and the audio analog signal output interface module are all signal-connected with the DSP digital signal processing module; 所述音频模拟信号输入接口模块用于连接外部音频信号输入、信号放大及提高信噪比,并将处理后的信号送入DSP数字信号处理模块的模拟信号输入接口; The audio analog signal input interface module is used to connect external audio signal input, signal amplification and improve signal-to-noise ratio, and the processed signal is sent to the analog signal input interface of the DSP digital signal processing module; 所述DSP数字信号处理模块用于对输入的模拟音频信号进行A/D转换、数字信号处理,处理结束后再通过D/A转换输出经过分频后的高音、低音和超低音模拟信号到音频模拟信号输出接口模块; The DSP digital signal processing module is used to perform A/D conversion and digital signal processing on the input analog audio signal, and then output the frequency-divided treble, bass and subwoofer analog signals to the audio through D/A conversion. Analog signal output interface module; 所述音频模拟信号输出接口模块分高音输出通道、低音输出通道和超低音输出通道,高音输出通道和低音输出通道分别与功放后级高音、低音放大电路连接,超低音输出通道输出的超低音信号直接作为超低音音箱的信号源; The audio analog signal output interface module is divided into treble output channel, bass output channel and subwoofer output channel. Directly used as the signal source of the subwoofer; 所述显示模块作为用户接口界面,用于显示系统功能、模块运行状态、参数以及用户操作指示; The display module is used as a user interface interface for displaying system functions, module operating status, parameters and user operation instructions; 所述用户操作接口模块集成系统所有操作与设置为一体; The user operation interface module integrates all operations and settings of the system; 所述单片机微控制模块用于控制系统中其他模块的运行状态; The single-chip micro-control module is used to control the operating status of other modules in the system; 所述DSP数字信号处理模块包括依次信号连接的A/D转换模块、扬声器频响曲线矫正模块以及D/A转换模块。 The DSP digital signal processing module includes an A/D conversion module, a loudspeaker frequency response curve correction module and a D/A conversion module connected sequentially. 2.一种DSP音频数字信号处理方法,其特征在于,它包括以下步骤: 2. A DSP audio digital signal processing method is characterized in that it comprises the following steps: (1)、设定扬声器频响曲线矫正参数以及通过用户操作接口模块设定其他参数; (1) Set the speaker frequency response curve correction parameters and set other parameters through the user operation interface module; (2)、外部音频模拟信号输入音频模拟信号输入接口模块,然后经过音频模拟信号输入接口模块信号放大及提高信噪比后输入到A/D转换模块,然后再经过A/D转换模块转变成音频数字信号输入到扬声器频响曲线矫正模块; (2) The external audio analog signal is input to the audio analog signal input interface module, and then input to the A/D conversion module after the signal is amplified by the audio analog signal input interface module and the signal-to-noise ratio is improved, and then converted into The audio digital signal is input to the speaker frequency response curve correction module; (3)、扬声器频响曲线矫正模块根据步骤(1)设定的扬声器频响曲线矫正参数来对传输过来的音频数字信号进行处理; (3) The speaker frequency response curve correction module processes the transmitted audio digital signal according to the speaker frequency response curve correction parameters set in step (1); (4)、将步骤(3)处理后的音频数字信号输入到D/A转换模块,然后经过D/A转换模块转化变成音频模拟信号; (4), input the audio digital signal processed in step (3) to the D/A conversion module, and then convert it into an audio analog signal through the D/A conversion module; (5)、将步骤(4)转化后的音频模拟信号通过音频模拟信号输出接口模块输出。 (5) Outputting the audio analog signal converted in step (4) through the audio analog signal output interface module. 3.根据权利要求2所述的一种DSP音频数字信号处理方法,其特征在于:所述步骤(1)的设定扬声器频响曲线矫正参数主要包括以下步骤: 3. A kind of DSP audio digital signal processing method according to claim 2, is characterized in that: the setting speaker frequency response curve correction parameter of described step (1) mainly comprises the following steps: A、首先使用电声测试仪器,在标准的消声室里测得音箱的实际频率响应曲线和实际相位响应曲线; A. First use electro-acoustic testing equipment to measure the actual frequency response curve and actual phase response curve of the speaker in a standard anechoic chamber; B、将步骤A中所测得的实际频率响应曲线与由扬声器工程师和音箱工程师来制定的目标频率响应曲线进行对比,获得在音频各个频率点上的差值,从而得出一个扬声器频率响应曲线矫正表,所述矫正表包括所要插入的频率矫正点的个数,以及每个频率点所需滤波器的中心频率、滤波器类型、滤波器Q值及提升或衰减的幅度参数; B. Compare the actual frequency response curve measured in step A with the target frequency response curve formulated by the speaker engineer and speaker engineer to obtain the difference at each frequency point of the audio, thus obtaining a speaker frequency response curve Correction table, the correction table includes the number of frequency correction points to be inserted, and the center frequency of the filter required for each frequency point, filter type, filter Q value and the amplitude parameters of boost or attenuation; C、根据步骤B所获得的扬声器频率响应曲线矫正表中的参数来对扬声器频响曲线矫正模块进行设置; C. Set the speaker frequency response curve correction module according to the parameters in the speaker frequency response curve correction table obtained in step B; D、将步骤C所设置好的扬声器频响曲线矫正模块单独下载到专用的扬声器频率响应曲线矫正调试板中,并重复步骤A,对经过矫正后的音箱进行测试,获得经过矫正后实际测得的音箱频率响应曲线,并与步骤B中制定的目标频率响应曲线进行对比,如果两者还有区别,则对扬声器频率响应曲线矫正表进行微调整,然后根据微调整后扬声器频率响应曲线矫正表中的参数对扬声器频响曲线矫正模块进行设置,之后再重复步骤步骤D,直至两者相同; D. Download the speaker frequency response curve correction module set in step C to the dedicated speaker frequency response curve correction debugging board, and repeat step A to test the corrected speaker to obtain the actual measured value after correction The frequency response curve of the loudspeaker, and compare it with the target frequency response curve established in step B. If there is still a difference between the two, fine-tune the correction table for the frequency response curve of the speaker, and then use the correction table for the frequency response curve of the speaker after fine-tuning Set the parameters in the speaker frequency response curve correction module, and then repeat step D until the two are the same; E、将步骤D调整完成的扬声器频率响应曲线矫正表中的参数来对扬声器频响曲线矫正模块进行设置,再将设置好的扬声器频响曲线矫正模块添加到DSP数字信号处理模块中。 E. Adjust the parameters in the speaker frequency response curve correction table completed in step D to set the speaker frequency response curve correction module, and then add the set speaker frequency response curve correction module to the DSP digital signal processing module.
CN201410685104.0A 2014-11-25 2014-11-25 DSP audio digital signals processing system and method Expired - Fee Related CN104503297B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410685104.0A CN104503297B (en) 2014-11-25 2014-11-25 DSP audio digital signals processing system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410685104.0A CN104503297B (en) 2014-11-25 2014-11-25 DSP audio digital signals processing system and method

Publications (2)

Publication Number Publication Date
CN104503297A true CN104503297A (en) 2015-04-08
CN104503297B CN104503297B (en) 2017-06-30

Family

ID=52944701

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410685104.0A Expired - Fee Related CN104503297B (en) 2014-11-25 2014-11-25 DSP audio digital signals processing system and method

Country Status (1)

Country Link
CN (1) CN104503297B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105632511A (en) * 2015-12-29 2016-06-01 太仓美宅姬娱乐传媒有限公司 Sound processing method
CN105717834A (en) * 2016-01-29 2016-06-29 广州市昇博电子科技有限公司 DSP digital audio processing method
CN105764005A (en) * 2016-03-02 2016-07-13 宁波音王电声股份有限公司 Guitar power amplifier based on technology of DSP audio signal processing
CN106303836A (en) * 2016-11-15 2017-01-04 广东小天才科技有限公司 Method and device for adjusting stereo playing
CN106569780A (en) * 2016-11-04 2017-04-19 北京飞利信电子技术有限公司 Real-time audio processing method and system for multi-channel digital audio signal
CN106878806A (en) * 2017-03-09 2017-06-20 深圳创维-Rgb电子有限公司 Audio method of adjustment, device and television set
CN108471575A (en) * 2018-05-14 2018-08-31 广东小天才科技有限公司 Liquid discharge method for loudspeaker of mobile terminal and mobile terminal
CN110798777A (en) * 2019-04-30 2020-02-14 广州市新度音响有限公司 DSP power amplifier and sound system thereof
CN111314835A (en) * 2018-12-11 2020-06-19 无锡华润矽科微电子有限公司 Debugging system and method based on digital power amplifier chip
CN112887877A (en) * 2021-01-28 2021-06-01 歌尔科技有限公司 Audio parameter setting method and device, electronic equipment and storage medium
CN114650494A (en) * 2022-04-07 2022-06-21 广州天逸电子有限公司 DSP sound system and automatic acoustic testing method thereof
CN114968163A (en) * 2021-02-23 2022-08-30 华为技术有限公司 Audio playback method, electronic device, system and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101052242A (en) * 2006-04-05 2007-10-10 哈曼贝克自动系统股份有限公司 Method for automatically equalizing a sound system
CN201813517U (en) * 2010-10-22 2011-04-27 史润宇 Digital audio processing system based on digital sound processor (DSP)
CN201928400U (en) * 2010-12-27 2011-08-10 广州飞达音响专业器材有限公司 Digital active sounder with DSP (Digital Signal Processor) preprocessing function
CN102780945A (en) * 2012-08-09 2012-11-14 广州励丰文化科技股份有限公司 Active sound box with built-in DSP (digital signal processor) and speaker system calibration method
CN102780942A (en) * 2012-08-09 2012-11-14 广州励丰文化科技股份有限公司 Control method of active sound box with built-in DSP (digital signal processor)
CN203289623U (en) * 2012-12-31 2013-11-13 广州励丰文化科技股份有限公司 Active loudspeaker based on multiple-DSP (digital signal processor) system
US20140016797A1 (en) * 2012-07-16 2014-01-16 Ford Global Technologies, Llc Method for Changing Audio System Mode for Roof Open/Closed Condition
CN103916792A (en) * 2012-12-31 2014-07-09 广州励丰文化科技股份有限公司 Active loudspeaker based on multi-DSP (digital signal processor) system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101052242A (en) * 2006-04-05 2007-10-10 哈曼贝克自动系统股份有限公司 Method for automatically equalizing a sound system
CN201813517U (en) * 2010-10-22 2011-04-27 史润宇 Digital audio processing system based on digital sound processor (DSP)
CN201928400U (en) * 2010-12-27 2011-08-10 广州飞达音响专业器材有限公司 Digital active sounder with DSP (Digital Signal Processor) preprocessing function
US20140016797A1 (en) * 2012-07-16 2014-01-16 Ford Global Technologies, Llc Method for Changing Audio System Mode for Roof Open/Closed Condition
CN102780945A (en) * 2012-08-09 2012-11-14 广州励丰文化科技股份有限公司 Active sound box with built-in DSP (digital signal processor) and speaker system calibration method
CN102780942A (en) * 2012-08-09 2012-11-14 广州励丰文化科技股份有限公司 Control method of active sound box with built-in DSP (digital signal processor)
CN203289623U (en) * 2012-12-31 2013-11-13 广州励丰文化科技股份有限公司 Active loudspeaker based on multiple-DSP (digital signal processor) system
CN103916792A (en) * 2012-12-31 2014-07-09 广州励丰文化科技股份有限公司 Active loudspeaker based on multi-DSP (digital signal processor) system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张飞碧等: "《现代音响技术设计手册》", 31 July 2004, 机械工业出版社 *

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105632511A (en) * 2015-12-29 2016-06-01 太仓美宅姬娱乐传媒有限公司 Sound processing method
CN105717834A (en) * 2016-01-29 2016-06-29 广州市昇博电子科技有限公司 DSP digital audio processing method
CN105764005A (en) * 2016-03-02 2016-07-13 宁波音王电声股份有限公司 Guitar power amplifier based on technology of DSP audio signal processing
CN105764005B (en) * 2016-03-02 2019-01-29 音王电声股份有限公司 A kind of guitar power amplifier based on DSP Audio Signal Processing technology
CN106569780A (en) * 2016-11-04 2017-04-19 北京飞利信电子技术有限公司 Real-time audio processing method and system for multi-channel digital audio signal
CN106303836A (en) * 2016-11-15 2017-01-04 广东小天才科技有限公司 Method and device for adjusting stereo playing
CN106878806A (en) * 2017-03-09 2017-06-20 深圳创维-Rgb电子有限公司 Audio method of adjustment, device and television set
CN108471575B (en) * 2018-05-14 2020-07-03 广东小天才科技有限公司 A kind of speaker draining method of mobile terminal and mobile terminal
CN108471575A (en) * 2018-05-14 2018-08-31 广东小天才科技有限公司 Liquid discharge method for loudspeaker of mobile terminal and mobile terminal
CN111314835A (en) * 2018-12-11 2020-06-19 无锡华润矽科微电子有限公司 Debugging system and method based on digital power amplifier chip
CN110798777A (en) * 2019-04-30 2020-02-14 广州市新度音响有限公司 DSP power amplifier and sound system thereof
CN112887877A (en) * 2021-01-28 2021-06-01 歌尔科技有限公司 Audio parameter setting method and device, electronic equipment and storage medium
CN112887877B (en) * 2021-01-28 2023-09-08 歌尔科技有限公司 Audio parameter setting method and device, electronic equipment and storage medium
CN114968163A (en) * 2021-02-23 2022-08-30 华为技术有限公司 Audio playback method, electronic device, system and storage medium
CN114650494A (en) * 2022-04-07 2022-06-21 广州天逸电子有限公司 DSP sound system and automatic acoustic testing method thereof
CN114650494B (en) * 2022-04-07 2022-10-14 广州天逸电子有限公司 DSP sound system and sound system acoustic automatic testing method

Also Published As

Publication number Publication date
CN104503297B (en) 2017-06-30

Similar Documents

Publication Publication Date Title
CN104503297B (en) DSP audio digital signals processing system and method
CN101715158B (en) Audio signal device and method
CN108365827B (en) Band compression with dynamic threshold
US9674330B2 (en) Method of improving sound quality of mobile communication terminal under receiver mode
US20100322438A1 (en) Method and circuit for controlling an output of an audio signal of a battery-powered device
CN109429147B (en) Electronic device and control method thereof
US11064293B2 (en) Systems, apparatus and methods for dynamic range enhancement of audio signals
CN101641965A (en) Acoustic processing system and method for electronic device and mobile telephone terminal
WO2023005654A1 (en) Playback device, sounding device, and control apparatus thereof
JP6336830B2 (en) Level adjustment circuit, digital sound processor, audio amplifier integrated circuit, electronic equipment, audio signal automatic level adjustment method
TWI657435B (en) Audio processing device and method
CN101600132B (en) Method and device for adjusting audio file play effect on portable handheld device
CN103533270A (en) Audio playing equipment and video control method
CN100568716C (en) Volume controller
CN116346061B (en) Dynamic range control method and circuit based on peak value and effective value dual value detection
CN102576560B (en) electronic audio device
JP2019087821A (en) Audio circuit, on-vehicle audio device using the same, audio component device and electronic apparatus
CN205081946U (en) A sound circuit capable of eliminating POP noise and sound
CN105246017B (en) A kind of audio digital signal processor and system
TWI478487B (en) Audio power amplifying apparatus and audio power amplifying method thereof
CN100488237C (en) Graded silencing method for TV set
CN204190710U (en) Mini-cinema digital processing power amplifier
US20180192193A1 (en) Sound adjustment device for hearing protection and sound adjustment method thereof
CN217135682U (en) Anti-interference circuit and earphone
US20140376725A1 (en) Sound enhancement for powered speakers

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170630

CF01 Termination of patent right due to non-payment of annual fee