Audio power amplifier and method for amplifying audio signal
By designing an audio power amplifier device including a voltage generation unit, a processing unit, a buffer unit and a digital-to-analog converter, a matching table and amplitude detection algorithm are used to achieve flexible adjustment of the power supply voltage, the shortcomings of existing audio power amplifiers in terms of power conversion efficiency and flexibility are solved, and the battery utilization of the equipment and the adjustment flexibility of users are improved.
Patent Information
- Application Number
- CN202111177513.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-09
- Publication Date
- 2025-04-04
- Estimated Expiration
- 2041-10-09
AI Technical Summary
Existing audio power amplifiers have shortcomings in power conversion efficiency and flexibility, resulting in low battery utilization for portable devices and users cannot flexibly adjust the power supply voltage.
An audio power amplification device is designed, including a voltage generation unit, a processing unit, a buffer unit, a digital-to-analog converter and an audio power amplifier. Through a matching table and an amplitude detection algorithm, a flexible adjustment of the power supply voltage is achieved to synchronize it with an analog audio signal.
It realizes flexible adjustment of the power supply voltage of the audio power amplifier, improves power conversion efficiency, extends the battery life of the portable device, and meets the user's needs for modifying the operating voltage mode of the audio power amplifier.
Smart Images

Figure CN113904637B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of audio processing, and in particular to an audio power amplifying device and a method for amplifying an audio signal thereof. Background Art
[0002] With the development and application of multimedia technology, personal audio devices are widely used, including mobile phones, mobile computers, tablet computers, audio players and other audio devices. Audio power amplifiers are increasingly used in such audio devices. Such audio devices usually include circuits for driving headphones or speakers, and such circuits usually include power amplifiers for driving audio output signals to headphones or speakers. Battery power is often used in consumer electronic products to improve the portability of applications. The power output of audio power amplifiers in audio devices accounts for a large proportion of the total system power consumption and has a large power loss. Therefore, improving the power conversion efficiency of the amplifier is critical to improving the battery utilization of portable devices.
[0003] In order to improve the power conversion efficiency of the audio amplifier, in some solutions of the prior art, a digital processing circuit is used to detect the digital audio signal and calculate the size of the analog audio signal (after being amplified by the audio amplifier), and then the power supply voltage of the audio power amplifier is adjusted according to the size of the analog audio signal input to the audio power amplifier. However, once the circuit is designed, the method for calculating or determining the size of the power supply voltage is fixed, and downstream manufacturers (such as headset or mobile phone manufacturers using the circuit) or users using the circuit can no longer make adjustments, so the flexibility is poor. Summary of the invention
[0004] Based on the above situation, the main purpose of the present invention is to provide an audio power amplifier device and a method for amplifying an audio signal, so as to relatively flexibly adjust the power supply voltage of the audio power amplifier and ensure the synchronization of the power supply voltage with the analog audio signal.
[0005] A first aspect of the present invention provides an audio power amplification device, comprising a voltage generating unit, a processing unit, a buffer unit, a first digital-to-analog converter, an audio power amplifier and a storage unit, wherein:
[0006] The storage unit is used to store a matching table representing the corresponding relationship between the first delay time length and the amplitude detection mode;
[0007] The processing unit is used to receive an instruction and a digital audio signal, wherein the instruction includes information about a specified amplitude detection method, the processing unit is used to perform amplitude detection on the digital audio signal according to the specified amplitude detection method to obtain a detection amplitude, and calculate a reference voltage digital sequence according to the detection amplitude, and is used to determine a first delay time according to the specified amplitude detection method and the matching table, and determine a buffer time of the buffer unit according to the first delay time, wherein the buffer time allows the power supply voltage output by the voltage generating unit and the analog audio power signal output by the first digital-to-analog converter to be simultaneously input into the audio power amplifier;
[0008] The voltage generating unit is used to generate a supply voltage according to the reference voltage digital sequence, and output the supply voltage to the audio power amplifier;
[0009] The buffer unit is used to receive the digital audio signal, and buffer the received digital audio signal for the buffering time and then output it to the first digital-to-analog converter;
[0010] The first digital-to-analog converter is used to convert the digital audio signal output by the buffer unit into an analog audio signal, and output the analog audio signal to the audio power amplifier;
[0011] The audio power amplifier is used to receive the power supply voltage and the analog audio signal, and amplify the analog audio signal.
[0012] In a specific implementation manner, the specified amplitude detection method information includes an amplitude detection algorithm and a first analysis duration, and the processing unit is specifically configured to:
[0013] Searching the matching table according to the amplitude detection algorithm and the first analysis duration to obtain the first delay duration;
[0014] Determine a second delay time required to calculate a reference voltage digital sequence according to the detection amplitude;
[0015] A first sum of the first analysis duration and the second delay duration is calculated, where the first sum is the buffering duration of the buffer unit.
[0016] In a specific embodiment, the processing unit is further used to determine whether the difference between the detection amplitude values obtained within a set number of consecutive first analysis durations is within a set range, and if so, update the first analysis duration, perform amplitude detection on the digital audio signal according to the amplitude detection algorithm and the updated first analysis duration to obtain a detection amplitude, and generate a reference voltage digital sequence according to the detection amplitude; and
[0017] Determine an updated first delay duration according to the amplitude detection algorithm and the updated first analysis duration, and determine an updated buffer duration of the buffer unit according to the updated first delay duration;
[0018] The buffer unit is further configured to buffer the received digital audio signal for the updated buffering time and then output the buffered signal to the first digital-to-analog converter.
[0019] In a specific embodiment, the processing unit is further used for:
[0020] Searching the matching table according to the amplitude detection algorithm and the updated first analysis duration to obtain the updated first analysis duration;
[0021] A second sum of the updated first analysis duration and the second delay duration is calculated, and the second sum is the updated buffer duration.
[0022] In a specific embodiment, the voltage generating unit includes a DC-DC circuit and a second digital-to-analog converter;
[0023] The second digital-to-analog converter is used to convert the reference voltage digital sequence into an analog voltage of corresponding magnitude and output it to the DC-DC circuit as a reference voltage;
[0024] The DC-DC circuit is used for outputting a supply voltage of the same magnitude as the reference voltage to the audio power amplifier as a working voltage.
[0025] A second aspect of the present invention provides a method for amplifying an audio signal by the aforementioned audio power amplifier, comprising the following steps:
[0026] The processing unit receives an instruction and a digital audio signal, wherein the instruction includes information about a specified amplitude detection method, the processing unit performs amplitude detection on the digital audio signal according to the specified amplitude detection method to obtain a detection amplitude, calculates a reference voltage digital sequence according to the detection amplitude, and is used to determine a first delay time according to the specified amplitude detection method and the matching table, and determine a buffer time of the buffer unit according to the first delay time, wherein the buffer time allows the power supply voltage output by the voltage generating unit and the analog audio power signal output by the first digital-to-analog converter to be simultaneously input into the audio power amplifier;
[0027] The voltage generating unit generates a supply voltage according to the reference voltage digital sequence, and outputs the supply voltage to the audio power amplifier; the buffering unit receives the digital audio signal, buffers the received digital audio signal for the buffering time, and then outputs the buffered signal to the first digital-to-analog converter, wherein the first digital-to-analog converter is used to convert the digital audio signal output by the buffering unit into an analog audio signal, and output the analog audio signal to the audio power amplifier;
[0028] The audio power amplifier is used to receive the power supply voltage and the analog audio signal, and amplify the analog audio signal.
[0029] In a specific implementation, determining the first delay duration according to the specified amplitude detection mode and the matching table, and determining the buffer duration of the buffer unit according to the first delay duration specifically includes:
[0030] Searching the matching table according to the amplitude detection algorithm and the first analysis duration to obtain the first delay duration;
[0031] Determine a second delay time required to calculate a reference voltage digital sequence based on the detection amplitude; calculate a first sum of the first analysis time and the second delay time, the first sum being a buffer time of the buffer unit.
[0032] In a specific embodiment, the method further comprises:
[0033] The processing unit also determines whether the difference between the detection amplitude values obtained within a set number of consecutive first analysis time periods is within a set range. If so, the first analysis time period is updated, and the digital audio signal is amplitude detected according to the amplitude detection algorithm and the updated first analysis time period to obtain the detection amplitude, and a reference voltage digital sequence is generated according to the detection amplitude; and an updated first delay time period is determined according to the amplitude detection algorithm and the updated first analysis time period, and an updated buffer time period of the buffer unit is determined according to the updated first delay time period; the buffer unit also buffers the received digital audio signal for the updated buffer time period and outputs it to the first digital-to-analog converter.
[0034] In a specific implementation, the determining the updated first delay duration according to the amplitude detection algorithm and the updated first analysis duration, and determining the updated buffer duration of the buffer unit according to the updated first delay duration specifically includes:
[0035] An updated first delay duration is determined according to the amplitude detection algorithm and the updated first analysis duration, and an updated buffering duration of the buffer unit is determined according to the updated first delay duration.
[0036] In a specific implementation, the voltage generating unit generates a supply voltage of a corresponding magnitude according to the reference voltage digital sequence, and outputs the supply voltage to the audio power amplifier specifically includes:
[0037] The second digital-to-analog converter is used to convert the reference voltage digital sequence into an analog voltage of corresponding magnitude and output it to the DC-DC circuit as a reference voltage;
[0038] The DC-DC circuit is used to output a supply voltage of the same magnitude as the reference voltage to the audio power amplifier as a working voltage.
[0039] Beneficial Effects
[0040] Through the above scheme, downstream manufacturers or users can select the amplitude detection method according to the requirements of real-time performance, and by establishing a matching table representing the correspondence between the first delay duration and the amplitude detection method, the processing unit can determine the corresponding first delay duration from the matching table according to the amplitude detection method, determine the corresponding second delay duration according to the reference voltage calculation method, and then set the capacity of the buffer unit to the buffer capacity value corresponding to the sum of the delay duration and the second delay duration, so as to set the delay size of the buffer unit for the second digital audio signal to match the delay size of the processing unit for processing the first digital audio signal, so that the analog audio signal input to the audio power amplifier can be synchronized with the working voltage, thereby ensuring the normal amplification of the analog audio signal, while meeting the needs of downstream manufacturers or users to modify the method for determining the working voltage of the audio power amplifier.
[0041] Other beneficial effects of the present invention will be explained in the specific implementation manner through the introduction of specific technical features and technical solutions. Through the introduction of these technical features and technical solutions, those skilled in the art should be able to understand the beneficial technical effects brought about by the technical features and technical solutions. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] The preferred embodiments according to the present invention will be described below with reference to the accompanying drawings.
[0043] Figure 1 is a schematic diagram of an audio power amplifying device according to a preferred embodiment of the present invention;
[0044] Figure 2 FIG. 4 is a schematic diagram of an audio power amplifying device according to another preferred embodiment of the present invention. DETAILED DESCRIPTION
[0045] like Figure 1As shown, an audio power amplifying device according to an embodiment of the present invention includes a voltage generating unit, a storage unit 800, a processing unit 110, a buffer unit 120, a first digital-to-analog converter (i.e., a first DAC 400), an audio power amplifier 500, a power supply 310, and a speaker 700. The storage unit 800 stores a matching table indicating the corresponding relationship between the first delay time and the amplitude detection mode. The audio power amplifier 500 may be a class AB amplifier or a class G amplifier.
[0046] The digital audio signal Sn is divided into two paths, the first path of digital audio signal is input to the input end of the processing unit 110, and the second path of digital audio signal is input to the input end of the buffer unit 120; the processing unit 110 receives the instruction input by the user indicating the current amplitude detection mode, uses the current amplitude detection mode obtained from the instruction to detect the amplitude of the first path of digital audio signal, and uses the reference voltage calculation mode to calculate the reference voltage digital sequence according to the amplitude of the first digital audio signal and outputs it to the voltage generation unit; the processing unit 110 also determines the corresponding first delay time from the matching table according to the amplitude detection mode, determines the corresponding second delay time according to the reference voltage calculation mode, and then sets the capacity of the buffer unit 120 to the sum of the first delay time and the second delay time, that is, the buffer capacity value of the buffer unit, wherein the buffer time allows the power supply voltage output by the voltage generation unit and the analog audio power signal output by the first digital-to-analog converter to be simultaneously input into the audio power amplifier. The voltage generation unit generates a voltage of corresponding magnitude according to the reference voltage digital sequence to the audio power amplifier as a working voltage. After the buffer unit 120 adaptively delays the digital audio signal according to the buffer capacity value, the second digital audio signal is output to the second DAC 400. The second DAC 400 converts the second digital audio signal into an analog audio signal and outputs it to the audio power amplifier 500. The audio power amplifier 500 amplifies the analog audio signal using the working voltage. This will be described in further detail below.
[0047] In some embodiments, the voltage generating unit includes a DC-DC circuit 300 and a second digital-to-analog converter (i.e., a second DAC 200). The processing unit 110 outputs a reference voltage digital sequence to the second DAC 200, and the second DAC 200 converts the reference voltage digital sequence into an analog voltage of a corresponding magnitude and outputs it to the DC-DC circuit 300 as a reference voltage. The DC-DC circuit 300 outputs a voltage of the same magnitude according to the reference voltage to the audio power amplifier as an operating voltage.
[0048] As mentioned above, the matching table is used to indicate the correspondence between the first delay duration and the amplitude detection method, that is, the corresponding delay (i.e., the first delay duration) consumed by the processing unit 110 using a certain amplitude detection method to detect the amplitude of the first digital audio signal. In some embodiments, the parameters representing the amplitude detection method include an amplitude detection algorithm and a first analysis duration. In this case, the matching table is used to indicate the correspondence between the first delay duration and the amplitude detection algorithm and the first analysis duration, and the parameters representing the amplitude detection method in the instruction also include an amplitude detection algorithm and an analysis duration. Specifically, the matching table indicates the corresponding duration (delay) consumed by the processing unit 110 using a certain amplitude detection algorithm to detect the amplitude of the first digital audio signal within a certain analysis duration. When the same amplitude detection algorithm is used to detect the first digital audio signal in different analysis time lengths, the corresponding time lengths (i.e., the first delay time length) consumed are different, as shown in the following table. When amplitude detection algorithm 1 is used, the corresponding time lengths (i.e., the first delay time length) consumed for detecting the first digital audio signal in analysis time t1 and analysis time t2 are T11 and T21, respectively; and for the first digital audio signal in the same analysis time length, the corresponding time lengths (i.e., the first delay time length) consumed by using different amplitude detection algorithms are different. For example, for the first digital audio signal in analysis time t1, the corresponding time lengths (i.e., the first delay time length) consumed by using amplitude detection algorithm 1 and amplitude detection algorithm 2 for detection are T11 and T12, respectively.
[0049]
[0050] In some embodiments, the processing unit 110 also determines whether the difference between the amplitudes of the first digital audio signal detected within a set number of consecutive first analysis time periods is within a set range. If so (that is, the amplitude of the first digital audio signal changes very little), the first analysis time period representing the amplitude detection method in the instruction is updated, for example, updated to the second analysis time period, and the corresponding new first delay time period is determined from the matching table according to the amplitude detection algorithm and the second analysis time period, wherein the second analysis time period is equal to the first analysis time period multiplied by the set number; then, the processing unit 110 sets the capacity of the buffer unit 120 to the sum of the updated first delay time period and the second delay time period. For example, the first analysis duration is 1s, and the set number is 5. If the difference between the amplitudes of the first digital audio signal detected within 5 consecutive first analysis durations is within the set range, the first analysis duration (1s) indicating the amplitude detection method in the instruction is replaced with the second analysis duration (5s), and then the matching table is searched according to the second analysis duration and the amplitude detection algorithm specified in the instruction to obtain the updated first analysis duration, and then the capacity of the buffer unit 120 is set to the buffer capacity value corresponding to the sum of the updated first analysis duration and the second delay duration.
[0051] After detecting the amplitude of the first digital audio signal, a reference voltage calculation method is required to calculate a reference voltage digital sequence (the size of which corresponds to the working voltage of the audio power amplifier) according to the amplitude of the first digital audio signal. The duration of this process is the second delay duration. For example, the reference voltage calculation method is to multiply the amplitude of the detected digital audio signal by the amplification factor of the audio power amplifier 500, and then add a preset amplitude increment (also known as "headroom voltage") constant as the reference voltage. In other embodiments, the reference voltage calculation method is to use a preset function to calculate the amplitude of the detected digital audio signal and obtain the result as the amplitude increment (for example, the preset function can make the amplitude increment proportional to the amplitude value, the larger the amplitude, the larger the amplitude increment, and vice versa), and then add the amplitude increment to the result after multiplying the amplitude of the digital audio signal by the amplification factor of the audio power amplifier 500 as the reference voltage. Generally speaking, the value of the second delay duration is smaller than the value of the first delay duration.
[0052] After determining the first delay time and the second delay time, the processing unit 110 sets the capacity of the buffer unit 120 to the buffer capacity value corresponding to the sum of the first delay time and the second delay time, so that the buffer unit 120 can delay the second digital audio signal by the sum of the first delay time and the second delay time according to the buffer capacity value. The buffer unit 120 is commonly seen as a FIFO buffer unit. The buffer capacity value of the buffer unit 120 determines the delay time of the digital audio signal. When the digital audio signal enters the buffer unit 120, the larger the buffer capacity value, the longer it takes for the digital audio signal to be output from the buffer unit 120, that is, the larger the delay time, and vice versa.
[0053] Through the above scheme, downstream manufacturers or users can modify the amplitude detection method according to the requirements of real-time performance, etc. For example, the audio device using the audio power amplifier has an interactive interface for the user to input instructions (the instructions contain parameters representing the amplitude detection method) to select the amplitude detection method used by the audio power amplifier; the processing unit 110 receives the instruction and saves the amplitude detection method input by the user to the storage unit 800 as the current amplitude detection method of the audio power amplifier. The processing unit 110 can read the current amplitude detection mode from the storage unit 800, and then determine the first delay time corresponding to the current amplitude detection mode in the matching table in the storage unit 800, and then calculate the sum of the first delay time and the second delay time, and then set the capacity of the buffer unit 120 to a buffer capacity value in which the delay size is equal to the sum of the first delay time and the second delay time, so that the delay size of the second digital audio signal by the buffer unit 120 matches the delay size of the first digital audio signal by the processing unit 110, so that the analog audio signal input to the audio power amplifier 500 can be synchronized with the operating voltage, ensuring the normal amplification of the analog audio signal, while meeting the needs of downstream manufacturers or users to modify the amplitude detection mode.
[0054] The DC-DC circuit 300 modulates the voltage of the power supply 310 to an output voltage of the same magnitude as the reference voltage according to the reference voltage, and the output voltage is used as the working voltage of the audio power amplifier 500. For example, the output end of the DC-DC circuit 300 is connected to the positive power supply end of the audio power amplifier 500 to provide a positive working voltage to the audio power amplifier 500. In some other embodiments, the audio power amplifier device also requires a negative working voltage. In this case, it can further include a mirror negative voltage conversion circuit. The output end of the DC-DC circuit 300 provides a positive working voltage to the mirror negative voltage conversion circuit, and the mirror negative voltage conversion circuit converts the positive working voltage into a negative working voltage of the same value, thereby achieving the purpose of providing a negative working voltage to the audio power amplifier 500. The mirror negative voltage conversion circuit can adopt a solution in the prior art.
[0055] It is understandable that the storage unit 800, the buffer unit 120 and the processing unit 110 can be integrated into one chip (eg, a DSP chip), or any two of the three can be integrated into one chip, such as Figure 2 As shown, the processing unit 110 and the buffer unit 120 are integrated into a digital signal processor (DSP), and the storage unit 800, the buffer unit 120 and the processing unit 110 can also be independent chips.
[0056] In the present invention, the digital audio signal may be of the type of I2S, PCM, SPDIF, etc., and the digital audio signal may be decoded by the digital audio decoder 130, such as Figure 2 shown.
[0057] Based on the first embodiment of the present invention, the second embodiment of the present invention provides a method for amplifying an audio signal, wherein the digital audio signal includes a first digital audio signal and a second digital audio signal that are identical, and the audio power amplification method includes the following steps:
[0058] The first channel of digital audio signal is input to the processing unit 110, and the processing unit 110 receives an instruction indicating an amplitude detection method input by a user, detects the amplitude of the first channel of digital audio signal using the amplitude detection method obtained from the instruction, and uses a reference voltage calculation method to calculate a reference voltage digital sequence according to the amplitude of the first channel of digital audio signal and outputs it to the voltage generating unit, and determines the corresponding first delay time from the matching table according to the amplitude detection method, determines the corresponding second delay time according to the reference voltage calculation method, and then sets the capacity of the buffer unit 120 to a buffer capacity value corresponding to the sum of the first delay time and the second delay time; wherein the matching table is used to indicate the corresponding relationship between the first delay time and the amplitude detection method;
[0059] The voltage generating unit is used to generate a voltage of corresponding magnitude according to the reference voltage digital sequence and provide it to the audio power amplifier 500 as an operating voltage;
[0060] The second digital audio signal is input to the buffer unit 120, and the buffer unit 120 delays the second digital audio signal according to the buffer capacity value, and then outputs the second digital audio signal to the first digital-to-analog converter 400;
[0061] The first digital-to-analog converter 400 converts the second digital audio signal into an analog audio signal to the audio power amplifier 500;
[0062] The audio power amplifier 500 amplifies the analog audio signal using the operating voltage.
[0063] The first delay duration is determined according to the specified amplitude detection mode and the matching table, and the buffer duration of the buffer unit is determined according to the first delay duration, specifically including:
[0064] Searching the matching table according to the amplitude detection algorithm and the first analysis duration to obtain the first delay duration;
[0065] Determine a second delay time required to calculate a reference voltage digital sequence based on the detection amplitude; calculate a first sum of the first analysis time and the second delay time, the first sum being a buffer time of the buffer unit.
[0066] Wherein, the method further comprises:
[0067] The processing unit also determines whether the difference between the detection amplitude values obtained within a set number of consecutive first analysis time periods is within a set range. If so, the first analysis time period is updated, and the digital audio signal is amplitude detected according to the amplitude detection algorithm and the updated first analysis time period to obtain the detection amplitude, and a reference voltage digital sequence is generated according to the detection amplitude; and an updated first delay time period is determined according to the amplitude detection algorithm and the updated first analysis time period, and an updated buffer time period of the buffer unit is determined according to the updated first delay time period; the buffer unit also buffers the received digital audio signal for the updated buffer time period and outputs it to the first digital-to-analog converter.
[0068] The step of determining the updated first delay duration according to the amplitude detection algorithm and the updated first analysis duration, and determining the updated buffer duration of the buffer unit according to the updated first delay duration specifically includes:
[0069] An updated first delay duration is determined according to the amplitude detection algorithm and the updated first analysis duration, and an updated buffering duration of the buffer unit is determined according to the updated first delay duration.
[0070] The voltage generating unit generates a supply voltage of a corresponding magnitude according to the reference voltage digital sequence, and outputs the supply voltage to the audio power amplifier specifically includes:
[0071] The second digital-to-analog converter is used to convert the reference voltage digital sequence into an analog voltage of corresponding magnitude and output it to the DC-DC circuit as a reference voltage;
[0072] The DC-DC circuit is used to output a supply voltage of the same magnitude as the reference voltage to the audio power amplifier as a working voltage.
[0073] Those skilled in the art will appreciate that, without conflict, the above-mentioned preferred solutions can be freely combined and superimposed.
[0074] It should be understood that the above-mentioned embodiments are merely illustrative and not restrictive. Without departing from the basic principles of the present invention, various obvious or equivalent modifications or substitutions that can be made by those skilled in the art to the above-mentioned details will all be included in the scope of the claims of the present invention.
Claims
1. An audio power amplifier device, characterized in that: It includes a voltage generating unit, a processing unit, a buffer unit, a first digital-to-analog converter, an audio power amplifier and a storage unit, wherein: The storage unit is used to store a matching table representing the corresponding relationship between the first delay time length and the amplitude detection mode; The processing unit is used to receive an instruction and a digital audio signal, wherein the instruction includes information about a specified amplitude detection method, the processing unit is used to perform amplitude detection on the digital audio signal according to the specified amplitude detection method to obtain a detection amplitude, and calculate a reference voltage digital sequence according to the detection amplitude, and is used to determine a first delay time according to the specified amplitude detection method and the matching table, and determine a buffer time of the buffer unit according to the first delay time, wherein the buffer time allows the power supply voltage output by the voltage generating unit and the analog audio power signal output by the first digital-to-analog converter to be simultaneously input into the audio power amplifier; The voltage generating unit is used to generate a supply voltage according to the reference voltage digital sequence, and output the supply voltage to the audio power amplifier; The buffer unit is used to receive the digital audio signal, and buffer the received digital audio signal for the buffering time and then output it to the first digital-to-analog converter; The first digital-to-analog converter is used to convert the digital audio signal output by the buffer unit into an analog audio signal, and output the analog audio signal to the audio power amplifier; The audio power amplifier is used to receive the power supply voltage and the analog audio signal, and amplify the analog audio signal.
2. The audio power amplifier device according to claim 1, characterized in that: The specified amplitude detection method information includes an amplitude detection algorithm and a first analysis duration, and the processing unit is specifically used for: Searching the matching table according to the amplitude detection algorithm and the first analysis duration to obtain the first delay duration; Determine a second delay time required to calculate a reference voltage digital sequence according to the detection amplitude; A first sum of the first analysis duration and the second delay duration is calculated, where the first sum is the buffering duration of the buffer unit.
3. The audio power amplifier device according to claim 2, characterized in that: The processing unit is further used to determine whether the difference between the detection amplitude values obtained within a set number of consecutive first analysis durations is within a set range, and if so, update the first analysis duration, perform amplitude detection on the digital audio signal according to the amplitude detection algorithm and the updated first analysis duration to obtain a detection amplitude, and generate a reference voltage digital sequence according to the detection amplitude; as well as Determine an updated first delay duration according to the amplitude detection algorithm and the updated first analysis duration, and determine an updated buffer duration of the buffer unit according to the updated first delay duration; The buffer unit is further configured to buffer the received digital audio signal for the updated buffering time and then output the buffered signal to the first digital-to-analog converter.
4. The device according to claim 3, characterized in that The processing unit is also used for: Searching the matching table according to the amplitude detection algorithm and the updated first analysis duration to obtain the updated first analysis duration; A second sum of the updated first analysis duration and the second delay duration is calculated, and the second sum is the updated buffer duration.
5. The audio power amplifier device according to claim 1, characterized in that: The voltage generating unit includes a DC-DC circuit and a second digital-to-analog converter; The second digital-to-analog converter is used to convert the reference voltage digital sequence into an analog voltage of corresponding magnitude and output it to the DC-DC circuit as a reference voltage; The DC-DC circuit is used for outputting a supply voltage of the same magnitude as the reference voltage to the audio power amplifier as a working voltage.
6. A method for amplifying an audio signal by the audio power amplifier according to claim 1, characterized in that: The steps include: The processing unit receives an instruction and a digital audio signal, wherein the instruction includes information about a specified amplitude detection method, the processing unit performs amplitude detection on the digital audio signal according to the specified amplitude detection method to obtain a detection amplitude, calculates a reference voltage digital sequence according to the detection amplitude, and is used to determine a first delay time according to the specified amplitude detection method and the matching table, and determine a buffer time of the buffer unit according to the first delay time, wherein the buffer time allows the power supply voltage output by the voltage generating unit and the analog audio power signal output by the first digital-to-analog converter to be simultaneously input into the audio power amplifier; The voltage generating unit generates a supply voltage according to the reference voltage digital sequence, and outputs the supply voltage to the audio power amplifier; the buffering unit receives the digital audio signal, buffers the received digital audio signal for the buffering time, and then outputs the buffered signal to the first digital-to-analog converter, wherein the first digital-to-analog converter is used to convert the digital audio signal output by the buffering unit into an analog audio signal, and output the analog audio signal to the audio power amplifier; The audio power amplifier is used to receive the power supply voltage and the analog audio signal, and amplify the analog audio signal.
7. The method for amplifying an audio signal by an audio power amplifier according to claim 6, characterized in that: The specified amplitude detection method information includes an amplitude detection algorithm and a first analysis duration, determining a first delay duration according to the specified amplitude detection method and a matching table, and determining the buffering duration of the buffer unit according to the first delay duration specifically includes: Searching the matching table according to the amplitude detection algorithm and the first analysis duration to obtain the first delay duration; Determine a second delay time required to calculate a reference voltage digital sequence according to the detection amplitude; A first sum of the first analysis duration and the second delay duration is calculated, where the first sum is the buffering duration of the buffer unit.
8. The method for amplifying an audio signal by an audio power amplifier according to claim 7, characterized in that: The method further comprises: The processing unit further determines whether the difference between the detection amplitude values obtained within a set number of consecutive first analysis durations is within a set range, and if so, updates the first analysis duration, performs amplitude detection on the digital audio signal according to the amplitude detection algorithm and the updated first analysis duration to obtain a detection amplitude, and generates a reference voltage digital sequence according to the detection amplitude; and Determine an updated first delay duration according to the amplitude detection algorithm and the updated first analysis duration, and determine an updated buffer duration of the buffer unit according to the updated first delay duration; The buffer unit also buffers the received digital audio signal for the updated buffering time and then outputs the buffered signal to the first digital-to-analog converter.
9. The method for amplifying an audio signal by an audio power amplifier according to claim 8, characterized in that: The step of determining an updated first delay duration according to the amplitude detection algorithm and the updated first analysis duration, and determining an updated buffer duration of the buffer unit according to the updated first delay duration specifically includes: An updated first delay duration is determined according to the amplitude detection algorithm and the updated first analysis duration, and an updated buffering duration of the buffer unit is determined according to the updated first delay duration.
10. The method for amplifying an audio signal by an audio power amplifier according to claim 7, characterized in that: The voltage generating unit generates a supply voltage of a corresponding magnitude according to the reference voltage digital sequence, and outputs the supply voltage to the audio power amplifier, specifically comprising: The second digital-to-analog converter is used to convert the reference voltage digital sequence into an analog voltage of corresponding magnitude and output it to the DC-DC circuit as a reference voltage; The DC-DC circuit is used to output a supply voltage of the same magnitude as the reference voltage to the audio power amplifier as a working voltage.
Citation Information
Patent Citations
Class-D power amplifier and system with dynamic boost control output
CN110504925A
Power amplifier providing high efficiency
US20150045095A1