CN104158968A - Audio optimization circuit controlled based on DSP - Google Patents

Audio optimization circuit controlled based on DSP Download PDF

Info

Publication number
CN104158968A
CN104158968A CN201410405882.XA CN201410405882A CN104158968A CN 104158968 A CN104158968 A CN 104158968A CN 201410405882 A CN201410405882 A CN 201410405882A CN 104158968 A CN104158968 A CN 104158968A
Authority
CN
China
Prior art keywords
circuit
audio
output
voltage
dsp
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410405882.XA
Other languages
Chinese (zh)
Inventor
田海红
王海伟
田攀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Lantu Culture Communication Co Ltd Shinan Branch
Original Assignee
Qingdao Lantu Culture Communication Co Ltd Shinan Branch
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 Qingdao Lantu Culture Communication Co Ltd Shinan Branch filed Critical Qingdao Lantu Culture Communication Co Ltd Shinan Branch
Priority to CN201410405882.XA priority Critical patent/CN104158968A/en
Publication of CN104158968A publication Critical patent/CN104158968A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The present invention provides an audio optimization circuit controlled based on DSP, the circuit comprising: an audio input device and an audio output device, wherein the audio input device is connected to a loudspeaker through a first audio amplification circuit, and the audio output device receives speech signals from users and uploads the signals to a mobile communication network through a second audio amplification circuit and transmits the signals to another terminal equipment through the mobile communication network. The present invention compensates power of audio signals input into the audio input device and audio signals output from the audio output device via a compensation circuit, automatically adjusts volume of input and output audio signals according to a volume difference value between the received and output audio signals, makes users have comfortable call experiences, and is able to eliminate the configuration of volume buttons, and further improves the compactness and aesthetic property of mobile phones; and a filter and optimization module amplifies and attenuates audio signals of master and slave MICs, thereby greatly reducing the transmission rate of ambient noises.

Description

A kind of audio optimization circuit of controlling based on DSP
Technical field
The present invention relates to electronic applications, refer to especially a kind of audio optimization circuit of controlling based on DSP.
Background technology
Existing mobile phone is divided into smart mobile phone and non intelligent mobile phone, no matter be smart mobile phone or non intelligent mobile phone, the control of its volume is mainly by manually realizing the adjusting of volume, smart mobile phone is realized volume adjusting by real key or touch-screen virtual key, non intelligent mobile phone regulates volume by real key, at present, also do not have the mobile phone of automatic regulating volume to occur.And its tonequality of existing mobile phone is all accomplished the effect of high-fidelity as far as possible, i.e. former sound transmission, but for noisy occasions such as public transport, markets, the user of the other end often audibility is very poor, and user experiences greatly and reduces.
Summary of the invention
The present invention proposes a kind of audio optimization circuit of controlling based on DSP, has solved in prior art by button and has realized volume adjusting and noise by the problem of synchronous transmission.
Technical scheme of the present invention is achieved in that
A kind of audio optimization circuit of controlling based on DSP, comprise: voice input device and audio output device, described voice input device is connected to loud speaker by the first audio amplifier circuit, the voice signal of another terminal equipment that loud speaker receives to user's output, audio output device receives user's voice signal and it is uploaded to mobile communications network by the second audio amplifier circuit, by mobile communications network, is transferred to another terminal equipment;
Described voice input device is also connected to the first sample circuit, and the first sample circuit gathers the volume value of voice input device and is converted into corresponding the first magnitude of voltage;
Described audio output device is connected to the second sample circuit, and the second sample circuit gathers the volume value of audio output device and is converted into corresponding second voltage value;
The first comparator is hysteresis comparator, the first magnitude of voltage and second voltage value compared, and when the difference of the first magnitude of voltage and second voltage value exceeds preset range, the first comparator output difference threshold voltage;
Select circuit, be connected to the output of described the first comparator and receive described difference voltage, selecting the output of circuit is two, exports respectively on the occasion of voltage and negative value voltage;
The first compensating circuit and the second compensating circuit are on-off controller, the first compensating circuit be connected to described selection circuit on the occasion of voltage output end, the second compensating circuit is connected to the negative value voltage output end of described selection circuit, according to the adjustable pulse signal of described difference voltage output duty cycle, control respectively turning on and off of switching tube in the first audio amplifier circuit and the second audio amplifier circuit, regulation output is to the power of loud speaker and mobile communications network;
Between described audio output device and the second audio amplifier circuit, also comprise filtering and optimize module;
Described audio output device comprises:.
Be arranged on the main MIC of mobile phone front below and be arranged on top, the mobile phone back side from MIC;
Filtering and optimization module comprise the first subfilter, the second subfilter and senior filter; The first subfilter is processed main MIC voice data information, and output state is estimated x1 and estimation error covariance matrix p1; The second subfilter is processed from MIC voice data information, and output state is estimated x2 and estimation error covariance matrix p2; Described state estimation x1, x2 and estimation error covariance matrix p1, p2 delivers to senior filter, and by formula (1) and formula (2), merges together with the state estimation of senior filter, obtains global optimum and estimates and covariance matrix:
x ^ g = p g ( Σ i = 1 2 p i - 1 x ^ i ) - - - ( 1 )
p g = Σ i = 1 2 p i - 1 - - - ( 2 )
In formula, i=1,2;
The optimal estimation value of senior filter is reset to the state estimation of 2 subfilters,
x ^ i = x ^ g - - - ( 3 )
p i = β i - 1 p g - - - ( 4 )
Using main MIC voice data information as analyzing datum quantity, automatically adjust the size of p value, concrete adaptive algorithm is:
β 1, β 2meet β 1+ β 2=1 (5)
β 1 = 0.99 , p ≤ 2 2 / p , 2 ≤ p ≤ 5 1 / p , 5 ≤ p ≤ 10 2 / p , p ≥ 10 - - - ( 6 )
Described the second audio amplifier circuit receives described filtering and optimizes the output signal of module, and the audio signal after optimizing is sent to another mobile reception end by mobile communications network;
Described the first sample circuit, the second sample circuit, the first comparator, selection circuit, filtering and optimization module, the first compensating circuit and the second compensating circuit are realized by DSP circuit, described DSP circuit is TMS320DM642 chip, builds described the first sample circuit, the second sample circuit, the first comparator, select circuit, filtering and optimize module, the first compensating circuit and the second compensating circuit by programming in dsp chip inside.
The invention has the beneficial effects as follows:
By compensating circuit, to being input to the audio signal of the audio signal of voice input device and audio output device output, carry out power back-off, according to the volume difference of the audio signal that receives and export, automatically regulate the volume of input and output audio signal, make user's call experience comfortable, and the setting that can omit volume key, further improve compactedness and the aesthetic property of mobile phone; By filtering and optimization module, to main MIC with from the audio signal of MIC, amplify and decay, greatly reduce the transfer rate of environmental noise, improve user's the experience of listening to.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the control block diagram that the present invention is based on the audio optimization circuit of DSP control;
Fig. 2 is filtering of the present invention and the control block diagram of optimizing module.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
As shown in Figure 1, the audio optimization circuit of controlling based on DSP of the present invention, comprise: voice input device 100 and audio output device 400, described voice input device is connected to loud speaker 800 by the first audio amplifier circuit 700, the voice signal of another terminal equipment that loud speaker receives to user's output, audio output device 400 receives user's voice signal and it is uploaded to mobile communications network 810 by the second audio amplifier circuit 710, by mobile communications network, is transferred to another terminal equipment.
Described voice input device is also connected to the first sample circuit 200, the first sample circuits and gathers the volume value of voice input device and be converted into corresponding the first magnitude of voltage; Described audio output device is connected to the second sample circuit 300, the second sample circuits and gathers the volume value of audio output device and be converted into corresponding second voltage value.
The first comparator 500 is hysteresis comparator, the first magnitude of voltage and second voltage value compared, and when the difference of the first magnitude of voltage and second voltage value exceeds preset range, the first comparator output difference threshold voltage.Select circuit 510, be connected to the output of described the first comparator and receive described difference voltage, selecting the output of circuit is two, exports respectively on the occasion of voltage and negative value voltage.
The first compensating circuit 600 and the second compensating circuit 610 are on-off controller, the first compensating circuit be connected to described selection circuit on the occasion of voltage output end, the second compensating circuit is connected to the negative value voltage output end of described selection circuit, according to the adjustable pulse signal of described difference voltage output duty cycle, control respectively turning on and off of switching tube in the first audio amplifier circuit 700 and the second audio amplifier circuit 710, regulation output is to the power of loud speaker and mobile communications network.
As depicted in figs. 1 and 2, between described audio output device 400 and the second audio amplifier circuit 710, also comprise filtering and optimize module 130; Audio output device 400 of the present invention, comprising: be arranged on the main MIC110 of mobile phone front below and be arranged on top, the mobile phone back side from MIC120.
Filtering and optimization module 130 comprise the first subfilter 1311, the second subfilter 1312 and senior filter 1314; The first subfilter is processed main MIC voice data information, and output state is estimated x1 and estimation error covariance matrix p1; The second subfilter is processed from MIC voice data information, and output state is estimated x2 and estimation error covariance matrix p2; Described state estimation x1, x2 and estimation error covariance matrix p1, p2 delivers to senior filter, and by formula (1) and formula (2), merges together with the state estimation of senior filter, obtains global optimum and estimates and covariance matrix:
x ^ g = p g ( Σ i = 1 2 p i - 1 x ^ i ) - - - ( 1 )
p g = Σ i = 1 2 p i - 1 - - - ( 2 )
In formula, i=1,2;
The optimal estimation value of senior filter is reset to the state estimation of 2 subfilters,
x ^ i = x ^ g - - - ( 3 )
p i = β i - 1 p g - - - ( 4 )
Using main MIC voice data information as analyzing datum quantity, automatically adjust the size of p value, concrete adaptive algorithm is:
β 1, β 2meet β 1+ β 2=1 (5)
β 1 = 0.99 , p ≤ 2 2 / p , 2 ≤ p ≤ 5 1 / p , 5 ≤ p ≤ 10 2 / p , p ≥ 10 - - - ( 6 )
Described the second audio amplifier circuit receives described filtering and optimizes the output signal of module, and the audio signal after optimizing is sent to another mobile reception end by mobile communications network.
Described the first sample circuit, the second sample circuit, the first comparator, select circuit, filtering and optimization module, the first compensating circuit and the second compensating circuit can be realized by discrete form, also can realize by integrated form, discrete form is described the first sample circuit, the second sample circuit, the first comparator, select circuit, filtering and optimization module, the first compensating circuit and the second compensating circuit are realized by a plurality of discrete chips and peripheral component thereof, integrated form sets up described the first sample circuit by the programming of DSP circuit in dsp chip inside, the second sample circuit, the first comparator, select circuit, filtering and optimization module, the first compensating circuit and the second compensating circuit, described DSP circuit is TMS320DM642 chip.
Up-to-date fixed DSP in the TMS320DM642 ShiTI C6000 of company series DSP, its core is C6416 type high-performance digital signal processor, there is extremely strong handling property, flexibility and the programmability of height, simultaneously peripheral integrated very complete equipment and the interface such as audio frequency, video and network service.
TMS320DM642 chip comprises: 3 configurable video ports (VPORT0-2) can be realized seamless link with general video coding and decoding device, supports various video resolution and video standard, supports RAW video input/output, transport stream mode; 1 10/100Mb/s Ethernet interface (EMAC), meets IEEE802.3 standard; 1 multichannel band buffered audio serial port (McASP), supports I2S, DIT, S/PDIF, IEC60958-1, the audio formats such as AES-3, CP-430; 2 multichannel band buffering serial ports (McBSP), adopt RS232 level to drive; 1 VCXO interpolation control unit (VIC), supports that audio/video is synchronous; 1 32,66M hertz, the master/slave pci interface of 3.3V, follow PCI2.2 standard; 1 configurable 16/32 host interface of user (HPI); 1 16 general input/output port (GPIO); 1 64 external memory interfaces (EMIF), can with most of asynchronous memories (SRAM, EPROM) and synchronous memories (SDRAM, SBSRAM, ZBT SRAM, FIFO) seamless link, maximum addressable external memory storage space is 1024MB; 1 enhancement mode direct memory access controller (EDMA) with 64 autonomous channels, tunnel; 1 data management input/output module (MDIO); 1 I2C bus module; 3 32 general purpose timers; 1 jtag interface that meets IEEE1149.1 standard and daughter board interface etc.
The present invention carries out power back-off by compensating circuit to being input to the audio signal of the audio signal of voice input device and audio output device output, according to the volume difference of the audio signal that receives and export, automatically regulate the volume of input and output audio signal, make user's call experience comfortable, and the setting that can omit volume key, further improve compactedness and the aesthetic property of mobile phone; By filtering and optimization module, to main MIC with from the audio signal of MIC, amplify and decay, greatly reduce the transfer rate of environmental noise, improve user's the experience of listening to.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (1)

1. an audio optimization circuit of controlling based on DSP, comprise: voice input device and audio output device, described voice input device is connected to loud speaker by the first audio amplifier circuit, the voice signal of another terminal equipment that loud speaker receives to user's output, audio output device receives user's voice signal and it is uploaded to mobile communications network by the second audio amplifier circuit, by mobile communications network, be transferred to another terminal equipment, it is characterized in that
Described voice input device is also connected to the first sample circuit, and the first sample circuit gathers the volume value of voice input device and is converted into corresponding the first magnitude of voltage;
Described audio output device is connected to the second sample circuit, and the second sample circuit gathers the volume value of audio output device and is converted into corresponding second voltage value;
The first comparator is hysteresis comparator, the first magnitude of voltage and second voltage value compared, and when the difference of the first magnitude of voltage and second voltage value exceeds preset range, the first comparator output difference threshold voltage;
Select circuit, be connected to the output of described the first comparator and receive described difference voltage, selecting the output of circuit is two, exports respectively on the occasion of voltage and negative value voltage;
The first compensating circuit and the second compensating circuit are on-off controller, the first compensating circuit be connected to described selection circuit on the occasion of voltage output end, the second compensating circuit is connected to the negative value voltage output end of described selection circuit, according to the adjustable pulse signal of described difference voltage output duty cycle, control respectively turning on and off of switching tube in the first audio amplifier circuit and the second audio amplifier circuit, regulation output is to the power of loud speaker and mobile communications network;
Between described audio output device and the second audio amplifier circuit, also comprise filtering and optimize module;
Described audio output device comprises:.
Be arranged on the main MIC of mobile phone front below and be arranged on top, the mobile phone back side from MIC;
Filtering and optimization module comprise the first subfilter, the second subfilter and senior filter; The first subfilter is processed main MIC voice data information, and output state is estimated x1 and estimation error covariance matrix p1; The second subfilter is processed from MIC voice data information, and output state is estimated x2 and estimation error covariance matrix p2; Described state estimation x1, x2 and estimation error covariance matrix p1, p2 delivers to senior filter, and by formula (1) and formula (2), merges together with the state estimation of senior filter, obtains global optimum and estimates and covariance matrix:
x ^ g = p g ( Σ i = 1 2 p i - 1 x ^ i ) - - - ( 1 )
p g = Σ i = 1 2 p i - 1 - - - ( 2 )
In formula, i=1,2;
The optimal estimation value of senior filter is reset to the state estimation of 2 subfilters,
x ^ i = x ^ g - - - ( 3 )
p i = β i - 1 p g - - - ( 4 )
Using main MIC voice data information as analyzing datum quantity, automatically adjust the size of p value, concrete adaptive algorithm is:
β 1, β 2meet β 1+ β 2=1 (5)
β 1 = 0.99 , p ≤ 2 2 / p , 2 ≤ p ≤ 5 1 / p , 5 ≤ p ≤ 10 2 / p , p ≥ 10 - - - ( 6 )
Described the second audio amplifier circuit receives described filtering and optimizes the output signal of module, and the audio signal after optimizing is sent to another mobile reception end by mobile communications network;
Described the first sample circuit, the second sample circuit, the first comparator, selection circuit, filtering and optimization module, the first compensating circuit and the second compensating circuit are realized by DSP circuit, described DSP circuit is TMS320DM642 chip, builds described the first sample circuit, the second sample circuit, the first comparator, select circuit, filtering and optimize module, the first compensating circuit and the second compensating circuit by programming in dsp chip inside.
CN201410405882.XA 2014-08-18 2014-08-18 Audio optimization circuit controlled based on DSP Pending CN104158968A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410405882.XA CN104158968A (en) 2014-08-18 2014-08-18 Audio optimization circuit controlled based on DSP

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410405882.XA CN104158968A (en) 2014-08-18 2014-08-18 Audio optimization circuit controlled based on DSP

Publications (1)

Publication Number Publication Date
CN104158968A true CN104158968A (en) 2014-11-19

Family

ID=51884371

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410405882.XA Pending CN104158968A (en) 2014-08-18 2014-08-18 Audio optimization circuit controlled based on DSP

Country Status (1)

Country Link
CN (1) CN104158968A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104158943A (en) * 2014-08-21 2014-11-19 青岛蓝图文化传播有限公司市南分公司 Audio optimization circuit
CN104219366A (en) * 2014-09-09 2014-12-17 青岛蓝图文化传播有限公司市南分公司 Volume adjustment circuit controlled by DSP (digital signal processor)
CN104270497A (en) * 2014-09-09 2015-01-07 青岛蓝图文化传播有限公司市南分公司 Tone quality optimization system based on digital control

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000115351A (en) * 1998-09-30 2000-04-21 Matsushita Electric Ind Co Ltd Communication system provided with acoustic echo canceller
CN103002106A (en) * 2012-10-16 2013-03-27 东莞宇龙通信科技有限公司 Mobile terminal and method for adjusting volume thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000115351A (en) * 1998-09-30 2000-04-21 Matsushita Electric Ind Co Ltd Communication system provided with acoustic echo canceller
CN103002106A (en) * 2012-10-16 2013-03-27 东莞宇龙通信科技有限公司 Mobile terminal and method for adjusting volume thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
贺娅莉: "《多传感器信息融合在车载组合导航系统中的应用研究》", 《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104158943A (en) * 2014-08-21 2014-11-19 青岛蓝图文化传播有限公司市南分公司 Audio optimization circuit
CN104219366A (en) * 2014-09-09 2014-12-17 青岛蓝图文化传播有限公司市南分公司 Volume adjustment circuit controlled by DSP (digital signal processor)
CN104270497A (en) * 2014-09-09 2015-01-07 青岛蓝图文化传播有限公司市南分公司 Tone quality optimization system based on digital control

Similar Documents

Publication Publication Date Title
CN101924828A (en) Mobile terminal, method and device for adjusting volume thereof
CN202602769U (en) Conversation type electronic product with echo inhibition function
CN104717588A (en) Low-power-consumption in-ear type active noise reduction earphone and noise reduction method
CN103024621A (en) Bluetooth headset and method for utilizing Bluetooth headset to communicate
CN201839344U (en) Mobile terminal capable of adjusting volume automatically
US10966019B2 (en) Audio signal processing device and sound box
CN107864441A (en) A kind of Bluetooth chip with hearing-aid function, bluetooth earphone and radio hearing aid system
CN105228055A (en) Audio bass bucking-out system and compensation method thereof
CN104158968A (en) Audio optimization circuit controlled based on DSP
CN103702047A (en) Audio conversion device and television system
CN106941643B (en) A kind of multi-functional intelligent sound control method of set
CN201805538U (en) Circuit for improving play sound articulation according to ambient sound, and device thereof
CN203968327U (en) A kind of exempt from extract carry out low coverage dialogue earphone
CN104158939A (en) Audio regulating circuit based on DSP (Digital Signal Processor) control
CN104158973A (en) Numerical control speech circuit
CN203151729U (en) Multifunctional earphone
CN104184428A (en) Audio processing device based on DSP control
CN104952457A (en) Device and method for digital hearing aiding and voice enhancing processing
CN201887833U (en) Device for automatically adjusting volume of mobile phone
CN104185121A (en) Audio frequency adjusting circuit
CN104158942A (en) Voice processing device
CN203968347U (en) A kind of sound system
CN202957952U (en) Bluetooth headset
CN104158929A (en) Voice amplifying circuit based on DSP (Digital Signal Processor) control
CN204377082U (en) Controlled in wireless multi-media sound system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20141119

WD01 Invention patent application deemed withdrawn after publication