Power supply voltage control method, audio power amplifier system, electronic device and chip
By dynamically adjusting the power supply voltage of the amplifier according to the input amplitude of the audio data, the high power consumption and low efficiency problems caused by the fixed power supply voltage in the audio equipment are solved, and more efficient voltage control and signal amplification are achieved.
Patent Information
- Application Number
- CN202310720796.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-16
- Publication Date
- 2025-08-29
- Estimated Expiration
- 2043-06-16
AI Technical Summary
In existing audio equipment, the fixed power supply voltage of the power amplifier results in high power consumption, low conversion efficiency, and easy to cause cross-top distortion at low output power.
By obtaining the input amplitude of the audio data, dynamically adjust the amplifier supply voltage to match the actual needs of the audio data, avoiding cut-top distortion and reducing power consumption.
While ensuring that the audio data does not cause cut-top distortion, the power consumption of the audio amplifier system is reduced and the conversion efficiency is improved.
Smart Images

Figure CN116633276B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronic technology, and in particular to a power supply voltage control method, an audio power amplifier system, an electronic device, and a chip. Background Art
[0002] Currently, audio devices typically require power amplifiers to amplify and restore input audio data. During operation, the power amplifiers rely on the audio device to provide them with power. Because the power supply voltage for audio devices is limited, a direct current to direct current (DC-DC) converter is typically used to boost the supply voltage to a higher voltage level to power the power amplifier. To prevent clipping of the power amplifier's output signal, which can cause truncation distortion, the power amplifier's supply voltage is typically fixed at a higher voltage level than the audio data level.
[0003] In actual operation, to meet the maximum power output of an audio amplifier, the power amplifier's supply voltage is typically a large, fixed value. The input audio data often has varying amplitudes, and the output power also varies. When the output power is low, if the power amplifier's supply voltage is too high, the amplifier's quiescent operating current will result in significant power loss, reducing the amplifier's conversion efficiency. Summary of the Invention
[0004] The purpose of this application is to provide a power supply voltage control method, an audio power amplifier system, an electronic device and a chip.
[0005] A first aspect of the present application provides a power supply voltage control method, which is applied to an audio power amplifier system and is characterized in that it includes: obtaining audio data input into the audio power amplifier system; determining the input amplitude of the audio data; determining a control voltage corresponding to the input amplitude based on the input amplitude; and determining the power amplifier supply voltage corresponding to the input amplitude based on the control voltage.
[0006] The power supply voltage control method provided in the present application determines the power amplifier power supply voltage corresponding to the audio data based on the input amplitude of the audio data, and amplifies the audio data according to the power amplifier power supply voltage. This can reduce the power consumption of the audio power amplifier system and improve the conversion efficiency while ensuring that the audio data does not produce truncation distortion.
[0007] In a possible implementation of the first aspect above, determining the control voltage corresponding to the input amplitude based on the input amplitude includes: determining the amplitude gain and voltage margin value of the audio data; determining the output amplitude corresponding to the input amplitude based on the input amplitude and the amplitude gain; determining the required power supply voltage based on the output amplitude and the voltage margin value; determining an analog voltage control signal based on the required power supply voltage; and determining the control voltage based on the analog voltage control signal.
[0008] In a possible implementation of the first aspect above, determining the control voltage based on the analog voltage control signal includes: determining the power supply voltage of the audio power amplifier system; and determining the control voltage based on the analog voltage control signal and the power supply voltage of the audio power amplifier system.
[0009] It can be understood that the power supply voltage of the audio power amplifier system here refers to the power supply voltage required by the audio power amplifier system.
[0010] In a possible implementation of the first aspect above, determining the power amplifier supply voltage corresponding to the input amplitude based on the control voltage includes: determining a feedback voltage of a voltage converter of the audio power amplifier system, the feedback voltage being equal to a reference voltage of the voltage converter of the audio power amplifier system; and determining the power amplifier supply voltage based on the feedback voltage and the control voltage.
[0011] It can be understood that the reference voltage of the voltage converter here refers to the reference voltage inside the voltage converter.
[0012] In a possible implementation of the first aspect above, determining the control voltage corresponding to the input amplitude based on the input amplitude also includes: when the audio power amplifier system continuously detects N input amplitudes, determining the start time and end time corresponding to each input amplitude, where N is an integer greater than 1; determining the i-th input amplitude as the first amplitude, and determining the i+1-th input amplitude as the second amplitude, where i is an integer greater than 0 and less than N; when the second amplitude is greater than or equal to the first amplitude, controlling the start time of the analog voltage control signal corresponding to the second amplitude to be less than the start time corresponding to the second amplitude, so that the start time of the power amplifier power supply voltage corresponding to the second amplitude is less than the start time corresponding to the second amplitude; when the second amplitude is less than the first amplitude, controlling the start time of the analog voltage control signal corresponding to the second amplitude to be greater than the start time corresponding to the second amplitude, so that the start time of the power amplifier power supply voltage corresponding to the second amplitude is greater than the start time corresponding to the second amplitude.
[0013] In a possible implementation of the first aspect, the analog voltage control signal is an M-bit digital control signal, where M is an integer greater than 1.
[0014] The second aspect of the present application provides an audio power amplifier system, including: a power supply voltage control path, used to obtain audio data input into the audio power amplifier system, determine the input amplitude of the audio data, and determine the control voltage corresponding to the input amplitude based on the input amplitude; a power amplifier power supply voltage module, used to determine the power amplifier power supply voltage based on the control voltage; and a power amplifier, used to amplify an analog audio signal based on the power amplifier power supply voltage and determine the amplified analog audio signal.
[0015] In a possible implementation of the second aspect above, the audio power amplifier system further includes: a delay unit, used to delay the audio data to obtain delayed audio data; a first processing unit, used to perform audio processing on the delayed audio data; and a first digital-to-analog conversion module, used to perform digital-to-analog conversion on the audio data after audio processing to obtain an analog audio signal, and input the analog audio signal into the power amplifier.
[0016] In a possible implementation of the second aspect above, the power amplifier supply voltage module includes: a resistor network, used to determine the feedback voltage of the voltage converter of the audio power amplifier system; and a voltage converter, used to determine the power amplifier supply voltage based on the feedback voltage and the control voltage.
[0017] In a possible implementation of the second aspect above, the voltage control path includes: a signal amplitude detector, used to determine the input amplitude of audio data; a second processing unit, used to determine the amplitude gain and voltage margin value of the audio data, and determine the output amplitude corresponding to the input amplitude based on the input amplitude and the amplitude gain; determining the required power supply voltage based on the output amplitude and the voltage margin value; determining an analog voltage control signal based on the required power supply voltage; and a second digital-to-analog conversion module, used to determine the control voltage based on the analog voltage control signal.
[0018] A third aspect of the present application provides an electronic device, including a processor and a memory, wherein the memory is used to store program instructions, and the processor is used to call the program instructions to execute any one of the methods in the first aspect above.
[0019] The fourth aspect of the present application provides a chip, which includes a processor and a data interface. The processor reads instructions stored in a memory through the data interface to execute any one of the methods in the first aspect above. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the specific embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0021] Figure 1 A schematic diagram of audio signal truncation distortion is shown;
[0022] Figure 2 A schematic diagram of an audio power amplifier system is shown;
[0023] Figure 3 According to an embodiment of the present application, a flow chart of a method for controlling a power supply voltage is shown;
[0024] Figure 4 According to an embodiment of the present application, a schematic diagram of obtaining an input amplitude is shown;
[0025] Figure 5 According to an embodiment of the present application, a schematic diagram of waveforms of audio data and delayed audio data is shown;
[0026] Figure 6 According to an embodiment of the present application, a schematic diagram of a waveform of audio data and the audio data output by the audio power amplifier system 100 is shown;
[0027] Figure 7 According to an embodiment of the present application, a structural diagram of an audio power amplifier system 100 is shown;
[0028] Figure 8 According to an embodiment of the present application, a schematic diagram of a delay unit is shown;
[0029] Figure 9 According to an embodiment of the present application, a schematic diagram of a signal amplitude detector is shown;
[0030] Figure 10 According to an embodiment of the present application, a schematic diagram of a digital processing unit is shown;
[0031] Figure 11 According to an embodiment of the present application, a block diagram of a second digital-to-analog converter is shown;
[0032] Figure 12 According to an embodiment of the present application, a circuit structure diagram of another second digital-to-analog converter is shown. DETAILED DESCRIPTION
[0033] The illustrative embodiments of the present application include, but are not limited to, a power supply voltage control method, an audio power amplifier system, an electronic device, and a chip.
[0034] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in the embodiments of this application will be clearly and comprehensively described below with reference to the accompanying drawings.
[0035] As mentioned above, audio equipment usually requires a power amplifier to amplify and restore the input audio data. During operation, the power amplifier needs the audio equipment to provide the power it needs. Since the power supply voltage of the audio equipment is very limited, the power supply voltage is usually boosted to a higher level voltage through a DC-DC voltage converter to power the power amplifier. In order to prevent the power amplifier output voltage from clipping and generating truncation distortion, the power supply voltage of the power amplifier is usually a fixed voltage value higher than the audio data level. Figure 1 The schematic diagram of audio signal truncation distortion shown is as follows, where the horizontal axis represents time, the vertical axis represents amplitude, M represents audio data, and a / -a represents voltage limiting. The amplitude of the parts from point A to point B and from point C to point D of the audio data M exceeds the voltage limiting, resulting in clipping and causing truncation distortion of the audio data M.
[0036] Figure 2 FIG. 1 shows a schematic diagram of an audio power amplifier system. Figure 2 As shown, the audio power amplifier system 10 includes: a DC-DC voltage converter, an audio power amplifier unit AMP and a speaker. The DC-DC voltage converter is used to convert the battery voltage V BAT Step up or step down to generate V BST Voltage is supplied to the audio power amplifier unit AMP. Usually, the DC-DC voltage converter generates V BST The voltage is a fixed voltage value. In order to meet the maximum power output of the audio power amplifier unit AMP, V BST The voltage needs to be high enough.
[0037] However, in actual operation, the input audio data is usually audio data with a constantly changing amplitude, and the output power of the audio power amplifier unit AMP is also different. When the output power is high, V BST The voltage conversion efficiency will be higher accordingly. However, when the output power is low, V BST The voltage is too high, that is, there is a large voltage difference between the power supply voltage of the power amplifier and the actual working voltage value, the power loss will be large, and the power amplifier conversion efficiency will be very low.
[0038] In order to solve the above problems, an embodiment of the present application provides a power supply voltage control method, which is applied to an audio power amplifier system, the method comprising: obtaining audio data input to the audio power amplifier system; determining the input amplitude of the audio data; determining the control voltage corresponding to the input amplitude based on the input amplitude; and determining the power amplifier power supply voltage corresponding to the input amplitude based on the control voltage. It can be understood that the amplitude of the audio data is constantly changing. By obtaining the input amplitude of the audio data, the corresponding power amplifier power supply voltage can be determined based on the audio signal amplitude. For example, assuming that the audio signal amplitude is 3V, it is determined that the power amplifier power supply voltage corresponding to the audio signal is 4V. For another example, assuming that the audio signal amplitude is 5V, it is determined that the power amplifier power supply voltage corresponding to the audio signal is 6V.
[0039] The power supply voltage control method provided in the embodiment of the present application determines the power amplifier power supply voltage corresponding to the audio data according to the input amplitude of the audio data, and amplifies the audio data according to the power amplifier power supply voltage.
[0040] It can be understood that when processing audio data, the power amplifier supply voltage is determined according to the input amplitude of the audio data, and the voltage difference between it and the actual audio signal amplitude value (the analog audio signal amplitude corresponding to the audio data) is small.
[0041] Therefore, the power supply voltage control method provided in the embodiments of the present application determines the corresponding power amplifier power supply voltage based on the input amplitude of the audio data, so that as the input amplitude changes, the corresponding power amplifier power supply voltage also changes accordingly. It can be understood that the power amplifier power supply voltage is not a fixed voltage value, but rather a voltage value that changes according to the actual operating voltage value. This can reduce the voltage difference between the power amplifier supply voltage and the actual operating voltage value, thereby reducing the power consumption of the audio power amplifier system and improving conversion efficiency while ensuring that the audio signal does not produce truncation distortion.
[0042] In some embodiments, the audio power amplifier system determines an analog voltage control signal corresponding to the input amplitude of the audio data according to the input amplitude of the audio data, and determines the control voltage based on the analog voltage control signal.
[0043] In some embodiments, the audio power amplifier system determines the output amplitude corresponding to the input amplitude based on the input amplitude and the amplitude gain, determines the required power supply voltage based on the output amplitude and a preset voltage margin value, and determines the analog voltage control signal based on the required power supply voltage.
[0044] In some embodiments, the audio power amplifier system performs delay processing on the audio data to obtain delayed audio data; and then performs audio processing on the delayed audio data to obtain an analog audio signal.
[0045] It can be understood that delaying the audio data can make the audio data output by the power amplifier in the audio power amplifier system lag behind the analog voltage control signal, so that before the power amplifier outputs the audio data, the audio power amplifier system has determined the power amplifier supply voltage to prevent the audio data from being truncated and distorted.
[0046] In some embodiments, the audio power amplifier system determines the control voltage corresponding to the input amplitude based on the input amplitude, and also includes: when the audio power amplifier system continuously detects N input amplitudes, determining the start time and end time corresponding to each input amplitude, where N is an integer greater than 1; determining the i-th input amplitude as the first amplitude, and determining the i+1-th input amplitude as the second amplitude, where i is an integer greater than 0 and less than N; when the second amplitude is greater than or equal to the first amplitude, controlling the start time of the analog voltage control signal corresponding to the second amplitude to be less than the start time corresponding to the second amplitude, so that the start time corresponding to the power amplifier power supply voltage corresponding to the second amplitude is less than the start time corresponding to the second amplitude; when the second amplitude is less than the first amplitude, controlling the start time of the analog voltage control signal corresponding to the second amplitude to be greater than the start time corresponding to the second amplitude, so that the start time of the power amplifier power supply voltage corresponding to the second amplitude is greater than the start time corresponding to the second amplitude.
[0047] As you can understand, when the input amplitude is detected to be increasing, the analog voltage control signal is output in advance to determine the power amplifier supply voltage corresponding to the input amplitude; when the input amplitude is detected to be decreasing, the analog voltage control signal is output in a delayed manner to determine the power amplifier supply voltage corresponding to the input amplitude. This achieves a fast entry and slow exit effect, preventing distortion caused by untimely power supply voltage adjustment during audio amplifier operation.
[0048] In order to better understand the technical solutions of the embodiments of the present application, some technical solutions of the present application are introduced in detail below.
[0049] Figure 3 According to an embodiment of the present application, a flow chart of a method for controlling a power supply voltage is shown. It can be understood that Figure 3 The execution subject of each step of the process shown is the audio power amplifier system 100. Figure 3 The execution entities of each step will not be described repeatedly in the steps of the process shown. Figure 3 As shown, the process includes but is not limited to the following steps:
[0050] S301: Acquire audio data input into the audio power amplifier system 100.
[0051] In some embodiments, the audio amplifier system 100 receives a digital audio signal inputted via an inter-IC-sound (I2S) interface as audio data inputted into the audio amplifier system 100 .
[0052] S302: Determine the input amplitude of the audio data.
[0053] In some embodiments, the audio amplifier system 100 divides the audio data into n time intervals of sub-audio data, obtains the audio amplitude of the sub-audio data in each time interval, and uses the maximum audio amplitude in each time interval as the input amplitude of the corresponding time interval.
[0054] For example, refer to Figure 4 , Figure 4 According to an embodiment of the present application, a schematic diagram of obtaining the input amplitude of each time interval is shown. Figure 4 As shown, the input signal Vin represents audio data, that is, a digital audio signal, the detection time window represents the time interval, and the signal amplitude V amp_in It can be understood that the input amplitude V of the detection time window T1 is amp_in =V amp_in1 , that is, V amp_in1 is the maximum audio amplitude of the audio data within the detection time window T1; V amp_in2 is the maximum audio amplitude of the audio data within the detection time window T2; V amp_in(n-1) is the detection time window T (n-1) The maximum audio amplitude of the audio data within the detection time window T n The maximum audio amplitude of the audio data within.
[0055] In some embodiments, the length of each time interval may be 100 μs. In other embodiments, the length of each time interval may also be 1 ms, which is not limited in this application. It is understood that the number n of time intervals is an integer greater than 0.
[0056] It is understood that in the embodiments of the present application, the input amplitude of the audio data is determined by determining the input amplitude of each time interval. In other alternative embodiments, the input amplitude of the audio data can also be determined by other methods, such as detecting the audio amplitude of the audio data in real time as the input amplitude, etc., and the present application does not limit this.
[0057] S303: Determine a control voltage corresponding to the input amplitude according to the input amplitude.
[0058] In some embodiments, the audio power amplifier system 100 generates a signal according to the input amplitude V amp_inand a preset amplitude gain GAIN, determine a corresponding analog voltage control signal, and determine a control voltage based on the analog voltage control signal.
[0059] In some embodiments, the analog voltage control signal may be a multi-bit digital control signal.
[0060] In some embodiments, it is assumed that the amplitude of the audio data output by the power amplifier in the audio power amplifier system 100 is V amp_out , then the amplitude of the audio data of each time interval output is the input amplitude V of each time interval of the audio data amp_in and the product of the preset amplitude gain GAIN, that is, V amp_out =V amp_in *GAIN. It is understood that in order to ensure that the audio data output by the power amplifier is not affected by the power amplifier supply voltage V BST The limitation produces truncation distortion, the power amplifier supply voltage V BST The amplitude of the audio data that needs to be greater than the power amplifier output is V amp_out Assume that the power supply voltage required by the audio data output by the power amplifier is the amplitude V of the audio data. amp_out Add the voltage margin value VHR, that is, V sup =V amp_out +V HR , then the power amplifier supply voltage V BST The power supply voltage V required by the power amplifier output audio data needs to be greater than sup The audio power amplifier system 100 determines an analog voltage control signal based on the required power supply voltage, and determines a corresponding control voltage based on the analog voltage control signal.
[0061] It can be understood that the voltage margin value V HR It can be set according to the actual application scenario. This application sets the voltage margin value V HR There is no restriction on the specific value of .
[0062] In some embodiments, the voltage margin value V HR It can be an absolute voltage value, such as 1V, 2V, etc. In other embodiments, the voltage margin value V HR It can also be a relative voltage, such as 10%×V amp_out This application does not limit this.
[0063] Exemplarily, taking the analog voltage control signal as a 3-bit digital control signal as an example, refer to Table 1, which shows a mapping relationship between the analog voltage control signal and the control voltage according to an embodiment of the present application.
[0064] Among them, DA<2:0> represents a 3-bit digital control signal, V CIt is understood that the control voltage V C The expression of can refer to formula (1).
[0065] V C =k·VDD (1)
[0066] Among them, V C represents the control voltage, VDD represents the power supply voltage of the audio power amplifier system 100, k represents the voltage division coefficient, and k is greater than 0 and less than 1. It can be understood that if the analog voltage control signal is an M-bit digital control signal DA <m:0>, then k is 1 / 2 M An integer multiple of , where M is an integer greater than 1.
[0067] It can be understood that the embodiments of the present application are illustrated by taking the analog voltage control signal as a 3-bit digital control signal as an example. In other embodiments, the analog voltage control signal may also be a 4-bit or other multi-bit digital control signal. The present application does not impose any specific restrictions on the value of the bit number M of the analog voltage control signal.
[0068] Table 1 Relationship between analog voltage control signal and control voltage
[0069]
[0070] In some embodiments, the audio power amplifier system 100 determines the control voltage corresponding to the input amplitude based on the input amplitude, and also includes: when the audio power amplifier system 100 continuously detects N input amplitudes, determining the start time and end time corresponding to each input amplitude, where N is an integer greater than 1; determining the i-th input amplitude as the first amplitude, and determining the i+1-th input amplitude as the second amplitude, where i is an integer greater than 0 and less than N; when the second amplitude is greater than or equal to the first amplitude, controlling the start time of the analog voltage control signal corresponding to the second amplitude to be less than the start time corresponding to the second amplitude, so that the start time of the power amplifier power supply voltage corresponding to the second amplitude is less than the start time corresponding to the second amplitude; when the second amplitude is less than the first amplitude, controlling the start time of the analog voltage control signal corresponding to the second amplitude to be greater than the start time corresponding to the second amplitude, so that the start time of the power amplifier power supply voltage corresponding to the second amplitude is greater than the start time corresponding to the second amplitude.
[0071] As you can understand, when the input amplitude is detected to be increasing, the analog voltage control signal is output in advance to determine the power amplifier supply voltage corresponding to the input amplitude; when the input amplitude is detected to be decreasing, the analog voltage control signal is output in a delayed manner to determine the power amplifier supply voltage corresponding to the input amplitude. This achieves a fast entry and slow exit effect, preventing distortion caused by untimely power supply voltage adjustment during audio amplifier operation.
[0072] It can be understood that detecting the change of the input amplitude may be detecting the amplitude within a certain time interval. If the input amplitude remains low within the detection time, it is considered that the input amplitude has decreased.
[0073] S304: Determine a power amplifier supply voltage corresponding to the input amplitude based on the control voltage.
[0074] In some embodiments, the audio power amplifier system 100 adjusts the power supply voltage of the power amplifier of the audio power amplifier system based on the control voltage and the feedback voltage to obtain the power amplifier power supply voltage V BST It can be understood that the supply voltage of the DC-DC converter is the battery voltage V BAT , the output voltage of the DC-DC converter is the power amplifier supply voltage V BST .
[0075] In some embodiments, the audio power amplifier system 100 adjusts the power supply voltage of the audio power amplifier system based on the control voltage and the feedback voltage to obtain the power amplifier power supply voltage V BST .
[0076] For example, refer to formula (2).
[0077]
[0078] Among them, V BST Indicates the power amplifier supply voltage, V FB Represents the feedback voltage of the DC-DC converter, V C represents the control voltage, and R1, R2, and R3 represent the resistance values of the resistors R1, R2, and R3 in the resistor network in the audio power amplifier system 100.
[0079] Further deduction of formula (2) can yield formula (3).
[0080]
[0081] Among them, V BST Indicates the power amplifier supply voltage, V FB Represents the feedback voltage of the DC-DC converter, V C represents the control voltage, and R1, R2, and R3 represent the resistance values of the resistors R1, R2, and R3 in the resistor network in the audio power amplifier system 100.
[0082] It can be understood that the feedback voltage of the DC-DC converter is equal to its reference voltage, which is a fixed value. Therefore, the power amplifier supply voltage V BST The control voltage V C control, that is, the voltage V C The power supply voltage of the audio power amplifier system 100 is adjusted to obtain the power amplifier power supply voltage V BST When the control voltage V C When the power supply voltage V BST Reduce; when the control voltage V C When the power supply voltage V BST Increase.
[0083] It can be understood that according to formula (1) and formula (3), the values of R1, R2, and R3 determine the power amplifier supply voltage V BST The adjustment range of the analog voltage control signal bit number determines the power amplifier supply voltage V BST The adjustment step size.
[0084] It is understood that in other embodiments, according to actual needs, the above Figure 3 The steps shown can be combined, deleted or replaced with other steps that are conducive to achieving the purpose of this application. For example, the above steps S301 and S302 can be combined into one step. This application does not impose any restrictions on this.
[0085] In some embodiments, the audio data input to the power amplifier of the audio power amplifier system 100 is an analog audio signal corresponding to the audio data input to the audio power amplifier system 100 .
[0086] In some embodiments, the audio amplifier system 100 delays the received audio data using a programmable delay buffer to obtain delayed audio data, wherein the delay time is greater than or equal to the response time of the DC-DC voltage converter in the audio amplifier system 100 .
[0087] It can be understood that after the audio data is delayed, the audio data output by the power amplifier in the audio power amplifier system 100 can be delayed compared to the analog voltage control signal, so that before the power amplifier outputs the audio data, the audio power amplifier system 100 has adjusted the DC-DC converter output corresponding to the power amplifier supply voltage to prevent the audio data from being truncated.
[0088] In some embodiments, the delay time T delay It can be 10ms. In other embodiments, the delay time T delay It can also be 20ms, which is not limited in this application.
[0089] For example, refer to Figure 5 , Figure 5 According to an embodiment of the present application, a schematic diagram of the waveform of audio data and delayed audio data is shown. Figure 5 As shown, the audio data Vin is delayed for a time period of T delay After delay processing, the delayed audio data Vin_delay is obtained.
[0090] In some embodiments, after the audio power amplifier system 100 performs audio processing on the delayed audio data, it performs digital-to-analog conversion on the processed audio data (digital audio signal) to obtain an analog audio signal.
[0091] Among them, the audio processing performed on the delayed audio data includes but is not limited to sampling rate conversion, sound effect algorithm, interpolation filtering, DSM conversion and other processing, and this application does not impose any restrictions on this.
[0092] In some embodiments, the audio power amplifier system 100 supplies power to the power amplifier based on the power amplifier supply voltage, amplifies the analog audio signal, and outputs the amplified analog audio signal.
[0093] refer to Figure 6 , Figure 6 According to an embodiment of the present application, a schematic diagram of audio data and a waveform of the audio data output by the audio power amplifier system 100 is shown.
[0094] like Figure 6 As shown, when an increase in the input amplitude is detected, the power amplifier supply voltage corresponding to the input amplitude is output in advance; when a decrease in the input amplitude is detected, the power amplifier supply voltage corresponding to the input amplitude is output in a delayed manner. It can be understood that by using the early and / or delayed response, distortion caused by untimely supply voltage adjustment during operation of the audio power amplifier system 100 can be prevented.
[0095] In order to better understand the technical solutions of the embodiments of the present application, the audio power amplifier system 100 provided in the present application is described in detail below with reference to the accompanying drawings.
[0096] Figure 7 According to an embodiment of the present application, a structural diagram of an audio power amplifier system 100 is shown.
[0097] like Figure 7 As shown, the audio power amplifier system 100 includes an audio power amplifier chip 110, a resistor network 120, and a DC-DC converter chip 130. The audio power amplifier chip 110 includes an audio signal path 111, a voltage adaptive control path 112 (as a voltage control path), and a power amplifier 113.
[0098] It can be understood that the audio power amplifier system 100 includes two chips, an audio power amplifier chip and a DC-DC converter chip, and can be applied to more application scenarios.
[0099] The audio signal path 111 is used to obtain audio data input to the audio power amplifier system; perform delay processing on the audio data to obtain delayed audio data; and perform audio processing on the delayed audio data to obtain an analog audio signal.
[0100] The audio signal path 111 includes a delay unit 1111 , an audio signal processing unit 1112 (serving as a first processing unit), and a first digital-to-analog conversion module ( DAC1 ) 1113 .
[0101] The delay unit 1111 is used to delay the audio data to obtain delayed audio data. Figure 8 Schematic diagram of the delay unit shown, the input of the delay unit 1111 is audio data Vin, and the output is delayed audio data Vin_delay.
[0102] The audio signal processing unit 1112 is configured to perform audio processing on the delayed audio data.
[0103] The first digital-to-analog conversion module 1113 is configured to perform digital-to-analog conversion on the processed audio data (digital audio signal) to obtain an analog audio signal, and input the analog audio signal into a power amplifier.
[0104] The voltage adaptive control path 112 is used to obtain audio data input to the audio power amplifier system; determine the input amplitude of the audio data; determine the corresponding analog voltage control signal according to the input amplitude of the audio data and determine the control voltage based on the analog voltage control signal.
[0105] The voltage adaptive control path 112 includes a signal amplitude detector 1121 , a digital processing unit 1122 (serving as a second processing unit), and a second digital-to-analog conversion module ( DAC2 ) 1123 .
[0106] The signal amplitude detector 1121 is used to obtain the audio data input to the audio power amplifier system and determine the input amplitude of the audio data. In some embodiments, the signal amplitude detector 1121 receives the audio data and determines the input amplitude of the audio data. Figure 9 The signal amplitude detector 1121 has an input of audio data Vin and an output of the input amplitude V corresponding to the time interval. amp_in .
[0107] The digital processing unit 1122 is used to determine the corresponding analog voltage control signal according to the input amplitude of the audio data. In some embodiments, the digital processing unit 1122 receives the input amplitude of the audio data and the amplitude gain GAIN and generates a corresponding multi-bit digital control signal, that is, an analog voltage control signal. Figure 10 The digital processing unit 1122 is a schematic diagram of the digital processing unit shown in FIG. 1 , wherein the input of the digital processing unit 1122 is the input amplitude V of the audio data. amp_in and amplitude gain GAIN, the output is a multi-bit digital control signal DA <m:0>, where M is an integer greater than 0.
[0108] The second digital-to-analog conversion module 1123 is used to determine the control voltage based on the analog voltage control signal. In some embodiments, the second digital-to-analog conversion module 1123 receives the analog voltage control signal and converts and outputs the corresponding control voltage V C and sent to the outside of the audio power amplifier chip 110 through the chip pins.
[0109] The power amplifier 113 is configured to amplify the analog audio signal based on the power amplifier supply voltage and output the amplified analog audio signal. In some embodiments, the power amplifier 113 may be a Class AB or Class D power amplifier. The power amplifier 113 receives the analog audio signal generated by the first digital-to-analog converter 1113, determines the amplified analog audio signal, and outputs it to the speaker, thereby driving the off-chip speaker.
[0110] The resistor network 120 is used to determine the feedback voltage of the DC-DC converter chip 130 (as a voltage converter). In some embodiments, the resistor network 120 receives the control voltage V C and the DC-DC converter chip 130 outputs V BST voltage, and generates a corresponding feedback voltage V FB .
[0111] The DC-DC converter chip 130 is used to adjust the power supply voltage of the audio power amplifier system based on the feedback voltage and the control voltage to obtain the power amplifier power supply voltage.
[0112] In some embodiments, the resistor network 120 and the DC-DC converter chip 130 constitute an amplifier supply voltage module for determining the amplifier supply voltage based on the control voltage. Figure 11 The second digital-to-analog converter module 1123 includes a multi-bit digital-to-analog converter (RDAC) 1124, a driver (Buffer) 1125, and a filter capacitor C F .
[0113] Take the 3-bit DAC as an example, refer to Figure 12 , Figure 12 According to an embodiment of the present application, a schematic diagram of another second digital-to-analog converter is shown.
[0114] like Figure 12 As shown, the second digital-to-analog conversion module 1123 includes: a multi-bit digital-to-analog converter 1124, a driver 1125 and a filter capacitor C F The multi-bit DAC 1124 includes eight voltage-dividing resistors (R), eight selection switches (S), and a 3-8 decoder. The voltage-dividing resistors divide the power supply voltage VDD of the audio power amplifier system 100 eight times; the 3-bit digital control signal DA<2:0> is generated by the 3-8 decoder to generate eight control switches S<7:0>, which control the selection switches to select the corresponding voltage output V DAC Filter capacitor C F Used to V DAC Do filtering to prevent V DAC Produces large fluctuations. DAC The voltage is then amplifier-amplified by driver 1125 to generate a control voltage V C , that is, V C =V DAC .
[0115] The present application also provides an electronic device including a processor and a memory, wherein the memory is used to store program instructions, and the processor is used to call the program instructions to execute the power supply voltage control method. The specific audio processing method can refer to the power supply voltage control method in the above embodiment, and this application will not elaborate on it here.
[0116] The present application also provides a chip including a processor and a data interface. The processor reads instructions stored in a memory through the data interface to execute the power supply voltage control method. The audio processing method can be specifically referred to the power supply voltage control method in the above embodiment, and this application will not elaborate on this.
[0117] In the accompanying drawings, some structural or method features may be shown in a particular arrangement and / or order. However, it should be understood that such a particular arrangement and / or order may not be required. Rather, in some embodiments, these features may be arranged in a manner and / or order different from that shown in the illustrative drawings. In addition, the inclusion of a structural or method feature in a particular figure does not imply that such feature is required in all embodiments, and in some embodiments, such features may not be included or may be combined with other features.
[0118] It should be noted that the units / modules mentioned in the various device embodiments of the present application are all logical units / modules. Physically, a logical unit / module can be a physical unit / module, or a part of a physical unit / module, or can be implemented as a combination of multiple physical units / modules. The physical implementation of these logical units / modules themselves is not the most important. The combination of functions implemented by these logical units / modules is the key to solving the technical problems raised by this application. In addition, in order to highlight the innovative part of this application, the above-mentioned device embodiments of this application do not introduce units / modules that are not closely related to solving the technical problems raised by this application. This does not mean that other units / modules do not exist in the above-mentioned device embodiments.
[0119] It should be noted that in the examples and description of this patent, relational terms such as first and second, etc. are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device that includes a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further limitations, an element defined by the phrase "including a" does not exclude the presence of other identical elements in the process, method, article or device that includes the element.
[0120] Although the present application has been shown and described with reference to certain preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the application.
Claims
1. A power supply voltage control method, applied to an audio power amplifier system, characterized in that: The audio power amplifier system includes: an audio power amplifier chip, a resistor network and a DC-DC converter chip, wherein the audio power amplifier chip includes a power amplifier; The method comprises: Acquiring audio data input into the audio power amplifier system; determining an input amplitude of the audio data; determining a control voltage corresponding to the input amplitude according to the input amplitude; Based on the control voltage, a power amplifier supply voltage corresponding to the input amplitude is determined, wherein: The determining, based on the control voltage, a power amplifier supply voltage corresponding to the input amplitude includes: The control voltage output by the audio power amplifier chip is applied to the DC-DC converter chip through the resistor network to adjust the output voltage of the DC-DC converter chip, wherein the output voltage is a power amplifier power supply voltage for powering the power amplifier; The resistor network includes a first resistor, a second resistor and a third resistor, the first end of the first resistor, the first end of the second resistor and the first end of the third resistor are connected to a common node, the second end of the first resistor is connected to the output voltage port of the DC-DC converter chip, the second end of the second resistor is grounded, the second end of the third resistor is connected to the control voltage output port of the audio power amplifier chip, and the common node is connected to the feedback voltage port of the DC-DC converter chip, wherein the feedback voltage is a fixed value, so that when the control voltage increases, the power amplifier supply voltage decreases, and when the control voltage decreases, the power amplifier supply voltage increases.
2. The method according to claim 1, characterized in that The determining, according to the input amplitude, a control voltage corresponding to the input amplitude includes: determining an amplitude gain and a voltage headroom value of the audio data; Determining an output amplitude corresponding to the input amplitude according to the input amplitude and the amplitude gain; determining a required supply voltage based on the output amplitude and the voltage margin value; determining an analog voltage control signal based on the required supply voltage; The control voltage is determined based on the analog voltage control signal.
3. The method according to claim 2, characterized in that The determining the control voltage based on the analog voltage control signal includes: determining a power supply voltage of the audio power amplifier system; The control voltage is determined based on the analog voltage control signal and a power supply voltage of the audio power amplifier system.
4. The method according to claim 3, characterized in that The determining, based on the control voltage, a power amplifier supply voltage corresponding to the input amplitude includes: Determining a feedback voltage of a voltage converter of the audio power amplifier system, wherein the feedback voltage is equal to a reference voltage of the voltage converter of the audio power amplifier system; The power amplifier supply voltage is determined based on the feedback voltage and the control voltage.
5. The method according to claim 3, characterized in that The step of determining a control voltage corresponding to the input amplitude according to the input amplitude further includes: When the audio power amplifier system detects N input amplitudes continuously, determining the start time and end time corresponding to each input amplitude, where N is an integer greater than 1; Determine the i-th input amplitude as the first amplitude, and determine the i+1-th input amplitude as the second amplitude, where i is an integer greater than 0 and less than N; When the second amplitude is greater than or equal to the first amplitude, controlling the start time of the analog voltage control signal corresponding to the second amplitude to be shorter than the start time corresponding to the second amplitude, so that the start time of the power amplifier supply voltage corresponding to the second amplitude is shorter than the start time corresponding to the second amplitude; When the second amplitude is smaller than the first amplitude, the start time of the analog voltage control signal corresponding to the second amplitude is controlled to be greater than the start time corresponding to the second amplitude, so that the start time of the power amplifier supply voltage corresponding to the second amplitude is greater than the start time corresponding to the second amplitude.
6. The method according to claim 2, characterized in that The analog voltage control signal is an M-bit digital control signal, where M is an integer greater than 1.
7. An audio power amplifier system, characterized in that: include: An audio power amplifier chip, a resistor network, and a DC-DC converter chip, wherein the audio power amplifier chip includes a power amplifier, and the resistor network is connected to the audio power amplifier chip and the DC-DC converter chip respectively; and An audio power amplifier chip is used to obtain audio data input to the audio power amplifier system, determine the input amplitude of the audio data, and determine the control voltage corresponding to the input amplitude based on the input amplitude, and The control voltage output by the audio power amplifier chip is applied to the DC-DC converter chip through the resistor network to adjust the output voltage of the DC-DC converter chip, wherein the output voltage is a power amplifier power supply voltage for powering the power amplifier; The resistor network includes a first resistor, a second resistor, and a third resistor, wherein the first end of the first resistor, the first end of the second resistor, and the first end of the third resistor are connected to a common node, the second end of the first resistor is connected to the output voltage port of the DC-DC converter chip, the second end of the second resistor is grounded, and the second end of the third resistor is connected to the control voltage output port of the audio power amplifier chip, and the common node is connected to the feedback voltage port of the DC-DC converter chip, wherein the feedback voltage is a fixed value, so that when the control voltage increases, the power amplifier supply voltage decreases, and when the control voltage decreases, the power amplifier supply voltage increases; The power amplifier is used to amplify the analog audio signal based on the power amplifier supply voltage and determine the amplified analog audio signal.
8. The audio power amplifier system according to claim 7, characterized in that: The audio power amplifier chip includes: a delay unit, configured to perform delay processing on the audio data to obtain delayed audio data; a first processing unit, configured to perform audio processing on the delayed audio data; The first digital-to-analog conversion module is configured to perform digital-to-analog conversion on the audio data after the audio processing to obtain an analog audio signal, and input the analog audio signal into the power amplifier.
9. The audio power amplifier system according to claim 7, characterized in that: The resistor network is used to determine the feedback voltage of the voltage converter of the audio power amplifier system; The DC-DC converter chip is used to determine the power amplifier supply voltage based on the feedback voltage and the control voltage.
10. The audio power amplifier system according to claim 7, characterized in that: The audio power amplifier chip also includes: a signal amplitude detector for determining an input amplitude of the audio data; a second processing unit, configured to determine an amplitude gain and a voltage headroom value of the audio data, determine an output amplitude corresponding to the input amplitude based on the input amplitude and the amplitude gain; determine a required power supply voltage based on the output amplitude and the voltage headroom value; and determine an analog voltage control signal based on the required power supply voltage; The second digital-to-analog conversion module is configured to determine the control voltage based on the analog voltage control signal.
11. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory is used to store program instructions, and the processor is used to call the program instructions to execute the method according to any one of claims 1 to 6.
12. A chip, characterized in that: The chip includes a processor and a data interface, and the processor reads instructions stored in a memory through the data interface to execute the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Audio equipment and amplifier power supply voltage control method thereof
CN113872529A
Audio power amplifier power supply voltage control method and device and audio equipment
CN113890489A