Audio power amplifier circuit, audio power amplifier method and electronic equipment
By externalizing the voltage regulation chip and integrating amplitude prediction function on the main control chip, the power supply voltage of the audio power amplifier chip is dynamically adjusted, solving the problems of low efficiency and high cost caused by constant power supply voltage of the audio power amplifier chip, and achieving more efficient audio signal power amplification and cost reduction.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HONOR DEVICE CO LTD
- Filing Date
- 2024-10-29
- Publication Date
- 2026-05-01
Smart Images

Figure CN121966471A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of audio power amplifiers, and more particularly to an audio power amplifier circuit, method, and electronic device. Background Technology
[0002] Currently, mobile phones and other electronic devices all have the function of playing audio. In audio power amplifier chips, when amplifying audio signals, there is a direct proportional relationship between the amplitude of the input audio signal, the power supply voltage required by the audio power amplifier chip, and the power amplification of the audio signal. The larger the amplitude of the input audio signal, the higher the power supply voltage required by the audio power amplifier chip, and the greater the power amplification of the audio signal.
[0003] For audio amplifier chips, the power amplification of the audio signal is typically regulated by providing a constant supply voltage to the chip, thereby driving the speakers for playback. During audio playback, to amplify audio signals with a wider amplitude range, medium to high power values are usually used. To achieve medium to high power, a high constant supply voltage is required to the audio amplifier chip. However, the amplitude of the audio signal varies. When the amplitude of the audio signal is small, only a small supply voltage is needed to the audio amplifier chip, while providing a high supply voltage will result in low efficiency in amplifying the audio signal. Summary of the Invention
[0004] This application provides an audio power amplifier circuit, method, and electronic device for improving the efficiency of power amplification of audio signals.
[0005] To achieve the objective, the embodiments of this application adopt the following technical solutions:
[0006] In a first aspect, an audio power amplifier circuit is provided, comprising a main control chip, a voltage regulator chip, and an audio power amplifier chip. The main control chip includes a first output terminal and a second output terminal, and the audio power amplifier chip includes a first input terminal and a second input terminal. The first output terminal of the main control chip is connected to the input terminal of the voltage regulator chip, and the first output terminal of the main control chip is used to output a voltage control signal, which is used to indicate the amplitude of an audio signal. The output terminal of the voltage regulator chip is connected to the first input terminal of the audio power amplifier chip, and the voltage regulator chip is used to adjust the output supply voltage according to the input voltage control signal. The second output terminal of the main control chip is connected to the second input terminal of the audio power amplifier chip, and the second output terminal of the main control chip is used to output an audio signal. The audio power amplifier chip adjusts the power amplification of the audio signal based on the supply voltage.
[0007] In the aforementioned audio power amplifier circuit, the main control chip includes amplitude prediction functionality, and the voltage regulation chip is externally mounted. On one hand, the main control chip can output audio signals to the audio power amplifier chip; on the other hand, the main control chip can output voltage control signals to the voltage regulation chip based on the amplitude of the audio signal. The voltage regulation chip can then adjust the supply voltage to the audio power amplifier chip based on the input voltage control signal. The audio power amplifier chip adjusts the power amplification of the audio signal input at the second input terminal based on the input supply voltage at the first input terminal. This improves the low power amplification efficiency of the audio signal due to the constant supply voltage of the audio power amplifier chip, thus increasing the efficiency of audio signal power amplification. Furthermore, it reduces the cost of the chip due to the integration of the amplitude prediction and voltage regulation chips within the audio power amplifier chip.
[0008] In one possible implementation of the first aspect, the main control chip is also used to: detect the amplitude of the audio signal; and convert the amplitude of the audio signal to obtain a voltage control signal.
[0009] In this implementation, after detecting the amplitude of the audio signal, the main control chip converts the amplitude of the audio signal to obtain a voltage control signal. This is to adaptively obtain the voltage control signal input to the voltage regulator chip, thereby obtaining a changing supply voltage.
[0010] In one possible implementation of the first aspect, the second output terminal of the main control chip is used to output an audio signal, including: the main control chip outputs the audio signal after a first preset time following the output of the voltage control signal; the first preset time is the time difference between sending the voltage control signal and the power supply voltage corresponding to the voltage control signal taking effect.
[0011] In this implementation, the main control chip outputs an audio signal a first preset time after the output voltage control signal. The first preset time takes into account the time difference between sending the voltage control signal and the corresponding power supply voltage taking effect. This ensures that the power supply voltage can be input to the audio power amplifier chip before or synchronously with the audio signal. Thus, the audio power amplifier chip can adjust the power amplification of the audio signal based on the power supply voltage to drive the speaker to produce sound.
[0012] In one possible implementation of the first aspect, the power supply voltage is maintained within a certain voltage range for a second preset time period after the voltage regulator chip outputs the power supply voltage to the audio power amplifier chip.
[0013] In this implementation, the power supply voltage tends to stabilize within a second preset time after the voltage regulation chip outputs the power supply voltage to the audio power amplifier chip, which can make the power amplification of the audio signal relatively stable, thereby reducing noise.
[0014] Secondly, an audio power amplifier method is provided, applied to an electronic device including a main control chip, a voltage regulation chip, and an audio power amplifier chip. The method includes: the main control chip outputting a voltage control signal to the voltage regulation chip; the voltage control signal indicating the amplitude of the audio signal; the voltage regulation chip outputting a supply voltage to the audio power amplifier chip; the supply voltage being adjusted according to the voltage control signal; the main control chip outputting an audio signal to the audio power amplifier chip; and the audio power amplifier chip adjusting the power amplification of the audio signal based on the supply voltage.
[0015] Similarly, in the aforementioned audio power amplifier method, the voltage regulation chip is externally mounted, while the amplitude prediction is integrated into the main control chip. On one hand, the main control chip can output audio signals to the audio power amplifier chip; on the other hand, the main control chip can output voltage control signals to the voltage regulation chip based on the amplitude of the audio signal, and the voltage regulation chip can adjust the supply voltage to the audio power amplifier chip based on the input voltage control signal. Finally, the audio power amplifier chip adjusts the power amplification of the input audio signal based on the input supply voltage, which can improve the low power amplification efficiency of the audio signal caused by the constant supply voltage of the audio power amplifier chip, thus improving the efficiency of the audio power amplifier. It also improves the high chip cost caused by integrating the amplitude prediction and voltage regulation chips into the audio power amplifier chip, thus reducing the chip cost.
[0016] In one possible implementation of the second aspect, the main control chip is also used to: detect the amplitude of the audio signal; and convert the amplitude of the audio signal to obtain a voltage control signal.
[0017] In this implementation, after detecting the amplitude of the audio signal, the main control chip converts the amplitude of the audio signal to obtain a voltage control signal. This is to adaptively obtain the voltage control signal input to the voltage regulator chip, thereby obtaining a changing supply voltage.
[0018] In one possible implementation of the second aspect, the main control chip outputs an audio signal to the audio power amplifier chip, including: the main control chip outputs an audio signal to the audio power amplifier chip after a first preset time following the output of a voltage control signal to the voltage regulator chip; the first preset time is the time difference between sending the voltage control signal and the effective time of the power supply voltage corresponding to the voltage control signal.
[0019] In this implementation, the main control chip outputs an audio signal to the audio power amplifier chip after a first preset time following the output of a voltage control signal to the voltage regulation chip. The first preset time takes into account the time difference between sending the voltage control signal and the effective power supply voltage corresponding to the voltage control signal. This ensures that the power supply voltage can be input to the audio power amplifier chip before or synchronously with the audio signal. Thus, the audio power amplifier chip can adjust the power amplification of the audio signal based on the power supply voltage to drive the speaker to produce sound.
[0020] In one possible implementation of the second aspect, the power supply voltage is maintained within a certain voltage range for a second preset time period after the voltage regulator chip outputs the power supply voltage to the audio power amplifier chip.
[0021] In this implementation, the power supply voltage tends to stabilize within a second preset time after the voltage regulation chip outputs the power supply voltage to the audio power amplifier chip, which can make the power amplification of the audio signal relatively stable, thereby reducing noise.
[0022] Thirdly, an electronic device is provided, including an audio power amplifier circuit and a speaker as described in the first aspect and any embodiment thereof; the audio power amplifier circuit is used to amplify the audio signal and drive the speaker to produce sound.
[0023] Fourthly, an electronic device is provided, comprising: a memory and one or more processors, the memory storing one or more processor-executable instructions, the memory storing computer program code including computer instructions, which, when executed by the processor, cause the electronic device to perform the audio power amplifier method as described in the second aspect and any embodiment thereof.
[0024] Fifthly, a computer-readable storage medium is provided, including computer instructions that, when executed on an electronic device, cause the electronic device to perform the audio power amplifier method as described in the second aspect and any embodiment thereof.
[0025] In a sixth aspect, a computer program product is provided that, when run on a computer, causes the computer to perform the audio power amplifier method as described in the second aspect and any embodiment thereof.
[0026] The technical effects of the design methods in the third, fourth, fifth and sixth aspects can be found in the technical effects of the different design methods in the first or second aspects, and will not be repeated here. Attached Figure Description
[0027] Figure 1 This is a schematic diagram of a possible structure of an electronic device provided in an embodiment of this application;
[0028] Figure 2 A schematic diagram of an audio power amplifier circuit provided for the prior art;
[0029] Figure 3 A graph showing the output power, output efficiency, and supply voltage of an audio power amplifier chip provided for the present technology;
[0030] Figure 4 A schematic diagram of an audio power amplifier circuit provided for the prior art;
[0031] Figure 5 This is a schematic diagram of an audio power amplifier circuit provided in an embodiment of this application;
[0032] Figure 6 This is a flowchart of an audio power amplifier method provided in an embodiment of this application. Detailed Implementation
[0033] The technical solutions of the embodiments of this application will be described below with reference to the accompanying drawings. In the description of this application, unless otherwise stated, " / " indicates that the objects before and after are in an "or" relationship. For example, A / B can represent A or B. "And / or" in this application is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone, where A and B can be singular or plural. Furthermore, in the description of this application, unless otherwise stated, "multiple" refers to two or more. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple. Furthermore, to facilitate a clear description of the technical solutions in the embodiments of this application, the terms "first" and "second" are used in the embodiments of this application to distinguish identical or similar items with substantially the same function and effect. Those skilled in the art will understand that the terms "first" and "second" do not limit the quantity or execution order, and that "first" and "second" are not necessarily different. Meanwhile, in the embodiments of this application, the words "exemplary" or "for example" are used to indicate that something is being used as an example, illustration, or description. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of "exemplary" or "for example" is intended to present related concepts in a concrete manner for ease of understanding. The terms "coupling" and "connection" involved in the embodiments of this application should be interpreted broadly. For example, it can refer to a physical direct connection or an indirect connection implemented through electronic devices, such as a connection implemented through resistors, inductors, capacitors, or other electronic devices.
[0034] An audio power amplifier (PA) is a device that amplifies relatively small audio signals, increasing their power before outputting them. It is primarily used to enhance the amplitude and power of audio signals, driving speakers or headphones to reproduce sound. The performance and quality of an audio power amplifier can be evaluated using parameters such as power output, frequency response, total harmonic distortion, signal-to-noise ratio, and impedance matching. Choosing a suitable audio power amplifier can provide a better music and sound experience, meeting the audio amplification requirements of different environments and needs.
[0035] An audio power amplifier circuit is a circuit used to amplify audio signals.
[0036] This application provides an electronic device that includes an audio power amplifier circuit. The electronic device can be mobile or fixed. It can be deployed on land (e.g., indoors or outdoors, handheld or vehicle-mounted), on water (e.g., on ships), or in the air (e.g., airplanes, balloons, and satellites). This electronic device can be referred to as user equipment (UE), access terminal, terminal unit, subscriber unit, terminal station, mobile station (MS), mobile station, terminal agent, or terminal device. For example, it can be a mobile phone, tablet computer, laptop computer, smart bracelet, smart screen, smartwatch, virtual reality (VR) device, augmented reality (AR) device, terminal in industrial control, terminal in self-driving, terminal in remote medical care, terminal in smart grid, terminal in transportation safety, terminal in smart city, terminal in smart home, etc. This application does not limit the specific type and structure of the electronic device. The following describes one possible structure of the electronic device.
[0037] Taking mobile phones as an example, the attached document... Figure 1A possible structure of an electronic device 100 is shown. The electronic device 100 may include a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (USB) interface 230, a power management module 240, a battery 241, a wireless charging coil 242, an antenna 251, an antenna 261, a mobile communication module 250, a wireless communication module 260, an audio module 270, an audio amplifier circuit 1, a speaker 7, a receiver 272, a microphone 273, a headphone jack 274, a sensor module 280, buttons 290, a motor 291, an indicator 292, a camera 293, a display screen 294, and a subscriber identification module (SIM) card interface 295, etc. Optionally, in some embodiments, it may also include an audio digital signal processor (ADSP) 243.
[0038] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0039] Processor 210 may include one or more processing units, such as: a field-programmable gate array (FPGA), an application-specific integrated circuit (ASIC), a system-on-chip (SoC), a central processing unit (CPU), an application processor (AP), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, and a neural network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors. For example, processor 210 may be an application processor (AP). Alternatively, processor 210 may be integrated into a system-on-chip (SoC). Or, processor 210 may be integrated into an integrated circuit (IC) chip. The processor 210 may include an analog front end (AFE) and a micro-controller unit (MCU) in an IC chip.
[0040] The processor 210 can be located on the main control chip 2 provided in the embodiments of this application.
[0041] The main control chip 2 provided in this embodiment can also generate audio signals.
[0042] The processor 210 may also include a memory for storing computer instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. This memory can store computer instructions or data that the processor 210 has just used or that are used repeatedly. If the processor 210 needs to use the same computer instructions or data again, it can retrieve them directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 210, and thus improves the efficiency of the system.
[0043] In some embodiments, the processor 210 may include one or more interfaces. These interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a USB interface, etc.
[0044] The ADSP 243 can be coupled to the audio module 270 and the sensor module 280. The ADSP 243 can process audio signals and sensor data. Even when the processor is in sleep mode, the ADSP 243 can remain operational, thereby reducing the power consumption of the electronic device.
[0045] It is understood that the interface connection relationships between the modules illustrated in the embodiments of this application are merely illustrative and do not constitute a structural limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may also employ different interface connection methods or a combination of multiple interface connection methods.
[0046] The external storage interface 220 can be used to connect an external memory card, such as a micro SanDisk (Micro SD) card, to expand the storage capacity of the electronic device 101. The external memory card communicates with the processor 210 through the external storage interface 220 to perform data storage functions. For example, music, video, and other files can be saved on the external memory card.
[0047] Internal memory 221 can be used to store computer executable program code, which includes computer instructions. Processor 210 executes various functional applications and data processing of electronic device 100 by running the computer instructions stored in internal memory 221. In addition, internal memory 221 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.
[0048] The memory involved in the embodiments of this application can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM). It should be noted that the memory used in the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0049] Electronic device 100 can implement audio functions through audio module 270, speaker 7, receiver 272, microphone 273, headphone jack 274, and application processor. Examples include music playback and recording. In some embodiments, audio signals are input to audio module 270 to implement audio functions.
[0050] In this embodiment, the audio module 270 may include an audio power amplifier circuit 1. The audio power amplifier circuit 1 is used to amplify the audio signal and drive the speaker 7 to emit sound.
[0051] Buttons 290 include power buttons, volume buttons, etc. Buttons 290 can be mechanical buttons or touch buttons. Electronic device 100 can receive button inputs and generate key signal inputs related to user settings and function control of electronic device 100. Motor 291 can generate vibration alerts. Motor 291 can be used for incoming call vibration alerts or for touch vibration feedback. Indicator 292 can be an indicator light, used to indicate charging status, battery level changes, or to indicate messages, missed calls, notifications, etc. SIM card interface 295 is used to connect a SIM card. The SIM card can be inserted into or removed from the SIM card interface 295 to achieve contact and separation with electronic device 101. Electronic device 100 can support one or N SIM card interfaces, where N is a positive integer greater than 1. SIM card interface 295 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. In some embodiments, electronic device 100 uses an embedded SIM (eSIM) card, which can be embedded in electronic device 101 and cannot be separated from electronic device 101.
[0052] The electronic device 100 can implement its shooting function through an ISP, a camera 293, a video codec, a GPU, a display 294, and an application processor. The ISP is used to process data fed back from the camera 293. In some embodiments, the ISP can be located within the camera 293. The camera 293 is used to capture still images or videos. In some embodiments, the electronic device 100 may include one or N cameras 293, where N is a positive integer greater than 1.
[0053] Electronic device 100 can implement display functions through a GPU, display screen 294, and application processor. The GPU is a microprocessor for image processing, connected to the display screen 294 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 210 may include one or more GPUs, which execute computer instructions to generate or modify display information.
[0054] Battery 241 may include one or more batteries to power a load.
[0055] The power management module 240 is used to receive charging input from a charger. The charger can be a wireless charger, such as a wireless charging dock, or other electronic device 100 with reverse wireless charging capability. The power management module 240 can receive wireless charging input via the wireless charging coil 242 of the electronic device. The charger can also be a wired charger; for example, the power management module 240 can receive charging input from a wired charger via a USB interface 230. The power management module 240 is also referred to as a charging chip.
[0056] The power management module 240 charges the battery 241 while also supplying power to the electronic device 100. The power management module 240 receives input from the battery 241 and supplies power to the processor 210, internal memory 221, external memory interface 220, display screen 294, camera 293, and wireless communication module 260, among others.
[0057] The display screen 294 is used to display images, videos, etc. The display screen 294 includes a display panel. In some embodiments, the electronic device 101 may include one or more display screens 294.
[0058] The wireless communication function of the electronic device 100 can be realized through antenna 251, antenna 261, mobile communication module 250, wireless communication module 260, modem processor, etc.
[0059] Mobile communication module 250 can provide wireless communication solutions including 2G / 3G / 4G / 5G for use on electronic device 100. Wireless communication module 260 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) for use on electronic device 100.
[0060] In related technologies, such as the attached Figure 2As shown, the audio amplifier circuit 1 includes a main control chip 2 and an audio amplifier chip 3. The output terminal OUT of the main control chip 2 is connected to the second input terminal IN2 of the audio amplifier chip 3, and the output terminal OUT of the main control chip 2 is used to output an audio signal to the second input terminal IN2 of the audio amplifier chip 3. The second input terminal IN2 of the audio amplifier chip 3 is used to input an audio signal, and the first input terminal IN1 of the audio amplifier chip 3 is used to input a constant system voltage, which is the supply voltage of the audio amplifier chip 3. The power supply terminal of the audio power amplifier 6 in the audio amplifier chip 3 receives a constant supply voltage, and the input terminal of the audio power amplifier 6 receives an audio signal. The audio power amplifier 6 outputs power to amplify the input audio signal based on the constant supply voltage. In other words, the audio amplifier chip 3 outputs power to amplify the audio signal based on a constant supply voltage.
[0061] As attached Figure 2 The working principle of the audio power amplifier circuit 1 shown is as follows:
[0062] The power management chip inputs a constant high-voltage system voltage to the first input terminal IN1 of the audio amplifier chip 3. This system voltage is the supply voltage of the audio amplifier chip 3. The output terminal OUT of the main control chip 2 outputs an audio signal to the second input terminal IN2 of the audio amplifier chip 3. Based on this constant high-voltage supply voltage, the audio amplifier chip 3 outputs power to amplify the audio signal. In other words, the audio amplifier chip 3 uses medium to high power to amplify the audio signal, thereby driving the speaker 7 to play the audio.
[0063] Based on the system voltage input to the audio amplifier chip 3 as the power supply voltage, the power supply voltage, output power, and output efficiency of the audio amplifier chip 3 are collected, as shown in the attached figure. Figure 3 As shown, the output power, output efficiency, and supply voltage curves of the audio amplifier chip 3 are obtained. From these curves, it can be seen that: at the same output power, the higher the supply voltage, the lower the corresponding output efficiency; according to the power conversion relationship, this means that the greater the wastage of output efficiency. Conversely, at the same supply voltage, the higher the output power, the lower the corresponding output efficiency; according to the power conversion relationship, this means that the greater the wastage of output efficiency.
[0064] Therefore, when the amplitude of the audio signal is small, a constant supply voltage with a higher voltage value is provided to the audio power amplifier chip 3. In the audio power amplifier chip 3, the power amplification of the audio signal will be very large, which will not only waste resources, but also result in low efficiency of power amplification of the audio signal.
[0065] In related technologies, in order to save resources and improve the efficiency of power amplification of audio signals, the constant power supply voltage of the audio power amplifier chip 3 input is improved to a power supply voltage that can be dynamically adjusted according to the amplitude of the audio signal and the system voltage.
[0066] As attached Figure 4 As shown, the audio amplifier circuit 1 includes a main control chip 2 and an audio amplifier chip 3. The audio amplifier chip 3 includes an amplitude prediction module 4 and a voltage regulation chip 5. The output terminal OUT of the main control chip 2 is connected to the second input terminal IN2 of the audio amplifier chip 3, and the output terminal OUT of the main control chip 2 is used to output an audio signal to the second input terminal IN2 of the audio amplifier chip 3. The second input terminal IN2 of the audio amplifier chip 3 is used to input an audio signal, and the first input terminal IN1 of the audio amplifier chip 3 is used to input a constant system voltage.
[0067] The amplitude prediction module 4 detects the amplitude of the audio signal, converts the amplitude of the audio signal to obtain a voltage control signal, and outputs the voltage control signal to the voltage regulation chip 5.
[0068] The voltage regulator chip 5 adjusts the supply voltage based on the constant system voltage and the voltage control signal.
[0069] The audio power amplifier chip 3 adjusts the power of the audio signal amplification based on the power supply voltage.
[0070] The audio power amplifier chip 3 adjusts the power amplification of the audio signal based on the supply voltage, which can be achieved through the audio power amplifier 6. Specifically, the power supply terminal of the audio power amplifier 6 is used to input the supply voltage, and the input terminal of the audio power amplifier 6 is used to input the audio signal. The audio power amplifier 6 can adjust the power amplification of the input audio signal based on the input supply voltage.
[0071] As attached Figure 4 The working principle of the audio power amplifier circuit 1 shown is as follows:
[0072] The audio amplifier chip 3 includes an amplitude prediction module 4 and a voltage regulation chip 5. The second input terminal IN2 of the audio amplifier chip 3 receives the audio signal output from the output terminal OUT of the main control chip 2, while the first input terminal IN1 of the audio amplifier chip 3 is used to input a constant system voltage. The amplitude prediction module 4 detects the amplitude of the audio signal, converts it into a voltage control signal, and outputs this voltage control signal to the voltage regulation chip 5. The voltage regulation chip 5 adjusts the supply voltage based on the constant system voltage and the voltage control signal. The audio amplifier chip 3 adjusts the power amplification of the audio signal based on this supply voltage. In other words, the audio amplifier chip 3 dynamically adjusts the supply voltage as the amplitude of the audio signal changes, thereby adjusting the power amplification of the audio signal according to this dynamic supply voltage to drive the speaker 7 to play the audio signal.
[0073] The amplitude prediction module 4 and the voltage regulation chip 5 are integrated inside the audio power amplifier chip 3. In the audio power amplifier chip 3, the power supply voltage is dynamically adjusted according to the amplitude of the audio signal, thereby dynamically adjusting the power of amplification of the audio signal. When the amplitude of the audio signal increases, the power supply voltage also increases, and when the amplitude of the audio signal decreases, the power supply voltage also decreases. In other words, the power supply voltage of the audio power amplifier chip 3 is matched with the amplitude of the input audio signal. Furthermore, the power supply voltage of the audio power amplifier chip 3 is adapted to the power of amplification of the audio signal, thus improving the efficiency of power amplification of the audio signal.
[0074] However, since the main function of the audio power amplifier chip 3 is to amplify the audio signal, it does not contain a computing unit. On the one hand, integrating the amplitude prediction module 4 into the audio power amplifier chip 3 requires a separate computing unit within the chip, leading to higher chip costs. On the other hand, integrating the voltage regulation chip 5 into the audio power amplifier chip 3 increases the chip's size and cost due to its space-consuming nature.
[0075] Therefore, this application provides an audio power amplifier circuit. Based on the audio power amplifier circuit provided in this application, the voltage regulation chip is externally mounted and the amplitude prediction is integrated into the main control chip. This allows the supply voltage provided to the audio power amplifier chip to be adjusted according to the amplitude of the audio signal, thereby adaptively adjusting the power amplification of the audio signal within the audio power amplifier chip. This not only improves the low efficiency of audio signal amplification caused by the constant supply voltage of the audio power amplifier chip, thus improving the efficiency of audio signal amplification, but also reduces the high chip cost caused by integrating the amplitude prediction and voltage regulation chips within the audio power amplifier chip.
[0076] The audio amplifier circuit provided in this application embodiment can be as shown in the appendix. Figure 1 The audio amplifier circuit 1 in the electronic device 100 shown can output audio signals as shown in the attached diagram. Figure 1 The audio signal in the electronic device 100 shown can be a speaker as shown in the attached diagram. Figure 1 The speaker 7 in the electronic device 100 shown.
[0077] For example, see attached Figure 5 As shown, the audio amplifier circuit 1 includes a main control chip 2, a voltage regulation chip 5, and an audio amplifier chip 3. The main control chip 2 includes a first output terminal OUT1 and a second output terminal OUT2, and the audio amplifier chip 3 includes a first input terminal IN1 and a second input terminal IN2.
[0078] The first output terminal OUT1 of the main control chip 2 is connected to the input terminal IN of the voltage regulator chip 5; the first output terminal OUT1 of the main control chip 2 is used to output a voltage control signal; the voltage control signal is used to indicate the amplitude of the audio signal.
[0079] The output terminal OUT of the voltage regulator chip 5 is connected to the first input terminal IN1 of the audio power amplifier chip 3; the voltage regulator chip 5 is used to adjust the output power supply voltage according to the input voltage control signal.
[0080] The second output terminal OUT2 of the main control chip 2 is connected to the second input terminal IN2 of the audio power amplifier chip 3; the second output terminal OUT2 of the main control chip 2 is used to output audio signals.
[0081] The audio power amplifier chip 3 amplifies the audio signal based on the power supply voltage regulation.
[0082] Similarly, the power amplification of the audio signal by the audio power amplifier chip 3, based on the supply voltage, can be achieved by the audio power amplifier 6. Specifically, the power supply terminal of the audio power amplifier 6 is used to input the supply voltage, and the input terminal of the audio power amplifier 6 is used to input the audio signal. The audio power amplifier 6 can adjust the power amplification of the input audio signal based on the input supply voltage.
[0083] The main control chip 2 includes amplitude prediction functionality. The voltage regulation chip 5 is a separate external chip, neither included in the main control chip 2 nor in the audio amplifier chip 3. On one hand, the main control chip 2 can output audio signals to the audio amplifier chip 3; on the other hand, the main control chip 2 can output voltage control signals to the voltage regulation chip 5 based on the amplitude of the audio signal. The voltage regulation chip 5 can adjust the supply voltage output to the audio amplifier chip 3 based on the input voltage control signal. The audio amplifier chip 3 adjusts the power amplification of the audio signal input to the second input terminal IN2 based on the supply voltage input at the first input terminal IN1. This improves the low power amplification efficiency of the audio signal caused by the constant supply voltage of the audio amplifier chip 3, thus increasing the efficiency of audio signal power amplification. It also improves the high chip cost caused by integrating the amplitude prediction and voltage regulation chips 5 into the audio amplifier chip 3, thus reducing the chip cost.
[0084] As attached Figure 5 As shown, the working principle of the audio power amplifier circuit 1 in this embodiment is as follows:
[0085] The voltage regulator chip 5 is externally mounted, while amplitude prediction is integrated into the main control chip 2. There are two branches between the main control chip 2 and the audio amplifier chip 3: a first branch and a second branch. The first branch runs from the first output terminal OUT1 of the main control chip 2 to the input terminal IN of the voltage regulator chip 5, and from the output terminal OUT of the voltage regulator chip 5 to the first input terminal IN1 of the audio amplifier chip 3. This branch is primarily used to obtain the supply voltage that varies with the amplitude of the audio signal. The second branch runs from the second output terminal OUT2 of the main control chip 2 to the second input terminal IN2 of the audio amplifier chip 3, primarily used to transmit the audio signal. Finally, the audio amplifier chip 3 adjusts the power amplification of the audio signal based on the supply voltage. Therefore, the supply voltage provided to the audio amplifier chip 3 can be adjusted according to the amplitude of the audio signal, thereby allowing for adaptive adjustment of the power amplification of the audio signal within the audio amplifier chip 3 based on this supply voltage, without requiring additional computing units or additional space.
[0086] To address the aforementioned issues, this application also provides an audio power amplifier method. Similarly, it can improve the low power amplification efficiency of audio signals caused by the constant power supply voltage of the audio power amplifier chip, thereby increasing the power amplification efficiency of audio signals. It also improves the high chip cost caused by integrating amplitude prediction and voltage regulation chips into the audio power amplifier chip, thereby reducing the chip cost.
[0087] For example, see attached Figure 6As shown, this audio power amplifier method is applied to an electronic device 100, which includes a main control chip 2, a voltage regulation chip 5, and an audio power amplifier chip 3. The audio power amplifier method may include steps S601-S604:
[0088] In step S601, the main control chip 2 outputs a voltage control signal to the voltage regulation chip 5.
[0089] The voltage control signal is used to indicate the amplitude of the audio signal. The main control chip 2 can output a corresponding voltage control signal according to the amplitude of the audio signal, which is then output to the voltage regulation chip 5 to obtain the power supply voltage.
[0090] In step S602, the voltage regulating chip 5 outputs a power supply voltage to the audio power amplifier chip 3.
[0091] The power supply voltage is adjusted according to the voltage control signal. The voltage regulator chip 5 can adjust the output power supply voltage according to the voltage control signal, and then output it to the audio power amplifier chip 3 for subsequent power amplification of the audio signal.
[0092] In step S603, the main control chip 2 outputs an audio signal to the audio power amplifier chip 3.
[0093] The main control chip 2 outputs the audio signal to the audio power amplifier chip 3 so that the audio signal can be amplified in the audio power amplifier chip 3.
[0094] Step S604: The audio power amplifier chip 3 adjusts the power of the audio signal based on the power supply voltage to amplify the power.
[0095] The audio power amplifier chip 3 adjusts the power amplification of the audio signal based on the input supply voltage that changes with the amplitude of the audio signal. This is a dynamic adjustment process that allows the input supply voltage to match the amplitude of the input audio signal, thus adapting the input supply voltage to the power amplification of the audio signal and avoiding resource waste. Therefore, it improves the efficiency of audio signal amplification.
[0096] The audio power amplifier circuit 1 and audio power amplifier method provided in this application have the following advantages: First, since the voltage regulation chip 5 is an independent chip, it needs to be individually configured and occupy space when integrated into any chip. Second, since the main control chip 2 can implement many algorithms, including amplitude prediction algorithms, it does not require a separate calculation unit. Therefore, placing the voltage regulation chip 5 externally and integrating the amplitude prediction on the main control chip 2 can achieve the same effect of improving the efficiency of power amplification of audio signals at a lower cost.
[0097] In this embodiment, the voltage control signal used to indicate the amplitude of the audio signal is obtained using the following method:
[0098] The main control chip 2 detects the amplitude of the audio signal; it then converts the amplitude of the audio signal to obtain a voltage control signal. This voltage control signal is obtained by the main control chip 2 through an amplitude prediction algorithm.
[0099] In one possible implementation, the main control chip 2 may include the functionality of an amplitude prediction algorithm, or the amplitude prediction algorithm may be set as a separate amplitude prediction module 4 (see Appendix). Figure 5 The amplitude prediction algorithm is integrated on the main control chip 2. This application does not limit the method by which the main control chip 2 implements the amplitude prediction algorithm.
[0100] In one possible implementation, the amplitude prediction algorithm can be a simple piecewise function, such as the sign function sgn(), or a complex neural network function. This application does not limit the type or method of the amplitude prediction algorithm.
[0101] After detecting the amplitude of the audio signal, the main control chip 2 converts the amplitude of the audio signal to obtain a voltage control signal. This is to adaptively obtain the voltage control signal input to the voltage regulator chip 5, thereby obtaining a changing power supply voltage.
[0102] During the process of dynamically adjusting the power supply voltage according to the amplitude of the audio signal, the voltage regulating chip 5 needs time to adjust the output power supply voltage according to the voltage control signal. Moreover, the power supply voltage needs to be input into the audio power amplifier chip 3 first or simultaneously with the audio signal before the power amplification of the audio signal can be adjusted. Therefore, there is a certain delay in the output of the audio signal from the second output terminal OUT2 of the main control chip 2 to the second input terminal IN2 of the audio power amplifier chip 3.
[0103] In this embodiment, the main control chip 2 outputs an audio signal to the audio power amplifier chip 3 after a first preset time when it outputs a voltage control signal to the voltage regulation chip 5; the first preset time is the time difference between sending the voltage control signal and the power supply voltage corresponding to the voltage control signal taking effect.
[0104] In one possible implementation, the first preset time can be equal to or greater than the time difference between sending the voltage control signal and the time between the power supply voltage corresponding to the voltage control signal taking effect. This application does not limit the duration of the first preset time.
[0105] After the main control chip 2 outputs a voltage control signal to the voltage regulating chip 5 for a first preset time, it outputs an audio signal to the audio power amplifier chip 3. The first preset time takes into account the time difference between sending the voltage control signal and the power supply voltage corresponding to the voltage control signal taking effect. This ensures that the power supply voltage can be input to the audio power amplifier chip 3 before or synchronously with the audio signal. Thus, the audio power amplifier chip 3 can adjust the power amplification of the audio signal based on the power supply voltage to drive the speaker 7 to produce sound.
[0106] After the voltage regulator chip 5 outputs its supply voltage, the voltage will fluctuate because it is adjusted according to the input voltage control signal. This fluctuation will generate noise during the process of driving the speaker 7 to produce sound after adjusting the power amplification of the audio signal. Therefore, the supply voltage output by the voltage regulator chip 5 needs to remain stable after a certain period of time.
[0107] In this embodiment, the power supply voltage is maintained within a certain voltage range for a second preset time after the voltage regulation chip 5 outputs the power supply voltage to the audio power amplifier chip 3.
[0108] The defined voltage range is the range of supply voltage [V1, V2] within a certain time period when the supply voltage is stable. This range can be set according to actual needs. For example, it can be obtained by statistically analyzing multiple voltage values within a certain time period when the supply voltage is stable. For instance, the minimum value of multiple voltage values within a certain time period when the supply voltage is stable can be used as the lower limit V1, and the maximum value can be used as the upper limit V2, thus forming the voltage range. Alternatively, it can be set based on empirical values.
[0109] Within a second preset time after the voltage regulator chip 5 outputs the power supply voltage to the audio power amplifier chip 3, the power supply voltage remains stable. This ensures that the power amplification of the audio signal remains stable, thereby reducing noise.
[0110] The audio power amplifier circuit, method, and electronic device provided in this application embodiment have a separate external voltage regulation chip and integrate amplitude prediction on the main control chip. This eliminates the need for a separate calculation unit and voltage regulation function, and also saves space, thus reducing the cost of the chip. The audio power amplifier chip can also adjust the supply voltage according to the amplitude of the input audio signal, thereby adapting to adjust the power of the audio signal amplification and improving the efficiency of the audio signal amplification.
[0111] It is understood that, in order to achieve the above functions, the electronic device includes hardware and / or software modules that perform the respective functions. Based on the algorithmic steps of the examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is implemented in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in conjunction with the embodiments, but such implementation should not be considered beyond the scope of this application.
[0112] This embodiment can divide the electronic device into functional modules based on the circuit or method examples described above. For example, each function can be divided into its own functional modules, or two or more functions can be integrated into one processing module. The integrated modules can be implemented in hardware. It should be noted that the module division in this embodiment is illustrative and only represents one logical functional division; other division methods may be used in actual implementation.
[0113] This application also provides an electronic device that may include an audio amplifier circuit and a speaker.
[0114] When the electronic device emits sound, the electronic device uses the audio power amplifier circuit in this embodiment to amplify the audio signal and drive the speaker to emit sound.
[0115] This application also provides an electronic device that may include one or more processors and a memory.
[0116] The memory is coupled to the processor, and is used to store instructions that can be executed by one or more of the processors. For example, the memory and the processor can be coupled together via a bus.
[0117] The memory stores computer program code. The computer program code includes computer instructions, which, when executed by the processor, cause the electronic device to perform the audio power amplifier method described in this application embodiment.
[0118] The processor can be a processor or controller, such as a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with this disclosure. The processor can also be a combination that implements computational functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0119] The bus can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. These buses can be categorized as address buses, data buses, control buses, etc.
[0120] This application also provides a computer-readable storage medium storing computer program code. When the processor executes the computer program code, the electronic device executes the relevant method steps in the above method embodiments.
[0121] This application also provides a computer program product that, when run on a computer, causes the computer to execute the relevant method steps described in the above method embodiments.
[0122] The electronic devices, computer storage media, or computer program products provided in this application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects in the corresponding methods provided above, and will not be repeated here.
[0123] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0124] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units described above is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0125] The units described above as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0126] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The functions of the integrated unit can be implemented in hardware or as software functional units.
[0127] If the integrated units described above are implemented as software functional units and sold or used as independent products, they can be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, in essence, or the contributing parts, or all or part of the technical solutions, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0128] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. An audio power amplifier circuit, characterized in that, The audio power amplifier circuit includes a main control chip, a voltage regulation chip, and an audio power amplifier chip. The main control chip includes a first output terminal and a second output terminal, and the audio power amplifier chip includes a first input terminal and a second input terminal. The first output terminal of the main control chip is connected to the input terminal of the voltage regulation chip; the first output terminal of the main control chip is used to output a voltage control signal; the voltage control signal is used to indicate the amplitude of the audio signal. The output terminal of the voltage regulating chip is connected to the first input terminal of the audio power amplifier chip; the voltage regulating chip is used to adjust the output power supply voltage according to the input voltage control signal; The second output terminal of the main control chip is connected to the second input terminal of the audio power amplifier chip; the second output terminal of the main control chip is used to output the audio signal. The audio power amplifier chip adjusts the power amplification of the audio signal based on the power supply voltage.
2. The audio power amplifier circuit according to claim 1, characterized in that, The main control chip is also used for: Detect the amplitude of the audio signal; The voltage control signal is obtained by amplitude conversion of the audio signal.
3. The audio power amplifier circuit according to any one of claims 1-2, characterized in that, The second output terminal of the main control chip is used to output the audio signal, including: The main control chip outputs the audio signal after a first preset time following the output of the voltage control signal; the first preset time is the time difference between sending the voltage control signal and the power supply voltage corresponding to the voltage control signal taking effect.
4. The audio power amplifier circuit according to any one of claims 1-3, characterized in that, Within a second preset time period after the voltage regulator chip outputs the power supply voltage to the audio amplifier chip, the power supply voltage is maintained within a certain voltage range.
5. An audio power amplifier method, characterized in that, Applied to an electronic device, the electronic device including a main control chip, a voltage regulation chip, and an audio power amplifier chip, the method includes: The main control chip outputs a voltage control signal to the voltage regulation chip; the voltage control signal is used to indicate the amplitude of the audio signal. The voltage regulation chip outputs a power supply voltage to the audio power amplifier chip; the power supply voltage is adjusted according to the voltage control signal; The main control chip outputs the audio signal to the audio power amplifier chip; The audio power amplifier chip adjusts the power amplification of the audio signal based on the power supply voltage.
6. The audio power amplifier method according to claim 5, characterized in that, The main control chip is also used for: Detect the amplitude of the audio signal; The voltage control signal is obtained by amplitude conversion of the audio signal.
7. The audio power amplifier method according to any one of claims 5-6, characterized in that, The main control chip outputs the audio signal to the audio power amplifier chip, including: The main control chip outputs the audio signal to the audio power amplifier chip after a first preset time following the output of the voltage control signal to the voltage regulation chip; the first preset time is the time difference between sending the voltage control signal and the effective time of the power supply voltage corresponding to the voltage control signal.
8. The audio power amplifier method according to any one of claims 5-7, characterized in that, Within a second preset time period after the voltage regulator chip outputs the power supply voltage to the audio amplifier chip, the power supply voltage is maintained within a certain voltage range.
9. An electronic device, characterized in that, It includes an audio power amplifier circuit and a speaker as described in any one of claims 1-4; the audio power amplifier circuit is used to amplify the audio signal and drive the speaker to produce sound.
10. An electronic device, characterized in that, include: The electronic device includes a memory and one or more processors, the memory storing instructions executable by the one or more processors, the memory storing computer program code including computer instructions that, when executed by the processor, cause the electronic device to perform the audio amplifier method as described in any one of claims 5-8.
11. A computer-readable storage medium, characterized in that, Includes computer instructions that, when executed on the electronic device, cause the electronic device to perform the audio amplifier method as described in any one of claims 5-8.
12. A computer program product, characterized in that, When the computer program product is run on a computer, the computer causes the computer to perform the audio amplifier method as described in any one of claims 5-8.