CN112787607A - Power supply circuit, power supply control method, electronic device, and storage medium - Google Patents

Power supply circuit, power supply control method, electronic device, and storage medium Download PDF

Info

Publication number
CN112787607A
CN112787607A CN202110011377.7A CN202110011377A CN112787607A CN 112787607 A CN112787607 A CN 112787607A CN 202110011377 A CN202110011377 A CN 202110011377A CN 112787607 A CN112787607 A CN 112787607A
Authority
CN
China
Prior art keywords
voltage
power supply
module
power
amplification module
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.)
Granted
Application number
CN202110011377.7A
Other languages
Chinese (zh)
Other versions
CN112787607B (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110011377.7A priority Critical patent/CN112787607B/en
Publication of CN112787607A publication Critical patent/CN112787607A/en
Application granted granted Critical
Publication of CN112787607B publication Critical patent/CN112787607B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03FAMPLIFIERS
    • H03F3/00Amplifiers with only discharge tubes or only semiconductor devices as amplifying elements
    • H03F3/20Power amplifiers, e.g. Class B amplifiers, Class C amplifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • H04R3/12Circuits for transducers, loudspeakers or microphones for distributing signals to two or more loudspeakers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Otolaryngology (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Power Engineering (AREA)
  • Amplifiers (AREA)

Abstract

The invention relates to a power supply circuit, a power supply control method, an electronic device and a storage medium. The power supply circuit includes: a power supply module; the power amplification module is used for receiving the audio signal and amplifying the audio signal; the power amplification module is used for amplifying power of the power module, and comprises a switch module, a first voltage generation module and a second voltage generation module, wherein the switch module is used for switching on a first power supply path or a second power supply path between the power module and the power amplification module; the control module is used for acquiring the power supply voltage of the power amplification module and controlling the switch module to conduct the first power supply path or the second power supply path to output a target voltage for supplying power to the power amplification module according to the power supply voltage; the target voltage is a voltage with a smaller voltage difference with the supply voltage, of the first voltage and the second voltage. The power supply voltage regulating efficiency of the power amplification module can be improved.

Description

Power supply circuit, power supply control method, electronic device, and storage medium
Technical Field
The present invention relates to the field of electronic devices, and in particular, to a power supply circuit, a power supply control method, an electronic device, and a storage medium.
Background
The audio power amplifier module (PA) is an important component of audio playing in electronic equipment, and its main function is to amplify an audio signal and then output the audio signal to a speaker to sound by vibration.
In the existing electronic equipment, the audio PA unit is directly powered by the power supply voltage of the electronic equipment, and in order to achieve the target voltage of the power supply of the audio power amplification module, the power supply voltage output by a power supply needs to be regulated, so that the voltage regulation pressure difference is large, and the voltage regulation efficiency is low.
Disclosure of Invention
The embodiment of the application provides a power supply circuit, a power supply control method, electronic equipment and a storage medium, and can improve the power supply efficiency of an audio PA unit serving as a power supply.
A power supply circuit comprising:
a power supply module;
the power amplification module is used for receiving the audio signal and amplifying the audio signal so as to output an amplified signal;
the switch module is respectively connected with the power amplification module and the power supply module and used for switching and conducting a first power supply path or a second power supply path between the power supply module and the power amplification module, wherein the first power supply path is used for outputting a first voltage to the power amplification module, the second power supply path is used for outputting a second voltage to the power amplification module, the first voltage is a power supply voltage directly output by the power supply module, and the second voltage is smaller than the first voltage;
the control module is respectively connected with the power amplification module and the switch module and used for acquiring the power supply voltage of the power amplification module and controlling the switch module to conduct the first power supply path or the second power supply path according to the power supply voltage so as to output a target voltage suitable for supplying power to the power amplification module; the target voltage is a voltage with a smaller voltage difference with the power supply voltage in the first voltage and the second voltage.
A power supply control method comprising:
acquiring a power supply voltage of a power amplification module; the power amplification module is used for amplifying the audio signal;
controlling a switch module to switch on a first power supply path or a second power supply path between a power supply module and the power amplification module according to the power supply voltage so as to output a target voltage suitable for supplying power to the power amplification module; the target voltage is the voltage with smaller voltage difference with the power supply voltage in the first voltage and the second voltage;
the first power supply path is used for outputting a first voltage to the power amplification module, and the second power supply path is used for outputting a second voltage to the power amplification module; the first voltage is a power supply voltage directly output by the power supply module, and the second voltage is smaller than the first voltage.
An electronic device, comprising:
a speaker; and
as for the above power supply circuit, the power amplification module in the power supply circuit is connected to the speaker, and is configured to send an amplified signal to the speaker.
An electronic device, a power supply module, a power amplification module, a memory and a processor, the memory storing a computer program, the processor implementing the steps of the above method when executing the computer program.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method.
According to the power supply circuit, the power supply control method, the electronic equipment and the storage medium, based on the fact that the power module in the electronic equipment can step down and then outputs the second voltage for supplying power to each device, the power supply circuit controls the switch module to switch and conduct the first power supply path or the second power supply path between the power module and the power amplification module according to the power supply voltage of the power amplification module so as to output the target voltage which is applicable to supplying power to the power amplification module and has smaller voltage difference with the power supply voltage, and the power amplification module has higher power supply efficiency due to smaller voltage difference when boosting.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments or the conventional technologies of the present application, the drawings used in the descriptions of the embodiments or the conventional technologies will be briefly introduced below, it is obvious that the drawings in the following descriptions are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a block diagram of a power supply circuit according to one embodiment;
FIG. 2 is a second block diagram of the power supply circuit according to an embodiment;
FIG. 3 is a third block diagram of a power supply circuit according to an embodiment;
FIG. 4 is a fourth block diagram of the power supply circuit according to an embodiment;
FIG. 5 is a fifth embodiment of a block diagram of a power supply circuit;
FIG. 6 is a schematic diagram of an output waveform of the hysteresis comparator according to an embodiment;
FIG. 7 is a sixth block diagram of a power supply circuit according to an embodiment;
FIG. 8 is a flow chart illustrating a power control method according to an embodiment;
fig. 9 is a block diagram of a partial structure related to an electronic device provided in an embodiment of the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, embodiments accompanying the present application are described in detail below with reference to the accompanying drawings. In the following description, numerous specific details are set forth to provide a thorough understanding of the present application, and in the accompanying drawings, preferred embodiments of the present application are set forth. This application may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete. This application is capable of embodiments in many different forms than those described herein and those skilled in the art will be able to make similar modifications without departing from the spirit of the application and it is therefore not intended to be limited to the specific embodiments disclosed below.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise. In the description of the present application, "a number" means at least one, such as one, two, etc., unless specifically limited otherwise.
It is to be understood that "connection" in the following embodiments is to be understood as "electrical connection", "communication connection", and the like if the connected circuits, modules, units, and the like have communication of electrical signals or data with each other.
It will be further understood that the terms "comprises/comprising," "includes" or "including," etc., specify the presence of stated features, integers, steps, operations, components, parts, or combinations thereof, but do not preclude the presence or addition of one or more other features, integers, steps, operations, components, parts, or combinations thereof. Also, as used in this specification, the term "and/or" includes any and all combinations of the associated listed items.
The power supply circuit of an embodiment of the present application is applied to an electronic Device, and in one embodiment, the electronic Device may be a Mobile phone, a tablet computer, a notebook computer, a personal computer, a Mobile Internet Device (MID), a wearable Device (e.g., a smart watch, a smart bracelet, a pedometer, etc.), or another Device having an audio playing function.
As shown in fig. 1, the present embodiment provides a power supply circuit, which includes a power module 100, a power amplification module 200, a switch module 300, and a control module 400. The power module 100 is a power module 100 in an electronic device, and is used for supplying power to other modules of the electronic device in addition to supplying power to each component in the power supply circuit. The power amplification module 200, i.e. the audio power amplification module 200, is configured to amplify the received audio signal and output the amplified signal to a speaker of the electronic device for playing. The switch module 300 is configured to connect a first power supply path and a second power supply path between the power amplification module 200 and the power supply module 100, and switch on the first power supply path or the second power supply path; when the first power supply path is turned on, the power module 100 outputs the first voltage Vbat to the power amplification module 200 for power supply; when the second power supply path is turned on, the power module 100 outputs a second voltage Vph to the power amplification module 200 for power supply, where the first voltage Vbat is a power supply voltage directly output by the power module 100, and the second voltage Vph is less than the first voltage Vbat. The control module 400 obtains the power supply voltage Vbst of the power amplification module 200 in real time, and controls the switch module 300 to selectively turn on the first power supply path or the second power supply path according to the power supply voltage Vbst, so as to output a target voltage suitable for supplying power to the power amplification module 200. The target voltage is a voltage having a smaller voltage difference from the power supply voltage Vbst, out of the first voltage Vbat and the second voltage Vph.
Based on that a power module in the electronic device reduces voltage and outputs a second voltage Vph for supplying power to each device when supplying power, the power supply circuit controls the switch module 300 to switch on the first power supply path or the second power supply path between the power module 100 and the power amplification module 200 according to the power supply voltage Vbst of the power amplification module 200, so as to output a target voltage which is suitable for supplying power to the power amplification module 200 and has a smaller voltage difference with the power supply voltage Vbst, and the power amplification module 200 has a higher power supply efficiency due to a smaller voltage difference when boosting.
As shown in fig. 5, in one embodiment, the power module 100 includes a battery unit 101 and a voltage dropping unit 102, the battery unit 101 is connected to the switch module 300 for outputting a first voltage Vbat; the voltage reduction unit 102 is respectively connected to the battery unit 101 and the switch module 300, and is configured to perform voltage reduction processing on the first voltage Vbat output by the battery unit 101 and output a second voltage Vph.
As shown in fig. 2, in one embodiment, the power amplification module 200 includes a power amplifier 201, a boosting unit 202, and a detection unit 203. The power amplifier 201(amplifier, AP) is configured to perform an amplification process on an audio and output the audio, and the boosting unit 202 is configured to boost a first voltage Vbat output by the power module 100 through a first power supply path or a second voltage Vph output by a second power supply path to a power supply voltage Vbst required by the power amplifier 201, so as to supply power to the power amplifier 201. The detection unit 203 is configured to monitor the power supply voltage Vbst output by the voltage boost unit 202 in real time, and output a feedback signal to the control unit based on the detected power supply voltage Vbst, and the control unit controls the switch module 300 according to the power supply voltage Vbst fed back by the feedback signal. For example, the electronic device may be a serial dual-battery mobile phone, the first voltage Vbat output by the power module 100 is 7-8.8V, the first voltage Vbat is processed by the voltage-reducing unit 102 and then outputs the second voltage Vph, where the second voltage Vph may be 3.5-4.4V, and when the power supply voltage Vbst of the power amplification module 200 is 6-7V, the control module 400 controls the switch module 300 to conduct the second power supply path, turns off the first power supply path, outputs the second voltage Vph to the voltage-boosting unit 202 of the power amplification module 200 for boosting, and the voltage-boosted unit 202 outputs the voltage after boosting to the power amplifier 201 to supply power to the power amplifier; when the power supply voltage Vbst of the power amplification module 200 is 7-10V, the control module 400 controls the switch module 300 to turn on the first power supply path, turn off the second power supply path, output the first voltage Vbat to the boosting unit 202 of the power amplification module 200 for boosting, and the boosting unit 202 outputs the boosted voltage to the power amplifier 201 to supply power to the power amplifier.
In one embodiment, in order to ensure the playing quality of the audio signal, the power of the amplified signal may also change in real time, and in order to meet the power that changes in real time, the power supply voltage Vbst also needs to be adaptively adjusted, so that the voltage boost unit 202 needs to adjust the target value of the power supply voltage Vbst according to the audio signal, that is, adjust the voltage value to which the voltage boost unit 202 boosts, so as to meet the requirement of the power amplifier 201.
As shown in fig. 3, in one embodiment, the power amplification module 200 further includes a protection unit 204. The protection unit 204 is configured to detect an output of the power amplifier 201, and when an output abnormality (e.g., a damaged output stage, an overvoltage, a short circuit, etc.) of the power amplifier 201 is detected, disconnect the power amplifier 201 from the load to protect the power amplifier 201 and/or the load from being damaged. In one embodiment, the load may be a speaker, microphone, or the like.
In one embodiment, the power amplification module 200 may employ a Smart power amplifier (Smart PA).
As shown in FIG. 4, in one embodiment, the control module 400 includes a comparator 401 and a reference power supply 402. The comparator 401 is connected to the power amplification module 200 and the switch module 300, respectively, and outputs a first control signal V1 or a second control signal V2 to the switch module 300 according to the supply voltage Vbst of the power amplification module 200 and the reference voltage Vref output by the reference power source 402, the switch module 300 turns on the first power supply path when receiving the first control signal V1, and the switch module 300 turns on the second power supply path when receiving the second control signal V2. For example, if the reference voltage Vref is 7V, when the supply voltage Vbst is greater than 7V, the comparator 401 outputs the first control signal V1; when the supply voltage Vbst is less than 7V, the comparator 401 outputs the second control signal V2.
In one embodiment, the comparator 401 is included as a hysteresis comparator 401. Two input ends of the hysteresis comparator 401 are respectively used for inputting the power supply voltage Vbst and the reference voltage Vref, as shown in fig. 6, when the power supply voltage Vbst is greater than the upper threshold voltage Vmax of the hysteresis comparator 401, the hysteresis comparator 401 outputs a first control signal V1; when the supply voltage Vbst is less than the lower threshold voltage Vmin of the hysteresis comparator 401, the hysteresis comparator 401 outputs the second control signal V2; when the power supply voltage Vbst is between the upper threshold voltage Vmax and the lower threshold voltage Vmin, the original state is maintained, that is, if the hysteresis comparator 401 outputs the first control signal V1, the original state is maintained. The upper threshold voltage Vmax of the hysteresis comparator 401 is greater than the reference voltage Vref output by the reference power supply 402, and the lower threshold voltage Vmin of the hysteresis comparator 401 is less than the reference voltage Vref output by the reference power supply 402. The hysteresis comparator 401 is adopted to realize the switching and conducting control of the switch module 300, and the system stability can be ensured.
As shown in fig. 7, in one embodiment, the switch module 300 includes a first electronic switch Q1 and a second electronic switch Q2. The first terminal of the first electronic switch Q1 is connected to the battery cell 101, the second terminal of the first electronic switch Q1 is connected to the power supply terminal of the power amplification module 200, and the controlled terminal of the first electronic switch Q1 is connected to the control module 400, so that when the first electronic switch Q1 is turned on, the power supply path (first power supply path) between the battery cell 101 and the power amplification module 200 is turned on. A first terminal of the second electronic switch Q2 is connected to the output terminal of the voltage-reducing unit 102, a second terminal of the second electronic switch Q2 is connected to the power amplification module 200, and a controlled terminal of the second electronic switch Q2 is connected to the control module 400, so that when the second electronic switch Q2 is turned on, a power supply path (a second power supply path) between the battery unit 101 and the power amplification module 200 via the voltage-reducing unit 102 is turned on.
In one embodiment, the first electronic switch Q1 and the second electronic switch Q2 may be MOS transistors, specifically, the first electronic switch Q1 may be an NMOS transistor, the second electronic switch Q2 may be a PMOS transistor, the first control signal V1 is at a high level, the controlled terminal of the first electronic switch Q1 is turned on when receiving the first control signal V1, and the controlled terminal of the second electronic switch Q2 is turned off when receiving the high level; the second control signal V2 is low, and the controlled terminal of the first electronic switch Q1 is turned off when receiving the second control signal V2, and the controlled terminal of the second electronic switch Q2 is turned on when receiving low. In one embodiment, the first electronic switch Q1 may also be a PMOS transistor, the second electronic switch Q2 may be an NMOS transistor, the first control signal V1 is low, the controlled terminal of the first electronic switch Q1 is turned on when receiving the first control signal V1, and the controlled terminal of the second electronic switch Q2 is turned off when receiving the low level; the second control signal V2 is high, and the controlled terminal of the first electronic switch Q1 is turned off when receiving the second control signal V2, and the controlled terminal of the second electronic switch Q2 is turned on when receiving the high level. Because the MOS tube has low impedance, large current can be led in, overcurrent damage is not easy to occur, and the loss of power supply is low. It is understood that the first electronic switch Q1 and the second electronic switch Q2 may also be switches such as transistors, IGBTs, etc.
As shown in fig. 8, in one embodiment, a power supply control method is further provided, which is described by taking the method as an example for being applied to the power supply circuit, and the method includes:
step 802, obtaining a power supply voltage Vbst of a power amplification module; the power amplification module is used for amplifying the audio signal;
step 804, controlling the switch module to switch on a first power supply path or a second power supply path between the power supply module and the power amplification module according to the power supply voltage Vbst so as to output a target voltage suitable for supplying power to the power amplification module; the target voltage is the voltage with smaller voltage difference with the power supply voltage Vbst in the first voltage Vbat and the second voltage Vph;
the first power supply path is used for outputting a first voltage Vbat to the power amplification module, and the second power supply path is used for outputting a second voltage Vph to the power amplification module; the first voltage Vbat is a power supply voltage directly output by the power supply module, and the second voltage Vph is smaller than the first voltage Vbat.
For specific limitations of the power supply control method, reference may be made to the above limitations of the power supply circuit, which are not described herein again. It should be understood that, although the steps in the flowchart of fig. 8 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in fig. 8 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least a portion of the other steps or stages.
In one embodiment, an electronic device is further provided, which includes a speaker and the power supply circuit as described in the above embodiments, and a power amplification module in the power supply circuit is connected to the speaker and is configured to send an amplified signal to the speaker. Based on the fact that a power supply in the electronic device can step down and then output a second voltage Vph for supplying power to each device when supplying power, the power supply circuit controls the switch module 300 to switch on the first power supply path or the second power supply path between the power supply module 100 and the power amplification module 200 according to the power supply voltage Vbst of the power amplification module 200 so as to output a target voltage which is suitable for supplying power to the power amplification module 200 and has a smaller voltage difference with the power supply voltage Vbst, and the power amplification module 200 has a higher power supply efficiency due to a smaller voltage difference when boosting.
In one embodiment, an electronic device is provided, comprising a power supply module 100, a power amplification module 200, a memory having a computer program stored therein, and a processor implementing the following steps when executing the computer program:
step 802, obtaining a power supply voltage Vbst of a power amplification module; the power amplification module is used for amplifying the audio signal;
step 804, controlling the switch module to switch on a first power supply path or a second power supply path between the power supply module and the power amplification module according to the power supply voltage Vbst so as to output a target voltage suitable for supplying power to the power amplification module; the target voltage is the voltage with smaller voltage difference with the power supply voltage Vbst in the first voltage Vbat and the second voltage Vph;
the first power supply path is used for outputting a first voltage Vbat to the power amplification module, and the second power supply path is used for outputting a second voltage Vph to the power amplification module; the first voltage Vbat is a power supply voltage directly output by the power supply module, and the second voltage Vph is smaller than the first voltage Vbat.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which when executed by a processor performs the steps of:
step 802, obtaining a power supply voltage Vbst of a power amplification module; the power amplification module is used for amplifying the audio signal;
step 804, controlling the switch module to switch on a first power supply path or a second power supply path between the power supply module and the power amplification module according to the power supply voltage Vbst so as to output a target voltage suitable for supplying power to the power amplification module; the target voltage is the voltage with smaller voltage difference with the power supply voltage Vbst in the first voltage Vbat and the second voltage Vph;
the first power supply path is used for outputting a first voltage Vbat to the power amplification module, and the second power supply path is used for outputting a second voltage Vph to the power amplification module; the first voltage Vbat is a power supply voltage directly output by the power supply module, and the second voltage Vph is smaller than the first voltage Vbat.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
Referring to fig. 9, fig. 9 is a block diagram of a partial structure related to an electronic device provided in an embodiment of the present application. The electronic device may include components such as a radio frequency circuit 590, a memory 550 including one or more computer-readable storage media, an input unit 580, a display unit 570, a sensor 560, an audio circuit 530, a Wireless Fidelity (WiFi) module 520, a processor 510 including one or more processing cores, and a power module 100. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 9 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The radio frequency circuit 590 may be configured to receive and transmit information or receive and transmit signals during a call, and may receive downlink information of a base station and then process the downlink information to the processor 510; the uplink data may also be transmitted to the base station.
The memory 550 may be used for storing applications and data. The memory 550 stores applications containing executable code. The application programs may constitute various functional modules. The processor 510 executes various functional applications and data processing by running an application program stored in the memory 550. The memory 550 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the electronic device, and the like. Further, the memory 550 may include high speed random access memory 550, and may also include non-volatile memory 550, such as at least one piece of disk memory 550, flash memory device, or other piece of volatile solid state memory 550. Accordingly, the memory 550 may also include a memory 550 controller to provide the processor 510 and the input unit 580 access to the memory 550.
The input unit 580 may be used to receive input numbers, character information, or user characteristic information, such as a fingerprint, and generate a keyboard, mouse, joystick, optical, or trackball signal input in connection with user setting and function control. In particular, in one particular embodiment, the input unit 580 may include a touch-sensitive surface 551 as well as other input devices 552. Touch-sensitive surface 551, also referred to as a touch screen or touchpad, may collect user touch operations on or near the touch-sensitive surface 551 (such as user operations on or near the touch-sensitive surface 551 using a finger, a stylus, or any suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch-sensitive surface 551 may comprise two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 510, and can receive and execute commands sent by the processor 510.
The display unit 570 may be used to display information input by or provided to a user and various graphical user interfaces of the electronic device, which may be made up of graphics, text, icons, video, and any combination thereof. The display unit 570 may include a display panel 571. Alternatively, the Display panel 571 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, touch-sensitive surface 551 may overlay display panel 571, and when touch operation is detected on or near touch-sensitive surface 551, processor 510 may transmit the touch operation to determine the type of touch event, and processor 510 may provide corresponding visual output on display panel 571 according to the type of touch event. Although in FIG. 9, the touch-sensitive surface 551 and the display panel 571 are shown as two separate components to implement input and output functions, in some embodiments, the touch-sensitive surface 551 and the display panel 571 may be integrated to implement input and output functions. It is understood that the display screen may include an input unit 580 and a display unit 570.
The electronic device may also include at least one sensor 560, such as a light sensor 560, a motion sensor 560, and other sensors 560. Specifically, the light sensor 560 may include an ambient light sensor 560 and a proximity sensor 560, wherein the ambient light sensor 560 may adjust the brightness of the display panel 571 according to the brightness of the ambient light, and the proximity sensor 560 may turn off the display panel 571 and/or the backlight when the electronic device is moved to the ear. As one of the motion sensors 560, the gravitational acceleration sensor 560 may detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when stationary, and may be used for applications of recognizing gestures of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer, tapping), and the like; as for other sensors 560 such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor 560, which may be further configured to the electronic device, detailed descriptions thereof are omitted.
The audio circuit 530 may provide an audio interface between a user and the electronic device through a speaker 531, a microphone 532. The audio circuit 530 can convert the received audio data into an electrical signal, transmit the electrical signal to the speaker 531, and convert the electrical signal into a sound signal by the speaker 531 for output; on the other hand, the microphone 532 converts the collected sound signals into electrical signals, which are received by the audio circuit 530 and converted into audio data, which are then processed by the audio data output processor 510, and then transmitted to another electronic device via the rf circuit, or output to the memory 550 for further processing. The audio circuit 530 may also include an earphone jack to provide communication of a peripheral earphone with the electronic device.
The wireless fidelity (WiFi) module belongs to a short-distance wireless transmission technology, and the electronic device can help a user receive e-mails, browse webpages, access streaming media and the like through the wireless fidelity module 520, and provides wireless broadband internet access for the user. Although fig. 9 shows the wireless fidelity module 520, it is understood that it does not belong to the essential constitution of the electronic device, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 510 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing an application program stored in the memory 550 and calling data stored in the memory 550, thereby integrally monitoring the electronic device. Optionally, processor 510 may include one or more processing cores; preferably, the processor 510 may integrate the application processor 510 and the modem processor 510, wherein the application processor 510 mainly handles operating systems, user interfaces, application programs, and the like, and the modem processor 510 mainly handles wireless communications. It will be appreciated that the modem processor 510 described above may not be integrated into the processor 510.
The electronic device also includes a power module 100 that provides power to the various components. In one embodiment, the power module 100 may be logically connected to the processor through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The power module 100 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown in fig. 9, the electronic device may further include a bluetooth module or the like, which is not described herein. In specific implementation, the above modules may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and specific implementation of the above modules may refer to the foregoing method embodiments, which are not described herein again.
In the description herein, references to the description of "some embodiments," "other embodiments," "desired embodiments," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, a schematic description of the above terminology may not necessarily refer to the same embodiment or example.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (12)

1. A power supply circuit, comprising:
a power supply module;
the power amplification module is used for receiving the audio signal and amplifying the audio signal so as to output an amplified signal;
the switch module is respectively connected with the power amplification module and the power supply module and used for switching and conducting a first power supply path or a second power supply path between the power supply module and the power amplification module, wherein the first power supply path is used for outputting a first voltage to the power amplification module, the second power supply path is used for outputting a second voltage to the power amplification module, the first voltage is a power supply voltage directly output by the power supply module, and the second voltage is smaller than the first voltage;
the control module is respectively connected with the power amplification module and the switch module and is used for acquiring the power supply voltage of the power amplification module and controlling the switch module to conduct the first power supply path or the second power supply path according to the power supply voltage so as to output a target voltage suitable for supplying power to the power amplification module; the target voltage is a voltage with a smaller voltage difference with the power supply voltage in the first voltage and the second voltage.
2. The power supply circuit according to claim 1, wherein the power amplification module comprises:
the power amplifier is used for amplifying the audio signal and outputting an amplified signal;
the boosting unit is respectively connected with the switch module and the power amplifier and is used for boosting the received first voltage or the second voltage so as to supply power to the power amplification module;
and the detection unit is respectively connected with the boosting unit and the control module and is used for detecting the power supply voltage output by the boosting unit and outputting a feedback signal to the control unit.
3. The power supply circuit of claim 2, wherein the boost unit is further configured to adjust a target value of the supply voltage according to the audio signal.
4. The power supply circuit of claim 2, wherein the power amplification module further comprises:
and the protection unit is connected with the power amplifier and used for cutting off the connection between the power amplifier and a load when the power amplifier output is detected to be abnormal.
5. The power supply circuit of claim 1, wherein the control module comprises:
the comparator is respectively connected with the power amplification module and the switch module and is used for outputting a first control signal or a second control signal according to the power supply voltage and a preset reference voltage;
the reference power supply is connected with the comparator and used for outputting reference voltage;
the switch module is used for conducting the first power supply path when receiving the first control signal and conducting the second power supply path when receiving the second control signal.
6. The power supply circuit according to claim 5, wherein the comparator is a hysteresis comparator;
the hysteresis comparator is used for outputting the first control signal when the power supply voltage is greater than an upper threshold voltage, outputting the second control signal when the power supply voltage is less than a lower threshold voltage, and maintaining the current state unchanged when the power supply voltage is between the upper threshold voltage and the lower threshold voltage; the upper threshold voltage is greater than the reference voltage, and the lower threshold voltage is less than the reference voltage.
7. The power supply circuit of claim 1, wherein the power supply module comprises:
the battery unit is connected with the switch module and used for outputting a first voltage;
and the voltage reduction unit is respectively connected with the battery unit and the switch module and is used for reducing the voltage of the first voltage and outputting a second voltage.
8. The power supply circuit of claim 7, wherein the switch module comprises a first electronic switch and a second electronic switch;
the first end of the first electronic switch is connected with the battery unit, the second end of the first electronic switch is connected with the power amplification module, and the controlled end of the first electronic switch is connected with the control module;
the first end of the second electronic switch is connected with the output end of the voltage reduction unit, the second end of the second electronic switch is connected with the power amplification module, and the controlled end of the second electronic switch is connected with the control module.
9. A power supply control method, comprising:
acquiring a power supply voltage of a power amplification module; the power amplification module is used for amplifying the audio signal;
controlling a switch module to switch on a first power supply path or a second power supply path between a power supply module and the power amplification module according to the power supply voltage so as to output a target voltage suitable for supplying power to the power amplification module; the target voltage is the voltage with smaller voltage difference with the power supply voltage in the first voltage and the second voltage;
the first power supply path is used for outputting a first voltage to the power amplification module, and the second power supply path is used for outputting a second voltage to the power amplification module; the first voltage is a power supply voltage directly output by the power supply module, and the second voltage is smaller than the first voltage.
10. An electronic device, comprising:
a speaker; and
a supply circuit as claimed in any one of claims 1 to 8, wherein a power amplification module in the supply circuit is connected to the loudspeaker for sending an amplified signal to the loudspeaker.
11. An electronic device, comprising: a power supply module, a power amplification module, a memory, and a processor, the memory storing a computer program, wherein the processor when executing the computer program implements the steps of the method of claim 9.
12. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method as claimed in claim 9.
CN202110011377.7A 2021-01-06 2021-01-06 Power supply circuit, power supply control method, electronic device, and storage medium Active CN112787607B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110011377.7A CN112787607B (en) 2021-01-06 2021-01-06 Power supply circuit, power supply control method, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110011377.7A CN112787607B (en) 2021-01-06 2021-01-06 Power supply circuit, power supply control method, electronic device, and storage medium

Publications (2)

Publication Number Publication Date
CN112787607A true CN112787607A (en) 2021-05-11
CN112787607B CN112787607B (en) 2024-06-18

Family

ID=75755658

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110011377.7A Active CN112787607B (en) 2021-01-06 2021-01-06 Power supply circuit, power supply control method, electronic device, and storage medium

Country Status (1)

Country Link
CN (1) CN112787607B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114744606A (en) * 2022-04-08 2022-07-12 Oppo广东移动通信有限公司 Power supply system, wireless communication device, and power supply method
CN116389976A (en) * 2021-08-19 2023-07-04 荣耀终端有限公司 Method for improving external sound effect and related device
CN116634541A (en) * 2023-07-19 2023-08-22 荣耀终端有限公司 Power supply circuit, power supply method and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0918240A (en) * 1995-06-30 1997-01-17 Sanyo Electric Co Ltd Amplifier circuit
US20140167842A1 (en) * 2012-12-13 2014-06-19 Mediatek Inc. Power circuit and method thereof
US9634621B1 (en) * 2013-09-24 2017-04-25 Cirrus Logic, Inc. Charge-pump power supply with voltage-headroom-dependent supply voltage
US20180152785A1 (en) * 2016-11-28 2018-05-31 Motorola Solutions, Inc. Audio power circuit and method
US10283989B1 (en) * 2018-01-30 2019-05-07 Apple Inc. Electrical power converter and detachable energy storage reservoir
CN111541429A (en) * 2020-05-25 2020-08-14 延锋汽车饰件系统有限公司 Power supply control circuit of power amplifier and audio equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0918240A (en) * 1995-06-30 1997-01-17 Sanyo Electric Co Ltd Amplifier circuit
US20140167842A1 (en) * 2012-12-13 2014-06-19 Mediatek Inc. Power circuit and method thereof
US9634621B1 (en) * 2013-09-24 2017-04-25 Cirrus Logic, Inc. Charge-pump power supply with voltage-headroom-dependent supply voltage
US20180152785A1 (en) * 2016-11-28 2018-05-31 Motorola Solutions, Inc. Audio power circuit and method
US10283989B1 (en) * 2018-01-30 2019-05-07 Apple Inc. Electrical power converter and detachable energy storage reservoir
CN111541429A (en) * 2020-05-25 2020-08-14 延锋汽车饰件系统有限公司 Power supply control circuit of power amplifier and audio equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116389976A (en) * 2021-08-19 2023-07-04 荣耀终端有限公司 Method for improving external sound effect and related device
CN116389976B (en) * 2021-08-19 2023-12-01 荣耀终端有限公司 Method for improving external sound effect and related device
CN114744606A (en) * 2022-04-08 2022-07-12 Oppo广东移动通信有限公司 Power supply system, wireless communication device, and power supply method
CN116634541A (en) * 2023-07-19 2023-08-22 荣耀终端有限公司 Power supply circuit, power supply method and electronic equipment
CN116634541B (en) * 2023-07-19 2023-11-07 荣耀终端有限公司 Power supply circuit, power supply method and electronic equipment

Also Published As

Publication number Publication date
CN112787607B (en) 2024-06-18

Similar Documents

Publication Publication Date Title
CN112787607B (en) Power supply circuit, power supply control method, electronic device, and storage medium
KR102258143B1 (en) Charging circuit for electronic device
KR102216484B1 (en) Method and Apparatus for Controlling Battery Charging
KR102175103B1 (en) Low power driving method and electric device performing thereof
CN106786962B (en) Charging control method and device and terminal
KR102599383B1 (en) Electronic device for displaying an executable application on a split screen and method for the same
US20150280457A1 (en) Method for charging battery and electronic device
CN108631401B (en) Charging circuit, method, electronic device, and storage medium
CN111681621B (en) Communication method and driving structure of time schedule controller and power management chip
CN111092621B (en) Radio frequency circuit, control method and electronic equipment
CN109164858B (en) Method and electronic device for controlling current
CN110045807B (en) Voltage control method and terminal
WO2018129991A1 (en) Charging method, charging device and terminal
CN108829553B (en) Universal serial bus C-type interface detection circuit, detection method and electronic equipment
WO2017161587A1 (en) Power supply circuit for load, and terminal
CN106532876B (en) Power supply control method and device and computer equipment
CN107749277B (en) Screen brightness control method and device and mobile terminal
CN111369942B (en) Driving voltage adjusting method and electronic device
US20130009920A1 (en) Image display method and apparatus
CN113098109A (en) Charging circuit, electronic device and charging method
CN110190641B (en) Charging control circuit, terminal equipment and data line
KR20160001093A (en) Method for controlling switching regulator and electronic device
CN109768593B (en) Charging protection method and terminal equipment
CN107749751B (en) Mobile terminal power supply system and mobile terminal
CN216056362U (en) Power supply device and display apparatus

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
GR01 Patent grant
GR01 Patent grant