Methods and related devices for improving external sound quality

By designing a voltage regulation unit in the electronic device to adjust the voltage according to the speaker status, a suitable input voltage is provided to the power amplifier, solving the problems of poor low-frequency audio output sound quality and high power consumption, and achieving better sound quality and lower power consumption.

CN115708362BActive Publication Date: 2025-11-14HONOR DEVICE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110953436.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-19
Publication Date
2025-11-14
Estimated Expiration
2041-08-19

AI Technical Summary

Technical Problem

In the prior art, electronic devices suffer from poor sound quality and high power consumption when outputting low-frequency audio because the power amplifier cannot provide sufficient driving power.

Method used

By designing a voltage regulation unit in the electronic device, the power amplifier is supplied with an appropriate input voltage according to the speaker's operating state. Different circuits are used to adjust the voltage to adapt to audio signals of different frequencies, thereby improving the speaker's driving power.

Benefits of technology

It improves the sound quality and dynamic range of low-frequency audio, reduces the power consumption of electronic devices, and eliminates noise in music playback, providing a clear, full, and immersive listening experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115708362B_ABST
    Figure CN115708362B_ABST
Patent Text Reader

Abstract

This application proposes a method and related apparatus for improving the sound quality of external speakers. The method is applied in an electronic device, including a power supply, a power amplifier, and a speaker. In this method, the electronic device can supply an appropriate input voltage to the power amplifier based on the detected operating state of the speaker. Specifically, by designing the connection circuit between the power supply and the power amplifier, the power supply can provide different input voltages to the power amplifier when it operates in different circuits, thereby providing appropriate driving power to the speaker, resulting in better sound quality and reduced power consumption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of hardware technology, and in particular to a method and related apparatus for improving the sound quality of external speakers. Background Technology

[0002] With the widespread use of multimedia devices such as mobile phones, laptops, and speakers, users have increasingly higher demands for the sound quality of external audio output from these devices. The sound quality of external speakers mainly depends on frequency domain characteristics and linear distortion, especially low frequencies. Since low frequencies account for 70% of the total audio energy, the sound quality of the low frequencies determines the user's auditory experience. The user's perception of low frequencies is primarily based on loudness, and the loudness of the external speaker sound depends on the input power and conversion efficiency of the audio amplifier.

[0003] Given the above problems, improving the effect of external speaker sound is an urgent issue to be addressed. Summary of the Invention

[0004] This application proposes a method and related apparatus for improving the sound quality of external speakers. In this method, an electronic device can supply an appropriate input voltage to a power amplifier based on the detected operating state of the speaker, thereby providing appropriate driving power to the speaker, resulting in better sound quality and reduced power consumption.

[0005] In a first aspect, this application provides an electronic device comprising: a power supply, a processor, a voltage regulation unit, a power amplifier, and a speaker; wherein the power supply and the processor are respectively connected to the voltage regulation unit; the processor is also connected to the power amplifier; the voltage regulation unit is connected to the power amplifier, and the power amplifier is connected to the speaker; the power supply is used to output a first voltage to the voltage regulation unit; the processor is used to input an audio electrical signal to the power amplifier, and control the voltage regulation unit to adjust the first voltage to a second voltage according to the frequency of the audio signal before outputting it to the power amplifier; the frequency of the audio signal and the second voltage are negatively correlated, that is, the lower the frequency of the audio signal, the higher the second voltage; the power amplifier is used to amplify the output power of the audio electrical signal under the drive of the second voltage, and the second voltage and the output power are positively correlated, that is, the higher the second voltage, the higher the output power; the speaker is used to convert the amplified audio electrical signal into an audio signal.

[0006] When the electronic device provided in the first aspect is used, when the electronic device plays audio, it can provide an appropriate voltage to the power amplifier according to the frequency of the audio. When the audio frequency is lower, the electronic device can provide a higher voltage, thereby making the audio playback effect better.

[0007] In conjunction with the electronic equipment provided in the first aspect, the processor is also configured to acquire the frequency of the audio in advance; or, the processor is also configured to receive information from the power amplifier that indicates the frequency of the audio.

[0008] In this way, electronic devices can obtain the frequency of the audio in multiple ways and provide an appropriate voltage based on the frequency of the audio, thereby improving the feasibility of this solution.

[0009] In conjunction with the electronic device provided in the first aspect, the voltage regulating unit includes a first circuit, a second circuit, and a third circuit; the value of the second voltage includes: a first value, a second value, and a third value, with the first value, the second value, and the third value increasing sequentially; the first circuit is used to adjust the first voltage to the second voltage of the first value; the second circuit is used to adjust the first voltage to the second voltage of the second value; the third circuit is used to adjust the first voltage to the second voltage of the third value; the processor controls the voltage regulating unit to adjust the first voltage to the second voltage and then supply it to the power amplifier, specifically including: when the frequency of the audio is greater than a first preset frequency, controlling the first circuit of the voltage regulating unit to work; when the frequency of the audio is less than or equal to the first preset frequency but greater than a second preset frequency, controlling the second circuit of the voltage regulating unit to work; when the frequency of the audio is less than or equal to the second preset frequency, controlling the third circuit of the voltage regulating unit to work.

[0010] In this way, electronic devices can control different circuits to operate according to the frequency of the audio, so as to provide a suitable voltage for the power amplifier and thus improve the effect of external sound.

[0011] In conjunction with the electronic device provided in the first aspect, when the frequency of the audio is less than the second preset frequency, the relationship between the frequency of the audio and the third value is negatively correlated, that is, the lower the frequency of the audio, the larger the third value.

[0012] Since low-frequency signals account for approximately 70% of the total audio energy in a music signal, when an electronic device outputs a low-frequency audio signal, it can dynamically adjust the voltage output of the corresponding circuit based on the frequency of that low-frequency audio signal. This further enhances the music playback experience.

[0013] In conjunction with the electronic device provided in the first aspect, the first value is equal to half of the first voltage value; the second value is equal to the first voltage value; and the third value is greater than the first voltage value.

[0014] In this way, electronic devices can control different circuits to work according to the frequency of the audio, and can provide a suitable voltage for the power amplifier, which not only improves the sound quality of the external speaker, but also reduces the power consumption of the electronic devices.

[0015] In conjunction with the electronic device provided in the first aspect, the processor controls the operation of the third circuit of the voltage regulation unit, specifically including: the processor controls the operation of the third circuit by using a pulse width modulation method or by controlling the internal register of the processor according to the frequency of the audio.

[0016] In this way, electronic devices can adjust the output voltage of the circuit in multiple ways, improving the feasibility of this solution.

[0017] In conjunction with the electronic device provided in the first aspect, the first circuit includes a charge pump and a first switch connected in series; the processor is specifically configured to control the first switch to conduct when the frequency of the audio is greater than the first preset frequency; the second circuit includes a second switch; the processor is specifically configured to control the second switch to conduct when the frequency of the audio is less than or equal to the first preset frequency and greater than the second preset frequency; the third circuit includes a Boost circuit, and the processor is specifically configured to control the Boost circuit to conduct when the frequency of the audio is less than or equal to the second preset frequency.

[0018] In conjunction with the electronic device provided in the first aspect, the charge pump is a 2:1 charge pump, which is used to adjust the first voltage to a second voltage of a first value, wherein the first value is half of the first voltage value.

[0019] Secondly, this application provides a method for improving the sound output effect of external speakers. This method is applied to an electronic device, which includes: a power supply, a processor, a voltage regulation unit, a power amplifier, and a speaker. The power supply and the processor are respectively connected to the voltage regulation unit. The processor is also connected to the power amplifier. The voltage regulation unit is connected to the power amplifier, and the power amplifier is connected to the speaker. The power supply outputs a first voltage to the voltage regulation unit. The processor inputs an audio electrical signal to the power amplifier and controls the voltage regulation unit to adjust the first voltage to a second voltage based on the frequency of the audio signal before outputting it to the power amplifier. The frequency of the audio signal is negatively correlated with the second voltage. The power amplifier amplifies the output power of the audio electrical signal under the drive of the second voltage, and the second voltage is positively correlated with the output power. The speaker converts the amplified audio electrical signal into an audio signal.

[0020] After implementing the method provided in the second aspect, when the electronic device plays audio, it can provide an appropriate voltage to the power amplifier according to the frequency of the audio. When the audio frequency is lower, the electronic device can provide a higher voltage, thereby making the audio playback effect better.

[0021] In conjunction with the method provided in the second aspect, the processor of the electronic device is further configured to acquire the frequency of the audio in advance; or, the processor is further configured to receive feedback from the power amplifier indicating the output power; the higher the output power, the lower the frequency of the audio, and the greater the second voltage.

[0022] In this way, electronic devices can obtain the frequency of the audio in multiple ways and provide an appropriate voltage based on the frequency of the audio, thereby improving the feasibility of this solution.

[0023] In conjunction with the method provided in the second aspect, the voltage regulating unit includes a first circuit, a second circuit, and a third circuit; the value of the second voltage includes: a first value, a second value, and a third value, with the first value, the second value, and the third value increasing sequentially; the first circuit is used to adjust the first voltage to the second voltage of the first value; the second circuit is used to adjust the first voltage to the second voltage of the second value; the third circuit is used to adjust the first voltage to the second voltage of the third value; the processor controls the voltage regulating unit to adjust the first voltage to the second voltage and then supply it to the power amplifier, specifically including: when the frequency of the audio is greater than a first preset frequency, controlling the first circuit of the voltage regulating unit to work; when the frequency of the audio is less than or equal to the first preset frequency but greater than a second preset frequency, controlling the second circuit of the voltage regulating unit to work; when the frequency of the audio is less than or equal to the second preset frequency, controlling the third circuit of the voltage regulating unit to work.

[0024] In conjunction with the method provided in the second aspect, when the frequency of the audio is less than the second preset frequency, the smaller the frequency of the audio, the larger the third value.

[0025] Since low-frequency signals account for approximately 70% of the total audio energy in a music signal, when an electronic device outputs a low-frequency audio signal, it can dynamically adjust the voltage output of the corresponding circuit based on the frequency of that low-frequency audio signal. This further enhances the music playback experience.

[0026] In conjunction with the electronic device provided in the first aspect, the first value is equal to half of the first voltage value; the second value is equal to the first voltage value; and the third value is greater than the first voltage value.

[0027] In conjunction with the method provided in the second aspect, the processor controls the operation of the third circuit of the voltage regulation unit, specifically including: the processor controls the operation of the third circuit by using a pulse width modulation method or by controlling the internal registers of the processor according to the frequency of the audio.

[0028] In conjunction with the method provided in the second aspect, the first circuit includes a charge pump and a first switch connected in series; the processor is specifically used to control the first switch to conduct when the frequency of the audio is greater than the first preset frequency; the second circuit includes a second switch; the processor is specifically used to control the second switch to conduct when the frequency of the audio is less than or equal to the first preset frequency and greater than the second preset frequency; the third circuit includes a Boost circuit, and the processor is specifically used to control the Boost circuit to conduct when the frequency of the audio is less than or equal to the second preset frequency.

[0029] In conjunction with the method provided in the second aspect, the above-mentioned charge pump is a 2:1 charge pump, which is used to adjust the first voltage to a second voltage of a first value, wherein the first value is half of the first voltage value.

[0030] Thirdly, this application provides a chip for use in an electronic device, the chip including one or more processors for invoking computer instructions to cause the electronic device to perform the methods described in any of the second aspects.

[0031] Fourthly, this application provides a computer-readable storage medium including instructions that, when executed on an electronic device, cause the electronic device to perform the method described in any of the second aspects.

[0032] Fifthly, this application provides an electronic device including one or more processors and one or more memories; wherein the one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program code, the computer program code including computer instructions, which, when executed by the one or more processors, cause the electronic device to perform the method described in the second aspect of the embodiments. Attached Figure Description

[0033] Figure 1 An audio power amplifier circuit topology diagram provided in this application embodiment;

[0034] Figure 2 A schematic diagram of the hardware and software architecture of an electronic device provided in an embodiment of this application;

[0035] Figure 3 Another audio power amplifier circuit topology provided in this application embodiment;

[0036] Figure 4 Another audio power amplifier circuit diagram provided in this application embodiment;

[0037] Figure 5 A flowchart illustrating a method provided in an embodiment of this application. Detailed Implementation

[0038] The technical solutions in the embodiments of this application will be clearly and thoroughly described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B; the word "and / or" in the text 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 existing alone, A and B existing simultaneously, and B existing alone.

[0039] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature, and in the description of the embodiments of this application, unless otherwise stated, "multiple" means two or more.

[0040] In this application, the reference to "embodiment" means that a specific feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described in this application can be combined with other embodiments.

[0041] More and more electronic devices now have sound-producing capabilities, and these devices typically incorporate audio power amplifiers to amplify the sound. An audio power amplifier is a device that reconstructs the input audio signal at the output element that generates sound, achieving a higher level of volume and power. For example, in the audio system of an electronic device, the audio electrical signal first needs to be amplified by an audio power amplifier. The amplified output audio electrical signal has sufficient energy to drive a speaker to convert the audio electrical signal into a sound signal, which is then output as sound.

[0042] refer to Figure 1 , Figure 1 An example of an audio power amplifier circuit topology is shown.

[0043] like Figure 1 As shown, the circuit topology is illustrated using a mobile phone as an example, where a speaker is driven by a smart power amplifier (SPA).

[0044] The SPA input is connected to a 4.4V system power supply and contains an internal boost converter circuit. This boost converter circuit can increase the voltage to provide higher input power to the speaker, thereby driving the speaker to produce sound. To enable the speaker to output optimal sound quality and loudness, the speaker's driving power needs to be increased.

[0045] Firstly, since the energy distribution of music signals is mainly concentrated in the mid-to-low frequency range, which requires a higher current from the power supply, large signals result in high output voltage and current. This triggers the overcurrent protection (OCP) in the SPA's internal boost circuit, limiting the boost output voltage. Consequently, the SPA cannot provide sufficient driving power to the speaker. To avoid clipping distortion in the output audio signal, the input audio signal needs to be amplitude compressed, resulting in insufficient dynamic range from the speaker output and poor sound quality, thus affecting the user's listening experience.

[0046] On the other hand, at low frequencies, a higher output power is required from the SPA, meaning a higher driving power for the speaker is needed. In this case, the voltage difference in the Boost circuit is larger, according to the formula V... in ×I in ×η=V out ×I out It can be seen that, temporarily ignoring the influence of power efficiency η, when the output voltage is constant, the smaller the input voltage, the larger the input current will be, which will cause the circuit board to heat up and the input voltage to drop, thereby limiting the output current, reducing efficiency, and causing the low-frequency signal of the output to be further compressed, resulting in poor sound quality.

[0047] To address the aforementioned problems, embodiments of this application provide a method and related apparatus for improving external speaker sound quality. This method is applied in an electronic device, which includes a power supply, a voltage regulation unit, a processor, a power amplifier, and a speaker. In this method, the electronic device can supply an appropriate input voltage to the power amplifier based on the speaker's operating state detected by the processor. Specifically, by designing a voltage regulation unit between the power supply and the power amplifier, the input voltage provided by the power supply to the power amplifier varies depending on the circuit in which the voltage regulation unit operates, thereby providing appropriate driving power to the speaker and resulting in superior sound quality from the speaker output.

[0048] Specifically, when the electronic device detects that the speaker is operating at high power, that is, when the speaker requires a high driving power to output low-frequency audio signals, the high-voltage circuit between the control power supply and the power amplifier is activated. This high-voltage circuit first boosts the power supply voltage through a boost circuit before connecting it to the power amplifier. The power amplifier amplifies the larger input power into a larger output power to drive the speaker to output sound, thereby improving the dynamics of the external sound and thus improving the sound output effect.

[0049] In this embodiment, the operating state of the speaker includes any one or more of the following: operating voltage, operating current, power, audio frequency, etc. This embodiment does not impose any limitations on these parameters. For example, when the speaker outputs a lower audio frequency, the corresponding power is higher.

[0050] In this embodiment, the design of the voltage regulation unit between the power supply and the power amplifier can be specifically referred to in the following description. Figure 3 A detailed introduction will not be elaborated here.

[0051] As can be seen, after implementing the method for improving the external sound effect provided in this application embodiment, the sound output by the electronic device is naturally realistic, effectively eliminating noise in music playback, and the output sound is very loud. The bass effect is also very rich, providing the user with a clear, full, impactful, and deep auditory experience, while also increasing the volume level of the electronic device. In addition, it also reduces the power consumption of the electronic device.

[0052] Next, combine Figure 2 This application will introduce the hardware and software architecture of the electronic device provided.

[0053] In this application embodiment, the electronic device may be a mobile phone, tablet computer, desktop computer, laptop computer, handheld computer, notebook computer, ultra-mobile personal computer (UMPC), netbook, as well as cellular phone, personal digital assistant (PDA), augmented reality (AR) device, virtual reality (VR) device, artificial intelligence (AI) device, wearable device, in-vehicle device, smart home device and / or smart city device, etc. This application embodiment does not impose any limitations on this.

[0054] like Figure 2As shown, the electronic device includes: a processor 101, a memory 102, a power supply unit 103, and an audio module. In this embodiment, the audio module may include: a power amplifier 104, a speaker 105, etc. The above-mentioned components can transmit data via a bus. Wherein:

[0055] Processor 101 may include one or more processing units, such as an application processor (AP), a modem processor, a controller, a memory, an audio codec, a digital signal processor (DSP), and / or a baseband processor. These different processing units may be independent devices or integrated into one or more processors. The controller can generate operation control signals based on instruction opcodes and timing signals to control instruction fetching and execution.

[0056] In this embodiment, the AP can detect the operating status of the speaker and control the power supply unit 103 to supply an appropriate voltage to the power amplifier 104 based on the operating status of the speaker.

[0057] In this embodiment, the audio codec can output the decoded audio signal to the power amplifier 104, and the power amplifier 104 can send the amplified audio signal to the speaker to output sound.

[0058] The processor 101 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 101 is a cache memory. This memory can store instructions or data that the processor 101 has just used or that are used repeatedly. If the processor 101 needs to use the instruction or data again, it can directly retrieve it from the memory. This avoids repeated accesses, reduces the waiting time of the processor 101, and thus improves the efficiency of the system.

[0059] In some embodiments, the processor 101 may include one or more interfaces. 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 universal serial bus (USB) interface, etc.

[0060] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 101 may include multiple I2C buses. The processor 101 can couple to a touch sensor, charger, flash, camera, etc., through different I2C bus interfaces. For example, the processor 101 can couple to a touch sensor through the I2C interface, enabling the processor 101 and the touch sensor to communicate through the I2C bus interface, thereby realizing the touch function of the electronic device 100.

[0061] The I2S interface can be used for audio communication. In some embodiments, the processor 101 may include multiple I2S buses. The processor 101 can be coupled to the audio module via the I2S bus to realize communication between the processor 101 and the audio module.

[0062] The PCM interface can also be used for audio communication, sampling, quantizing, and encoding analog signals. In some embodiments, the audio module and the wireless communication module can be coupled via the PCM bus interface. In some embodiments, the audio module can also transmit audio signals to the wireless communication module via the PCM interface to achieve the function of answering telephone calls. Both the I2S interface and the PCM interface can be used for audio communication.

[0063] A USB interface is an interface that conforms to the USB standard specification, specifically including Mini USB, Micro USB, and USB Type-C interfaces. USB interfaces can be used to connect chargers to charge electronic devices, to transfer data between electronic devices and peripheral devices, and to connect external storage devices.

[0064] 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 limitation on the structure of the electronic device. In other embodiments of this application, the electronic device may also employ different interface connection methods or combinations of multiple interface connection methods as described in the above embodiments.

[0065] The memory 102 can be the internal memory of the electronic device or the external memory connected to the electronic device. The internal memory may include one or more random access memories (RAM) and one or more non-volatile memories (NVM). In this embodiment, the NVM may store information about the areas visited by the user and the time spent in those areas.

[0066] Random access memory can include 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, for example, fifth generation DDR SDRAM is generally called DDR5 SDRAM), etc.

[0067] Non-volatile memory can include disk storage devices and flash memory.

[0068] Flash memory can be classified according to its operating principle, including NOR FLASH, NAND FLASH, 3D NAND FLASH, etc.; according to the level of the storage cell, including single-level cell (SLC), multi-level cell (MLC), triple-level cell (TLC), quad-level cell (QLC), etc.; and according to the storage specification, including universal flash storage (UFS) and embedded multimedia card (eMMC), etc.

[0069] The random access memory can be directly read and written by the processor 101. It can be used to store executable programs (such as machine instructions) of the operating system or other running programs, as well as user and application data.

[0070] Non-volatile memory can also store executable programs and user and application data, and can be pre-loaded into random access memory for direct reading and writing by the processor 101.

[0071] The external memory interface can be used to connect to external non-volatile memory, thereby expanding the storage capacity of electronic devices. The external non-volatile memory communicates with the processor 101 through the external memory interface to perform data storage functions. For example, music, video, and other files can be stored in the external non-volatile memory.

[0072] The power supply unit 103 may specifically include a charging management module and a power management module. The charging management module receives charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module receives charging input from the wired charger via a USB interface. In some wireless charging embodiments, the charging management module receives wireless charging input via the wireless charging coil of the electronic device. While charging the battery, the charging management module can also supply power to the electronic device via the power management module. The power management module connects the battery, the charging management module, and the processor 101. The power management module receives input from the battery and / or the charging management module to supply power to the processor 101, memory 102, audio module, etc. The power management module can also monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage, impedance). In some other embodiments, the power management module may also be located within the processor 101. In other embodiments, the power management module and the charging management module may be located in the same device.

[0073] The audio module is used to convert digital audio information into analog audio signals for output, and also to convert analog audio input into digital audio signals. The audio module can also be used for encoding and decoding audio signals. In some embodiments, the audio module may be located in the processor 101, or some functional modules of the audio module may be located in the processor 101.

[0074] Understandable Figure 2 The illustrated structure of the electronic device does not constitute a specific limitation on the electronic device. In other embodiments of this application, the electronic device 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.

[0075] Based on the above description of the electronic device provided in this application, the following will combine... Figure 3 This paper introduces the components included in the audio power amplifier circuit provided in the embodiments of this application.

[0076] like Figure 3 As shown, the audio amplifier circuit includes: a power supply, a voltage regulation unit, a power amplifier, a speaker, and a processor, etc. Among them:

[0077] The power supply can power the power amplifier through a voltage regulation unit. In this embodiment, the output voltage of the dual-cell battery can be referred to as the first voltage.

[0078] A voltage regulation unit refers to multiple circuits connected between a power supply and a power amplifier, which can adjust the voltage output by the power supply. These multiple circuits may include, for example, a first circuit, a second circuit, and a third circuit, etc. This application embodiment does not limit the number of circuits included in the voltage regulation unit. In this application embodiment, the output voltage of the voltage regulation unit can be referred to as the second voltage. The second voltage includes voltage values ​​such as a first value (e.g., 4.4V), a second value (e.g., 8.8V), a third value (e.g., 8.8V-15V), etc.

[0079] In one possible implementation of this application, the voltage regulation unit may be a standalone device, or it may be integrated into the processor, or it may be integrated into the power amplifier. This application does not limit this.

[0080] The processor can detect the speaker's operating status and, based on this status, control the voltage regulation unit to adjust the first voltage to a second voltage output to the power amplifier. In one possible implementation, the processor can pre-determine the speaker's operating status based on information from the audio file; in this case, the speaker's operating status is specifically the audio frequency. In another possible implementation, the processor can obtain the speaker's operating status through feedback information from the power amplifier. Specifically, the processor pre-stores a correspondence between power amplifier feedback information and audio frequencies, and can obtain the audio frequency based on this correspondence. This feedback information can include any one or more of the following: the power amplifier's output power, output voltage, and output current. Then, the processor can control the corresponding circuit of the voltage regulation unit to operate according to the pre-stored correspondence between the audio frequency and the second voltage, so as to output a second voltage adapted to the audio frequency. The lower the audio frequency, the higher the second voltage output by the voltage regulation unit controlled by the processor, and the higher the corresponding output power of the power amplifier.

[0081] In other embodiments of this application, the processor can control the corresponding circuit of the voltage regulation unit to operate based on the pre-stored correspondence between the feedback information of the power amplifier and the second voltage, so as to output an adapted second voltage. When the output power of the power amplifier is greater, the second voltage output by the voltage regulation unit is also greater, and the output power of the power amplifier will also increase accordingly.

[0082] The following example illustrates the specific implementation method of the processor controlling the voltage regulation unit to output a second voltage:

[0083] When the output power of the power amplifier is less than the first preset power, or the audio frequency is greater than the first preset frequency (e.g., 2000Hz), the first circuit is determined to operate and outputs a second voltage of a first value. When the output power of the power amplifier is less than the second preset power but greater than or equal to the first preset power, or the audio frequency is greater than the second preset frequency (e.g., 800Hz) but less than or equal to the first preset frequency, the second circuit is determined to operate and outputs a second voltage of a second value. When the output power of the power amplifier is greater than or equal to the second preset power, or the audio frequency is less than or equal to the second preset frequency, the third circuit is determined to operate and outputs a second voltage of a third value.

[0084] It is understood that the values ​​of the first preset frequency and the second preset frequency can be set by the R&D personnel according to the type of audio service the electronic device provided in this application will be used for. For example, when the electronic device is used specifically for pop music and rock music, since these types of music have more drum sounds and gunshots, and the audio frequencies are mostly low frequencies, the values ​​of the first frequency and the second frequency can be set to relatively low values; when the electronic device is used specifically for folk music, the audio frequencies are mostly high frequencies, and the values ​​of the first frequency and the second frequency can be set to relatively high values. This application does not limit the first preset frequency and the second preset frequency.

[0085] It is worth noting that the processor can not only provide a suitable voltage to the power amplifier by controlling the audio system to operate in different circuits, but the power amplifier can also provide a suitable voltage by adjusting the operating voltage of the audio system under specific circuit conditions. The following section will detail the processor's voltage adjustment of the third circuit as an example, which will not be elaborated upon here.

[0086] A power amplifier can output power greater than its input power to drive a load such as a speaker to produce sound. In this embodiment, the power amplifier may have a feedback function, that is, the power amplifier can detect the operating state of the speaker and feed back the relevant data of the operating state to the processor, so that the processor can monitor the operating state of the speaker in real time and dynamically adjust the input voltage of the power amplifier according to the operating state, thereby providing an appropriate operating voltage for the speaker.

[0087] A loudspeaker, also known as a "horn," is used to convert audio electrical signals into sound signals. A power amplifier can amplify the audio electrical energy and input it to the loudspeaker, allowing the loudspeaker to vibrate its cone or diaphragm through electromagnetic, piezoelectric, or electrostatic effects, resonating with the surrounding air to produce sound. This completes the conversion of electrical energy into mechanical energy and then into sound energy. The types of loudspeakers in this application include, but are not limited to: classified by diaphragm and radiator shape: cone loudspeakers, flat panel loudspeakers, dome loudspeakers, horn loudspeakers, ribbon tweeters, and sheet loudspeakers; classified by transduction principle: electrodynamic (moving coil), electrostatic (capacitive), electromagnetic (reed), and piezoelectric (crystalline). Electrodynamic loudspeakers are particularly advantageous due to their good electroacoustic performance, robust structure, and low cost. This application does not limit the specific type of loudspeaker.

[0088] Understandable Figure 3 This application merely illustrates one implementation of the audio power amplifier circuit topology; the proposed audio power amplifier circuit topology may include more than... Figure 3The components shown may be more or fewer; for example, it may also include a fourth circuit, or multiple power amplifiers, etc. Furthermore, the physical locations of the various components in the audio power amplifier circuit topology proposed in this application are not limited to... Figure 3 As shown in the embodiments of this application, for example, in other embodiments of this application, any one or more of the first circuit, second circuit, and third circuit may be integrated in the power amplifier, and this application does not limit this.

[0089] Next, combine Figure 4 This paper introduces the audio power amplifier circuit provided in this application.

[0090] like Figure 4 As shown, the circuit topology is illustrated using a mobile phone as an example of a speaker driven by a SPA.

[0091] This circuit includes: a dual-cell battery, a 2:1 charge pump, a switch, a SP (Spacious Interface Switch), a speaker, an application processor (AP), etc. The function and connection method of each component can be found in the following description:

[0092] Dual-cell battery: This refers to two sets of batteries connected in series. Nowadays, more and more mobile phones use dual-cell batteries for power to achieve fast charging. After charging, they can provide a higher operating voltage.

[0093] Charge pump: A charge pump, also known as a switched capacitor voltage converter, is a DC-DC converter that uses so-called "fast" or "pumping" capacitors to store energy, with an efficiency of up to 98%.

[0094] In this embodiment, when the 2:1 charge pump is used as a splitter, its output voltage is a portion of the input voltage, for example, half. Therefore, when the charge pump operates in 2:1 mode, it can convert an 8.8V input voltage into a 4.4V output voltage, supplying an appropriate voltage to the mobile phone system. It is understood that the output voltage range of the 2:1 charge pump is generally 3.3 to 4.4V, where 4.4V is half the voltage of a fully charged battery; the voltage varies depending on the battery. In another possible implementation, the 2:1 charge pump can also be replaced by other voltage converters with step-down functionality; this embodiment does not limit this approach.

[0095] A switch is a circuit element that controls whether the circuit it controls is on or off. When the switch node is "closed," it means the electronic node is conducting, allowing current to flow; when the switch is "open," it means the electronic node is not conducting, and current is not allowed to flow. In the embodiments of this application, the specific implementation type of the switch can be a load switch or a boost circuit acting as a power path selector, etc. The embodiments of this application do not limit the type of switch used. Among them, a load switch is an electronic switch that can cut off the rated load current and a certain overload current. A boost circuit is a switching DC-DC boost circuit that can not only make the output voltage higher than the input voltage, but also control the output enable, that is, control the boost circuit to enable the DC-DC function, thereby outputting voltage.

[0096] This application illustrates the use of load switches to control the first and second circuits, and a boost switch to control the third circuit. Specifically, in the embodiments of this application, load switch 1 and a 2:1 charge pump are connected in series to form... Figure 3 The first circuit is shown. Specifically, the first circuit includes: an 8.8V dual-cell battery connected in series with a 2:1 charge pump, then connected in series with Load switch 1. The output of Load switch 1 is connected to the input of the SPA. The second circuit specifically includes: an 8.8V dual-cell battery directly connected in series with Load switch 2. The output of Load switch 2 is connected to the input of the SPA. The Boost converter is located in the third circuit, which specifically includes: a dual-cell battery directly connected in series with the Boost converter. The output of the Boost converter is connected to the input of the SPA. The Boost converter can act as a switch in this branch circuit, and can also boost the power supply voltage to provide a higher voltage to the SPA.

[0097] In one possible implementation, Figure 3 The switching elements in the three working circuits shown, such as Loadswitch1, Loadswitch2, and boost, can also be integrated into an integrated circuit.

[0098] Smart power amplifiers (SPAs) function similarly to ordinary power amplifiers (PAs), outputting power greater than their input to drive loads such as speakers. The key difference lies in the addition of feedback functionality. SPAs can provide feedback to a processor, which can include one or more of the following: the amplifier's output power, output voltage, or output current. The main principle involves modeling the speaker's performance parameters and monitoring its voltage / current feedback. Software algorithms then predict the speaker's operating state and behavior under the input audio signal, dynamically adjusting the algorithm's output to drive the speaker and ensure it operates at its maximum stroke and average power for extended periods within safe limits. For sounds with a wide dynamic range (low-frequency sounds), such as drums or gunshots (over 80dB), SPAs can monitor the speaker's actual stroke and control the signal compression ratio in real-time, maximizing the speaker's stroke range to achieve dynamic range and bass effects unattainable by traditional speakers. For some sounds with a small frequency response dynamic range (high-frequency sounds) but a relatively high high-frequency component, the voice coil temperature of the speaker will rise rapidly. In order to ensure performance across the entire frequency range, traditional audio amplifiers must reduce the amplification factor at the beginning of the design, which means that they have to limit their output capability in most frequency ranges, i.e., the low frequency range.

[0099] Speaker: Also known as a "loudspeaker," it is used to convert audio electrical signals into sound signals. For a more detailed introduction to speakers, please refer to the section above. Figure 3 The descriptions of the various components shown are not detailed here.

[0100] AP: Application processor is a very large-scale integrated circuit that extends audio and video functions and dedicated interfaces on top of a low-power CPU. Application processor chips are chips developed for application processing platforms. These chips are mainly used to be mounted on boards of various product forms to form a complete solution.

[0101] In this embodiment, the AP can connect to the amplifier's audio interface via an audio bus. This embodiment does not limit the type of audio bus, audio interface, or audio data transmission protocol. For example, this application uses an integrated circuit built-in audio (Inter-IC Sound, I2S) bus and an I2S audio interface as an example. Furthermore, the AP can also connect to the amplifier via a signal feedback bus to detect the speaker's operating status. In one possible implementation, the signal feedback bus can also be integrated into a single bus; this embodiment does not limit this implementation.

[0102] In this embodiment, the AP can also connect to the enable input of Load switch 1 in the first circuit, the enable input of Load switch 2 in the second circuit, and the enable input of Boost in the third circuit via different pins. This allows the AP to determine the circuit corresponding to the speaker's operating state and then control the corresponding pins to send enable signals EN1, EN2, and EN3, as well as the Boost voltage control signal, to the corresponding enable input of Load switch 1, Load switch 2, or Boost 1, thereby controlling the operation of the corresponding first, second, or third circuit. For example, when the load, i.e., the speaker, is operating at low power, the first circuit is determined to be operating; when the speaker is operating at medium power, the second circuit is determined to be operating; and when the speaker is operating at high power, the third circuit is determined to be operating. In other words, when the speaker outputs high-frequency sounds, the required driving power is relatively low, so the first circuit operates, ensuring the power supply provides a lower voltage to the power amplifier. When the speaker outputs mid-frequency sounds, the required driving power is moderate, so the second circuit operates, ensuring the power supply provides a moderate voltage to the power amplifier. When outputting low-frequency sounds, the first circuit operates, ensuring the power supply provides a moderate voltage to the power amplifier. When the speaker outputs low-frequency sounds, the required driving power is higher, so the third circuit operates, ensuring the power supply provides a higher voltage output to the power amplifier. In this way, the amplifier (AP) can adjust the voltage provided by the power supply to the amplifier (SPA) based on the speaker's output sound, ensuring sufficient driving power to drive the speaker and saving unnecessary power consumption.

[0103] It is worth noting that the AP can also be connected to the Boost circuit via a voltage regulation unit, and dynamically adjust the output voltage of the third circuit, i.e., the Boost circuit, based on the measured operating state of the speaker. For example, the AP can use pulse width modulation (PWM) to change the pulse width or duty cycle according to the change in the corresponding load, i.e., the change in the operating state of the speaker, thereby adjusting the output voltage of the boost circuit. Alternatively, it can control the AP's internal registers via the data bus, thereby controlling the output voltage of the digital to analog converter (DAC) to achieve the effect of voltage regulation.

[0104] Understandable Figure 4 The components included in the illustrated audio amplifier circuit topology are merely examples. This application does not limit the types of these components, and the operating parameters of each component, such as operating voltage, are also only examples. Figure 4 This example uses a mobile phone as an example. If the electronic device is a laptop, calculator, etc., Figure 4The operating parameters of each component shown may change, and the model number of each component may change, but the basic function of each component and the connection method of the circuit remain the same.

[0105] Based on the above introduction to the audio amplifier circuit topology, the following section introduces the method and process for improving the external sound effect provided in this application.

[0106] like Figure 5 As shown, the method specifically includes the following steps:

[0107] S101, Electronic device turns on speaker.

[0108] In one implementation of this application, the electronic device detects a user interaction and turns on its speaker. This user interaction refers to actions performed by the electronic device, such as playing audio or video files or answering a phone call. Examples include clicking on an audio / video application, clicking on an audio / video file, or clicking on a phone call answering control.

[0109] In another implementation of this application, the electronic device automatically turns on its speaker without requiring user input. For example, when the electronic device receives an incoming call notification, it can automatically play a ringtone; or when the electronic device detects to-do events added to a memo, alarm clock, calendar, etc., it can automatically play reminder music, and so on.

[0110] In this embodiment of the application, when the electronic device turns on the speaker, it operates by default in the first circuit, which is... Figure 3 The circuit containing Load switch 1 is shown. At this time, the circuits containing Load switch 2 and Boost 1 are not activated and are in a non-operating state. In other embodiments of this application, the default operating circuit of the speaker can also be a second operating circuit, for example... Figure 3 The circuit shown for Load switch 2 does not impose any restrictions on the default operating circuit of the speaker in this application.

[0111] S102, the electronic device detects the operating status of the speaker and determines the operating circuit used by the power amplifier circuit based on the detected speaker operating status.

[0112] In this embodiment, the AP is connected to the SPA, and the SPA has a feedback function, meaning that the SPA can feed back the detected speaker's operating status to the AP. The AP then determines the corresponding operating circuit based on the speaker's operating status. The speaker's operating status includes any one or more of the following: operating voltage, operating current, operating power, signal-to-noise ratio, etc.

[0113] This application uses the output power of a power amplifier and the output audio frequency of a speaker as examples to illustrate the correspondence between the speaker's operating state and its operating circuit:

[0114] The first circuit is activated when the output power of the power amplifier is less than the first preset power, or when the audio frequency is greater than the first preset frequency (e.g., 2000Hz); the second circuit is activated when the output power of the power amplifier is less than the second preset power but greater than or equal to the first preset power, or when the audio frequency is greater than the second preset frequency (e.g., 800Hz) but less than or equal to the first preset frequency; and the third circuit is activated when the output power of the power amplifier is greater than or equal to the second preset power, or when the audio frequency is less than or equal to the second preset frequency.

[0115] It is understood that the values ​​of the first preset frequency and the second preset frequency can be set by the R&D personnel according to the type of audio service the electronic device provided in this application will be used for. For example, when the electronic device is used specifically for pop music and rock music, since these types of music have more drum sounds and gunshots, and the audio frequencies are mostly low frequencies, the values ​​of the first frequency and the second frequency can be set to relatively low values; when the electronic device is used specifically for folk music, the audio frequencies are mostly high frequencies, and the values ​​of the first frequency and the second frequency can be set to relatively high values. This application does not limit the first preset frequency and the second preset frequency.

[0116] In other embodiments of this application, when the electronic device performs step S102 above, it can detect the working status of the speaker after the entire audio system has stabilized after the speaker is turned on. The electronic device can periodically detect the working status of the speaker, and the period can be, for example, 10ms. This application does not limit this.

[0117] S103 controls the electronic device to operate in the corresponding working circuit.

[0118] Specifically, the pins of the AP are connected to the enable input terminals of Load switch1, Load switch2 and Boost1 respectively. After the AP determines the circuit corresponding to the working state of the speaker, it can control the corresponding pin of the AP to send enable signals EN1, EN2 or EN3 to the corresponding enable input terminal of Load switch1, Load switch2 or Boost1 to control the operation of the corresponding first circuit, second circuit or third circuit.

[0119] When the AP controls the first circuit to operate, i.e., using the system power supply, which is the output voltage of the dual-string batteries after passing through a 2:1 charge pump to power the SPA, the first circuit outputs a first numerical voltage, for example, 4.4V. At this time, simulation tests show that the power supply efficiency is close to 98%. Power supply efficiency is the ratio of power output power to power input power.

[0120] When the AP controls the second circuit to operate, that is, when the SPA is directly powered by a dual-cell battery, the second circuit outputs a second voltage value, for example, 8.8V. Simulation results show that the power efficiency can approach 100%.

[0121] When the AP controls the third circuit to operate, that is, using the output voltage of the dual batteries boosted by Boost1 to power the SPA, the third circuit outputs a third voltage value, for example, greater than 8.8V and less than 15V. Simulation results show that the power efficiency can reach as high as 93-95%.

[0122] In this way, the electronic equipment activates different circuits based on the speaker's operating state, and each circuit can output an appropriate voltage, thereby reducing power consumption. For example, when the speaker is outputting bass, i.e., operating at high power, the electronic equipment operates in the third circuit, and the input voltage of the SPA is relatively... Figure 1 The power amplifier circuit topology used has a higher input voltage. For the same load, i.e., the same output power of the SPA, according to formula P... in =V in ×I in It can be seen that since the 8.8V input voltage is higher than the 4.4V input voltage, using an 8.8V operating circuit will reduce the current of energy storage components, such as the switching transistors (e.g., MOSFETs) in the Boost circuit. This allows more power to be supplied to the SPA, resulting in higher output power available to the speaker, thus improving the SPA's output capability. Compared to... Figure 1 As shown in the power amplifier circuit topology diagram, the original power efficiency can be improved from about 85% to more than 93-95%, thereby reducing power consumption.

[0123] As can be seen, implementing the method provided in this application embodiment can bring a qualitative leap in user experience, as specifically shown below:

[0124] 1. Higher sound quality. Due to the improved output capability of the SPA, the dynamic range of the audio signal output is increased. At the same time, the AP can dynamically track the state of the speaker and change the working circuit of the SPA to adapt to the working state of the speaker, providing a matching input voltage for the SPA. This brings better sound quality to electronic devices such as mobile phones, portable music players and tablet computers. Moreover, it can increase the average volume of the music without exceeding the speaker's own capacity.

[0125] 2. The bass is deeper and richer.

[0126] Within the frequency range that humans can hear (20Hz to 20kHz), people's perception of sound varies greatly depending on the frequency band. Specifically, it can be divided into fullness (20Hz to 200Hz), intensity (200Hz to 800Hz), clarity (800Hz to 2kHz), brightness (2kHz to 5kHz), and transparency (above 5kHz).

[0127] In today's popular music and frequently played audio and video, low-frequency sound energy accounts for about 70% of the total audio energy, meaning that users' auditory perception is mainly based on the depth and loudness of the sound. The method provided in this application further improves the operating circuitry used when a speaker outputs low-frequency sound. Specifically, the electronic device can dynamically adjust the input voltage according to the low-frequency sound output, thereby providing sufficient driving power to the speaker, making the bass output by the speaker deeper and louder.

[0128] The various embodiments of this application can be combined arbitrarily to achieve different technical effects.

[0129] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state drive).

[0130] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This program can be stored in a computer-readable storage medium, and when executed, it can include the processes described in the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.

[0131] In summary, the above description is merely an embodiment of the technical solution of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made according to the disclosure of the present invention should be included within the scope of protection of the present invention.

[0132] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit it. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

Claims

1. An electronic device, characterized in that, The electronic device includes: a power supply, a processor, a voltage regulation unit, a power amplifier, and a speaker; wherein the power supply and the processor are respectively connected to the voltage regulation unit; the processor is also connected to the power amplifier; the voltage regulation unit is connected to the power amplifier, and the power amplifier is connected to the speaker; The power supply is used to output a first voltage to the voltage regulating unit; The processor is used to input an audio electrical signal to the power amplifier, and control the voltage regulation unit to adjust the first voltage to a second voltage and output it to the power amplifier according to the frequency of the audio; the frequency of the audio and the second voltage are negatively correlated. The voltage regulating unit includes a first circuit, a second circuit, and a third circuit. When the frequency of the audio is greater than the first preset frequency, the processor controls the first circuit of the voltage regulation unit to work, and the first circuit adjusts the first voltage to a second voltage of a first value. When the frequency of the audio is less than or equal to the first preset frequency and greater than the second preset frequency, the processor controls the second circuit of the voltage regulation unit to operate, and the second circuit adjusts the first voltage to a second voltage of a second value. When the frequency of the audio is less than or equal to the second preset frequency, the processor controls the third circuit of the voltage regulation unit to operate. The third circuit dynamically adjusts the first voltage to a second voltage of a third value according to the frequency of the audio. The first value is less than the second value, and the second value is less than the third value. The power amplifier is used to amplify the output power of the audio electrical signal under the drive of the second voltage, wherein the second voltage and the output power are positively correlated. The loudspeaker is used to convert the amplified audio electrical signal into an audio signal.

2. The electronic device according to claim 1, characterized in that, The processor is also used to pre-acquire the frequency of the audio; Alternatively, the processor is also configured to receive information fed back from the power amplifier indicating the frequency of the audio.

3. The electronic device according to claim 1 or 2, characterized in that, When the frequency of the audio is less than the second preset frequency, the frequency of the audio is negatively correlated with the third value.

4. The electronic device according to any one of claims 1-3, characterized in that, The first value is equal to half of the first voltage; the second value is equal to the first voltage; and the third value is greater than the first voltage.

5. The electronic device according to any one of claims 1-4, characterized in that, The processor controls the operation of the third circuit of the voltage regulation unit, specifically including: The processor controls the third circuit to operate based on the frequency of the audio, either by using pulse width modulation or by controlling the processor's internal registers.

6. The electronic device according to any one of claims 1-5, characterized in that, The first circuit includes a charge pump and a first switch, which are connected in series; the processor is specifically used to control the first switch to turn on when the frequency of the audio is greater than the first preset frequency. The second circuit includes a second switch; the processor is specifically configured to control the second switch to be turned on when the frequency of the audio is less than or equal to the first preset frequency and greater than the second preset frequency. The third circuit includes a Boost circuit, and the processor is specifically used to control the Boost circuit to be turned on when the frequency of the audio is less than or equal to the second preset frequency.

7. The electronic device according to claim 6, characterized in that, The charge pump is a 2:1 charge pump, which is used to adjust the first voltage to a second voltage of the first value, wherein the first value is half of the first voltage.

8. A method for improving the sound quality of external speakers, characterized in that, The method is applied to an electronic device, which includes: a power supply, a processor, a voltage regulation unit, a power amplifier, and a speaker; wherein the power supply and the processor are respectively connected to the voltage regulation unit; the processor is also connected to the power amplifier; the voltage regulation unit is connected to the power amplifier, and the power amplifier is connected to the speaker; The power supply is used to output a first voltage to the voltage regulating unit; The processor is used to input an audio electrical signal to the power amplifier, and control the voltage regulation unit to adjust the first voltage to a second voltage and output it to the power amplifier according to the frequency of the audio; the frequency of the audio and the second voltage are negatively correlated. The voltage regulating unit includes a first circuit, a second circuit, and a third circuit. When the frequency of the audio is greater than the first preset frequency, the processor controls the first circuit of the voltage regulation unit to work, and the first circuit is used to adjust the first voltage to a second voltage of a first value. When the frequency of the audio is less than or equal to the first preset frequency and greater than the second preset frequency, the processor controls the second circuit of the voltage regulation unit to work, and the second circuit is used to adjust the first voltage to a second voltage of a second value; When the frequency of the audio is less than or equal to the second preset frequency, the processor controls the third circuit of the voltage regulation unit to work. The third circuit is used to dynamically adjust the first voltage to a second voltage of a third value according to the frequency of the audio; the first value is less than the second value, and the second value is less than the third value. The power amplifier is used to amplify the output power of the audio electrical signal under the drive of the second voltage, wherein the second voltage and the output power are positively correlated. The loudspeaker is used to convert the amplified audio electrical signal into an audio signal.

9. The method according to claim 8, characterized in that, The processor of the electronic device is also configured to acquire the frequency of the audio in advance; Alternatively, the processor is also configured to receive information fed back from the power amplifier indicating the frequency of the audio.

10. The method according to claim 8 or 9, characterized in that, When the frequency of the audio is less than the second preset frequency, the frequency of the audio is negatively correlated with the third value.

11. The method according to any one of claims 8-10, characterized in that, The first value is equal to half of the first voltage; the second value is equal to the first voltage; and the third value is greater than the first voltage.

12. The method according to any one of claims 8-11, characterized in that, The processor controls the operation of the third circuit of the voltage regulation unit, specifically including: The processor controls the third circuit to operate based on the frequency of the audio, either by using pulse width modulation or by controlling the processor's internal registers.

13. The method according to any one of claims 8-12, characterized in that, The first circuit includes a charge pump and a first switch, which are connected in series; the processor is specifically used to control the first switch to turn on when the frequency of the audio is greater than the first preset frequency. The second circuit includes a second switch; the processor is specifically configured to control the second switch to be turned on when the frequency of the audio is less than or equal to the first preset frequency and greater than the second preset frequency. The third circuit includes a Boost circuit, and the processor is specifically used to control the Boost circuit to be turned on when the frequency of the audio is less than or equal to the second preset frequency.

14. The method according to claim 13, characterized in that, The charge pump is a 2:1 charge pump, which is used to adjust the first voltage to a second voltage of the first value, wherein the first value is half of the first voltage.

15. A chip applied to an electronic device, the chip comprising one or more processors, the processors being configured to invoke computer instructions to cause the electronic device to perform the method as described in any one of claims 8-14.

16. A computer-readable storage medium comprising instructions, characterized in that, When the instructions are executed on an electronic device, the electronic device causes the electronic device to perform the method as described in any one of claims 8-14.

17. An electronic device, characterized in that, The electronic device includes one or more processors and one or more memories; wherein the one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program code, the computer program code including computer instructions, which, when executed by the one or more processors, cause the electronic device to perform the method as described in any one of claims 8-14.

Citation Information

Patent Citations

  • Power amplifier device

    CN106953608A

  • Power supply circuit, power supply control method, electronic equipment and storage medium

    CN112787607A