CN105553434A - Intelligent terminal audio control method and system and intelligent terminal - Google Patents

Intelligent terminal audio control method and system and intelligent terminal Download PDF

Info

Publication number
CN105553434A
CN105553434A CN 201510716142 CN201510716142A CN105553434A CN 105553434 A CN105553434 A CN 105553434A CN 201510716142 CN201510716142 CN 201510716142 CN 201510716142 A CN201510716142 A CN 201510716142A CN 105553434 A CN105553434 A CN 105553434A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
amplifier
gain
voltage
speaker
waveform
Prior art date
Application number
CN 201510716142
Other languages
Chinese (zh)
Inventor
白峰超
Original Assignee
东莞酷派软件技术有限公司
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

Links

Abstract

The invention provides an intelligent terminal audio control method and system and an intelligent terminal. The method comprises the steps that when a loudspeaker plays audios, output voltage of an intelligent terminal battery is detected; output voltage is compared with a preset voltage threshold; and if output voltage is less than or equal to the preset voltage threshold, gain of a loudspeaker power amplifier arranged in the intelligent terminal is adjusted according to output voltage. The technical scheme has the advantages of non-distortion of the audios.

Description

智能终端的音频控制方法、系统及智能终端 The method of audio control intelligent terminal system and intelligent terminals

技术领域 FIELD

[0001] 本发明设及电子及通信领域,尤其设及一种智能终端的音频控制方法、系统及智能终端。 [0001] and provided electronic communications present invention and, in particular, an intelligent terminal is provided and an audio control method, system and intelligent terminals.

背景技术 Background technique

[0002] 现有的智能设备,例如手机、i-touch等设备均设置有音频输出的功能,现有的智能设备的音频输出有多种方式,通常的方式有两种,一种通过耳机来输出音频,另一种通过扬声器来输出音频,通过扬声器来输出音频的方式在智能手机电池电量较低的情况下,智能设备的音频输出容易出现失真情况,影响用户听音乐的感受,用户体验度较差。 [0002] existing smart devices, such as mobile phones, i-touch function is provided are devices such as audio output, audio output devices existing smart variety of ways, usually in two ways a headset by audio output, another to output audio through the speaker, the way to output audio through the speaker at a low-battery condition smart phones, smart audio output device is easy to distortion, affecting the user experience of listening to music, user experience poor.

发明内容 SUMMARY

[0003] 提供一种智能终端的音频控制方法,所述智能终端的音频控制方法采用了电压控制放大器放大倍数的技术方案,使得使用所述智能终端的音频控制方法的设备能够实现音频输出不失真。 [0003] provide a method for controlling intelligent terminal audio, the audio control method using the intelligent terminal voltage controlled amplifier magnification aspect, such apparatus using the intelligent terminal can be implemented method of audio control audio output without distortion .

[0004] 一方面,提供一种智能终端的音频控制方法,所述方法包括: 阳〇化]在扬声器播放音频时,检测智能终端电池的输出电压; [0004] In one aspect, there is provided a method of controlling an audio intelligent terminal, the method comprising: a male square of] when playing audio speakers, detecting an output voltage of the battery intelligent terminal;

[0006] 将所述输出电压与预设电压阔值进行比较; [0006] The width output voltage with a preset voltage value;

[0007] 如所述输出电压小于或等于所述预设电压阔值,则依据所述输出电压调整所述智能终端内的扬声器功放放大器增益。 [0007] As the output voltage is less than or equal to the preset value of voltage width is adjusted according to the output voltage of the amplifier gain of the amplifier in the speaker of the intelligent terminal.

[0008] 可选的,所述依据所述输出电压调整所述智能终端内的扬声器功放放大器增益, 包括: [0008] Optionally, the adjustment of the output voltage according to the gain of the amplifier in the speaker amplifier intelligent terminal, comprising:

[0009] 根据该输出电压从预先设定的电压与放大器增益映射表中查询该输出电压对应的放大器增益,将扬声器功放放大器增益调整成该输出电压对应的放大器增益。 [0009] The voltage gain of the amplifier and the output voltage from the mapping table of preset queries corresponding to the output voltage of amplifier gain, the amplifier gain adjusting amplifier to the speaker of the output voltage corresponding to the amplifier gain.

[0010] 可选的,所述依据所述输出电压调整所述智能终端内的扬声器功放放大器增益, 包括: [0010] Optionally, the adjustment of the output voltage according to the gain of the amplifier in the speaker amplifier intelligent terminal, comprising:

[0011] 根据预设的计算公式计算出所述扬声器功放放大器增益,将所述扬声器功放放大器增益调整至计算得到的增益值;所述预设的计算公式如下: [0011] The calculation formula of the predetermined amplifier gain amplifier of the speaker, the speaker amplifier gain amplifier to the gain adjustment value calculated; the preset calculation formula as follows:

[0012] [0012]

Figure CN105553434AD00041

[0013] 其中,A表示扬声器功放放大器的增益,A为经验系数;Vi表示第i次检测的电池输出电压值,表示历史检测的输出电压值平方的均值。 [0013] wherein, A represents the amplifier gain of the amplifier speaker, A is an empirical coefficient; Vi, an output voltage value of the battery detected by the i-th, the output voltage represents the mean value of the square of the detected history.

[0014] 可选的,所述方法在依据所述输出电压调整所述智能终端内的扬声器功放放大器增益之后,还包括: After [0014] Optionally, the method according to the amplifier output voltage to adjust the speaker gain of the amplifier in the intelligent terminal, further comprising:

[0015] 获取所述播放音频的原始波形和扬声器功放放大器的输出波形; [0015] to obtain the original and output waveforms for the speaker amplifier play audio amplifier;

[0016] 将所述原始波形与所述输出波形进行比较,根据比较结果微调所述扬声器功放放大器的增益。 [0016] comparing the original waveform and the output waveform, the speaker amplifier gain trim amplifier according to the comparison result.

[0017] 可选的,所述将所述原始波形与所述输出波形进行比较具体,包括: [0017] Optionally, the original waveform the waveform of the output comparator Specifically, comprising:

[0018] 提取所述原始波形的波峰和波谷与所述输出波形的波峰和波谷; [0018] extracting the original wave crests and troughs with crests and valleys of the output waveform;

[0019] 计算原始波形波峰的电压值与输出波形波峰的电压值的峰值差值,计算原始波形波谷的电压值与输出波形波谷的电压值的谷值差值, [0019] calculating the difference between the original waveform peak voltage value of the peak voltage value of the output waveform of the peak, valley difference voltage value calculating trough original waveform voltage and output waveform of the trough,

[0020] 如上述峰值差值和谷值差值中有任意一个大于差值阔值,则确定比较结果为波形失真。 [0020] The difference between the peak and valley difference value is greater than the difference between a broad arbitrary value, it is determined that the comparison result of waveform distortion.

[0021] 可选的,所述根据比较结果微调所述扬声器功放放大器的增益,包括: [0021] Optionally, the trimming of the speaker amplifier gain amplifier according to the comparison result, comprising:

[0022] 如所述比较结果为波形不失真,则不调整该扬声器功放放大器的增益,如所述比较结果为波形失真,则将所述扬声器功率放大器的增益调低一个等级;所述一个等级的扬声器功率放大器的增益值小于依据所述输出电压调整所述智能终端内的扬声器功放放大器增益的调整值。 [0022] As the comparison result of waveform distortion, the gain of the amplifier, the speaker amplifier is not adjusted, the comparison result as waveform distortion, then the gain of a loudspeaker amplifier lowered level; a level of said a speaker amplifier gain value is less than the output voltage adjustment according to the adjustment value of the amplifier gain of the amplifier in the speaker of the intelligent terminal.

[0023] 另一方面,提供一种智能终端的音频控制系统,所述系统包括: [0023] In another aspect, an intelligent control system of an audio terminal, the system comprising:

[0024] 电压检测单元,用于在扬声器播放音频时,检测智能终端电池的输出电压; [0024] The voltage detecting unit configured to, when playing an audio speaker, intelligent terminal detect the output voltage of the battery;

[0025] 电压比较单元,用于将所述输出电压与预设电压阔值进行比较; [0025] The voltage comparison means, for the output voltage with a preset voltage width value;

[00%] 增益调整单元,用于在所述电压比较单元比较出所述输出电压小于或等于所述预设电压阔值时,依据所述输出电压调整所述智能终端内的扬声器功放放大器增益。 [00%], a gain adjustment unit for the voltage comparing unit comparing an output when the voltage is less than or equal to the preset voltage value width, the gain of the amplifier in the speaker amplifier according to the output voltage adjusting said intelligent terminals .

[0027] 可选的,所述增益调整单元包括: [0027] Alternatively, the gain adjustment unit comprises:

[0028] 查询模块,用于根据该输出电压从预先设定的电压与放大器增益映射表中查询该输出电压对应的放大器增益; [0028] The query module, for outputting a voltage corresponding to the amplifier gain and the voltage gain of the amplifier output voltage from the mapping table preset in the query;

