CN113721753A - Power amplifier control method and apparatus, storage medium, and electronic device - Google Patents

Power amplifier control method and apparatus, storage medium, and electronic device Download PDF

Info

Publication number
CN113721753A
CN113721753A CN202111007336.7A CN202111007336A CN113721753A CN 113721753 A CN113721753 A CN 113721753A CN 202111007336 A CN202111007336 A CN 202111007336A CN 113721753 A CN113721753 A CN 113721753A
Authority
CN
China
Prior art keywords
power
power amplifier
control method
amplifiers
amplifier control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111007336.7A
Other languages
Chinese (zh)
Inventor
刘洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Realme Mobile Telecommunications Shenzhen Co Ltd
Original Assignee
Realme Mobile Telecommunications Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Realme Mobile Telecommunications Shenzhen Co Ltd filed Critical Realme Mobile Telecommunications Shenzhen Co Ltd
Priority to CN202111007336.7A priority Critical patent/CN113721753A/en
Publication of CN113721753A publication Critical patent/CN113721753A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0274Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof
    • H04W52/028Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof switching on or off only a part of the equipment circuit blocks
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Amplifiers (AREA)

Abstract

The disclosure provides a power amplifier control method, a power amplifier control device, a computer readable storage medium and an electronic device, and relates to the technical field of terminal control. The power amplifier control method is applied to a terminal device including at least two power amplifiers, each of which drives a different speaker; the power amplifier control method comprises the following steps: determining the output power of the power amplifier; if the output power is greater than 0 and less than the power threshold, one of the at least two power amplifiers is turned off. The method and the device can save power consumption and improve the endurance of the terminal equipment in a scene with small loudness.

Description

