Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Embodiment one
Referring to Fig. 1, a kind of terminal 1 comprises: loudspeaker signal passage 2, be used to form the receiver signal, and with described receiver signal output; Wherein, described loudspeaker signal passage 2 comprises power amplifier module 3.
Loudspeaker signal is based on different application demands with the receiver signal, have signal amplitude and other audio signal of DC component equal difference to what baseband signal was handled formation, described receiver signal is compared with described loudspeaker signal has lower signal amplitude.Described terminal is switched the output of receiver signal and loudspeaker signal according to application demand.
The loudspeaker signal passage is meant in the terminal and converts baseband signal to loudspeaker signal in the prior art, and export loudspeaker signal to path that the device of loudspeaker signal process in the audio frequency output module process and circuit constitute, comprise loudspeaker signal processing module (be used for handle form described loudspeaker signal to baseband signal), power amplifier module and feedback circuit etc.
The embodiment of the invention forms the receiver signal and output by the loudspeaker signal passage, and a shared output channel does not need additionally to be provided with device, has saved the design and the manufacturing cost of product greatly.Simultaneously, do not need extra the introducing to carry out the peripheral components that receiver signal and loudspeaker signal switch, avoided, for example component failure or cause sound quality deterioration because of introducing the problem that peripheral components brings.
Further, referring to Fig. 2, loudspeaker signal passage 2 also comprises receiver signal processing module 4 described in the described terminal 1 of present embodiment, and described terminal 1 also comprises audio frequency output module 5; Wherein, described receiver signal processing module 4 is used for baseband signal is handled the gain parameter that forms described receiver signal and determine described receiver signal; Described power amplifier module 3 is used for adjusting described receiver signal according to described gain parameter, will be through the receiver signal output of adjusting; Described audio frequency output module 5 is used to receive the receiver signal of adjusting through described power amplifier module, and the receiver signal of the described power amplifier module adjustment of described process is exported.
The described receiver signal processing module 4 of present embodiment is used for that baseband signal is eliminated background noise, adjustment audio etc. and handles formation receiver signal, and the gain parameter of definite receiver signal, the related gain of described receiver signal preestablishes when being arranged on described Terminal Design.The gain parameter of determining the receiver signal be in order to ensure the receiver signal by behind the power amplifier module, can keep the signal amplitude of receiver signal and distortion in standard compliant scope.Described audio signal output module is compound loudspeaker and receiver device.
Further, the described terminal of present embodiment, described loudspeaker signal passage also comprises: the loudspeaker signal processing module is used for baseband signal is handled the described loudspeaker signal of formation; Wherein, the multiplexing same signal processing module of described receiver signal processing module and loudspeaker signal processing module.
Loudspeaker signal processing module and receiver signal processing module carry out different disposal to baseband signal, form receiver signal and loudspeaker signal respectively, the signal amplitude of described receiver signal is less than described loudspeaker signal, described receiver signal processing module and described loudspeaker signal processing module can embody its software product with the form of software product and can be arranged in the same hardware module, also can be located in the different hardware modules.
Further, referring to Fig. 2, the described terminal 1 of present embodiment is provided with the end debugging module 6 of making an uproar at described loudspeaker signal passage 2 and 5 of described audio frequency output modules; Wherein, the debugging module 6 of making an uproar is used to adjust the noise of receiver signal at the described end.
Receiver signal for power amplifier module output may produce the noise that does not meet standard code or influence tonequality through in the process of power amplifier, the end debugging module of making an uproar is set between loudspeaker channel and audio frequency output module, before the final output of audio frequency, reduce the noise of receiver signal, further guarantee tonequality.
Further, the debugging module of making an uproar is a resistive module at the described end of the described terminal of present embodiment.
When the receiver signal noise of exporting through power amplifier module is bigger than normal, increase resistance value.
Further, the described power amplifier module of the described terminal of present embodiment is the digital power amplifier module.
Because being used for the transistor of signal amplification, digital power amplifier (being D class power amplifier) promptly directly its load is connected with charger once opening, current flowing but transistor no-voltage, therefore inactivity consumption, so D class power amplification efficiency height can improve the efficient of audio frequency output module.Certainly the present invention does not limit the power amplifier module which kind of type power amplifier module adopts, and class AB power amplifier module, Class B power amplifier module and class a audio power amplifier are all in protection scope of the present invention.
Especially, in existing terminal platform, described receiver signal processing module and loudspeaker signal processing module realize relatively independent at software code and hardware.Present embodiment can call the software code of existing receiver signal processing module, the software code of described receiver signal processing module is carried out related coding with the software code of loudspeaker signal processing module, receiver signal processing module and loudspeaker signal processing module are realized by same hardware.Referring to Fig. 3, be the application note of the embodiment of the invention based on existing terminal platform.Baseband module 7 is the baseband chip based on existing platform, the audio processing modules 8 Central Plains receiver signal processing modules 41 of described baseband chip are the receiver signal output port of platform acquiescence, receiver signal from described former receiver signal processing module 41 outputs in the prior art is connected directly to audio frequency output module 5, and present embodiment is abandoned described platform acquiescence receiver signal output port.The described receiver signal processing module 43 of the embodiment of the invention is set in the audio processing modules of described baseband module, be used for baseband signal is eliminated background noise, adjusted the gain parameter that obtains receiver signal and definite described receiver signal after processing such as audio, described receiver signal is inputed to power amplifier module 3.The same hardware output port of described receiver signal processing module and loudspeaker signal processing module shared baseband module 7, this output port is according to handoff request output receiver signal or loudspeaker signal, resistance 6 is used to debug noise, and audio frequency output module 5 is according to the audio signal output sound that transmits.
Certainly the audio output device protection range of present embodiment is not limited to the application enhancements to existing terminal platform Central Plains receiver signal processing module, and the application of all loudspeaker signals and receiver signal common signalling channel is all in protection scope of the present invention.
The described terminal of the embodiment of the invention can be the apparatus such as computer of mobile phone and other band phonetic functions.
Embodiment two
Referring to Fig. 4, the embodiment of the invention also provides a kind of audio frequency signal output, comprising:
Step 1, formation receiver signal.
Step 2, described loudspeaker signal passage are exported described receiver signal; Wherein, described loudspeaker signal passage comprises power amplifier module.
Loudspeaker signal is based on different application demands with the receiver signal, have signal amplitude and other audio signal of DC component equal difference to what baseband signal was handled formation, described receiver signal is compared with described loudspeaker signal has lower signal amplitude.Described loudspeaker signal passage is meant in the terminal and converts baseband signal to loudspeaker signal, and export loudspeaker signal to path that the device of loudspeaker signal process in the audio frequency output module process and circuit constitute, comprise loudspeaker signal processing module (be used for handle form described loudspeaker signal to baseband signal), power amplifier module and feedback circuit etc.The terminal of carrying out audio signal output is switched the output of receiver signal and loudspeaker signal according to application demand.
The embodiment of the invention forms the receiver signal and output by the loudspeaker signal passage, and a shared output channel does not need additionally to be provided with device, has saved the design and the manufacturing cost of product greatly.Simultaneously, do not need extra the introducing to carry out the peripheral components that receiver signal and loudspeaker signal switch, avoided, for example component failure or cause sound quality deterioration because of introducing the problem that peripheral components brings.
Further, the inventive method embodiment comprises the steps that specifically referring to Fig. 5, the described formation receiver of step signal is specially:
Step 21, baseband signal handled the gain parameter that forms described receiver signal and determine described receiver signal.
Present embodiment is eliminated background noise, adjustment audio etc. to baseband signal and is handled formation receiver signal, and the gain parameter of definite receiver signal, the related gain of described receiver signal preestablishes when being arranged on described Terminal Design of carrying out audio frequency output.The gain parameter of determining the receiver signal be in order to ensure the receiver signal by behind the power amplifier module, can keep the signal amplitude of receiver signal and distortion in standard compliant scope.
Especially, in existing terminal platform, handle formation receiver signal and base band handled the formation loudspeaker signal relatively independent in software code and hardware realization to baseband signal.Present embodiment can call existing software code to the receiver signal processing, to carry out related coding to the software code that the software code of receiver signal processing and loudspeaker signal are handled, and make base band handled to form loudspeaker signal and in same software module, realize with formation receiver signal.
The described loudspeaker signal passage of described step 2 is exported described receiver signal, specifically comprises the steps:
Step 22, described receiver signal is inputed to described power amplifier module, adjust described receiver signal according to described gain parameter.
Step 23, will export the audio frequency output module to through the receiver signal of described power amplifier module adjustment.
Described audio signal output module is compound loudspeaker and receiver device.
The embodiment of the invention is by handling before entering power amplifier module and definite gain parameter the receiver signal, guarantee still can to keep after the receiver signal is by power amplifier module the signal amplitude of receiver signal and distortion in standard compliant scope, make the receiver signal undertaken to guarantee tonequality after the conversion of the signal of telecommunication and audio signal by the audio frequency output module.
More further, will export the audio frequency output module to through the receiver signal of described power amplifier module adjustment in embodiment step 23, comprising:
To make an uproar the end of by through the receiver signal of described power amplifier module adjustment and export the audio frequency output module to after the debugging.
Receiver signal for power amplifier module output may produce the noise that does not meet standard code or influence tonequality through in the process of power amplifier, the end debugging module of making an uproar is set between loudspeaker signal passage and audio frequency output module, before audio frequency output, reduce the noise of receiver signal, further guarantee tonequality.
Particularly, make an uproar to debug and undertaken by between described loudspeaker signal passage and described audio frequency output module resistance being set in the described end of present embodiment.
When the receiver signal noise of exporting through power amplifier module is bigger than normal, increase resistance value.
Further, the described power amplifier module of present embodiment is the digital power amplifier module.
Digital power amplifier (D class power amplifier) module efficiency height can improve the efficient of audio output device.Certainly the present invention does not limit the power amplifier module which kind of type power amplifier module adopts, and class AB power amplifier module, Class B power amplifier module and class a audio power amplifier are all in protection scope of the present invention.
The embodiment of the invention is shared with loudspeaker signal passage and receiver signalling channel, can avoid can avoiding the failure risk of this switching device simultaneously because of introducing the cost rising problem that the signal switching device brings.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding, technical scheme of the present invention can embody with the form of software product, and this software product can be distributed in and carry out the above-mentioned method of each embodiment of the present invention in the hardware module.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, module in the accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
The invention described above embodiment sequence number is not represented the quality of embodiment just to description.
More than disclosed only be several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.