[0029] 调整模块,用于将扬声器功放放大器增益调整成所述输出电压对应的放大器增益。 [0029] The adjustment means for adjusting the gain of the amplifier to the speaker amplifier output voltage corresponding to the amplifier gain.

[0030] 可选的,所述增益调整单元具体用于根据预设的计算公式计算出所述扬声器功放放大器增益,将所述扬声器功放放大器增益调整至计算得到的增益值;所述预设的计算公式如下: [0030] Alternatively, the gain adjustment unit specifically for the speaker amplifier amplifier gain is calculated based on a predetermined calculation formula, the speaker amplifier gain amplifier to the gain adjustment value calculated; the preset Calculated as follows:

[0031] [0031]

Figure CN105553434AD00051

阳03引其中,A表示扬声器功放放大器的增益,A为经验系数;V康示第i次检测的电池输出电压值,表示历史检测的输出电压值平方的均值。 03 wherein the male lead, A represents the gain of the amplifier speaker amplifier, A is an empirical coefficient; Kang V shows the battery output voltage value of the i-th detected, the output voltage represents the mean value of the square of the detected history.

[0033] 可选的,所述系统还包括: [0033] Optionally, the system further comprising:

[0034] 波形获取单元,用于获取所述播放音频的原始波形和扬声器功放放大器的输出波形; [0034] The waveform acquiring unit, for acquiring an original and output waveforms for the speaker amplifier play audio amplifier;

[0035] 比较单元,用于将所述原始波形与所述输出波形进行比较; [0035] The comparison unit configured to output the waveform and the original waveform are compared;

[0036] 微调单元,用于根据比较结果微调所述扬声器功放放大器的增益。 [0036] The trimming unit for trimming the gain of the amplifier speaker amplifier according to the comparison result.

[0037] 可选的,所述比较单元包括: [0037] Optionally, the comparison unit comprises:

[0038] 提取模块,用于提取所述原始波形的波峰和波谷与所述输出波形的波峰和波谷; [0038] extraction means for extracting the peaks and troughs of the original wave crests and troughs of the output waveform;

[0039] 计算模块,用于计算原始波形波峰的电压值与输出波形波峰的电压值的峰值差值,计算原始波形波谷的电压值与输出波形波谷的电压值的谷值差值, [0039] calculation means for calculating a peak difference between the voltage value of the original waveform and the peak value of the output voltage waveform peaks, the difference between the voltage value calculating valley trough original waveform voltage and output waveform of the trough,

[0040] 确定模块,用于如上述峰值差值和谷值差值中有任意一个大于差值阔值,则确定比较结果为波形失真。 [0040] The determining module, as described above for the difference between the peak and valley difference value is greater than the difference between a broad arbitrary value, it is determined that the comparison result of waveform distortion.

[0041] 可选的,所述微调单元具体用于如所述比较结果为波形不失真,则不调整该扬声器功放放大器的增益,如所述比较结果为波形失真,则将所述扬声器功率放大器的增益调低一个等级;所述一个等级的扬声器功率放大器的增益值小于依据所述输出电压调整所述智能终端内的扬声器功放放大器增益的调整值。 [0041] Optionally, the trimming unit is configured as the comparison result of waveform distortion, the gain of the amplifier, the speaker amplifier is not adjusted, the comparison result as waveform distortion, then the speaker amplifier a lower gain level; speaker amplifier gain value is less than the level of a speaker amplifier amplifier gain adjustment values ​​in the intelligent terminal according to the adjustment of the output voltage.

[0042] 另一方面,提供一种智能终端,上述智能终端包括上述的智能终端的音频控制系统。 [0042] In another aspect, there is provided an intelligent terminal, the smart terminal includes an audio control system according to the intelligent terminal.

[0043] 根据各实施方式提供的智能终端的音频控制方法,该方法通过检测电池的输出电压,然后依据该输出电压的值来调整扬声器功率放大器的增益,运样在低电池电量的情况下,由于扬声器功率放大器的增益也会调整,通过实验证明,当扬声器功率放大器的增益调整后,能够有效的保证智能终端的输出音量足够大,并且音频不失真。 [0043] The audio control method intelligent terminal provided by way of various embodiments, the method detecting an output voltage of the battery, and then depending on the value of the output voltage of the power amplifier to adjust the gain of the loudspeaker, the sample transport in the case of low battery power, Since the gain of the power amplifier speaker will be adjusted, it proved by experiments, when the speaker amplifier gain adjustment, can effectively ensure the intelligent terminal output volume is large enough, and the audio without distortion.

附图说明W44] 为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可W 根据运些附图获得其他的附图。 BRIEF DESCRIPTION OF W44] In order to more clearly illustrate the technical solutions in the embodiments or the prior art embodiment of the present invention, the accompanying drawings briefly described embodiments or the prior art needed to be used in the following embodiments will be apparent in the following description the drawings are only some embodiments of the present invention, those of ordinary skill in the art is concerned, without any creative effort, these may be transported in accordance with W drawings other drawings.

[0045] 图1为本发明第一较佳实施方式提供的智能终端的音频控制方法的流程图; [0045] Figure 1 is a flowchart of a control method for an audio intelligent terminal provided by way of a first preferred embodiment;

[0046] 图2为现有技术提供的扬声器的输出波形图; [0046] FIG. 2 is an output waveform diagram of the prior art to provide a speaker;

[0047] 图3为本发明第一较佳实施方式提供的扬声器的输出波形图; [0047] FIG. 3 is an output waveform diagram of a first preferred embodiment provided by way of a speaker;

[0048] 图4为本发明第二较佳实施方式提供的智能终端的音频控制方法的流程图; [0048] FIG 4 is a flowchart of a control method for an audio intelligent terminal provided by way of a second preferred embodiment;

[0049] 图5为本发明第二较佳实施方式的提供的波形比较方法流程图; Wave comparison method [0049] Fig 5 a second preferred embodiment of the present invention provides a flow chart;

[0050] 图6为本发明第=较佳实施方式的一种智能终端的音频控制系统的结构图; [0050] FIG. 6 of the present invention is a configuration diagram = audio control system according to an embodiment of the intelligent terminal preferred embodiment;

[0051] 图7为本发明具体实施方式提供的智能终端的结构图。 [0051] FIG. 7 is a configuration diagram of an intelligent terminal DETAILED DESCRIPTION present invention.

具体实施方式 detailed description

[0052] 下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。 [0052] below in conjunction with the present invention in the accompanying drawings, technical solutions of embodiments of the present invention are clearly and completely described, obviously, the described embodiments are merely part of embodiments of the present invention, but not all embodiments example. 基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。 Based on the embodiments of the present invention, all other embodiments of ordinary skill in the art without any creative effort shall fall within the scope of the present invention.

[0053] 参阅图1,图1为本发明第一较佳实施方式提供的智能终端的音频控制方法,该方法可W由智能终端执行,该智能终端具体可W包括:手机、平板电脑、i-touch、PDA(英文全称:Personal Digital Assistant,中文:掌上电脑)等智能设备,该方法如图1所示,包括如下步骤: [0053] Referring to FIG. 1, FIG. 1 is a method for controlling audio intelligent terminal to the first preferred embodiment of the present invention to provide the method may be performed by the intelligent terminal W, W the smart terminal may specifically include: a mobile phone, a tablet computer, I -touch, PDA (English name: Personal Digital Assistant, Chinese: PDA), and other smart devices, the method shown in Figure 1, comprising the steps of:

[0054] 步骤SlOl、在扬声器播放音频时,检测智能终端电池的输出电压; [0054] Step the SLOL, when playing an audio speaker, intelligent terminal detects an output voltage of the battery;

[0055] 上述步骤中检测智能终端电池的输出电压可W采用多种方式来检测输出电压, 例如,在本发明第一较佳实施方式的一个实施例中,可W通过外围设备来进行检测,例如通过万用表来进行检测,在本发明第一较佳实施方式的另一个实施例中,可W通过智能终端内部的电压检测忍片对电池的输出电压进行检测,W手机为例,手机的内部通常集成有电池输出电压检测忍片,例如大神品牌的智能手机的电池输出电压检测忍片即为安森美LC709203的忍片,当然在其他品牌的手机也可W采用不同型号的电池输出电压检测忍片, 本发明具体实施方式并不局限上述检测忍片的具体型号,也不局限上述检测智能终端电池的输出电压的具体方式。 [0055] The step of detecting the output voltage of the intelligent terminal of the battery may be detected in several ways W output voltage, for example, in a preferred embodiment of the first embodiment of the present invention embodiment, W can be detected by the peripheral device, for example, by detecting the multimeter, another embodiment of the first aspect of the present invention, preferred embodiments, W can endure sheet by detecting the voltage of the terminal inside the intelligent battery output voltage is detected, W phone, for example, the phone's internal usually integrated battery output voltage detection endure pieces, such as the god brand of smart phone battery output voltage detection forbearance piece is the oN LC709203 forbearance piece, of course, other brands of mobile phones can also be W using different types of battery output voltage detection endure DETAILED DESCRIPTION oF tHE PREFERRED sheet embodiment, the present invention is not limited to the above specific type of sheet detection tolerance, not limited to the above detection of the intelligent terminal of the battery output voltage.