Power amplifier control method and apparatus, storage medium, and electronic device
Technical Field
The present disclosure relates to the field of terminal control technologies, and in particular, to a power amplifier control method, a power amplifier control device, a computer-readable storage medium, and an electronic device.
Background
In order to meet the requirements of users for sound, some technologies design and optimize a sound production system of a terminal device. However, the sounding system of the terminal device may have a problem of large power consumption, which affects the endurance of the terminal device.
Disclosure of Invention
The present disclosure provides a power amplifier control method, a power amplifier control apparatus, a computer-readable storage medium, and an electronic device, thereby overcoming, at least to some extent, the problem of large power consumption of a sound system of a terminal device.
According to a first aspect of the present disclosure, there is provided a power amplifier control method applied to a terminal device including at least two power amplifiers, each of which drives a different speaker; the power amplifier control method comprises the following steps: determining the output power of the power amplifier; if the output power is greater than 0 and less than the power threshold, one of the at least two power amplifiers is turned off.
According to a second aspect of the present disclosure, there is provided a power amplifier control apparatus applied to a terminal device including at least two power amplifiers, each of which drives a different speaker; wherein, the power amplifier control device includes: a power determination module for determining an output power of the power amplifier; an amplifier turn-off module for turning off one of the at least two power amplifiers if the output power is greater than 0 and less than the power threshold.
According to a third aspect of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the power amplifier control method described above.
According to a fourth aspect of the present disclosure, there is provided an electronic device comprising a processor; a memory for storing one or more programs which, when executed by the processor, cause the processor to implement the power amplifier control method described above.
In the technical solutions provided by some embodiments of the present disclosure, by turning off one power amplifier when the output power of the power amplifier is greater than 0 and less than the power threshold, power consumption can be saved and endurance of the terminal device can be improved in a scene with a small loudness.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty. In the drawings:
fig. 1 illustrates a system framework schematic diagram of a power amplifier control scheme of an embodiment of the present disclosure;
FIG. 2 illustrates a schematic structural diagram of an electronic device suitable for use in implementing embodiments of the present disclosure;
fig. 3 schematically illustrates a flow chart of a power amplifier control method according to an exemplary embodiment of the present disclosure;
FIG. 4 illustrates a graph comparing single and dual speakers in terms of output power and conversion efficiency for an embodiment of the present disclosure;
FIG. 5 illustrates a graph comparing stereo to mono in terms of power consumption and loudness of an embodiment of the disclosure;
fig. 6 schematically shows a flow chart of the overall procedure of a power amplifier processing scheme for a terminal device comprising two power amplifiers;
fig. 7 shows a schematic diagram of the effect of the power amplifier control scheme of an embodiment of the present disclosure;
fig. 8 schematically shows a block diagram of a power amplifier control arrangement according to a first exemplary embodiment of the present disclosure;
fig. 9 schematically shows a block diagram of a power amplifier control arrangement according to a second exemplary embodiment of the present disclosure;
fig. 10 schematically shows a block diagram of a power amplifier control apparatus according to a third exemplary embodiment of the present disclosure;
fig. 11 schematically shows a block diagram of a power amplifier control apparatus according to a fourth exemplary embodiment of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the subject matter of the present disclosure can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and the like. In other instances, well-known technical solutions have not been shown or described in detail to avoid obscuring aspects of the present disclosure.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the steps. For example, some steps may be decomposed, and some steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation. In addition, all of the following terms "first" and "second" are used for distinguishing purposes only and should not be construed as limiting the present disclosure.
Fig. 1 shows a system framework schematic of a power amplifier control scheme of an embodiment of the present disclosure.
As shown in fig. 1, the terminal device 100 may include a power amplifier 1010 and a power amplifier 1020, wherein the power amplifier 1010 is used for driving a speaker 1011 to produce sound, and the power amplifier 1020 is used for driving the speaker 1021 to produce sound.
The terminal device may include, but is not limited to, a smart phone, a tablet computer, a portable computer, a desktop computer, and the like. The power amplifier may also be referred to as a power amplifier, smart power amplifier, or smart power amplifier. The speaker may be referred to as a horn.
In addition, it should be noted that the number of power amplifiers in the terminal device 100 may not be limited to two, that is, the terminal device 100 may include other power amplifiers besides the power amplifier 1010 and the power amplifier 1020. It is to be understood that the corresponding speakers are not limited to the speaker 1011 and the speaker 1021.
Taking the terminal device 100 including the power amplifier 1010 and the power amplifier 1020 as an example, in the power amplifier control scheme of the present disclosure, first, the terminal device 100 may determine the output power of the power amplifier 1010 and the output power of the power amplifier 1020. In some implementations of the present disclosure, the output power of power amplifier 1010 is the same as the output power of power amplifier 1020.
Next, if it is determined that the output power is greater than 0 and less than the power threshold, the terminal device may turn off the power amplifier 1010 or the power amplifier 1020. Wherein, the power threshold is a power value obtained by combining the conversion efficiency and the output power of the power amplifier.
In order to solve the problem that a power amplifier may have a severe loudness change (or called a sudden loudness change) when turned off, the disclosed embodiments may also perform gain compensation on power amplifiers that are not turned off.
In addition, if the power amplifier 1010 is turned off, the output power of the power amplifier 1020 is monitored, and when the monitored output power is greater than or equal to the power threshold, the terminal device 100 may control the power amplifier 1010 to be turned back on. Similarly, if the power amplifier 1020 is turned off, the output power of the power amplifier 1010 is monitored, and when the monitored output power is greater than or equal to the power threshold, the terminal device 100 may control the power amplifier 1020 to be turned back on.
FIG. 2 shows a schematic diagram of an electronic device suitable for use in implementing exemplary embodiments of the present disclosure. The terminal device of the exemplary embodiment of the present disclosure may be configured as in fig. 2. It should be noted that the electronic device shown in fig. 2 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
The electronic device of the present disclosure includes at least a processor and a memory for storing one or more programs, which when executed by the processor, cause the processor to implement the power amplifier control method of the exemplary embodiments of the present disclosure.
Specifically, as shown in fig. 2, the electronic device 200 may include: a processor 210, an internal memory 221, an external memory interface 222, a Universal Serial Bus (USB) interface 230, a charging management Module 240, a power management Module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication Module 250, a wireless communication Module 260, an audio Module 270, a speaker 271, a microphone 272, a microphone 273, an earphone interface 274, a sensor Module 280, a display 290, a camera Module 291, a pointer 292, a motor 293, a button 294, and a Subscriber Identity Module (SIM) card interface 295. The sensor module 280 may include a depth sensor, a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.
It is to be understood that the illustrated structure of the embodiments of the present disclosure does not constitute a specific limitation to the electronic device 200. In other embodiments of the present disclosure, electronic device 200 may include more or fewer components than shown, or combine certain components, or split certain components, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 210 may include one or more processing units, such as: the Processor 210 may include an Application Processor (AP), a modem Processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband Processor, and/or a Neural-Network Processor (NPU), and the like. The different processing units may be separate devices or may be integrated into one or more processors. Additionally, a memory may be provided in processor 210 for storing instructions and data.
Internal memory 221 may be used to store computer-executable program code, including instructions. The internal memory 221 may include a program storage area and a data storage area. The external memory interface 222 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 200.
The electronic device 200 may implement an audio function through the audio module 270, the speaker 271, the receiver 272, the microphone 273, the headphone interface 274, the application processor, and the like. Such as music playing, recording, etc.
Audio module 270 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. Audio module 270 may also be used to encode and decode audio signals. In some embodiments, the audio module 270 may be disposed in the processor 210, or some functional modules of the audio module 270 may be disposed in the processor 210.
The speaker 271 is used to convert an audio electric signal into a sound signal. The electronic apparatus 200 can listen to music through the speaker 271 or listen to a handsfree phone call. In addition, the electronic device may include a plurality of speakers.
It is understood that the battery 242 of the electronic device 200 may power a power amplifier (not shown in fig. 2) that converts battery power into electrical power for the speaker 271. This electrical power is in turn converted into acoustic power that can be heard by the human ear.
The present disclosure also provides a computer-readable storage medium, which may be contained in the electronic device described in the above embodiments; or may exist separately without being assembled into the electronic device.
A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable storage medium may transmit, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable storage medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The computer-readable storage medium carries one or more programs which, when executed by an electronic device, cause the electronic device to implement the method as described in the embodiments below.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software, or may be implemented by hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves.
The power amplifier control method of the embodiments of the present disclosure is applied to a terminal device including at least two power amplifiers, that is, each step of the method described below is performed by the terminal device. It is also readily understood that the speaker driven by each power amplifier in the terminal device is different.
Fig. 3 schematically shows a flow chart of a power amplifier control method of an exemplary embodiment of the present disclosure. Referring to fig. 3, the power amplifier control method may include the steps of:
and S32, determining the output power of the power amplifier.
In an exemplary embodiment of the present disclosure, the power amplifier has a speaker corresponding thereto, and the power amplifier is used to drive the speaker to emit sound. The output power of the power amplifier is the power applied to the speaker, i.e. the electrical power of the speaker, without taking losses into account.
In some embodiments, the terminal device may obtain a current and a voltage across a speaker corresponding to the power amplifier, and calculate the output power of the power amplifier according to the obtained current and voltage, and it is easy to understand that the product of the current and the voltage may be directly used as the output power.
For example, the terminal device may monitor the current and voltage across the speaker corresponding to the power amplifier in real time. Specifically, after the operation of triggering the audio (voice, music, etc.) playing, the terminal device may monitor the current and the voltage at the two ends of the speaker corresponding to the power amplifier in real time.
For another example, the terminal device may obtain the current and voltage across the speaker corresponding to the power amplifier at predetermined time intervals. The value of the predetermined time is not limited in this disclosure.
In other embodiments, in the case where the terminal device records the output power of the power amplifier in real time, the terminal device can directly obtain the output power without performing the current and voltage obtaining process and the power calculating process.
It is noted that according to some embodiments of the present disclosure, the terminal device may determine the output power of each power amplifier. In the case where the terminal device includes two power amplifiers, a first power amplifier and a second power amplifier, the terminal device may determine the output power of the first power amplifier and the output power of the second power amplifier.
According to further embodiments of the present disclosure, the output power of a given one or more power amplifiers may also be determined. For example, the terminal device may determine an output power of a power amplifier for which the historical average power consumption is greater than a power consumption threshold.
According to still other embodiments of the present disclosure, the terminal device includes power amplifiers whose output powers are the same. In this case, the terminal device only needs to determine the output power of one of the power amplifiers.
S34, if the output power is larger than 0 and smaller than the power threshold value, one of the at least two power amplifiers is turned off.
For the power threshold, it can be deduced in advance based on the results of different configuration cases.
First, the terminal device may determine a transfer function of the conversion efficiency and the output power of the power amplifier, and the transfer function may be embodied as a relation curve of the conversion efficiency and the output power. Next, a power threshold may be determined based on the transfer function.
The manner in which the power threshold is determined for embodiments of the present disclosure will be described below with reference to fig. 4. The example shown in fig. 4 is directed to a case where the terminal device includes two speakers (dual speakers), and the power consumption cases of the corresponding two power amplifiers are the same.
The battery of the terminal device powers the power amplifier, which converts the battery power into electrical power for the speaker, which in turn is converted into audible acoustic power for the human ear. Wherein the power amplifier has a conversion efficiency etaPAAcoustic-electric conversion efficiency eta of loudspeakerEAThe relationship between the loudspeaker loudness and sound pressure level SPL and sound intensity level SIL is as follows:
SPL=SIL-10*LOG(4πr2)
SIL=10*LOG(I/Iref),Iref=10^(-12)W/m2
the sound pressure level and the loudspeaker electric power (i.e. the output power of the power amplifier) P can be obtainedEThe relationship of (a) to (b) is as follows:
Figure BDA0003237458260000081
assuming that the loudness of the output of the two loudspeakers of a stereo sound is the same, if the same effect of loudness of the single loudspeaker and the two loudspeakers is to be obtained, the loudness of the single loudspeaker needs to be 1 times greater than the loudness of one of the two loudspeakers, i.e. the electric power P of the single loudspeakerEWhich is 4 times the electrical power of one of the two loudspeakers. In this case, the formula P is based on the conversion efficiency of the power amplifierE=PbatPA(PbatPower supply to the power amplifier) and the power consumption of the two power amplifiers are the same, and the transfer function η ═ f (p) of the conversion efficiency and the output power of the power amplifier can be obtained. Under the condition that the conversion efficiency of the single loudspeaker is the same as that of the double loudspeakers, namely f (P) -2 f (P/4), the electric power P of the single loudspeakerE57.5mW, conversion efficiency ηPA65.5%. Therefore, when the electric power is less than 57.5mW, the overall efficiency of the single speaker is higher than that of the dual speaker; when the electric power is more than 57.5mW, the overall efficiency of the double loudspeaker is higher than that of the single loudspeaker.
Therefore, the power threshold may be determined to be 57.5 mW.
Two loudspeakers are assigned to stereo and one loudspeaker to mono. A comparison of stereo to mono in power consumption and loudness for an embodiment of the disclosure is described below with reference to fig. 5. Fig. 5 shows the results of testing stereo and mono in reality.
As can be seen from fig. 5, in a scene where the loudness is small, i.e. the output power of the power amplifier is low, the power consumption of stereo is higher than that of mono. When the loudness exceeds a threshold (shown around 73 dB), the actual measured battery power consumption is 25.16mW, the power amplifier output power (i.e., the speaker power) is 57.1mW, and the efficiency is 65.3%, similar to the theoretical extrapolation result characterized in fig. 4. Therefore, the power threshold may be determined to be 57.5mW or 57.1 mW.
It should be noted, however, that 57.5mW or 57.1mW are only one example, and that the power threshold may also vary due to hardware and other environmental influences. In addition, the power threshold may also be a value set manually, and the value of the power threshold is not limited by the disclosure.
If the output power determined in step S32 is greater than 0 and less than the power threshold, the terminal device may turn off one of the power amplifiers included in the terminal device.
According to some embodiments of the present disclosure, a terminal device may randomly turn off one power amplifier.
According to other embodiments of the present disclosure, in a case where loudness of each speaker included in the terminal device is not identical, the terminal device may turn off a power amplifier corresponding to a speaker with the smallest loudness among the at least two power amplifiers included in the terminal device.
Taking a mobile phone as an example, the mobile phone comprises a first speaker and a second speaker, and the first speaker and the second speaker are two speakers, wherein the first speaker is located at the top of the mobile phone, and the second speaker is located at the bottom of the mobile phone. In an exemplary aspect of the present disclosure, a power amplifier corresponding to the first speaker may be turned off.
Further, for a terminal device including three or more power amplifiers, at least one power amplifier may also be turned off. For example, in case three power amplifiers are included, two power amplifiers may also be turned off.
When the power amplifier is turned off, the loudness of the terminal equipment may change dramatically, i.e., abrupt loudness changes may occur. In this case, the present disclosure may also include a scheme of gain compensation for the power amplifier that is not turned off.
First, the loudness of all power amplifiers comprised by the terminal device when operating simultaneously can be determined. Next, a degree of gain compensation may be determined according to the loudness, and power amplifiers other than the turned-off power amplifier may be gain compensated based on the degree of gain compensation.
For example, for the example where the terminal device includes the first power amplifier and the second power amplifier, in the case of stereo, the determined loudness is 60 dB. After turning off the first power amplifier, the loudness becomes 30dB, and the second power amplifier can be compensated for 30 dB.
In addition, the compensation can be performed in a certain proportion, for example, the second power amplifier can be compensated by 0.8 × 30dB to 24dB, and the disclosure does not limit the degree of gain compensation.
Further, after turning off one power amplifier, if it is detected that the output power of the power amplifiers other than the turned-off power amplifier is greater than or equal to the power threshold, the terminal device may turn back on the turned-off power amplifier.
For example, after turning off the first power amplifier, the terminal device may turn back on the turned-off power amplifier once the output power of the second power amplifier obtained by real-time monitoring is greater than or equal to the power threshold.
A procedure of a power amplifier processing scheme for a terminal device including two power amplifiers of the embodiment of the present disclosure will be explained with reference to fig. 6.
In step S602, the terminal device may monitor the output power of the power amplifier.
In step S604, the terminal device may determine whether the monitored output power is less than a power threshold. If the power is less than the power threshold, executing step S606; if not, step S608 is executed.
In step S606, the terminal device may turn off one power amplifier, and may perform gain compensation on the power amplifier that is not turned off.
In step S608, the terminal device may control the dual speakers to sound simultaneously. I.e. to control the two power amplifiers to operate simultaneously.
Since the monitoring process in step S602 may be real-time monitoring, the power amplifier may be dynamically turned off and on.
Based on the process of the power amplifier control method, on one hand, the conversion efficiency of a single power amplifier can be fully utilized; on the other hand, the power consumption can be saved, and the endurance of the terminal equipment is improved.
Fig. 7 shows a schematic diagram illustrating an effect of the power amplifier control scheme according to the embodiment of the present disclosure. As can be seen from fig. 7, in a scenario where the loudness is less than about 65dB, about 10mA of current can be saved, and the exemplary scheme of the present disclosure can improve the endurance by about 30 minutes, calculated in terms of battery power of 4500mAh of the terminal device and 14 hours endurance.
In addition, the present disclosure provides another scheme for controlling a power amplifier.
Firstly, the volume level of the terminal equipment can be judged; next, one or more of the power amplifiers may be turned off when it is determined that the volume level is above a predetermined level. And when the volume level is below the predetermined level, the power amplifier may be turned on.
It should be noted that although the various steps of the methods of the present disclosure are depicted in the drawings in a particular order, this does not require or imply that these steps must be performed in this particular order, or that all of the depicted steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions, etc.
Further, the present exemplary embodiment also provides a power amplifier control apparatus, which is applied to a terminal device including at least two power amplifiers, where a speaker driven by each power amplifier is different.
Fig. 8 schematically shows a block diagram of a power amplifier control apparatus of an exemplary embodiment of the present disclosure. Referring to fig. 8, the power amplifier control apparatus 8 according to an exemplary embodiment of the present disclosure may include a power determination module 81 and an amplifier shutdown module 83.
Specifically, the power determining module 81 may be configured to determine the output power of the power amplifier; the amplifier shutdown module 83 may be configured to shut down one of the at least two power amplifiers if the output power is greater than 0 and less than the power threshold.
According to an exemplary embodiment of the present disclosure, the power determination module 81 may be further configured to perform: acquiring current and voltage at two ends of a loudspeaker corresponding to a power amplifier; and calculating the output power of the power amplifier according to the current and the voltage of the two ends of the loudspeaker corresponding to the power amplifier.
According to an exemplary embodiment of the present disclosure, the power determination module 81 may be configured to perform: and monitoring the current and the voltage at two ends of the loudspeaker corresponding to the power amplifier in real time.
According to an exemplary embodiment of the present disclosure, referring to fig. 9, the power amplifier control apparatus 9 may further include a threshold determination module 91, compared to the power amplifier control apparatus 8.
In particular, the threshold determination module 91 may be configured to perform: a transfer function of the conversion efficiency and the output power of the power amplifier is determined and a power threshold is determined using the transfer function.
According to an example embodiment of the present disclosure, the amplifier shutdown module 83 may be configured to perform: and in the case that the loudness of the loudspeaker corresponding to each power amplifier is not completely the same, turning off the power amplifier corresponding to the loudspeaker with the lowest loudness in the at least two power amplifiers.
According to an exemplary embodiment of the present disclosure, referring to fig. 10, the power amplifier control apparatus 10 may further include a gain compensation module 101 compared to the power amplifier control apparatus 8.
In particular, the gain compensation module 101 may be configured to perform: gain compensation is performed for power amplifiers other than the power amplifier that is turned off.
According to an exemplary embodiment of the present disclosure, the gain compensation module 101 may be configured to perform: determining the loudness of at least two power amplifiers when working simultaneously; determining the degree of gain compensation according to the loudness of at least two power amplifiers when working simultaneously; the power amplifiers other than the power amplifier that is turned off are gain-compensated based on the degree of gain compensation.
According to an exemplary embodiment of the present disclosure, referring to fig. 11, the power amplifier control apparatus 11 may further include an amplifier turn-on module 111, compared to the power amplifier control apparatus 8.
Specifically, the amplifier turn-on module 111 may be configured to perform: after turning off one of the at least two power amplifiers, if it is detected that the output power of the power amplifiers other than the turned-off power amplifier is greater than or equal to the power threshold, the turned-off power amplifier is turned back on.
Since each functional module of the power amplifier control device according to the embodiment of the present disclosure is the same as that in the embodiment of the method described above, it is not described herein again.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
Furthermore, the above-described figures are merely schematic illustrations of processes included in methods according to exemplary embodiments of the present disclosure, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is to be limited only by the terms of the appended claims.

Claims (11)

1. A power amplifier control method is applied to a terminal device including at least two power amplifiers, each of which drives a different speaker; wherein the power amplifier control method comprises:
determining an output power of the power amplifier;
turning off one of the at least two power amplifiers if the output power is greater than 0 and less than a power threshold.
2. The power amplifier control method of claim 1, wherein determining the output power of the power amplifier comprises:
acquiring current and voltage at two ends of a loudspeaker corresponding to the power amplifier;
and calculating the output power of the power amplifier according to the current and the voltage of the two ends of the loudspeaker corresponding to the power amplifier.
3. The power amplifier control method of claim 2, wherein obtaining the current and voltage across the speaker corresponding to the power amplifier comprises:
and monitoring the current and the voltage at two ends of the loudspeaker corresponding to the power amplifier in real time.
4. The power amplifier control method of claim 1, further comprising:
determining a transfer function of a conversion efficiency and an output power of the power amplifier;
determining the power threshold using the transfer function.
5. The power amplifier control method of claim 1, wherein turning off one of the at least two power amplifiers in the case that the loudness of the speaker corresponding to each of the power amplifiers is not exactly the same comprises:
and turning off the power amplifier corresponding to the loudspeaker with the lowest loudness in the at least two power amplifiers.
6. The power amplifier control method of claim 1, further comprising:
gain compensation is performed for power amplifiers other than the power amplifier that is turned off.
7. The power amplifier control method of claim 6, wherein the gain compensating the power amplifiers other than the power amplifier that is turned off comprises:
determining the loudness of the at least two power amplifiers when operating simultaneously;
determining the degree of gain compensation according to the loudness of the at least two power amplifiers when working simultaneously;
performing gain compensation on power amplifiers other than the turned-off power amplifier based on the degree of gain compensation.
8. The power amplifier control method according to any one of claims 1 to 7, further comprising:
after turning off one of the at least two power amplifiers, if it is detected that the output power of the power amplifiers other than the turned-off power amplifier is greater than or equal to the power threshold, the turned-off power amplifier is turned back on.
9. A power amplifier control apparatus, applied to a terminal device including at least two power amplifiers, each of which drives a different speaker; wherein the power amplifier control apparatus includes:
a power determination module for determining an output power of the power amplifier;
an amplifier shutdown module to shutdown one of the at least two power amplifiers if the output power is greater than 0 and less than a power threshold.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a power amplifier control method according to any one of claims 1 to 8.
11. An electronic device, comprising:
a processor;
a memory for storing one or more programs that, when executed by the processor, cause the processor to implement the power amplifier control method of any of claims 1-8.
CN202111007336.7A 2021-08-30 2021-08-30 Power amplifier control method and apparatus, storage medium, and electronic device Pending CN113721753A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111007336.7A CN113721753A (en) 2021-08-30 2021-08-30 Power amplifier control method and apparatus, storage medium, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111007336.7A CN113721753A (en) 2021-08-30 2021-08-30 Power amplifier control method and apparatus, storage medium, and electronic device

Publications (1)

Publication Number Publication Date
CN113721753A true CN113721753A (en) 2021-11-30

Family

ID=78679359

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111007336.7A Pending CN113721753A (en) 2021-08-30 2021-08-30 Power amplifier control method and apparatus, storage medium, and electronic device

Country Status (1)

Country Link
CN (1) CN113721753A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116782108A (en) * 2023-08-23 2023-09-19 荣耀终端有限公司 Speaker control method, electronic device and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204376839U (en) * 2015-02-10 2015-06-03 深圳市芯电威科技有限公司 A kind of audio-frequency power amplifier load detecting circuit
CN108605194A (en) * 2016-01-29 2018-09-28 杜比实验室特许公司 The distributed air-defense and control system of immersion audio multichannel amplifier
CN109462795A (en) * 2017-09-06 2019-03-12 雅马哈株式会社 Amplifier, stereo set and control method
CN211352430U (en) * 2020-01-14 2020-08-25 湖北亿咖通科技有限公司 Audio power amplification module and automobile sound system
CN111629304A (en) * 2020-05-15 2020-09-04 维沃移动通信有限公司 Loudspeaker control method and device and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204376839U (en) * 2015-02-10 2015-06-03 深圳市芯电威科技有限公司 A kind of audio-frequency power amplifier load detecting circuit
CN108605194A (en) * 2016-01-29 2018-09-28 杜比实验室特许公司 The distributed air-defense and control system of immersion audio multichannel amplifier
CN109462795A (en) * 2017-09-06 2019-03-12 雅马哈株式会社 Amplifier, stereo set and control method
CN211352430U (en) * 2020-01-14 2020-08-25 湖北亿咖通科技有限公司 Audio power amplification module and automobile sound system
CN111629304A (en) * 2020-05-15 2020-09-04 维沃移动通信有限公司 Loudspeaker control method and device and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116782108A (en) * 2023-08-23 2023-09-19 荣耀终端有限公司 Speaker control method, electronic device and computer readable storage medium
CN116782108B (en) * 2023-08-23 2023-11-24 荣耀终端有限公司 Speaker control method, electronic device and computer readable storage medium

