CN104158929A - Voice amplifying circuit based on DSP (Digital Signal Processor) control - Google Patents

Voice amplifying circuit based on DSP (Digital Signal Processor) control Download PDF

Info

Publication number
CN104158929A
CN104158929A CN201410407045.0A CN201410407045A CN104158929A CN 104158929 A CN104158929 A CN 104158929A CN 201410407045 A CN201410407045 A CN 201410407045A CN 104158929 A CN104158929 A CN 104158929A
Authority
CN
China
Prior art keywords
circuit
output
audio
voltage
transistor
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
CN201410407045.0A
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 Shengjia Information Technology Co Ltd
Original Assignee
Qingdao Shengjia Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Shengjia Information Technology Co Ltd filed Critical Qingdao Shengjia Information Technology Co Ltd
Priority to CN201410407045.0A priority Critical patent/CN104158929A/en
Publication of CN104158929A publication Critical patent/CN104158929A/en
Pending legal-status Critical Current

Links

Abstract

The invention provides a voice amplifying circuit based on DSP (Digital Signal Processor) control. The voice amplifying circuit comprises an audio input device and an audio output device, wherein the audio input device is connected to a loudspeaker through a first audio amplifying circuit; the loudspeaker is used for outputting a voice signal received from another terminal device to a user; and the audio output device is used for receiving the voice signal of the user, uploading the voice signal to a mobile communication network through a second audio amplifying circuit, and transmitting the voice signal to another terminal device through the mobile communication network. Power compensation is performed on an audio signal input into the audio input device and an audio signal output by the audio output device through a compensation circuit, and the volumes of the input and output audio signals are adjusted automatically according to a volume differential value between the received and output audio signals, so that comfortable conversation experience is brought to the user; and moreover, setting of volume keys is not needed, and the compactness and attractiveness of a mobile phone are further improved.

Description

A kind of voice amplifying circuit of controlling based on DSP
Technical field
The present invention relates to electronic applications, refer to especially a kind of voice amplifying circuit of controlling based on DSP.
Background technology
Existing mobile phone has experienced non intelligent mobile phone and smart mobile phone epoch, especially since apple is issued iPhone smart mobile phone, having there is revolutionary variation in the general layout of Mobile Industry, progressively enters the smart mobile phone epoch, and the development of related industry has also entered fast rise passage.2008, whole world smart mobile phone sales volume is 1.39 hundred million, only account for 11.40% of global mobile phone sales volume, by 2013, whole world smart mobile phone sales volume has reached 9.68 hundred million, accounts for 53.56% of global mobile phone sales volume, compares 2008 and increases nearly six times, annual average compound growth rate is 47.36%, far above the growth rate of global mobile phone sales volume.
No matter be smart mobile phone or non intelligent mobile phone, the control of its volume is mainly the adjusting by manually realizing volume, and smart mobile phone is realized volume adjusting by real key or touch-screen virtual key, and non intelligent mobile phone regulates volume by real key, at present, also do not have the mobile phone of automatic regulating volume to occur.
Summary of the invention
The present invention proposes a kind of voice amplifying circuit of controlling based on DSP, has solved the problem that realizes volume adjusting in prior art by button.
Technical scheme of the present invention is achieved in that
A kind of voice amplifying 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, loud speaker is exported the voice signal of another terminal equipment receiving to user, audio output device receives user's voice signal and it is uploaded to mobile communications network by the second audio amplifier circuit, be transferred to another terminal equipment by mobile communications network
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 in the time that 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;
Described the first sample circuit, the second sample circuit, the first comparator, selection circuit, 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, selects circuit, the first compensating circuit and the second compensating circuit by programming in dsp chip inside;
Described the first audio amplifier circuit comprises:
Transformer, comprise former limit winding and secondary winding, former limit winding comprises first end and the second end, secondary winding comprises first end and the second end, former limit winding first end is connected to battery, secondary winding the second end is connected to secondary earth potential, and former limit winding first end and secondary winding the second end are Same Name of Ends;
The first switching tube, its source electrode is connected to transformer primary side winding the second end, and its drain electrode is connected to former limit earth potential, and its grid is connected to the first switch driver;
The first switch driver, comprise the first transistor and transistor seconds, the first transistor is NPN transistor, transistor seconds is PNP transistor, the base stage of the first transistor and transistor seconds links together as control end, and control end receives the pulse signal of described the first compensating circuit output, and the emitter of the first transistor and transistor seconds links together as output, the collector electrode of the first transistor is connected to described battery, and the collector electrode of transistor seconds is connected to former limit earth potential;
The first diode, its anodic bonding is to transformer secondary winding first end, and its negative electrode is connected to the first inductor;
The common port of the first inductor and the first capacitor is as output, and the other end of the first capacitor is connected to secondary earth potential;
Described the first audio amplifier circuit is identical with the structure of the second audio amplifier circuit.
The invention has the beneficial effects as follows:
By compensating circuit, the audio signal that is input to the audio signal of voice input device and audio output device output is carried out to power back-off, automatically regulate the volume of input and output audio signal according to the volume difference of the audio signal receiving and export, make user's call experience comfortable, and the setting that can omit volume key, further improve compactedness and the aesthetic property of mobile phone.
Brief description of the drawings
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 skill in the art, 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 voice amplifying circuit of DSP control;
Fig. 2 is the circuit diagram of the first audio amplifier circuit of the present invention and the second audio amplifier circuit.
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, instead of whole embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art, 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 voice amplifying 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, loud speaker is exported the voice signal of another terminal equipment receiving to user, 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, is transferred to another terminal equipment by mobile communications network.
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 in the time that 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.
Described the first sample circuit, the second sample circuit, the first comparator, selection circuit, the first compensating circuit and the second compensating circuit can be realized by discrete form, also can realize by integrated form, discrete form i.e. the first sample circuit, the second sample circuit, the first comparator, selection circuit, the first compensating circuit and the second compensating circuit realizes by multiple discrete chips and peripheral component thereof; Integrated form is set up the first sample circuit, the second sample circuit, the first comparator, is selected circuit, the first compensating circuit and the second compensating circuit by the programming of DSP circuit in dsp chip inside, described DSP circuit is TMS320DM642 chip.
TMS320DM642 is up-to-date fixed DSP in the C6000 of TI 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, equipment and the interfaces such as simultaneously peripheral integrated very complete 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, support various video resolution and video standard, support 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 specification; 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, ZBTSRAM, FIFO) seamless link, maximum addressable external memory storage space is 1024MB; 1 has the enhancement mode direct memory access controller (EDMA) of 64 autonomous channels, tunnel; 1 data management input/output module (MDIO); 1 I2C bus module; 3 32 general purpose timers; 1 meets jtag interface and the daughter board interface etc. of IEEE1149.1 standard.
As shown in Figure 2, above-mentioned the first audio amplifier circuit is identical with the structure of the second audio amplifier circuit, specifically comprises:
Transformer 51, comprise former limit winding and secondary winding, former limit winding comprises first end and the second end, secondary winding comprises first end and the second end, former limit winding first end is connected to battery as input, secondary winding the second end is connected to secondary earth potential, and former limit winding first end and secondary winding the second end are Same Name of Ends; The first switching tube 52, its source electrode is connected to transformer primary side winding the second end, and its drain electrode is connected to former limit earth potential, and its grid is connected to the first switch driver 53; The first switch driver 53, comprise the first transistor and transistor seconds, the first transistor is NPN transistor, transistor seconds is PNP transistor, the base stage of the first transistor and transistor seconds links together as control end, the emitter of the first transistor and transistor seconds links together as output, and the collector electrode of the first transistor is connected to battery, and the collector electrode of transistor seconds is connected to former limit earth potential; The first diode 54, its anodic bonding is to transformer secondary winding first end, and its negative electrode is connected to the first inductor 55; The common port of the first inductor 55 and the first capacitor 56 is as output, and the other end of the first capacitor 56 is connected to secondary earth potential.
The impulse circuit of described the first compensating circuit and the output of the second compensating circuit is couple to the control end of the first switch driver 53, the turn-on and turn-off of control switch pipe.
The present invention carries out power back-off by compensating circuit to the audio signal that is input to the audio signal of voice input device and audio output device output, automatically regulate the volume of input and output audio signal according to the volume difference of the audio signal receiving and export, make user's call experience comfortable, and the setting that can omit volume key, further improve compactedness and the aesthetic property of mobile phone.
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 amendment of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (1)

1. a voice amplifying 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, loud speaker is exported the voice signal of another terminal equipment receiving to user, audio output device receives user's voice signal and it is uploaded to mobile communications network by the second audio amplifier circuit, be transferred to another terminal equipment by mobile communications network, 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 in the time that 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;
Described the first sample circuit, the second sample circuit, the first comparator, selection circuit, 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, selects circuit, the first compensating circuit and the second compensating circuit by programming in dsp chip inside;
Described the first audio amplifier circuit comprises:
Transformer, comprise former limit winding and secondary winding, former limit winding comprises first end and the second end, secondary winding comprises first end and the second end, former limit winding first end is connected to battery, secondary winding the second end is connected to secondary earth potential, and former limit winding first end and secondary winding the second end are Same Name of Ends;
The first switching tube, its source electrode is connected to transformer primary side winding the second end, and its drain electrode is connected to former limit earth potential, and its grid is connected to the first switch driver;
The first switch driver, comprise the first transistor and transistor seconds, the first transistor is NPN transistor, transistor seconds is PNP transistor, the base stage of the first transistor and transistor seconds links together as control end, and control end receives the pulse signal of described the first compensating circuit output, and the emitter of the first transistor and transistor seconds links together as output, the collector electrode of the first transistor is connected to described battery, and the collector electrode of transistor seconds is connected to former limit earth potential;
The first diode, its anodic bonding is to transformer secondary winding first end, and its negative electrode is connected to the first inductor;
The common port of the first inductor and the first capacitor is as output, and the other end of the first capacitor is connected to secondary earth potential;
Described the first audio amplifier circuit is identical with the structure of the second audio amplifier circuit.
CN201410407045.0A 2014-08-19 2014-08-19 Voice amplifying circuit based on DSP (Digital Signal Processor) control Pending CN104158929A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410407045.0A CN104158929A (en) 2014-08-19 2014-08-19 Voice amplifying circuit based on DSP (Digital Signal Processor) control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410407045.0A CN104158929A (en) 2014-08-19 2014-08-19 Voice amplifying circuit based on DSP (Digital Signal Processor) control

Publications (1)

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

Family

ID=51884332

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410407045.0A Pending CN104158929A (en) 2014-08-19 2014-08-19 Voice amplifying circuit based on DSP (Digital Signal Processor) control

Country Status (1)

Country Link
CN (1) CN104158929A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016131287A1 (en) * 2015-07-21 2016-08-25 中兴通讯股份有限公司 Live sound optimization apparatus, terminal, and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016131287A1 (en) * 2015-07-21 2016-08-25 中兴通讯股份有限公司 Live sound optimization apparatus, terminal, and method

Similar Documents

Publication Publication Date Title
CN104469620B (en) A kind of sound output adjustable acoustic product on a large scale
CN105096976B (en) A kind of audio system for controlling DSP with bluetooth approach by intelligent APP
WO2017101170A1 (en) Three-button earphone control box optimization circuit capable of switching android or apple system
CN103702047A (en) Audio conversion device and television system
CN201805538U (en) Circuit for improving play sound articulation according to ambient sound, and device thereof
CN104158968A (en) Audio optimization circuit controlled based on DSP
CN104158929A (en) Voice amplifying circuit based on DSP (Digital Signal Processor) control
CN104158971A (en) Digital voice circuit
CN104301518A (en) Voice amplifying circuit based on digital control
CN104640018A (en) Electronic equipment and audio output circuit
CN104158939A (en) Audio regulating circuit based on DSP (Digital Signal Processor) control
CN104158967A (en) Voice circuit controlled based on DSP
CN104158973A (en) Numerical control speech circuit
CN204377082U (en) Controlled in wireless multi-media sound system
CN205305102U (en) Circuit is optimized to changeable ann triple bond headphone structure box tall and erect or apple system
CN203968347U (en) A kind of sound system
CN104144245A (en) Mobile phone volume adjustment device based on digital control
CN104243695A (en) Intelligent sound volume adjusting circuit based on numerical control
CN206775627U (en) A kind of household television acoustics
CN104219366A (en) Volume adjustment circuit controlled by DSP (digital signal processor)
CN104158942A (en) Voice processing device
CN203387659U (en) Multifunctional sound equipment control circuit
CN102957985A (en) Method and system for automatically adjusting volume as well as audio playing terminal
CN104219389A (en) Volume control system based on digital control
CN206948592U (en) Multichannel for handling more radio signals inputs gates public address set circuit

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20141119

WD01 Invention patent application deemed withdrawn after publication