[0056] 步骤S102、将所述输出电压与预设电压阔值进行比较; [0056] step S102, the width of the output voltage with a preset voltage value;

[0057] 步骤S103、如所述输出电压小于或等于所述预设电压阔值,则依据所述输出电压调整所述智能终端内的扬声器功放放大器增益。 [0057] step S103, the output as the voltage is less than or equal to the preset value of voltage width is adjusted according to the output voltage of the amplifier gain of the amplifier in the speaker of the intelligent terminal.

[0058] 上述步骤中的电压调整扬声器的表现形式可W有多种表现形式,例如,在本发明第一较佳实施方式的一个实施例中,上述扬声器功放放大器可W是一个单独的忍片,当然在本发明第一较佳实施方式的另一实施例中,上述扬声器功放放大器可W是集成在另外忍片内,本发明并不局限上述扬声器功放放大器的表现形式。 [0058] The above step forms a voltage may adjust the speaker W many forms, for example, in a preferred embodiment of the first embodiment of the present invention, the speaker amplifier amplifier W is a single sheet of tolerance of course in a further embodiment of a first preferred embodiment of the present invention, the speaker amplifier W amplifier is integrated within a tolerance sheet Further, the present invention is not limited to the speaker amplifier forms the amplifier. 上述步骤中放大器的增益的调整方式也可W有多种方式,例如,在本发明第一较佳实施方式的一个实施例中,上述调整方式可W为直接调整方式,在本发明第一较佳实施方式的另一个实施例中,上述调整方式可W为,通过主控忍片发送放大器增益调整消息或命令实现扬声器功放放大器的增益的调整,W手机为例,上述放大器增益调整消息或命令具体可W参见I 2C(英文Jnter -Integrated Circuit)总线协议的描述。 In the manner as described above to adjust the gain of the amplifier in step may be W is a number of ways, for example, in a preferred embodiment of the first embodiment of the present invention, the adjustment mode can be adjusted W is a direct manner, in the present invention is first compared another embodiment of the best mode embodiment, W is the adjustment manner, message transmission amplifier gain adjustment command to implement a speaker amplifier or amplifier gain adjustment tolerance by the master sheet, W phone, for example, adjusting the gain of the amplifier messages or commands specific W see description I 2C (English Jnter -Integrated Circuit) bus protocol. 当然上述放大器增益调整消息或命令的名称在不同的协议中可W有不同的命名,本发明具体实施方式并不限制上述命令或消息的具体名称,只需改命令或消息能够实现扬声器功率放大器的增益即可。 Of course, said amplifier gain adjustment message or command names in different protocols may have different names W, embodiments of the present invention is not limited to the specific above command name or message, simply change the message or command can be realized a speaker amplifier gain can be.

[0059] 下面结合附图2、图3来说明本发明第一较佳实施方式的技术效果,如图2所示, 图2为现有技术的扬声器的输出波形图,图3为采用本发明第一较佳实施方式的技术方案后扬声器的波形图,图2中波形图的峰峰值为6. 56V ;图3中波形图的峰峰值为6. 48V(最大值),峰峰值的大小与电池输出电压的大小是直接相关的,即电池输出电压增大,峰峰值即变大,电池输出电压减小,峰峰值即变小,如图2所示,现有技术提供的波形图由于扬声器功放放大器的增益是定值,所W当峰峰值为6. 56V时,如图2所示的输出波形的低端和顶端就有明显的失真发生,如图2所示的平坦波形即为失真的波形,如图3所示的输出波形, 此时峰峰值6. 48V已经低于如图2所示的峰峰值的6. 56V,即图3所示的电池输出电压值低于图2所示的电池输出电压值,从图3所示的输出波形的顶端和低端都几 [0059] DRAWINGS 2, FIG. 3 illustrate the technical effect of the first preferred embodiment of the present invention, shown in FIG. 2, FIG. 2 is a waveform diagram of the output of the speaker of the prior art, the present invention FIG 3 is a a waveform view of a speaker of the first aspect of the preferred embodiment embodiment, the waveform diagram in FIG. 2 peak value 6. 56V; waveform diagram in FIG. 3 peak value 6. 48V (maximum value), and the size of the peak size of the battery output voltage is directly related, i.e., the battery output voltage is increased, i.e. peak becomes large, the output voltage of the battery is reduced, i.e., smaller peak, as shown in the prior art to provide a waveform shown in FIG. 2 since the speaker amplifier gain of the amplifier is a constant value, the peak value of W when 6. 56V, and the low-side end of the output waveform shown in FIG. 2, there is noticeable distortion occurs, as shown in Fig flat waveform distortion is the waveform, the output waveform shown in Figure 3, this time is already below 6. 48V peak peak shown in FIG. 2 6. 56V, the output voltage value of the battery that is shown in FIG. 3 in FIG. 2 below the battery output voltage is shown, from the top and bottom of the output waveform shown in FIG. 3 are several 乎没有失真,通过实验表明,采用本发明第一较佳实施方式的技术方案后,音频输出失真较小,提高了扬声器输出音频的质量。 Almost no distortion, experiments show that the preferred embodiment employs a first aspect of the present invention, an audio output distortion is small, improves the quality of the audio speaker output.

[0060] 优选的,上述步骤S103的实现方式具体可W为:根据该输出电压从预先设定的电压与放大器增益映射表中查询该输出电压对应的放大器增益,将扬声器功放放大器增益调整成该输出电压对应的放大器增益。 [0060] Preferably, the above step S103 may be implemented DETAILED W is: The gain of the voltage amplifier and the output voltage from the mapping table of preset queries corresponding to the output voltage of amplifier gain, the speaker amplifier so that the amplifier gain adjustment corresponding to the output voltage of the amplifier gain.

[0061] 上述输出电压从预先设定的电压与放大器增益映射表一个表现形式如表1所示, I^oo创表1 : [0061] The voltage gain of the amplifier and the output voltage from a map set in advance as a form of expression shown in Table 1, I ^ oo invasive Table 1:

[0063] W64] 如表1所示,表1中输出电压的值均为具体的值,在实际应用中,由于电池的电压一般均为非线性的变化,所W其实际检测的电池输出电压值一般不会为定值,即依据步骤SlOl中检测出的输出电压的值一般不会在表1中查找到,为了解决运个问题,运里一般将输出电压设定成一个范围,只要在运个范围内,则匹配对应的放大器增益,具体的映射表如表2所示,表2为电压与放大器另一个表现形式; W化]表2 : [0063] W64], such as the output voltage values ​​in Table 1 are shown in Table 1 specific values, in practical applications, since the battery voltage changes in general are non-linear, the actual battery output voltage detected by W value is generally not a constant value, i.e., step SlOl in accordance with the detected output voltage is generally not found in table 1, in order to solve the transport problem, generally shipped in the output voltage is set to a range, as long as transport within a range, corresponding to the amplifier gain matching specific mapping table shown in table 2, table 2 is a voltage amplifier and the other forms of expression; W is oriented] table 2:

[0066] [0066]

Figure CN105553434AD00081

[0067] 如表2所示的电压值W及匹配的放大器增益,通过实验表明,采用表2所示的电压范围匹配放大器增益能够在保证输出音频不失真的前提下,有效的减少映射表的存储量。 [0067] As shown in Table 2, the voltage value W and a matching amplifier gain, experiments show that the voltage range shown in Table 2 is capable of matching the gain of the amplifier without uncomfortable to ensure output audio, effectively reduce the mapping table Storage capacity.

[0068] 优选的,上述步骤103的实现方式还可W为:根据预设的计算公式计算出所述扬声器功放放大器增益,将所述扬声器功放放大器增益调整至计算得到的增益值;所述预设的计算公式如下: [0068] Preferably, in the step 103 may also be implemented embodiment W is: calculate the speaker amplifier gain amplifier according to a predetermined calculation formula, the speaker amplifier gain amplifier to the gain adjustment value calculated; the pre provided calculated as follows:

[0069] [0069]

Figure CN105553434AD00082

[0070] 其中,A表示扬声器功放放大器的增益,A为经验系数,通常取值12 ;V康示第i 次检测的电池输出电压值,^表示历史检测的输出电压值平方的均值。 [0070] wherein, A represents the amplifier gain of the amplifier speaker, A empirical coefficients, typically ranging 12; V battery output voltage value shown Kang i th detected, ^ represents the mean value of the output voltage of the square of the detected history. 采用预设公式的计算的方法的特点是,在任意电压值均可W快速的计算出其对应的增益值,而无需通过查表等方式,其计算速度快,反应快,并且对放大器增益的调整速度也快。 Calculated using the method is characterized by a pre-set formula, the value of W can quickly compute the corresponding gain value in an arbitrary voltage, without look-up table, etc., the calculation speed is fast, quick response, and the gain of the amplifier adjust fast.