Similar Documents

Publication Publication Date Title
US11251763B2 (en) Audio signal adjustment method, storage medium, and terminal
JP6489563B2 (en) Volume control method, system, device and program
EP3547706B1 (en) Method and device for switching play modes of wireless speaker, and wireless speaker
CN108076226B (en) Method for adjusting call quality, mobile terminal and storage medium
JP2019159305A (en) Method, equipment, system, and storage medium for implementing far-field speech function
US20220417658A1 (en) User hearing protection method, apparatus, and electronic device
CN103929692B (en) Audio information processing method and electronic equipment
CN106604167A (en) Method for automatically adjusting output volume of left and right channel of earphone, and mobile terminal
CN105872929A (en) Sound amplification method, device, system and mobile terminal
CN110213707A (en) Earphone and its hearing-aid method, computer readable storage medium
CN113038337A (en) Audio playing method, wireless earphone and computer readable storage medium
CN113726940A (en) Recording method and device
CN113721753A (en) Power amplifier control method and apparatus, storage medium, and electronic device
CN112616108B (en) Audio output method, device, system, storage medium and electronic equipment
CN111800699B (en) Volume adjustment prompting method and device, earphone equipment and storage medium
CN104464746A (en) Voice filtering method and device and electron equipment
CN108391208B (en) Signal switching method, device, terminal, earphone and computer readable storage medium
CN111726733A (en) Electronic device, audio output control method, audio output control device, and storage medium
CN108574905B (en) Sound production device, audio transmission system and audio analysis method thereof
CN106293607B (en) Method and system for automatically switching audio output modes
CN111556406B (en) Audio processing method, audio processing device and earphone
CN114095825A (en) Mode switching method and device, audio playing equipment and computer readable medium
CN112307161B (en) Method and apparatus for playing audio
CN113992965A (en) Low-delay transmission method and system
US10997984B2 (en) Sounding device, audio transmission system, and audio analysis method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination