CN106101936B - Audio amplification device, method and terminal based on music maximum level - Google Patents

Audio amplification device, method and terminal based on music maximum level Download PDF

Info

Publication number
CN106101936B
CN106101936B CN201610717137.8A CN201610717137A CN106101936B CN 106101936 B CN106101936 B CN 106101936B CN 201610717137 A CN201610717137 A CN 201610717137A CN 106101936 B CN106101936 B CN 106101936B
Authority
CN
China
Prior art keywords
audio
audio amplifier
voltage
volume
power supply
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.)
Active
Application number
CN201610717137.8A
Other languages
Chinese (zh)
Other versions
CN106101936A (en
Inventor
钟光华
宋刚
章志强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanchang Black Shark Technology Co Ltd
Original Assignee
Nanchang Black Shark Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanchang Black Shark Technology Co Ltd filed Critical Nanchang Black Shark Technology Co Ltd
Priority to CN201610717137.8A priority Critical patent/CN106101936B/en
Publication of CN106101936A publication Critical patent/CN106101936A/en
Application granted granted Critical
Publication of CN106101936B publication Critical patent/CN106101936B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups
    • H04R2430/01Aspects of volume control, not necessarily automatic, in sound systems

Abstract

The invention provides an audio amplification device, method and terminal based on the maximum level of music, comprising an application processor: the device comprises a data reading module, a data processing module and a control module, wherein the data reading module is used for reading metadata information of an audio file, extracting a peak value of a playback gain of the audio file from the metadata information, and determining a target volume and controlling an output voltage of a direct current power supply according to the peak value of the playback gain of music; a DC power supply for driving the audio amplifier; the digital-to-analog converter is used for outputting the audio signal to the audio amplifier; the audio amplifier is used for amplifying and outputting the audio signal received from the digital-to-analog converter; the dc power supply supports bus voltage regulation. The audio amplifier PA voltage regulation process does not influence the output tone quality; thereby reducing power consumption.

Description

Audio amplification device, method and terminal based on music maximum level
Technical Field
The embodiment of the invention relates to a voltage regulation method of an audio amplifier, in particular to an audio amplification device, a method and a terminal based on the maximum level of music.
Background
In the field of existing mobile terminals, there are many schemes for low power consumption audio, and among them, a relatively novel scheme belongs to the "ClassH" scheme, and as shown in fig. 1, the power supply voltage of an audio amplifier (PA) is reduced by inspecting the output voltage of a digital-to-analog converter (DAC), adjusting the positive and negative power supply voltages, and tracking the signal size to make a change, thereby achieving the purpose of reducing power consumption. However, the existing scheme has a plurality of defects:
1. the left and right sound channels share one set of direct current power supply DC-DC (if not, the cost is doubled), because the signals of the left and right sound channels are different, the direct current power supply DC-DC can only track the comprehensive value of the left and right sound channels, but is not equal to any sound channel, and the voltage of the difference part between the direct current power supply DC-DC and the left and right sound channels is noise for the power supply, therefore, when the ClassH power amplifier works, the unwanted noise voltage is injected from the power supply, and the tone quality output by the audio amplifier (PA) is influenced finally;
2. the output of the DC power supply DC-DC has no way to filter through a large capacitor (which is detrimental to noise and response), and if added, the DC power supply DC-DC cannot track the signal magnitude changes. Therefore, in the process of large signals, most of current is taken from the direct current power supply DC-DC, the requirement on the transient response of the direct current power supply DC-DC is very high, the direct current power supply DC-DC can not respond to sudden large current (the minimum response period is one clock period), and because energy can not be provided from a large capacitor, sufficient energy supply can not be obtained instantly, and the phenomenon of insufficient strength on hearing can be caused;
3. as shown in fig. 2, the positive and negative power supplies simultaneously increase and decrease the voltage as the signal swings to positive and negative half cycles. When the signal swings to the positive half cycle, the change of the negative half cycle power supply fluctuates to the power supply voltage of the push-pull transistor of the negative rail, because the internal resistance of the push-pull transistor of the negative rail is not infinite, namely PSSR is not infinite, therefore the fluctuation on the negative power supply flows to the output end through the transistor, and the sound quality is deteriorated;
4. when the voltage is small to a certain degree, the voltage cannot be reduced continuously, otherwise, the PA works abnormally, such as the abnormality of a bias circuit, so that a knee point between voltage change and unchanged exists, a large amount of higher harmonics are introduced back to the knee point, and the tone quality is influenced;
5. because the DC power supply DC-DC changes along with the change of the output voltage, the audio amplifier PA has distortion, and the DC power supply DC-DC tracks the change of the output, the output distortion of the DC power supply DC-DC is larger (if the output distortion is not larger, the output can be output after the DC isolation by the output of the DC power supply DC-DC directly), according to the prior art, the distortion is larger, the distortion is represented as noise on the power supply of the audio amplifier PA, and the noise can be mixed into the output, and finally the tone quality is influenced;
6. because the voltages of the positive power supply and the negative power supply are low near the zero crossing point of the signal, the bias circuit inside the PA of the audio amplifier works in a critical state at the moment, the performance changes, and the static working point, the frequency response, the slew rate, the offset voltage, the offset current, the distortion characteristic, the bandwidth and other characteristics of the operational amplifier change.
The above characteristics are all basically non-steady-state effects, and the test by only relying on a steady-state sine wave alone may not be tested, so the index may still be able to test a very high value, but actually the hearing sensation may be deteriorated.
Disclosure of Invention
The invention aims to provide an audio amplification device, an audio amplification method and a terminal.
The invention provides an audio amplification device based on the maximum level of music, comprising:
an application processor: the device comprises a data storage unit, a data processing unit, a control unit and a control unit, wherein the data storage unit is used for storing metadata information of an audio file, extracting a peak value of a playback gain of the audio file from the metadata information, determining a target volume according to the peak value of the playback gain of music and controlling the output voltage of a direct current power supply;
the direct current power supply is used for supplying power to the audio amplifier;
the digital-to-analog converter is used for outputting the audio signal to the audio amplifier;
the audio amplifier is used for amplifying and outputting the audio signal received from the digital-to-analog converter;
the dc power supply supports bus voltage regulation.
Preferably, the target volume is the sum of the current volume of the music and the peak value of the playback gain.
Preferably, the application processor further comprises a preset volume-to-audio amplifier voltage mapping table, configured to adjust the voltage of the audio amplifier according to the volume-to-audio amplifier voltage mapping table when a user adjusts the volume.
Preferably, the audio amplifier further comprises a linear voltage regulator, wherein the linear voltage regulator is directly controlled by the application processor through signals and is used for reducing the influence of direct current power supply output noise on the audio amplifier.
Preferably, the output voltage of the dc power supply is greater than the output voltage of the linear regulator.
The invention provides a terminal comprising the audio amplification device.
The present invention also provides an audio amplifying apparatus based on the maximum level of music, comprising:
an application processor: the device comprises a data storage unit, a data processing unit, a control unit and a control unit, wherein the data storage unit is used for storing metadata information of an audio file, extracting a peak value of a playback gain of the audio file from the metadata information, determining a target volume according to the peak value of the playback gain of music and controlling the output voltage of a direct current power supply;
the direct current power supply is used for supplying power to the audio amplifier;
the digital-to-analog converter is used for outputting the audio signal to the audio amplifier;
the audio amplifier is used for amplifying and outputting the audio signal received from the digital-to-analog converter;
and the digital potentiometer is used for adjusting the voltage of the direct current power supply by adjusting the resistance value of the digital potentiometer.
Preferably, the target volume is the sum of the current volume of the music and the peak value of the playback gain.
Preferably, the application processor further includes a preset volume, an audio amplifier voltage and a digital potentiometer resistance mapping table, and is configured to adjust the voltage of the audio amplifier by adjusting the digital potentiometer resistance according to the volume and audio amplifier voltage mapping table when a user adjusts the volume.
Preferably, the audio amplifier further comprises a linear voltage regulator, wherein the linear voltage regulator is directly controlled by the application processor through signals and is used for reducing the influence of direct current power supply output noise on the audio amplifier.
Preferably, the output voltage of the dc power supply is greater than the output voltage of the linear regulator.
The invention also provides a terminal comprising the audio amplification device.
The invention provides an audio amplification method based on the maximum level of music, which comprises the following steps:
s100, presetting a volume and audio amplifier voltage mapping table in an application processor;
s101, reading metadata information of an audio file, extracting a peak value of playback gain of the audio file from the metadata information, determining target volume according to the peak value of the playback gain of music, and controlling output voltage of a direct-current power supply through a bus;
s102, outputting an audio signal to an audio amplifier by the digital-to-analog converter;
s103, the direct current power supply drives the audio amplifier to work;
s104, the audio amplifier amplifies and outputs the audio signal received from the digital-to-analog converter.
Preferably, in S101, the target volume is a sum of a current volume of music and the peak value of the playback gain.
Preferably, the step S101 further comprises adjusting the volume by the user and controlling the output voltage of the linear voltage regulator through the bus, so as to reduce the influence of the output noise of the dc power supply on the audio amplifier.
Preferably, the output voltage of the dc power supply is greater than the output voltage of the linear regulator.
Preferably, the step of S100 establishing a mapping table of volume and audio amplifier voltage is
S1001, reading metadata information of an audio file, sampling a playback gain peak value, calculating target volume, playing by using an application processor, and connecting audio output to an audio amplifier;
s1002, setting the voltage of an audio amplifier as the maximum value of the output voltage of the direct-current power supply and as the maximum volume output, and reading the distortion output by the audio amplifier by an audio analyzer;
s1003, gradually reducing the output voltage of the direct current power supply until the distortion tested by the audio amplifier begins to increase, and recording the corresponding audio amplifier voltage in a table;
s1004, the volume is reduced by 1dB, the output voltage of the direct current power supply is continuously adjusted down until the tested distortion of the audio amplifier begins to increase, and the voltage output by the direct current power supply is continuously recorded in the audio amplifier voltage value corresponding to-1 dB;
and S1005, repeating the step S1004 until the maximum attenuation of the volume control is reached, and recording the output voltages of the direct current power supplies corresponding to all the volumes for calling by the volume control module.
Preferably, the S101 further includes: when the user changes the volume, the volume control module in the application processor checks the output data of the digital-to-analog converter, when the zero crossing point is found, the volume control is quickly adjusted, and the voltage control of the audio amplifier is carried out according to the preset mapping table of the volume and the voltage of the audio amplifier.
The invention also provides an audio amplification method based on the maximum level of music, which comprises the following steps:
s10 presetting a volume, audio amplifier voltage and digital potentiometer resistance mapping table in the application processor;
s11 reading the metadata information of the audio file, extracting the peak value of the playback gain of the audio file from the metadata information, determining the target volume according to the peak value of the playback gain of the music and adjusting the output voltage of the DC power supply through a digital potentiometer;
S12D/A converter outputs audio signal to audio amplifier;
s13, the direct current power supply drives the audio amplifier to work;
s14 the audio amplifier amplifies and outputs the audio signal received from the digital-to-analog converter.
20. The audio amplifying method according to claim 19, wherein in S101, the target volume is a sum of a current volume of music and the peak value of the playback gain.
Preferably, the S11 further comprises adjusting the volume by the user and adjusting the output voltage of the linear regulator through the digital potentiometer, for reducing the influence of the output noise of the dc power supply on the audio amplifier.
Preferably, the output voltage of the dc power supply is greater than the output voltage of the linear regulator.
Preferably, the step of establishing the mapping table of the volume and the voltage of the audio amplifier in S10 is
S1101 reading metadata information of an audio file, sampling a playback gain peak value, calculating target volume, playing by using an application processor, and connecting audio output to an audio amplifier;
s1102, setting the voltage of the audio amplifier as the maximum value of the output voltage of the direct-current power supply and the maximum volume output, and reading the distortion output by the audio amplifier by an audio analyzer;
s1103, adjusting the resistance value of the digital potentiometer, gradually reducing the output voltage of the direct current power supply until the tested distortion of the audio amplifier begins to increase, and recording the corresponding audio amplifier voltage and the resistance value of the digital potentiometer in a table;
s1104, the volume is reduced by 1dB, the resistance value of the digital potentiometer is continuously adjusted to reduce the output voltage of the direct current power supply until the distortion tested by the audio amplifier begins to increase, and the voltage output by the direct current power supply is continuously recorded in the voltage value of the audio amplifier and the resistance value of the digital potentiometer corresponding to-1 dB;
s1105 repeats S1104 until the maximum attenuation of volume control is reached, and records the dc power output voltage and the digital potentiometer resistance corresponding to all the volumes, for the volume control module to call.
Preferably, the S11 further includes: when the user changes the volume, the volume control module in the application processor checks the output data of the digital-to-analog converter, when the zero crossing point is found, the volume control is quickly adjusted, and the voltage control of the audio amplifier is carried out according to the preset volume, the voltage of the audio amplifier and the resistance mapping table of the digital potentiometer.
The invention has the beneficial effects that 1, the output tone quality is not influenced in the process of regulating the voltage of the PA of the audio amplifier; 2. the audio amplifier PA voltage regulation is carried out when the volume is changed, and the volume and the voltage are regulated when a zero crossing point is found, so that the positive and negative power supplies are symmetrical to the output, the noise generated by the voltage change is mutually offset and is not transmitted to an output terminal, and the sound effect is not influenced; 3. because the PA voltage of the audio amplifier is formulated according to the peak value of pure tone at the volume level, the difference between the left and right sound channels can not exist, and the problem of mutual interference of the left and right sound channels can not occur; 4. because the voltage of the audio amplifier PA is obtained according to the maximum sine wave peak value of the volume, the voltage of the audio amplifier PA is unchanged in the audio playing process, so that no inflection point of voltage change exists, and noise is not introduced to the output end of the audio amplifier PA; 5. because the voltage of the audio amplifier PA is unchanged during working, a large capacitor can be added behind the DC-DC power supply to achieve a better filtering effect, and the dynamic characteristic of the power supply is increased. 6. Because the voltage of the audio amplifier PA is unchanged during working, the linear voltage regulator LDO can be added behind the DC-DC power supply to be linked with the DC-DC working voltage of the DC power supply, so that the influence of the noise of the DC-DC power supply on the audio amplifier PA is further reduced; 7. the working voltage of the audio amplifier PA is obtained by calibration under the condition that the sine wave is not distorted, and the voltage meets the requirement of bias voltage, so that the problem that the voltage is too low when a signal approaches a zero crossing point is solved, and the problem that the audio distortion is increased due to small volume is solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a schematic diagram of a prior art audio amplifier circuit;
FIG. 2 is a graph of a prior art audio amplification output signal swing;
FIG. 3 is a schematic diagram of audio amplitudes in an audio file according to the present invention;
FIG. 4 is a schematic diagram of an audio amplifier according to the present invention;
FIG. 5 is a schematic diagram of another audio amplifying apparatus according to the present invention;
FIG. 6 is a schematic diagram of an audio amplification method according to the present invention;
FIG. 7 is a schematic diagram of another audio amplification method according to the present invention;
FIG. 8 is a flow chart illustrating a method for creating a volume-to-audio amplifier voltage mapping table according to the present invention;
FIG. 9 is a flow chart illustrating a method for creating a volume, audio amplifier voltage and digital potentiometer resistance mapping table according to the present invention;
FIG. 10 is a schematic diagram of a digital potentiometer according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 3, the audio amplitude diagram in the audio file of the present invention has some differences in playback level of music, some differences being larger and some differences being smaller, and as shown in fig. 3, the difference between two songs, specifically, the voltage of the audio amplifier PA may change significantly during the song switching process. Therefore, in view of the difference of high and low levels during music playback, the invention adjusts the power supply voltage of the audio amplifier PA according to the level of music playback, so that the audio amplifier PA works in the state of optimal performance and power consumption, and the power consumption is reduced; the maximum output of audio is satisfied for high-level playback, and the power consumption is reduced for low-level music with lower voltage and various performances of music. Specifically, the present invention reads metadata information of an audio file by an application processor, extracts a peak value of a playback gain of the audio file from the metadata information, determines a target volume according to the peak value of the playback gain of music, and controls an output voltage of a direct current power supply, i.e., a voltage of an audio amplifier PA. As known to those skilled in the art, the peak value of the playback gain is the playback gain value corresponding to the maximum audio amplitude value in fig. 3.
As shown in fig. 4, a schematic diagram of an audio amplifying apparatus according to the present invention includes an application processor: the device comprises a data storage unit, a data processing unit, a control unit and a control unit, wherein the data storage unit is used for storing metadata information of an audio file, extracting a peak value of a playback gain of the audio file from the metadata information, determining a target volume according to the peak value of the playback gain of music and controlling the output voltage of a direct current power supply; a DC power supply for driving the audio amplifier; the digital-to-analog converter is used for outputting the audio signal to the audio amplifier; and the audio amplifier is used for amplifying and outputting the audio signal received from the digital-to-analog converter. In this embodiment, the dc power supply supports bus voltage regulation. The bus may be an I2C bus or other buses with voltage regulation function, and those skilled in the art will appreciate that the I2C bus is only an example and is not a limitation to the present invention. Further, in this embodiment, the voltage output of the dc power supply is directly controlled by the volume control module, instead of controlling the voltage of the dc power supply by a digital-to-analog converter (DAC), so that the output sound quality is not affected in the process of adjusting the voltage of the audio amplifier PA.
Further, the target volume is the sum of the current volume of the music and the peak value of the playback gain. Examples are as follows: the current volume is set to-2 dB, the peak value of the playback gain is-3 dB, the calculation mode is-2 dB + -3 dB-5 dB, the working voltage of the audio PA corresponding to-5 dB is + -4.5V by looking up the table, and the process is completed by setting the voltage on the audio PA. The application processor also comprises a preset volume and audio amplifier voltage mapping table, and the preset volume and audio amplifier voltage mapping table is used for adjusting the voltage of the audio amplifier according to the volume and audio amplifier voltage mapping table when the user adjusts the volume.
In another embodiment of the present invention, as shown in fig. 5, a linear regulator is further included, which is directly signal controlled by the application processor, for reducing the effect of dc power supply output noise on the audio amplifier. Wherein, the output voltage of the direct current power supply is greater than the output voltage of the linear voltage stabilizer. Because the voltage of the audio amplifier PA is unchanged during working, the linear voltage regulator LDO can be added behind the DC-DC power supply to be linked with the DC-DC working voltage of the DC power supply, and the influence of the noise of the DC-DC power supply on the audio amplifier PA is further reduced.
If the direct current power supply DC-DC does not support bus voltage regulation, a digital potentiometer is placed in a voltage setting resistor of the direct current power supply DC-DC, and the voltage of the DC-DC is regulated by regulating the resistance value of the digital potentiometer. The method specifically comprises the following steps: an application processor: the device comprises a data storage unit, a data processing unit, a control unit and a control unit, wherein the data storage unit is used for storing metadata information of an audio file, extracting a peak value of a playback gain of the audio file from the metadata information, determining a target volume according to the peak value of the playback gain of music and controlling the output voltage of a direct current power supply; a DC power supply for driving the audio amplifier; the digital-to-analog converter is used for outputting the audio signal to the audio amplifier; the audio amplifier is used for amplifying and outputting the audio signal received from the digital-to-analog converter; the digital potentiometer is used for adjusting the voltage of the direct current power supply by adjusting the resistance value of the digital potentiometer as shown in fig. 10. Furthermore, the application processor further comprises a preset volume, an audio amplifier voltage and a digital potentiometer resistance mapping table, and is used for adjusting the voltage of the audio amplifier by adjusting the resistance of the digital potentiometer according to the volume and audio amplifier voltage mapping table when the user adjusts the volume.
In a preferred embodiment of the invention, the audio amplifier further comprises a linear voltage regulator, wherein the linear voltage regulator is directly controlled by the application processor through signals and is used for reducing the influence of direct current power supply output noise on the audio amplifier. Further, the output voltage of the direct current power supply is greater than the output voltage of the linear voltage regulator. Wherein, the output voltage of the direct current power supply is greater than the output voltage of the linear voltage stabilizer. Because the voltage of the audio amplifier PA is unchanged during working, the linear voltage regulator LDO can be added behind the DC-DC power supply to be linked with the DC-DC working voltage of the DC power supply, and the influence of the noise of the DC-DC power supply on the audio amplifier PA is further reduced.
The invention also protects a terminal comprising the technical scheme of any one of the above embodiments.
Fig. 6 shows a schematic diagram of an audio amplification method according to the present invention, which includes: s100, presetting a volume and audio amplifier voltage mapping table in an application processor; s101, reading metadata information of an audio file, extracting a peak value of playback gain of the audio file from the metadata information, determining target volume according to the peak value of the playback gain of music, and controlling output voltage of a direct-current power supply through a bus; s102, outputting an audio signal to an audio amplifier by the digital-to-analog converter; s103, the direct current power supply drives the audio amplifier to work; s104, the audio amplifier amplifies and outputs the audio signal received from the digital-to-analog converter. Further, the step S101 further includes adjusting the volume by a user and controlling the output voltage of the linear voltage regulator through the bus, so as to reduce the influence of the output noise of the dc power supply on the audio amplifier. Preferably, the output voltage of the dc power supply is greater than the output voltage of the linear regulator. Further preferably, the S101 further includes: when the user changes the volume, the volume control module in the application processor checks the output data of the digital-to-analog converter, when the zero crossing point is found, the volume control is quickly adjusted, and the voltage control of the audio amplifier is carried out according to the preset mapping table of the volume and the voltage of the audio amplifier.
As shown in fig. 8, a flow chart of a method for establishing a volume-to-audio amplifier voltage mapping table (table 1.1) according to the present invention is shown; the step of S100 establishing a mapping table of volume and audio amplifier voltage is: s1001, reading metadata information of an audio file, sampling a playback gain peak value, calculating target volume, playing by using an application processor, and connecting audio output to an audio amplifier; s1002, setting the voltage of an audio amplifier as the maximum value of the output voltage of the direct-current power supply and as the maximum volume output, and reading the distortion output by the audio amplifier by an audio analyzer; s1003, gradually reducing the output voltage of the direct current power supply until the distortion tested by the audio amplifier begins to increase, and recording the corresponding audio amplifier voltage in a table; s1004, the volume is reduced by 0.5-1 dB, the output voltage of the direct current power supply is continuously reduced until the distortion tested by the audio amplifier begins to increase, and the voltage output by the direct current power supply is continuously recorded in the audio amplifier voltage value corresponding to-1 dB; and S1005, repeating the step S1004 until the maximum attenuation of the volume control is reached, and recording the output voltages of the direct current power supplies corresponding to all the volumes for calling by the volume control module.
Volume of sound Voltage of audio PA
0dB +-8V
-1dB +-7.3V
-2dB +-6.35V
-3dB +-5.66V
-4dB +-5.05V
-5dB +-4.5V
-6dB +-4V
…… ……
TABLE 1.1 volume to Audio Amplifier Voltage mapping Table
0dB in Table 1.1 is the maximum volume output in S1002, and the volume is continuously decreased on the basis of the maximum volume, and the operating voltage of the audio PA is obtained by table lookup. Those skilled in the art will appreciate that Table 1.1 is merely an example of the present invention and is not intended to limit the invention. Those skilled in the art can change the form at will according to the actual situation through non-creative efforts.
FIG. 7 is a schematic diagram of another audio amplification method according to the present invention; the method comprises the following steps: s10 presetting a volume, audio amplifier voltage and digital potentiometer resistance mapping table in the application processor; s11 reading the metadata information of the audio file, extracting the peak value of the playback gain of the audio file from the metadata information, determining the target volume according to the peak value of the playback gain of the music and adjusting the output voltage of the DC power supply through a digital potentiometer; S12D/A converter outputs audio signal to audio amplifier; s13, the direct current power supply drives the audio amplifier to work; s14 the audio amplifier amplifies and outputs the audio signal received from the digital-to-analog converter. Further, the step S11 includes adjusting the volume by the user and adjusting the output voltage of the linear regulator through the digital potentiometer, so as to reduce the influence of the output noise of the dc power supply on the audio amplifier. The output voltage of the direct current power supply is greater than the output voltage of the linear voltage stabilizer. Further preferably, the S11 further includes: when the user changes the volume, the volume control module in the application processor checks the output data of the digital-to-analog converter, when the zero crossing point is found, the volume control is quickly adjusted, and the voltage control of the audio amplifier is carried out according to the preset volume, the voltage of the audio amplifier and the resistance mapping table of the digital potentiometer.
As shown in fig. 9, the flow chart of the method for establishing the volume, the voltage of the audio amplifier and the resistance mapping table (table 1.2) of the digital potentiometer according to the present invention is shown. The step of S10 of the invention for establishing the volume, the voltage of the audio amplifier and the resistance mapping table of the digital potentiometer is as follows: s1101 reading metadata information of an audio file, sampling a playback gain peak value, calculating target volume, playing by using an application processor, and connecting audio output to an audio amplifier; s1102, setting the voltage of the audio amplifier as the maximum value of the output voltage of the direct-current power supply and the maximum volume output, and reading the distortion output by the audio amplifier by an audio analyzer; s1103, adjusting the resistance value of the digital potentiometer, gradually reducing the output voltage of the direct current power supply until the tested distortion of the audio amplifier begins to increase, and recording the corresponding audio amplifier voltage and the resistance value of the digital potentiometer in a table; s1104, the volume is reduced by 0.5-1 dB, the resistance value of the digital potentiometer is continuously adjusted to reduce the output voltage of the direct current power supply until the distortion tested by the audio amplifier begins to increase, and the voltage output by the direct current power supply is continuously recorded in the voltage value of the audio amplifier and the resistance value of the digital potentiometer corresponding to-1 dB; s1105 repeats S1104 until the maximum attenuation of volume control is reached, and records the dc power output voltage and the digital potentiometer resistance corresponding to all the volumes, for the volume control module to call.
Figure BDA0001091053270000101
Figure BDA0001091053270000111
TABLE 1.2 volume, Audio Amplifier Voltage and digital potentiometer resistance mapping Table
0dB in Table 1.2 is the maximum volume output in S1102, and those skilled in the art will appreciate that Table 1.2 is merely an example of the present invention and is not intended to limit the present invention. Those skilled in the art can change the form at will according to the actual situation through non-creative efforts.
Further, in an embodiment of the present invention, as shown in the preferred embodiment shown in fig. 7, when the bus does not support voltage regulation, the digital potentiometer is introduced to assist in regulating the output voltage of the DC power DC-DC, and at this time, the linear regulator LDO is further added, and then the preset volume, the audio amplifier voltage, and the digital potentiometer resistance value mapping table are added with the voltage value of the DC power DC-DC, as shown in table 1.3 below.
Volume of sound DC-DC output voltage Voltage of audio PA Digital potentiometer resistance
0dB +-8.1V +-8V 110
-1dB +-7.4V +-7.3V 100
-2dB +-6.45V +-6.35V 87
-3dB +-5.76V +-5.66V 78
-4dB +-5.15V +-5.05V 69
-5dB +-4.6V +-4.5V 62
-6dB +-4.1V +-4V 55
…… …… ……
TABLE 1.3 volume, Audio Amplifier Voltage and digital potentiometer resistance mapping Table
In the above table, the voltage of the audio amplifier PA is the output voltage of the linear regulator LDO. Also, those skilled in the art will appreciate that Table 1.3 is merely an example of the present invention and is not intended to limit the invention. Those skilled in the art can change the form at will according to the actual situation through non-creative efforts. In addition, a volume and audio amplifier voltage mapping table added with the LDO is omitted, and the table only needs to delete the resistance value column of the digital potentiometer.
In summary, the advantage of the invention is that 1, the output tone quality is not affected in the process of the audio amplifier PA voltage regulation; 2. the audio amplifier PA voltage regulation is carried out when the volume is changed, and the volume and the voltage are regulated when a zero crossing point is found, so that the positive and negative power supplies are symmetrical to the output, the noise generated by the voltage change is mutually offset and is not transmitted to an output terminal, and the sound effect is not influenced; 3. because the PA voltage of the audio amplifier is formulated according to the peak value of pure tone at the volume level, the difference between the left and right sound channels can not exist, and the problem of mutual interference of the left and right sound channels can not occur; 4. because the voltage of the audio amplifier PA is obtained according to the maximum sine wave peak value of the volume, the voltage of the audio amplifier PA is unchanged in the audio playing process, so that no inflection point of voltage change exists, and noise is not introduced to the output end of the audio amplifier PA; 5. because the voltage of the audio amplifier PA is unchanged during working, a large capacitor can be added behind the DC-DC power supply to achieve a better filtering effect, and the dynamic characteristic of the power supply is increased. 6. Because the voltage of the audio amplifier PA is unchanged during working, the linear voltage regulator LDO can be added behind the DC-DC power supply to be linked with the DC-DC working voltage of the DC power supply, so that the influence of the noise of the DC-DC power supply on the audio amplifier PA is further reduced; 7. the working voltage of the audio amplifier PA is obtained by calibration under the condition that the sine wave is not distorted, and the voltage meets the requirement of bias voltage, so that the problem that the voltage is too low when a signal approaches a zero crossing point is solved, and the problem that the audio distortion is increased due to small volume is solved.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (20)

1. An audio amplification apparatus based on a maximum level of music, comprising:
an application processor: the device comprises a data storage unit, a data processing unit, a control unit and a control unit, wherein the data storage unit is used for storing metadata information of an audio file, extracting a peak value of a playback gain of the audio file from the metadata information, determining a target volume according to the peak value of the playback gain of music and controlling the output voltage of a direct current power supply;
the direct current power supply is used for supplying power to the audio amplifier;
the digital-to-analog converter is used for outputting the audio signal to the audio amplifier;
the audio amplifier is used for amplifying and outputting the audio signal received from the digital-to-analog converter;
the direct current power supply supports bus voltage regulation;
the application processor also comprises a preset volume and audio amplifier voltage mapping table, and the preset volume and audio amplifier voltage mapping table is used for adjusting the voltage of the audio amplifier according to the volume and audio amplifier voltage mapping table when the volume is adjusted by a user;
the preset volume to audio amplifier voltage mapping table comprises: reading metadata information of an audio file, sampling a peak value of a playback gain peak, calculating target volume, playing by using an application processor, and connecting audio output to an audio amplifier; setting the voltage of an audio amplifier as the maximum value of the output voltage of the direct-current power supply and the maximum volume output, and reading the distortion output by the audio amplifier by an audio analyzer;
gradually reducing the output voltage of the direct current power supply until the tested distortion of the audio amplifier begins to increase, and recording the corresponding audio amplifier voltage in a table;
reducing the volume by 0.5-1 dB, continuously reducing the output voltage of the direct current power supply until the tested distortion of the audio amplifier begins to increase, and continuously recording the voltage output by the direct current power supply into the audio amplifier voltage value corresponding to-1 dB;
and recording the output voltage of the direct current power supply corresponding to all the volumes until the maximum attenuation of the volume control, and calling the output voltage by the volume control module.
2. The audio amplifying device according to claim 1, wherein the target volume is a sum of a current volume of music and the peak value of the playback gain.
3. The audio amplification apparatus of claim 1, further comprising a linear regulator, the linear regulator being directly signal controlled by the application processor for reducing the effect of dc power supply output noise on the audio amplifier.
4. The audio amplification device of claim 3, wherein the output voltage of the DC power supply is greater than the output voltage of the linear regulator.
5. An audio amplification apparatus based on a maximum level of music, comprising:
an application processor: the device comprises a data reading module, a data processing module and a control module, wherein the data reading module is used for reading metadata information of an audio file, extracting a peak value of a playback gain of the audio file from the metadata information, and determining a target volume and controlling an output voltage of a direct current power supply according to the peak value of the playback gain of music;
the direct current power supply is used for supplying power to the audio amplifier;
the digital-to-analog converter is used for outputting the audio signal to the audio amplifier;
the audio amplifier is used for amplifying and outputting the audio signal received from the digital-to-analog converter;
the digital potentiometer is used for adjusting the voltage of the direct current power supply by adjusting the resistance value of the digital potentiometer;
the application processor also comprises a preset volume, an audio amplifier voltage and a digital potentiometer resistance mapping table, and is used for adjusting the voltage of the audio amplifier by adjusting the resistance of the digital potentiometer according to the volume and audio amplifier voltage mapping table when a user adjusts the volume;
the establishing of the mapping table of the preset volume, the voltage of the audio amplifier and the resistance value of the digital potentiometer comprises the following steps: reading metadata information of an audio file, sampling a peak value of a playback gain peak value, calculating target volume, playing by using an application processor, and connecting audio output to an audio amplifier; setting the voltage of an audio amplifier as the maximum value of the output voltage of the direct-current power supply and the maximum volume output, and reading the distortion output by the audio amplifier by an audio analyzer; adjusting the resistance value of the digital potentiometer, gradually reducing the output voltage of the direct current power supply until the tested distortion of the audio amplifier begins to increase, and recording the corresponding audio amplifier voltage and the resistance value of the digital potentiometer in a table; reducing the volume by 0.5-1 dB, continuously adjusting the resistance value of the digital potentiometer to reduce the output voltage of the direct current power supply until the distortion tested by the audio amplifier begins to increase, and continuously recording the voltage output by the direct current power supply into the voltage value of the audio amplifier corresponding to-1 dB and the resistance value of the digital potentiometer; and recording the output voltage of the direct current power supply and the resistance value of the digital potentiometer corresponding to all the volumes until the maximum attenuation of the volume control, so that the volume control module can call the recorded output voltage and the resistance value.
6. The audio amplifying device according to claim 5, wherein the target volume is a sum of a current volume of music and the peak value of the playback gain.
7. The audio amplification apparatus of claim 5, further comprising a linear regulator, the linear regulator being directly signal controlled by the application processor for reducing the effect of DC power supply output noise on the audio amplifier.
8. The audio amplification device of claim 7, wherein the output voltage of the DC power supply is greater than the output voltage of the linear regulator.
9. A terminal, characterized by comprising the audio amplification device of any one of claims 1 to 4.
10. A terminal, characterized by comprising an audio amplification device according to any one of claims 5 to 8.
11. An audio amplification method based on a maximum level of music, comprising:
s100, presetting a volume and audio amplifier voltage mapping table in an application processor;
s101, reading metadata information of an audio file, extracting a peak value of playback gain of the audio file from the metadata information, determining target volume according to the peak value of the playback gain of music, and controlling output voltage of a direct-current power supply through a bus;
s102, outputting an audio signal to an audio amplifier by the digital-to-analog converter;
s103, the direct current power supply drives the audio amplifier to work;
s104, the audio amplifier amplifies and outputs the audio signal received from the digital-to-analog converter;
the step of S100 establishing a mapping table of volume and audio amplifier voltage is:
s1001, reading metadata information of an audio file, sampling a peak value of a playback gain peak, calculating target volume, playing by using an application processor, and connecting audio output to an audio amplifier;
s1002, setting the voltage of an audio amplifier as the maximum value of the output voltage of the direct-current power supply and as the maximum volume output, and reading the distortion output by the audio amplifier by an audio analyzer;
s1003, gradually reducing the output voltage of the direct current power supply until the distortion tested by the audio amplifier begins to increase, and recording the corresponding audio amplifier voltage in a table;
s1004, the volume is reduced by 0.5-1 dB, the output voltage of the direct current power supply is continuously reduced until the distortion tested by the audio amplifier begins to increase, and the voltage output by the direct current power supply is continuously recorded in the audio amplifier voltage value corresponding to-1 dB;
and S1005, repeating the step S1004 until the maximum attenuation of the volume control is reached, and recording the output voltages of the direct current power supplies corresponding to all the volumes for calling by the volume control module.
12. The audio amplifying method according to claim 11, wherein in S101, the target volume is a sum of a current volume of music and the peak value of the playback gain.
13. The audio amplifying method according to claim 11, wherein the step S101 further comprises the step of adjusting the volume by a user and controlling the output voltage of the linear regulator through the bus for reducing the influence of the output noise of the dc power supply on the audio amplifier.
14. The audio amplification method of claim 13, wherein the output voltage of the dc power supply is greater than the output voltage of the linear regulator.
15. The audio amplifying method according to claim 11, wherein the S101 further comprises: when the user changes the volume, the volume control module in the application processor checks the output data of the digital-to-analog converter, when the zero crossing point is found, the volume control is quickly adjusted, and the voltage control of the audio amplifier is carried out according to the preset mapping table of the volume and the voltage of the audio amplifier.
16. An audio amplification method based on a maximum level of music, comprising:
s10 presetting a volume, audio amplifier voltage and digital potentiometer resistance mapping table in the application processor;
s11 is used for reading the metadata information of the audio file, extracting the peak value of the playback gain of the audio file from the metadata information, determining the target volume according to the peak value of the playback gain of the music and adjusting the output voltage of the DC power supply through the digital potentiometer;
S12D/A converter outputs audio signal to audio amplifier;
s13, the direct current power supply drives the audio amplifier to work;
s14 the audio amplifier amplifies and outputs the audio signal received from the digital-to-analog converter;
the step of S10 establishing the volume, audio amplifier voltage and digital potentiometer resistance mapping table is:
s1101 reading metadata information of an audio file, sampling a peak value of a playback gain peak value, calculating target volume, playing by using an application processor, and connecting audio output to an audio amplifier;
s1102, setting the voltage of the audio amplifier as the maximum value of the output voltage of the direct-current power supply and the maximum volume output, and reading the distortion output by the audio amplifier by an audio analyzer;
s1103, adjusting the resistance value of the digital potentiometer, gradually reducing the output voltage of the direct current power supply until the tested distortion of the audio amplifier begins to increase, and recording the corresponding audio amplifier voltage and the resistance value of the digital potentiometer in a table;
s1104, the volume is reduced by 0.5-1 dB, the resistance value of the digital potentiometer is continuously adjusted to reduce the output voltage of the direct current power supply until the distortion tested by the audio amplifier begins to increase, and the voltage output by the direct current power supply is continuously recorded in the voltage value of the audio amplifier and the resistance value of the digital potentiometer corresponding to-1 dB;
s1105 repeats S1104 until the maximum attenuation of volume control is reached, and records the dc power output voltage and the digital potentiometer resistance corresponding to all the volumes, for the volume control module to call.
17. The audio amplifying method according to claim 16, wherein in S101, the target volume is a sum of a current volume of music and the peak value of the playback gain.
18. The audio amplifying method according to claim 16, wherein the S11 further comprises adjusting the volume by a user and adjusting the output voltage of the linear regulator through a digital potentiometer for reducing the influence of the output noise of the dc power supply on the audio amplifier.
19. The audio amplification method of claim 18, wherein the output voltage of the dc power supply is greater than the output voltage of the linear regulator.
20. The audio amplifying method according to claim 16, wherein the S11 further includes: when the user changes the volume, the volume control module in the application processor checks the output data of the digital-to-analog converter, when the zero crossing point is found, the volume control is quickly adjusted, and the voltage control of the audio amplifier is carried out according to the preset volume, the voltage of the audio amplifier and the resistance mapping table of the digital potentiometer.
CN201610717137.8A 2016-08-25 2016-08-25 Audio amplification device, method and terminal based on music maximum level Active CN106101936B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610717137.8A CN106101936B (en) 2016-08-25 2016-08-25 Audio amplification device, method and terminal based on music maximum level

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610717137.8A CN106101936B (en) 2016-08-25 2016-08-25 Audio amplification device, method and terminal based on music maximum level

Publications (2)

Publication Number Publication Date
CN106101936A CN106101936A (en) 2016-11-09
CN106101936B true CN106101936B (en) 2022-03-25

Family

ID=57225803

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610717137.8A Active CN106101936B (en) 2016-08-25 2016-08-25 Audio amplification device, method and terminal based on music maximum level

Country Status (1)

Country Link
CN (1) CN106101936B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106878863A (en) * 2017-03-03 2017-06-20 广东欧珀移动通信有限公司 The voltage adjusting method of power supply and power amplification system and power amplification system
CN110536222A (en) * 2019-07-31 2019-12-03 武汉船舶通信研究所(中国船舶重工集团公司第七二二研究所) The test device and method of audio frequency apparatus performance
CN111130337A (en) * 2019-12-03 2020-05-08 浪潮金融信息技术有限公司 Audio isolation noise reduction scheme based on power isolation

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101394156A (en) * 2008-11-06 2009-03-25 捷顶微电子(上海)有限公司 Audio processing system and processing method thereof
CN101507105A (en) * 2006-08-21 2009-08-12 美国思睿逻辑有限公司 Method and apparatus for controlling a selectable voltage audio power output stage
CN101828333A (en) * 2007-08-03 2010-09-08 沃福森微电子股份有限公司 Amplifier circuit and method of amplifying a signal in an amplifier circuit
CN101960715A (en) * 2008-03-03 2011-01-26 高通股份有限公司 Reduce the system and method for the power consumption that is used for audio playback
CN101990038A (en) * 2010-12-02 2011-03-23 惠州Tcl移动通信有限公司 Method for improving efficiency of audio power amplifier and mobile phone using the same
CN102348144A (en) * 2010-06-15 2012-02-08 索尼公司 Reproduction device and reproduction method
CN104469620A (en) * 2014-11-24 2015-03-25 青岛歌尔声学科技有限公司 Acoustical product with audio output power adjustable within large range

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8258872B1 (en) * 2007-06-11 2012-09-04 Sonos, Inc. Multi-tier power supply for audio amplifiers

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101507105A (en) * 2006-08-21 2009-08-12 美国思睿逻辑有限公司 Method and apparatus for controlling a selectable voltage audio power output stage
CN101828333A (en) * 2007-08-03 2010-09-08 沃福森微电子股份有限公司 Amplifier circuit and method of amplifying a signal in an amplifier circuit
CN101960715A (en) * 2008-03-03 2011-01-26 高通股份有限公司 Reduce the system and method for the power consumption that is used for audio playback
CN101394156A (en) * 2008-11-06 2009-03-25 捷顶微电子(上海)有限公司 Audio processing system and processing method thereof
CN102348144A (en) * 2010-06-15 2012-02-08 索尼公司 Reproduction device and reproduction method
CN101990038A (en) * 2010-12-02 2011-03-23 惠州Tcl移动通信有限公司 Method for improving efficiency of audio power amplifier and mobile phone using the same
CN104469620A (en) * 2014-11-24 2015-03-25 青岛歌尔声学科技有限公司 Acoustical product with audio output power adjustable within large range

Also Published As

Publication number Publication date
CN106101936A (en) 2016-11-09

Similar Documents

Publication Publication Date Title
CN101933224B (en) System and method of reducing click and pop noise in audio playback devices
KR100765790B1 (en) Method and apparatus for providing variable power in mobile device
US9722544B2 (en) Audio system having an improved efficiency and extended operation time
US7492219B1 (en) Power efficient amplifier
CN106101936B (en) Audio amplification device, method and terminal based on music maximum level
US7961047B2 (en) Switching amplifier
US7724161B1 (en) Truncation for three-level digital amplifier
KR101012962B1 (en) Automatic gain control circuit
EP3472682A1 (en) Compensated low dropout with high power supply rejection ratio and short circuit protection
CN106131750B (en) Audio amplification device, method and terminal
JP6689837B2 (en) Amplifier with adjustable ramp up / down gain to minimize or eliminate pop noise
CN104811155A (en) Balance device adjusting method and device
CN105324937A (en) Volume control rates
CN103702253A (en) Information processing method and electronic equipment
US7760016B2 (en) Anti-pop circuits and methods for audio amplifiers using variable resistors
US9301046B1 (en) Systems and methods for minimizing distortion in an audio output stage
US10361672B2 (en) Controlling a power amplification stage of an audio signal amplifier
US9225294B2 (en) Amplifier with improved noise reduction
US7733174B2 (en) Feedback controlled power limiting for signal amplifiers
US10658988B1 (en) Open-loop class-D amplifier system with analog supply ramping
CN103841492A (en) Output method of audio signal and apparatus
CN110651430A (en) Digital PWM modulator
US8576011B2 (en) Amplifier with high power supply noise rejection
CN102801396B (en) Automatic gain adjustment circuit in audio system
Hutchins Selected Technical Issues in Phono Preamp Design

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20180224

Address after: 330008 Jiangxi Province, Nanchang Qingshan Lake Economic and Technological Development Zone of Nanchang Jiao Town Office Building Room 319

Applicant after: Nanchang shark Technology Co. Ltd.

Address before: 518063 Guangdong city of Shenzhen province Nanshan District Wei new software park building 1 floor 2 South

Applicant before: SHENZHEN ZEUSIS TECHNOLOGY CO., LTD.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant