CN104219366A - Volume adjustment circuit controlled by DSP (digital signal processor) - Google Patents
Volume adjustment circuit controlled by DSP (digital signal processor) Download PDFInfo
- Publication number
- CN104219366A CN104219366A CN201410457874.XA CN201410457874A CN104219366A CN 104219366 A CN104219366 A CN 104219366A CN 201410457874 A CN201410457874 A CN 201410457874A CN 104219366 A CN104219366 A CN 104219366A
- Authority
- CN
- China
- Prior art keywords
- circuit
- voltage
- audio
- dsp
- output
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Abstract
The invention provides a volume adjustment circuit controlled by a DSP (digital signal processor). The volume adjustment circuit comprises an audio input device and an audio output device. The audio input device is connected to a loudspeaker through a first audio amplifying circuit. The loudspeaker outputs a received voice signal of the other terminal equipment to the user. The audio output device receives the voice signal of the user and transmits the same to a mobile communication network through a second audio amplifying circuit. The voice signal of the user is finally transmitted to the other terminal equipment through the mobile communication network. According to the arrangement, power compensations are performed on audio signals, inputted in the audio input device, and other audio signals, outputted from the audio output device, through a compensation circuit, and the volumes of the inputted and the outputted audio signals are automatically adjusted according to the volume difference value of the inputted and the outputted audio signals. Thus calling experience of the user is comfortable, a volume key is omitted, and compactness and attractive appearance of the phone are improved.
Description
Technical field
The present invention relates to electronic applications, refer to a kind of volume control circuit controlled based on DSP especially.
Background technology
Existing mobile phone is divided into smart mobile phone and non intelligent mobile phone, and the non intelligent mobile phone of Performance Ratio of general intelligence mobile phone is good, but non intelligent mobile phone is stablized than smart mobile phone, and most of non intelligent mobile phone and smart mobile phone use the CPU of Britain ARM corporate structure.The dominant frequency of smart mobile phone is higher, and the speed of service is fast, and smart mobile phone handling procedure task is quicker, daily more convenient, but not the dominant frequency of smart mobile phone is then lower, and the speed of service is also slow.
No matter be smart mobile phone or non intelligent mobile phone, the control of its volume mainly manually realizes the adjustment of volume, and smart mobile phone realizes volume adjusting by real key or touch-screen virtual key, and non intelligent mobile phone regulates volume by real key, at present, the mobile phone of automatic regulating volume is not also had to occur.
Summary of the invention
The present invention proposes a kind of volume control circuit controlled based on DSP, solves the problem being realized volume adjusting in prior art by button.
Technical scheme of the present invention is achieved in that
A kind of volume control circuit controlled 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 exports the voice signal of another terminal equipment received to user, audio output device receives the voice signal of user and it is uploaded to mobile communications network by the second audio amplifier circuit, another terminal equipment is transferred to 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 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 magnitude of voltage;
First comparator is hysteresis comparator, is compared by the first magnitude of voltage with the second magnitude of voltage, when the difference of the first magnitude of voltage and the second magnitude of voltage exceeds preset range, and the first comparator output difference threshold voltage;
Selection circuit, is connected to the output of described first comparator and receives described difference voltage, and the output of selection circuit is two, exports on the occasion of voltage and negative voltage respectively;
First compensating circuit and the second compensating circuit are on-off controller, first compensating circuit be connected to described selection circuit on the occasion of voltage output end, second compensating circuit is connected to the negative voltage output of described selection circuit, the pulse signal adjustable according to described difference voltage output duty cycle, control turning on and off of the first audio amplifier circuit and the second audio amplifier circuit breaker in middle pipe respectively, regulation output is to the power of loud speaker and mobile communications network;
Described first sample circuit, the second sample circuit, the first comparator, selection circuit, the first compensating circuit and the second compensating circuit are by DSP circuit realiration, described DSP circuit is TMS320DM642 chip, builds described first sample circuit, the second sample circuit, the first comparator, selection circuit, 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, power back-off is carried out to the audio signal that the audio signal and audio output device that are input to voice input device export, automatically the volume of input and output audio signal is regulated according to the volume difference of the audio signal received and export, the call of user is experienced comfortable, and the setting of volume key can be omitted, improve compactedness and the aesthetic property of mobile phone further.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the control block diagram that the present invention is based on the volume control circuit that DSP controls.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
As shown in Figure 1, the volume control circuit controlled 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 exports the voice signal of another terminal equipment received to user, audio output device 400 receives the voice signal of user 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, first sample circuit and gathers the volume value of voice input device and be converted into corresponding first magnitude of voltage; Described audio output device is connected to the second sample circuit 300, second sample circuit and gathers the volume value of audio output device and be converted into corresponding second magnitude of voltage.
First comparator 500 is hysteresis comparator, is compared by the first magnitude of voltage with the second magnitude of voltage, when the difference of the first magnitude of voltage and the second magnitude of voltage exceeds preset range, and the first comparator output difference threshold voltage.Selection circuit 510, is connected to the output of described first comparator and receives described difference voltage, and the output of selection circuit is two, exports respectively on the occasion of voltage and negative voltage.
First compensating circuit 600 and the second compensating circuit 610 are on-off controller, first compensating circuit be connected to described selection circuit on the occasion of voltage output end, second compensating circuit is connected to the negative voltage output of described selection circuit, the pulse signal adjustable according to described difference voltage output duty cycle, control turning on and off of the first audio amplifier circuit 700 and the second audio amplifier circuit 710 breaker in middle pipe respectively, regulation output is to the power of loud speaker and mobile communications network.
Described 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 be realized 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 are realized by multiple discrete chip and peripheral component thereof; Namely integrated form sets up the first sample circuit, the second sample circuit, the first comparator, selection circuit, the first compensating circuit and the second compensating circuit by the programming of DSP circuit in dsp chip inside, and described DSP circuit is TMS320DM642 chip.
TMS320DM642 is fixed DSP up-to-date in TI company C6000 series DSP, its core is C6416 type high-performance digital signal processor, there is extremely strong handling property, the flexibility of height and programmability, periphery is integrated with equipment and the interfaces such as very complete audio frequency, video and network service simultaneously.
TMS320DM642 chip comprises: 3 configurable video ports (VPORT0-2) can realize 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 the audio format such as I2S, DIT, S/PDIF, IEC60958-1, AES-3, CP-430; 2 multichannel band Buffered Serial Port (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 (HPI) of user; 1 16 general input/output port (GPIO); 1 64 external memory interfaces (EMIF), can with most of asynchronous memory (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 and daughterboard interface etc. meeting IEEE1149.1 standard.
The present invention carries out power back-off by compensating circuit to the audio signal that the audio signal and audio output device that are input to voice input device export, automatically the volume of input and output audio signal is regulated according to the volume difference of the audio signal received and export, the call of user is experienced comfortable, and the setting of volume key can be omitted, improve compactedness and the aesthetic property of mobile phone further.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (1)
1. the volume control circuit controlled 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 exports the voice signal of another terminal equipment received to user, audio output device receives the voice signal of user 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 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 magnitude of voltage;
First comparator is hysteresis comparator, is compared by the first magnitude of voltage with the second magnitude of voltage, when the difference of the first magnitude of voltage and the second magnitude of voltage exceeds preset range, and the first comparator output difference threshold voltage;
Selection circuit, is connected to the output of described first comparator and receives described difference voltage, and the output of selection circuit is two, exports on the occasion of voltage and negative voltage respectively;
First compensating circuit and the second compensating circuit are on-off controller, first compensating circuit be connected to described selection circuit on the occasion of voltage output end, second compensating circuit is connected to the negative voltage output of described selection circuit, the pulse signal adjustable according to described difference voltage output duty cycle, control turning on and off of the first audio amplifier circuit and the second audio amplifier circuit breaker in middle pipe respectively, regulation output is to the power of loud speaker and mobile communications network;
Described first sample circuit, the second sample circuit, the first comparator, selection circuit, the first compensating circuit and the second compensating circuit are by DSP circuit realiration, described DSP circuit is TMS320DM642 chip, builds described first sample circuit, the second sample circuit, the first comparator, selection circuit, the first compensating circuit and the second compensating circuit by programming in dsp chip inside.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410457874.XA CN104219366A (en) | 2014-09-09 | 2014-09-09 | Volume adjustment circuit controlled by DSP (digital signal processor) |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410457874.XA CN104219366A (en) | 2014-09-09 | 2014-09-09 | Volume adjustment circuit controlled by DSP (digital signal processor) |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104219366A true CN104219366A (en) | 2014-12-17 |
Family
ID=52100487
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410457874.XA Pending CN104219366A (en) | 2014-09-09 | 2014-09-09 | Volume adjustment circuit controlled by DSP (digital signal processor) |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104219366A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20100006199U (en) * | 2008-12-10 | 2010-06-18 | 엘지노텔 주식회사 | Internet protocol equipment for improving sound quality of melodyring |
CN104158968A (en) * | 2014-08-18 | 2014-11-19 | 青岛蓝图文化传播有限公司市南分公司 | Audio optimization circuit controlled based on DSP |
-
2014
- 2014-09-09 CN CN201410457874.XA patent/CN104219366A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20100006199U (en) * | 2008-12-10 | 2010-06-18 | 엘지노텔 주식회사 | Internet protocol equipment for improving sound quality of melodyring |
CN104158968A (en) * | 2014-08-18 | 2014-11-19 | 青岛蓝图文化传播有限公司市南分公司 | Audio optimization circuit controlled based on DSP |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101924828A (en) | Mobile terminal, method and device for adjusting volume thereof | |
CN201839344U (en) | Mobile terminal capable of adjusting volume automatically | |
CN201805538U (en) | Circuit for improving play sound articulation according to ambient sound, and device thereof | |
CN104158968A (en) | Audio optimization circuit controlled based on DSP | |
CN104158939A (en) | Audio regulating circuit based on DSP (Digital Signal Processor) control | |
CN204539440U (en) | A kind of earphone control circuit, line traffic control equipment and tuning earphone | |
CN104219366A (en) | Volume adjustment circuit controlled by DSP (digital signal processor) | |
CN208798224U (en) | A kind of hearing aid device system with Bluetooth function | |
CN205336531U (en) | Electrified sub - volume control's wireless microphone | |
CN203181164U (en) | A handset | |
CN104301518A (en) | Voice amplifying circuit based on digital control | |
CN104158973A (en) | Numerical control speech circuit | |
CN104158929A (en) | Voice amplifying circuit based on DSP (Digital Signal Processor) control | |
CN104243695A (en) | Intelligent sound volume adjusting circuit based on numerical control | |
CN201515418U (en) | Mobile communication terminal | |
CN205902056U (en) | DSP vehicle -mounted power amplifier system based on control of cell -phone APP | |
CN104219389A (en) | Volume control system based on digital control | |
CN104144245A (en) | Mobile phone volume adjustment device based on digital control | |
CN104158971A (en) | Digital voice circuit | |
CN204482024U (en) | A kind of head circuit | |
CN201887833U (en) | Device for automatically adjusting volume of mobile phone | |
CN210274513U (en) | Multifunctional sound system | |
CN203968347U (en) | A kind of sound system | |
CN104158967A (en) | Voice circuit controlled based on DSP | |
CN104184428A (en) | Audio processing device based on DSP control |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20141217 |