[0071] 参阅图4,图4为本发明第二较佳实施方式提供的智能终端的音频控制方法,该方法可W由智能终端执行,该智能终端具体可W包括:手机、平板电脑、i-touch、PDA(英文全称:Personal Digital Assistant,中文:掌上电脑)等智能设备,该方法如图4所示,包括如下步骤: [0071] Referring to Figure 4, Figure 4 is a control method for an audio intelligent terminal provided by way of a second preferred embodiment of the invention, the method may be performed by the intelligent terminal W, W the smart terminal may specifically include: a mobile phone, a tablet computer, I -touch, PDA (English name: Personal Digital Assistant, Chinese: PDA), and other smart devices, the method shown in Figure 4, comprising the steps of:

[0072] 步骤S401、在扬声器播放音频时,检测智能终端电池的输出电压; [0072] step S401, the speaker when the audio playback, the output voltage of the detection of the intelligent terminal of the battery;

[0073] 上述步骤S401的实现方式可W参见本发明第一较佳实施方式的描述,运里不再寶述。 [0073] The step S401 W implementations may refer to a first preferred embodiment of the present invention are described embodiment, no more transport Po later.

[0074] 步骤S402、依据该输出电压调整扬声器功放放大器的增益。 [0074] step S402, the speaker amplifier gain adjusting amplifier according to the output voltage.

[00巧]上述步骤S402的实现方式可W参见本发明第一较佳实施方式的描述,运里不在寶述。 [Qiao 00] The step S402 W implementations may refer to a first preferred embodiment of the present invention will be described, is not transported in said Po.

[0076] 步骤S403、获取该播放音频的原始波形和扬声器功放放大器的输出波形; [0076] step S403, the obtaining of the original audio playback speaker amplifier and output waveforms of the amplifier;

[0077] 上述步骤中获取智能终端输出音频的原始波形的方式可W有多种,例如,在本发明第二较佳实施方式的一个实施例中,智能终端可W通过网络直接下载该输出音频的原始波形,在本发明第二较佳实施方式的另一实施例中,智能终端可W通过采样的方式获取输出音频的原始波形,上述采样的方式可W采用现有技术的采样方法,运里不在寶述。 [0077] The above-described step intelligent terminal acquired audio output manner of the original waveform may have a variety of W, for example, in a preferred embodiment of the second embodiment of the present invention embodiment, W can be an intelligent terminal directly through the network to download the audio output the original waveform, for example, the intelligent terminal may output audio W acquired by way of sampled original waveform, the above-described embodiment may be sampled using the sampling method of the prior art W in another embodiment of the second preferred embodiment of the present invention, transport Bao was not mentioned. 上述步骤中扬声器功放放大器的输出波形的获取方式具体可W包括通过对扬声器功放放大器的输出采样得到该扬声器功放放大器的输出波形,该采样的具体方法也可W参见现有技术的描述,运里不在寶述,本发明具体实施方式并不局限上述获取的具体方式。 Obtaining the above step speaker amplifier amplifier output waveform may specifically include an output waveform W by sampling the output speaker amplifier to the speaker amplifier amplifier amplifier to obtain specific sampling method can also refer to the prior art described W, transported in Po is not described, embodiments of the present invention is not limited to the above specific embodiment acquired.

[0078] 步骤S404、将该原始波形与输出波形进行比较,根据比较结果微调该扬声器功放放大器的增益。 [0078] step S404, the original waveform and the output waveform is compared to fine-tune the gain of the amplifier speaker amplifier according to the comparison result.

[0079] 上述步骤中将该原始波形与输出波形进行比较的方法可W有多种,例如,在本发明第二较佳实施方式的一个实施例中,可W将原始波形与输出波形进行整体的比较,即通过波形叠加的方式进行比对,如波形叠加后两个输出波形的不同点超过设定阔值,则确定失真,微调该扬声器功放放大器的增益,如波形叠加后两个输出波形的不同点低于设定阔值,则确认不失真,不微调扬声器功放放大器的增益。 [0079] The above-described method steps of the original waveform and comparing the output waveform may have a variety of W, for example, in a preferred embodiment of the second embodiment of the present invention in embodiments, W can be the original waveform and the output waveform overall the comparison, i.e., for comparison, such as the difference between the two output waveforms of the waveform width exceeds the set value is superimposed, it is determined that the distortion, the loudspeaker amplifier gain trim amplifier through the waveform in a superimposed manner, the waveform as a superposition of two output waveforms the wide difference lower than the set value, confirmed no distortion, no fine-tuning gain amplifier speaker amplifier. 当然上述比较的方式还可W有其他方式,通过实验发现,音频信号的失真一般均发生在峰端,波形波峰或波谷处,运样将上述原始波形和输出波形的波峰和波谷进行比较即可W获取其是否失真。 Of course, the comparison of embodiment W may also have other ways, experimentally found that distortion of the audio signal waveform peak or trough generally occurs at the peak is, the sample transport peaks and troughs above the original waveform and the output waveform can be compared with W Gets whether distortion. 在本发明第二较佳实施方式的另一个实施例中,该原始波形与输出波形进行比较的方法如图5所示,包括如下步骤: In yet another preferred embodiment of the present invention, a second embodiment of the embodiment, the method of the original waveform and the output waveform shown in Figure 5 is compared, comprising the steps of:

[0080] 步骤S501、提取原始波形与输出波形的波峰和波谷; [0080] step S501, the extracted peaks and troughs of the original waveform and an output waveform;

[0081] 上述步骤中提取原始波形的输出波形的波峰和波谷的方式有多种,例如,在本发明第二较佳实施方式的一个实施例中,可W采用现有技术的波峰和波谷的提取方法,当然在本发明第二较佳实施方式的另一个实施例中,也可W采用其他的方式,例如,对波形进行采样获取波形中多个点的多个电压值,将该多个电压值中最大值确定为波形的波峰,将该多个电压值中最小值确定为波形的波谷。 [0081] There are many peaks and troughs in the manner as described above in step extracts the original waveform of an output waveform, for example, in one embodiment of the second preferred embodiment of the present invention may be employed W crests and troughs of the prior art extraction method, this embodiment of course, W may also be employed in other ways, for example, to obtain a plurality of voltage waveform is sampled waveform values ​​of a plurality of points in a second preferred embodiment of the present invention a further embodiment, the plurality of is determined as the maximum voltage values ​​of the peaks of the waveform, the minimum value of the plurality of voltage values ​​determined to be a valley of the waveform.

[0082] 步骤S502、计算原始波形波峰的电压值与输出波形波峰的电压值的峰值差值,计算原始波形波谷的电压值与输出波形波谷的电压值的谷值差值, [0082] step S502, the difference between the peak voltage value at the voltage output waveform of the original waveform peaks calculated peak, valley value of the voltage difference between the original waveform trough calculated value and the output voltage waveform of the trough,

[0083] 步骤S503、如上述峰值差值和谷值差值均小于差值阔值范围内,确定比较结果可W为波形不失真,如上述峰值差值和谷值差值中有任意一个大于差值阔值,则确定比较结果可W为波形失真。 [0083] step S503, the difference between the peaks and valleys as described above is less than the difference between the difference value wide range of values, the comparison result may be determined as waveform distortion W, as described above peak and valley difference is the difference between an arbitrary value greater than a wide difference value, it is determined that the comparison result may be W is a waveform distortion.

[0084] 上述步骤S404根据比较结果微调该扬声器功放放大器的增益的实现方式具体可W为,如比较结果为不失真,则不调整该扬声器功放放大器的增益,如比较结果为失真, 则将该扬声器功率放大器的增益调低一个等级。 [0084] The above-described steps S404 to fine-tune implementation of this comparison result speaker amplifier gain of the amplifier may be specifically W is, as a comparison result of distortion, the gain of the amplifier, the speaker amplifier is not adjusted, as the comparison result is distorted, the gain power amplifier speaker down a level. 上述等级的具体数值可W由厂家自行设定,上述一个等级的放大器的增益值需要低于步骤S103中依据所述输出电压调整所述智能终端内的扬声器功放放大器增益的调整值,该调整值即调整前放大器增益值与调整后放大器增益值之间的差值。 The above-described specific numerical values ​​W level may be set by the manufacturer, the gain value of the amplifier require a level lower than in step S103 based on the adjustment value output speaker amplifier gain of the amplifier in the intelligent terminal voltage adjustment, the adjustment value i.e., the difference between the adjustment value of the amplifier gain before the gain adjusting amplifier. 例如在本发明第二较佳实施方式的一个实施例中,上述等级可W 为0. 1地;在本发明第二较佳实施方式的另一个实施例中,上述等级也可W为0.05地,本发明具体实施方式并不局限上述等级的具体数值,只需要微调时将放大器的增益数值调低即可。 For example, in a preferred embodiment of the second embodiment of the present invention, the above-described level may be W is 0.1; in another preferred embodiment of the second embodiment of the present invention embodiment, the above-described level may be 0.05 W when the present invention is not limited to particular embodiments of particular value of said level, only need to fine tune the gain value of the amplifier can be lowered.

[0085] 下面来说明本发明第二较佳实施方式的技术效果,本发明第二较佳实施方式在扬声器功放放大器的增益调整后,通过比较音频的原始波形和扬声器功放放大器的输出波形来确定前面的扬声器功放放大器的增益调整是否合适,运样就能够依据比较结果对扬声器功放放大器的增益进行微调,运样就可W对输出波形进行细微的调整,从而减少音频信号的失真。 [0085] Next will be described a second preferred embodiment of the technical effect of embodiments of the present invention, a second preferred embodiment of the present invention, after the speaker amplifier gain adjustment amplifier, the output waveform is determined by comparing the original waveform of the audio amplifier and speaker amplifier in front of the speaker amplifier amplifier gain adjustment is appropriate, it is possible to transport the sample to the speaker amplifier amplifier gain is finely adjusted based on the comparison result, the sample transport output waveform W can be finely adjusted, so as to reduce distortion of the audio signal.

[0086] 本发明具体实施方式还提供一种智能终端的音频控制系统,下面结合附图对智能终端的音频控制系统进行详细的描述。 DETAILED DESCRIPTION OF THE INVENTION Audio embodiments also provide an intelligent control system terminal, the control system of the audio accompanying drawings intelligent terminal binding detail [0086] present.

[0087] 参阅图6,如图6所示为本发明第=较佳实施方式提供的一种智能终端的音频控制系统600,该系统可W安装在智能终端内,该智能终端包括但不限于:手机、平板电脑、 i-touch、PDA(英文全称:Personal Digital Assistant,中文:掌上电脑)等智能设备,如图6所示,该智能终端包括如下单元或模块; [0087] Referring to Figure 6, shown in FIG. 6 is a schematic of an intelligent control system = audio preferred embodiment provides a terminal 600 of the invention, the system can be installed in the intelligent terminal W, the smart terminal including but not limited to : phone, tablet, i-touch, PDA (English name: Personal Digital Assistant, Chinese: PDA), and other smart devices, shown in Figure 6, the smart terminal unit or module comprises;

[0088] 电压检测单元601,用于在扬声器播放音频时,检测智能终端电池的输出电压; [0088] The voltage detecting unit 601, when a speaker for playing audio, detect the output voltage of the battery intelligent terminal;

[0089] 上述电压检测单元601检测智能终端电池的输出电压可W采用多种方式来检测输出电压,例如,在本发明第=较佳实施方式的一个实施例中,可W通过外围设备来进行检测,例如通过万用表来进行检测,在本发明第=较佳实施方式的另一个实施例中,可W通过智能终端内部的电压检测忍片对电池的输出电压进行检测,W手机为了,手机的内部通常集成有电池输出电压检测忍片,例如大神品牌的智能手机的电池输出电压检测忍片即为安森美LC709203的忍片,当然在其他品牌的手机也可W采用不同型号的电池输出电压检测忍片,本发明具体实施方式并不局限上述检测忍片的具体型号,也不局限上述检测智能终端电池的输出电压的具体方式。 [0089] The voltage detecting unit 601 detects the output voltage of the battery intelligent terminal can be detected in several ways W output voltage, for example, in a preferred embodiment of the first embodiment of the present = invention embodiments, W can be performed by the peripheral device detection, for example by detecting the multimeter, another embodiment of the first preferred embodiment = embodiments of the invention, the sheet can endure W output voltage of the battery is detected by detecting the voltage inside the intelligent terminal, for W phone, the phone internal usually integrated battery output voltage detection endure pieces, such as the god brand of smart phone battery output voltage detection forbearance piece is the oN LC709203 forbearance piece, of course, other brands of mobile phones can also be W using different types of battery output voltage detection tolerance sheet, embodiments of the present invention is not limited to the specific embodiment of the detection model specific tolerance sheet, not limited to the above specific embodiment detects an output voltage of the battery of the intelligent terminal.

[0090] 电压比较单元606,用于将所述输出电压与预设电压阔值进行比较; [0090] The voltage comparing unit 606, for the output voltage with a preset voltage width value;

[0091] 增益调整单元602,用于在电压比较单元606比较出所述输出电压小于或等于所述预设电压阔值时,依据所述输出电压调整所述智能终端内的扬声器功放放大器增益。 [0091] The gain adjustment unit 602, the voltage comparing unit 606 for comparing an output when the voltage is less than or equal to the preset value of voltage width, according to the amplifier output speaker amplifier gain adjustment voltage within the intelligent terminal.

[0092] 上述增益调整单元602的电压调整扬声器的表现形式可W有多种表现形式,例如,在本发明第一较佳实施方式的一个实施例中,上述扬声器功放放大器可W是一个单独的忍片,当然在本发明第=较佳实施方式的另一实施例中,上述扬声器功放放大器可W是集成在另外忍片内,本发明并不局限上述扬声器功放放大器的表现形式。 [0092] forms the gain adjustment unit 602 to adjust the voltage W speaker may have a variety of forms, for example, in a preferred embodiment of the first embodiment of the present invention, the speaker amplifier amplifier W is a single tolerance sheet, of course, a further embodiment of the first preferred embodiment of the = present invention, the speaker amplifier W amplifier is integrated within a tolerance sheet Further, the present invention is not limited to the speaker amplifier forms the amplifier. 上述步骤中放大器的增益的调整方式也可W有多种方式,例如,在本发明第=较佳实施方式的一个实施例中,上述调整方式可W为直接调整方式,在本发明第=较佳实施方式的另一个实施例中,上述调整方式可W为,通过主控忍片发送放大器增益调整消息或命令实现扬声器功放放大器的增益的调整,W手机为例,上述放大器增益调整消息或命令具体可W参见I 2C(英文: Inter - Integrated Circuit)总线协议的描述。 In the manner as described above to adjust the gain of the amplifier in step may be W is a number of ways, e.g., in the embodiment, in the adjustment mode may be W = a preferred embodiment of the first embodiment of the present invention is a direct adjustment mode, in the present invention than = another embodiment of the best mode embodiment, W is the adjustment manner, message transmission amplifier gain adjustment command to implement a speaker amplifier or amplifier gain adjustment tolerance by the master sheet, W phone, for example, adjusting the gain of the amplifier messages or commands specific W Referring I 2C (English: Inter - Integrated Circuit) bus protocol is described. 当然上述放大器增益调整消息或命令的名称在不同的协议中可W有不同的命名,本发明具体实施方式并不限制上述命令或消息的具体名称,只需改命令或消息能够实现扬声器功率放大器的增益即可。 Of course, said amplifier gain adjustment message or command names in different protocols may have different names W, embodiments of the present invention is not limited to the specific above command name or message, simply change the message or command can be realized a speaker amplifier gain can be.

[0093] 优选的,增益调整单元602包括: [0093] Preferably, the gain adjustment unit 602 comprises:

[0094] 查询模块6021,用于根据该输出电压从预先设定的电压与放大器增益映射表中查询该输出电压对应的放大器增益; [0094] The query module 6021, an amplifier gain of the output voltage corresponding to the voltage gain of the amplifier output voltage from the mapping table preset in the query;

[0095] 上述输出电压从预先设定的电压与放大器增益映射表一个表现形式如表1所示, [0095] The voltage gain of the amplifier and the output voltage from a map set in advance as a form of expression shown in Table 1,

Figure CN105553434AD00111

[0096] 表1 : [0096] Table 1:

[0097] [0097]

[009引如表1所示,表1中输出电压的值均为具体的值,在实际应用中,由于电池的电压一般均为非线性的变化,所W其实际检测的电池输出电压值一般不会为定值,即依据步骤SlOl中检测出的输出电压的值一般不会在表1中查找到,为了解决运个问题,运里一般将输出电压设定成一个范围,只要在运个范围内,则匹配对应的放大器增益,具体的映射表如表2所示,表2为电压与放大器另一个表现形式; [Cited, in Table 1 the value of the output voltage 009 as shown in Table 1 are of particular value in practical applications, since the battery voltage changes in general are non-linear, the actual battery output voltage value detected by the general W the output voltage is not a constant value, i.e., detected according to step SlOl is generally not found in table 1, in order to solve the transport problem, generally shipped in the output voltage is set to a range, as long as a transport within the range, the gain of the amplifier to match the corresponding specific mapping table shown in table 2. table 2 shows another form of a voltage amplifier;

[0099]表2 : 阳100] [0099] Table 2: male 100]

Figure CN105553434AD00112

阳101] 如表2所示的电压值W及匹配的放大器增益,通过实验表明,采用表2所示的电压范围匹配放大器增益能够在保证输出音频不失真的前提下,有效的减少映射表的存储量。 Male 101] As shown in Table 2 voltage matches the value W and the amplifier gain, experiments show that the voltage range shown in Table 2 is capable of matching the gain of the amplifier guarantee that the output audio without distortion premise, effectively reduce mapping table Storage capacity. 阳102] 调整模块6022,用于将扬声器功放放大器增益调整成所述输出电压对应的放大器增益。 Male 102] adjustment module 6022, a speaker amplifier for adjusting the gain of the amplifier to output a voltage corresponding to the amplifier gain.

[0103] 优选的,上述增益调整单元602具体用于依据预设公式计算出所述扬声器功放放大器增益,将所述扬声器功放放大器增益调整至A ;预设公式具体可W为: 阳104] [0103] Preferably, the gain adjusting unit 602 configured to calculate a predetermined formula based on the speaker amplifier gain amplifier, the amplifier gain adjusting amplifier to the speaker A; W is a predetermined formula may be specifically: male 104]

Figure CN105553434AD00113

[0105] 其中,A表示扬声器功放放大器的增益,A为经验系数;V康示第i次检测的电池输出电压值,^表示历史检测的输出电压值平方的均值。 [0105] wherein, A represents the amplifier gain of the amplifier speaker, A is an empirical coefficient; Kang V shows the battery output voltage value of the i-th detection, ^ represents the mean value of the output voltage of the square of the detected history. 阳106] 优选的,上述系统还可W包括: Male 106] Preferably, said system further comprising W:

[0107] 波形获取单元603,用于获取所述播放音频的原始波形和扬声器功放放大器的输出波形; [0107] waveform obtaining unit 603, configured to obtain the original waveform and the output waveform of the speaker amplifier play audio amplifier;

[0108] 上述波形获取单元603中获取智能终端输出音频的原始波形的方式可W有多种, 例如,在本发明第=较佳实施方式的一个实施例中,智能终端可W通过网络直接下载该输出音频的原始波形,在本发明第=较佳实施方式的另一实施例中,智能终端可W通过采样的方式获取输出音频的原始波形,上述采样的方式可W采用现有技术的采样方法,运里不在寶述。 [0108] The waveform acquiring unit 603 acquires an audio output terminal intelligent manner can have a variety of original waveform W, for example, in a preferred embodiment example of the first embodiment of the = present invention, the intelligent terminal may be downloaded directly through the network W the output waveform of the original audio, in another embodiment of the first preferred embodiment of the present = invention sample embodiment, the intelligent terminal may output audio W acquired by way of sampled original waveform, the above-described embodiment may be sampled using the prior art embodiment W method, not shipped in Bao said. 上述步骤中扬声器功放放大器的输出波形的获取方式具体可W包括通过对扬声器功放放大器的输出采样得到该扬声器功放放大器的输出波形,该采样的具体方法也可W参见现有技术的描述,运里不在寶述,本发明具体实施方式并不局限上述获取的具体方式。 Obtaining the above step speaker amplifier amplifier output waveform may specifically include an output waveform W by sampling the output speaker amplifier to the speaker amplifier amplifier amplifier to obtain specific sampling method can also refer to the prior art described W, transported in Po is not described, embodiments of the present invention is not limited to the above specific embodiment acquired.

[0109] 比较单元604,用于将所述原始波形与所述输出波形进行比较; [0109] comparing unit 604, for the original waveform and the output waveform is compared;

[0110] 微调单元605,用于根据比较结果微调所述扬声器功放放大器的增益。 [0110] trimming unit 605, the speaker amplifier gain for fine tuning amplifier according to the comparison result.

[0111] 优选的,比较单元604可W包括: [0111] Preferably, the comparison unit 604 may include W:

[0112] 提取模块6041,用于提取所述原始波形的波峰和波谷与所述输出波形的波峰和波谷; [0112] extraction module 6041, peaks and valleys for the original waveform extracting the crests and valleys of the output waveform;

[0113] 上述提取模块6041提取原始波形的输出波形的波峰和波谷的方式有多种,例如, 在本发明第=较佳实施方式的一个实施例中,可W采用现有技术的波峰和波谷的提取方法,当然在本发明第=较佳实施方式的另一个实施例中,也可W采用其他的方式,例如,对波形进行采样获取波形中多个点的多个电压值,将该多个电压值中最大值确定为波形的波峰,将该多个电压值中最小值确定为波形的波谷。 [0113] There are many peaks and troughs of the extraction module 6041 extracts the original waveform of an output waveform of the embodiment, for example, in a preferred embodiment example of the first embodiment of the = present invention, the peaks and troughs W using prior art extraction method, this embodiment of course, W may also be employed in other ways, for example, the waveform sample acquiring waveform voltage values ​​of a plurality of points in another preferred embodiment of the = present invention, the multi- voltage value is determined as the maximum peaks of the waveform, the minimum value of the plurality of voltage values ​​determined to be a valley of the waveform.

[0114] 计算模块6042,用于计算原始波形波峰的电压值与输出波形波峰的电压值的峰值差值,计算原始波形波谷的电压值与输出波形波谷的电压值的谷值差值, [0114] calculation module 6042, the peak value of the voltage difference between the calculated value of the original waveform and the peak value of the output voltage waveform peaks, the difference between the voltage value calculating valley trough original waveform voltage and output waveform of the trough,

[0115] 确定模块6043,用于如上述峰值差值和谷值差值中有任意一个大于差值阔值,贝U 确定比较结果为波形失真。 [0115] determination module 6043, a difference such as a difference between the peak and valley values ​​in the difference is greater than a width of an arbitrary value, the comparison result is determined shellfish U waveform distortion.

[0116] 优选的,上述微调单元605具体用于如所述比较结果为波形不失真,则不调整该扬声器功放放大器的增益,如所述比较结果为波形失真,则将所述扬声器功率放大器的增益调低一个等级。 [0116] Preferably, said trimming unit 605 is configured as the comparison result of waveform distortion, the loudspeaker amplifier gain amplifier is not adjusted, the comparison result as waveform distortion, then the speaker amplifier gain a lower level.

[0117] 上述微调单元605中等级的具体数值可W由厂家自行设定,例如在本发明第二较佳实施方式的一个实施例中,上述等级可W为0. 1地;在本发明第二较佳实施方式的另一个实施例中,上述等级也可W为0.05地,本发明具体实施方式并不局限上述等级的具体数值,只需要微调时将放大器的增益数值调低即可。 [0117] In particular the level value 605 W trimming unit may be set by the manufacturer, for example, in a preferred embodiment of the second embodiment of the present invention, the level may be W is 0.1; the present invention in a first another preferred embodiment of the two embodiments described above may also be level of 0.05 W, the present invention is not limited to particular embodiments of particular value of said level, only when the need to fine tune the gain value of the amplifier can be lowered.

[0118] 本系统增加波形获取单元、比较单元和微调单元后,在扬声器功放放大器的增益调整后,通过比较音频的原始波形和扬声器功放放大器的输出波形来确定前面的扬声器功放放大器的增益调整是否合适,运样就能够依据比较结果对扬声器功放放大器的增益进行微调,运样就可W对输出波形进行细微的调整,从而减少音频信号的失真。 [0118] The present system adds the waveform acquiring unit, a comparison unit and a trimming unit, after the gain adjustment loudspeaker amplifier of the amplifier to determine if previous gain adjustment speaker amplifier amplifier whether by comparing the audio original and output waveforms speaker amplifier Amplifier suitable sample transport can be performed according to the comparison result of the speaker amplifier gain amplifier trimming, the sample transport W output waveform can be finely adjusted, so as to reduce distortion of the audio signal.

[0119] 本发明具体实施方式还通过一种智能终端700,如图7所示,该智能终端包括智能终端的音频控制系统600。 [0119] In particular embodiments of the present invention through an intelligent terminal 700, as shown in Figure 7, the intelligent terminal includes an audio control system 600 of the intelligent terminal. 智能终端的音频控制系统600的具体结构可W参见本发明第= 较佳实施方式的描述,运里不在寶述。 Specific structure of the audio control system of the intelligent terminal 600 may refer to W = The first invention is described in the present preferred embodiment is not transported in said Po. 上述智能终端的具体表现形式包括但不限于:手机、 平板电脑、i-touch、PDA等智能设备。 Specific forms of the smart terminals include but are not limited to: a mobile phone, a tablet computer, i-touch, PDA and other smart devices.

[0120] 需要说明的是,对于前述的各方法实施方式或实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为根据本发明,某些步骤可W采用其他顺序或者同时进行。 [0120] Incidentally, the foregoing method described in the embodiments or examples, for ease of description, it is described as a series combination of actions, those skilled in the art should understand that the present invention is not limited by the order of the operation, since according to the present invention, some steps may be performed in other sequences or W simultaneously. 其次,本领域技术人员也应该知悉,说明书中所描述实施方式或实施例均属于优选实施例,所设及的动作和单元并不一定是本发明所必须的。 Secondly, those skilled in the art should also know that, embodiment or embodiments are exemplary embodiments described in the specification, and the set operation and the units are not necessarily required by the present invention. 阳121] 在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可W参见其他实施例的相关描述。 Male 121] In the above embodiment, the description of the various embodiments have different emphases, not described in detail part of a certain embodiment, W may be related descriptions in other embodiments. 阳122] 本发明实施例方法中的步骤可W根据实际需要进行顺序调整、合并和删减。 Male 122] The procedure of Example embodiment of the method of the present invention can be adjusted according to actual needs W sequence, deletion and merger.

[0123] 本发明实施例装置中的单元可W根据实际需要进行合并、划分和删减。 [0123] Example apparatus unit of the present invention embodiments may be combined according to need W, division and deletion. 本领域的技术人员可W将本说明书中描述的不同实施例W及不同实施例的特征进行结合或组合。 Those skilled in the art may be W Example W and features of different embodiments of the combined or combination of the different embodiments described in this specification.

[0124] 通过W上的实施方式的描述,所属领域的技术人员可W清楚地了解到本发明可W 用硬件实现,或固件实现,或它们的组合方式来实现。 [0124] By the description of the embodiments of W, those skilled in the art can understand that the present invention W W may be implemented in hardware or firmware, or a combination thereof manner. 当使用软件实现时,可W将上述功能存储在计算机可读介质中或作为计算机可读介质上的一个或多个指令或代码进行传输。 When implemented in software, the functions described above may be stored in the W-readable transmitted to one or more instructions or code on a computer-readable medium or a computer medium. 计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。 Computer-readable media includes both computer storage media and communication media, wherein communication media includes any medium that facilitates transfer of a computer program from one place to another direction. 存储介质可W是计算机能够存取的任何可用介质。 W is a storage medium may be any available media that can be accessed by a computer. W此为例但不限于:计算机可读介质可W包括随机存取存储器(Random Access Memory, RAM)、只读存储器巧eacH3nly Memcxry,ROM)、电可擦可编程只读存储器巧Iectrically Eras油Ie Programm油Ie Read-Only Memoir,EEPR0M)、只读光盘(Compact Disc Read-Only Memory, CD-ROM)或其他光盘存储、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质。 This Example W but not limited to: a computer-readable medium may comprise random access memory W (Random Access Memory, RAM), read only memory clever eacH3nly Memcxry, ROM), electrically erasable programmable read only memory Qiao Iectrically Eras oil Ie Programm oil Ie Read-Only Memoir, EEPR0M), CD-ROM (Compact disc Read-Only memory, CD-ROM) or other optical disk storage, magnetic disk storage or other magnetic storage devices, or can be used to carry or store instructions or data structures desired program code in a computer and can be accessed by any other medium. 此外。 In addition. 任何连接可W适当的成为计算机可读介质。 W can be connected to any suitable computer-readable medium become. 例如,如果软件是使用同轴电缆、光纤光缆、双绞线、数字用户线值igital Subscriber Line, DSL)或者诸如红外线、无线电和微波之类的无线技术从网站、服务器或者其他远程源传输的,那么同轴电缆、光纤光缆、双绞线、 D化或者诸如红外线、无线和微波之类的无线技术包括在所属介质的定影中。 For example, if the software is using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line values ​​igital Subscriber Line, DSL), or such as infrared, radio, and microwave wireless technology from a website, server, or other remote source, then the coaxial cable, fiber optic cable, twisted pair, D or technology such as infrared, radio, and microwave are included in wireless technologies relevant to the fixing medium. 如本发明所使用的,盘值isk)和碟(disc)包括压缩光碟(CD)、激光碟、光碟、数字通用光碟值VD)、软盘和蓝光光碟,其中盘通常磁性的复制数据,而碟则用激光来光学的复制数据。 As used in the present invention, a disk value ISK) and the disc (Disc), includes compact disc (CD), laser disc, optical disc, digital versatile disc value VD), floppy disk and blu-ray disc, copy data where disks usually magnetically, while discs with lasers reproduce data optically. 上面的组合也应当包括在计算机可读介质的保护范围之内。 Combinations of the above should also be included within the scope of computer-readable media.

[01巧]总之,W上所述仅为本发明技术方案的较佳实施例而已,并非用于限定本发明的保护范围。 [Qiao 01] In summary, the only aspect of the W preferred embodiment of the present invention but are not intended to limit the scope of the present invention. 凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 Any modification within the spirit and principle of the present invention, made, equivalent substitutions, improvements, etc., should be included within the scope of the present invention.

Claims (13)

  1. 1. 一种智能终端的音频控制方法,其特征在于,所述方法包括: 在扬声器播放音频时,检测智能终端电池的输出电压; 将所述输出电压与预设电压阔值进行比较; 如所述输出电压小于或等于所述预设电压阔值,则依据所述输出电压调整所述智能终端内的扬声器功放放大器增益。 Audio control method for a smart terminal, wherein the method comprises: when playing audio speakers, smart terminals detect the output voltage of the battery; the output voltage with a preset voltage value width; as said output voltage is less than or equal to the preset value of voltage width is adjusted according to the output voltage of the amplifier gain of the amplifier in the speaker of the intelligent terminal.
  2. 2. 根据权利要求1所述的方法,其特征在于,所述依据所述输出电压调整所述智能终端内的扬声器功放放大器增益,包括: 根据该输出电压从预先设定的电压与放大器增益映射表中查询该输出电压对应的放大器增益,将扬声器功放放大器增益调整成该输出电压对应的放大器增益。 2. The method according to claim 1, wherein said speaker amplifier according to the output voltage of the amplifier gain adjustment of the intelligent terminal, comprising: a voltage according to the output from the amplifier with a preset voltage gain map query table corresponding to the output voltage of the amplifier gain, the amplifier gain adjusting amplifier to the speaker of the output voltage corresponding to the amplifier gain.
  3. 3. 根据权利要求1所述的方法,其特征在于,所述依据所述输出电压调整所述智能终端内的扬声器功放放大器增益,包括: 根据预设的计算公式计算出所述扬声器功放放大器增益,将所述扬声器功放放大器增益调整至计算得到的增益值;所述预设的计算公式如下: 3. The method according to claim 1, wherein said speaker amplifier according to the output voltage of the amplifier gain adjustment of the intelligent terminal, comprising: calculating the speaker amplifier gain amplifier according to a preset formula , the speaker amplifier gain amplifier to the gain adjustment value calculated; the preset calculation formula as follows:
    Figure CN105553434AC00021
    其中,A表示扬声器功放放大器的增益,λ为经验系数;Vi表示第i次检测的电池输出电压值,表示历史检测的输出电压值平方的均值。 Wherein, A represents the amplifier gain amplifier speaker, [lambda] is an empirical coefficient; Vi, an output voltage value of the battery detected by the i-th, the output voltage represents the mean value of the square of the detected history.
  4. 4. 根据权利要求1所述的方法,其特征在于,所述方法在依据所述输出电压调整所述智能终端内的扬声器功放放大器增益之后,还包括: 获取所述播放音频的原始波形和扬声器功放放大器的输出波形; 将所述原始波形与所述输出波形进行比较,根据比较结果微调所述扬声器功放放大器的增益。 After 4. The method according to claim 1, characterized in that the method of the speaker output amplifier within the amplifier gain adjustment voltage based on the intelligent terminal, further comprising: obtaining the original waveform and playing audio speaker amplifier output waveform of the amplifier; comparing the original waveform and the output waveform, the speaker amplifier gain trim amplifier according to the comparison result.
  5. 5. 根据权利要求4所述的方法,其特征在于,所述将所述原始波形与所述输出波形进行比较,包括: 提取所述原始波形的波峰和波谷与所述输出波形的波峰和波谷; 计算原始波形波峰的电压值与输出波形波峰的电压值的峰值差值,计算原始波形波谷的电压值与输出波形波谷的电压值的谷值差值, 如上述峰值差值和谷值差值中有任意一个大于差值阔值,则确定比较结果为波形失真。 The method according to claim 4, wherein said comparing the original waveform and the output waveform, comprising: extracting said peaks and troughs with crests and troughs of the waveform of the original waveform output ; the difference between the peak voltage value at the voltage peaks of the output waveform is calculated original waveform peak value of the voltage difference between the voltage value and the output value of the waveform of the original waveform trough trough trough calculated as the difference between peaks and valleys above difference there difference is greater than a width of any value, it is determined that the comparison result of waveform distortion.
  6. 6. 根据权利要求5所述的方法,其特征在于,所述根据比较结果微调所述扬声器功放放大器的增益,包括: 如所述比较结果为波形不失真,则不调整该扬声器功放放大器的增益,如所述比较结果为波形失真,则将所述扬声器功率放大器的增益调低一个等级依据所述输出电压调整所述智能终端内的扬声器功放放大器增益的调整值。 6. The method according to claim 5, wherein said trimming speaker amplifier gain amplifier according to the comparison result, comprising: the comparison result as waveform distortion, the loudspeaker amplifier gain of the amplifier is not adjusted , as the comparison result waveform distortion, then the gain of a loudspeaker amplifier down according to the level of the output voltage adjustment amplifier speaker amplifier gain adjustment value in the intelligent terminal.
  7. 7. -种智能终端的音频控制系统,其特征在于,所述系统包括: 电压检测单元,用于在扬声器播放音频时,检测智能终端电池的输出电压; 电压比较单元,用于将所述输出电压与预设电压阔值进行比较; 增益调整单元,用于在所述电压比较单元比较出所述输出电压小于或等于所述预设电压阔值时,依据所述输出电压调整所述智能终端内的扬声器功放放大器增益。 7. - kind of audio control system of the intelligent terminal, wherein, said system comprising: a voltage detecting means, when a speaker for playing audio, detect the output voltage of the battery intelligent terminal; voltage comparison means, for the output voltage is compared with a preset voltage value width; gain adjusting means configured to, when the voltage comparing unit comparing an output voltage is less than or equal to the preset value of voltage width, according to the output voltage adjusting said intelligent terminals speaker amplifier within the amplifier gain.
  8. 8. 根据权利要求7所述的系统,其特征在于,所述增益调整单元包括: 查询模块,用于根据该输出电压从预先设定的电压与放大器增益映射表中查询该输出电压对应的放大器增益; 调整模块,用于将扬声器功放放大器增益调整成所述输出电压对应的放大器增益。 8. The system according to claim 7, wherein said gain adjusting unit comprises: a query module, for the voltage gain of the amplifier output voltage from the mapping table of preset queries corresponding to the output voltage of amplifier gain; adjusting means for adjusting the gain of the amplifier to the speaker amplifier output voltage corresponding to the amplifier gain.
  9. 9. 根据权利要求7所述的系统,其特征在于,所述增益调整单元具体用于根据预设的计算公式计算出所述扬声器功放放大器增益,将所述扬声器功放放大器增益调整至计算得到的增益值;所述预设的计算公式如下: 9. The system according to claim 7, wherein said gain adjusting means for said particular speaker amplifier amplifier gain is calculated according to a predetermined calculation formula, the amplifier gain adjusting amplifier to the speaker calculated gain value; and the preset calculation formula as follows:
    Figure CN105553434AC00031
    其中,A表示扬声器功放放大器的增益,λ为经验系数;Vi表示第i次检测的电池输出电压值,表示历史检测的输出电压值平方的均值。 Wherein, A represents the amplifier gain amplifier speaker, [lambda] is an empirical coefficient; Vi, an output voltage value of the battery detected by the i-th, the output voltage represents the mean value of the square of the detected history.
  10. 10. 根据权利要求7所述的系统,其特征在于,所述系统还包括: 波形获取单元,用于获取所述播放音频的原始波形和扬声器功放放大器的输出波形; 比较单元,用于将所述原始波形与所述输出波形进行比较; 微调单元,用于根据比较结果微调所述扬声器功放放大器的增益。 10. The system according to claim 7, characterized in that the system further comprises: a waveform obtaining means for obtaining original and output waveforms for the speaker amplifier play audio amplifier; comparing unit, for the comparing said original waveform and the output waveform; trimming unit for trimming the gain of the amplifier speaker amplifier according to the comparison result.
  11. 11. 根据权利要求10所述的系统,其特征在于,所述比较单元包括: 提取模块,用于提取所述原始波形的波峰和波谷与所述输出波形的波峰和波谷; 计算模块,用于计算原始波形波峰的电压值与输出波形波峰的电压值的峰值差值,计算原始波形波谷的电压值与输出波形波谷的电压值的谷值差值, 确定模块,用于如上述峰值差值和谷值差值中有任意一个大于差值阔值,则确定比较结果为波形失真。 11. The system of claim 10, wherein said comparing means comprises: extraction means for the peaks and troughs of the crests and valleys extracting the original waveform and the output waveform; calculating module, for calculating a peak difference between the original waveform peak voltage value at the voltage output waveform peaks, the voltage difference between the valley value and the output voltage value of the waveform of the original waveform calculation trough troughs determining module configured as described above, and the difference between the peak there is any difference between a valley width is greater than the difference value, it is determined that the comparison result is waveform distortion.
  12. 12. 根据权利要求10所述的系统,其特征在于,所述微调单元具体用于如所述比较结果为波形不失真,则不调整该扬声器功放放大器的增益,如所述比较结果为波形失真,则将所述扬声器功率放大器的增益调低一个等级,所述一个等级的扬声器功率放大器的增益值小于依据所述输出电压调整所述智能终端内的扬声器功放放大器增益的调整值。 12. The system according to claim 10, wherein said trimming unit is configured as the comparison result of waveform distortion, the gain of the amplifier, the speaker amplifier is not adjusted as a result of waveform distortion comparison , then the gain of a loudspeaker amplifier in lower levels, speaker gain of the power amplifier is less than a level adjustment value of the amplifier gain of the amplifier in the speaker terminal according to the output voltage of the smart adjustment.
  13. 13. -种智能终端,其特征在于,所述智能终端包括如权利要求7-12任一所述的智能终端的音频控制系统。 13. - kind of intelligent terminals, characterized in that said intelligent terminal includes an audio control system of an intelligent terminal according to any one of claims 7-12.
CN 201510716142 2015-10-28 2015-10-28 Intelligent terminal audio control method and system and intelligent terminal CN105553434A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201510716142 CN105553434A (en) 2015-10-28 2015-10-28 Intelligent terminal audio control method and system and intelligent terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201510716142 CN105553434A (en) 2015-10-28 2015-10-28 Intelligent terminal audio control method and system and intelligent terminal

Publications (1)

Publication Number Publication Date
CN105553434A true true CN105553434A (en) 2016-05-04

Family

ID=55832411

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201510716142 CN105553434A (en) 2015-10-28 2015-10-28 Intelligent terminal audio control method and system and intelligent terminal

Country Status (1)

Country Link
CN (1) CN105553434A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1879297A (en) * 2003-11-06 2006-12-13 摩托罗拉公司 System and method for controlling audio output
US20090125745A1 (en) * 2007-11-13 2009-05-14 Hyatt Edward C Automatic reduced audio low battery warning
CN103283284A (en) * 2011-01-10 2013-09-04 高通股份有限公司 Battery power monitoring and audio signal attenuation
CN104917474A (en) * 2014-03-14 2015-09-16 联想(北京)有限公司 Audio amplifier module gain setting method and electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1879297A (en) * 2003-11-06 2006-12-13 摩托罗拉公司 System and method for controlling audio output
US20090125745A1 (en) * 2007-11-13 2009-05-14 Hyatt Edward C Automatic reduced audio low battery warning
CN103283284A (en) * 2011-01-10 2013-09-04 高通股份有限公司 Battery power monitoring and audio signal attenuation
CN104917474A (en) * 2014-03-14 2015-09-16 联想(北京)有限公司 Audio amplifier module gain setting method and electronic device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
樊卫东等: "双模式控制的防失真D类音频功率放大器", 《南京邮电大学学报(自然科学版)》 *

Similar Documents

Publication Publication Date Title
US20110002471A1 (en) Systems and methods for transducer calibration and tuning
US20090062944A1 (en) Modifying media files
US20060147059A1 (en) Smart volume adjusting method for a multi-media system
US20170207762A1 (en) Correction of unknown audio content
CN102543119A (en) Scene-based music playing processing method and music playing device
CN103078997A (en) Method and system for setting volume of mobile terminal and mobile terminal
CN1617546A (en) Tune volume regulating device and method for mobile communication terminal
US20090060446A1 (en) Synchronizing digital audio and analog video from a portable media device
CN102480663A (en) Earphone interface circuit and electronic device with same
CN103237277A (en) Method and device for headset audio playing
CN202189551U (en) Speech rapid translation equipment
CN104199611A (en) Method and device for adjusting playing progress through mobile terminal
CN104811864A (en) Method and system for self-adaptive adjustment of audio effect
CN105849730A (en) Data capture method and system
US20090172508A1 (en) Portable media device that automatically configures itself and/or an external media presentation device using previously-captured presentation data
CN103986999A (en) Method, device and terminal equipment for detecting earphone impedance
CN104954555A (en) Volume adjusting method and system
US20120281845A1 (en) Method for determining an impedance of an electroacoustic transducer and for operating an audio playback device
CN102184168A (en) Device and method for implementing electronic bookmarks
CN105072176A (en) Wireless connection method and device for playing system
US9053710B1 (en) Audio content presentation using a presentation profile in a content header
CN102104680A (en) Audio playing method, plug-in playing terminal and mobile terminal
CN202889535U (en) Playback device based on cloud service
US20060210042A1 (en) Auto switch system and method thereof for IP phone and default audio device
CN1875639A (en) Automatic personal playlist generation with implicit user feedback

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination