Disclosure of Invention
In order to solve the technical problems, embodiments of the present application provide a power supply circuit, an electronic device, and a power supply method that can effectively eliminate a current pumping phenomenon caused by a load circuit.
In a first aspect, the present application provides a power supply circuit, including an energy storage module, a power amplification circuit, a voltage stabilizing circuit, a first output end and a second output end, where the amplification input end of the power amplification circuit is electrically connected to the energy storage module, the amplification output end of the power amplification circuit is respectively connected to the first output end and the second output end, the voltage stabilizing circuit is electrically connected to the amplification input end, the energy storage module is used for storing electric energy and providing a power signal for the power amplification circuit, the power amplification circuit is used for receiving and amplifying the power signal and transmitting the power signal to the first output end and the second output end, and the voltage stabilizing circuit is used for outputting a supplemental power signal to the power amplification circuit when the current of the first output end is greater than a preset threshold current and the stored electric quantity of the energy storage module is less than a preset electric quantity.
When the current of the first output end is larger than the preset threshold current and the stored electric quantity of the energy storage module is smaller than the preset electric quantity, the voltage stabilizing circuit outputs a supplementary power signal to the power amplifying circuit, so that the problem that the working voltage of the power management circuit is reduced when the load circuit pumps current is effectively solved, and the voltage stability of the power amplifying circuit and the power management circuit is improved.
The control module is used for controlling the compensation module to output a supplementary power signal to the power amplifying circuit when the current of the first output end is larger than a preset threshold value and the stored electric quantity of the energy storage module is smaller than the preset electric quantity, wherein the voltage of the amplifying input end is smaller than or equal to a first preset voltage when the current of the first output end is larger than the preset threshold value.
When the current of the first output end is larger than the preset threshold current and the stored electric quantity of the energy storage module is smaller than the preset electric quantity, the control module can control the compensation module to output a supplementary power signal to the power amplification circuit, and the supplementary power signal is used for compensating the load circuit through the power amplification circuit.
Optionally, the compensation module comprises a first capacitor, the first capacitor is connected between the power voltage end and the ground end, the control module comprises a first switch tube, the control end of the first switch tube is electrically connected with the reference voltage end, the first conductive end of the first switch tube is electrically connected with the amplifying input end of the power amplifying circuit, the second conductive end of the first switch tube is electrically connected with the first capacitor, the first switch tube is used for receiving the reference voltage from the reference voltage end when the electric quantity stored by the energy storage module is smaller than the preset electric quantity and is conducted when the current of the first output end is larger than the preset threshold current, and the first capacitor outputs the supplementary power signal to the amplifying input end through the first switch tube.
Optionally, when the voltage of the amplifying input end is smaller than or equal to a first preset voltage, the voltage difference between the reference voltage end and the amplifying input end is larger than the preset voltage difference, so as to control the first switch tube to be turned on, and the preset voltage difference is the threshold voltage of the first switch tube.
When the current of the first output end is larger than a preset threshold current, the voltage of the amplifying output end is reduced due to current pumping of the power amplifying circuit, and when the voltage of the amplifying input end is reduced and smaller than a first preset voltage, the first switch tube is conducted under the control of the reference voltage and the voltage of the amplifying input end, and the first capacitor outputs a complementary power supply signal to the power amplifying circuit through the first switch tube and is used for compensating the load circuit.
Optionally, the control module comprises a sampling unit, a comparing unit and an adjusting unit, wherein the sampling unit is electrically connected with the amplifying input end and the comparing unit, the comparing unit is electrically connected with the reference voltage end and the adjusting unit, the adjusting unit is electrically connected with the compensating module and the amplifying input end, the sampling unit is used for collecting the voltage of the amplifying input end and transmitting the voltage to the comparing unit, the comparing unit is used for outputting a first control signal to the adjusting unit when the voltage of the amplifying input end is smaller than or equal to a first preset voltage, and outputting a second control signal to the adjusting unit when the voltage of the amplifying input end is larger than the first preset voltage, the adjusting unit receives the supplementary power signal from the compensating module according to the first control signal and transmits the supplementary power signal to the amplifying input end, and the adjusting unit stops receiving the supplementary power signal from the compensating module according to the second control signal.
Optionally, the sampling unit includes a first resistor, a second resistor and a sampling node, the first resistor is electrically connected between the amplifying input terminal and the sampling node, the second resistor is electrically connected between the sampling node and the ground terminal, and the first resistor and the second resistor are used for sampling the voltage of the amplifying input terminal.
Optionally, the comparing unit comprises an operational amplifier, the adjusting unit comprises a second switching tube, the positive phase end of the operational amplifier is electrically connected with the sampling node, the negative phase end of the operational amplifier is electrically connected with the reference voltage end, the output end of the operational amplifier is electrically connected with the control end of the second switching tube, the first conducting end of the second switching tube is electrically connected with the compensation module, the second conducting end of the second switching tube is electrically connected with the amplifying input end, the operational amplifier outputs a first control signal to the second switching tube to control the second switching tube to be conducted when the voltage of the sampling node is smaller than or equal to the voltage of the reference voltage end, and the operational amplifier outputs a second control signal to the second switching tube when the voltage of the sampling node is larger than the voltage of the reference voltage end.
Optionally, the power supply circuit further comprises a charge-discharge management circuit and a voltage conversion circuit, wherein the charge-discharge management circuit is electrically connected with the energy storage module and the voltage conversion circuit, the voltage conversion circuit is electrically connected with the amplifying input end, the charge-discharge management circuit is used for controlling the energy storage module to store electric energy and output power supply signals, and the voltage conversion circuit is used for performing voltage conversion on the power supply signals and transmitting the power supply signals to the voltage stabilizing circuit and the power amplifying circuit.
In a second aspect, the present application further provides an electronic device, including a load circuit, a power management circuit, and the foregoing power supply circuit, where a first output end of the power supply circuit is electrically connected to the load circuit, a second output end of the power supply circuit is electrically connected to the power management circuit, and the power supply circuit is configured to maintain a voltage output by the second output end to the power management circuit when a load current drawn by the load circuit is greater than a preset threshold current.
The load circuit is supplemented with a preset charge quantity when the load circuit is larger than a preset threshold current through the power supply circuit, so that the influence on the working voltage in the power management circuit when the load circuit is used for pumping current can be effectively eliminated, and the working stability of the power management circuit is improved.
The application further provides a power supply method applied to the power supply circuit, which comprises the steps of judging the electric quantity of the energy storage module, and controlling the voltage stabilizing circuit to start and output a complementary power supply signal to the power amplifying circuit if the electric quantity of the energy storage module is smaller than the preset electric quantity and the current of the first output end is larger than the preset threshold current.
Optionally, the method further includes determining a voltage of the amplifying input end of the power amplifying circuit, and if the electric quantity of the energy storage module is smaller than a preset electric quantity and the voltage of the amplifying input end is smaller than a first preset voltage, controlling the voltage stabilizing circuit to start and output a supplementary power signal to the power amplifying circuit.
Optionally, the step of controlling the voltage stabilizing circuit to start and output the supplementary power signal to the power amplifying circuit includes providing a reference voltage for the voltage stabilizing circuit when the electric quantity stored by the energy storage module is smaller than a preset electric quantity, and outputting the supplementary power signal to the amplifying input end when the voltage of the amplifying input end is smaller than the first preset voltage and the difference between the voltage of the amplifying input end and the reference voltage is larger than a preset voltage difference.
Optionally, the electric quantity stored in the energy storage module is equal to or greater than a preset electric quantity, or the second output end is greater than or equal to the first preset voltage, and the voltage stabilizing circuit stops outputting the supplementary power signal to the amplifying input end.
Compared with the prior art, in the power supply circuit provided by the application, the voltage stabilizing circuit is arranged at the amplifying input end of the power amplifying circuit, and when the electric quantity of the energy storage module is smaller than the preset electric quantity and the current of the first output end is larger than the preset threshold current, the voltage stabilizing circuit is controlled to output the supplementary power supply signal to the power amplifying circuit, so that the electric quantity required by the load current when the load current is used for pumping the current can be effectively compensated, the influence on the working voltage of the power amplifying circuit when the load circuit is used for pumping the current is effectively avoided, the influence on the working voltage of the power management circuit is further avoided, the undervoltage protection of the power management circuit is prevented from being caused, and the working stability of the power management circuit is effectively improved.
It should be appreciated that the technical effects obtained by the technical solutions of the second aspect to the third aspect of the embodiments of the present application may be referred to the technical effects of the first aspect and the corresponding possible embodiments thereof, which are not described herein.
Detailed Description
For the purpose of clarity in describing the technical solution of the present application, the words "first", "second", etc. are used to distinguish between identical items or similar items having substantially the same function and effect. It will be appreciated by those of skill in the art that the words "first," "second," and the like do not limit the amount and order of execution, and that the words "first," "second," and the like do not necessarily differ.
Reference in the specification to "one embodiment" or "some embodiments" or the like means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
Before explaining the power supply circuit provided by the embodiment of the application in detail, an application scenario of the power supply circuit is described.
The power supply circuit is applied to the electronic equipment. The electronic device of the embodiment of the application can comprise a handheld device, a vehicle-mounted device and the like with an image processing function. For example, some electronic devices are, but are not limited to, cell phones (mobilephone), tablet computers, palmtop computers, notebook computers, mobile internet devices (mobileinternetdevice, MID), wearable devices, virtual reality (virtualreality, VR) devices, augmented reality (augmentedreality, AR) devices, wireless terminals in industrial control (industrialcontrol), wireless terminals in unmanned (selfdriving), wireless terminals in tele-surgery (remotemedicalsurgery), wireless terminals in smart grid (smartgrid), wireless terminals in transportation security (transportationsafety), wireless terminals in smart city (smartcity), wireless terminals in smart home (smarthome), cellular phones, cordless phones, session initiation protocol (sessioninitiationprotocol, SIP) phones, wireless local loop (wirelesslocalloop, WLL) stations, personal Digital Assistants (PDAs), handheld devices with wireless communication capabilities, computing devices or other processing devices connected to wireless modems, vehicle-mounted devices, terminal devices in 5G networks or terminals in future evolving public land mobile communication networks (publiclandmobilenetwork, PLMN).
By way of example, and not limitation, in embodiments of the application, the electronic device may also be a wearable device. The wearable device can also be called as a wearable intelligent device, and is a generic name for intelligently designing daily wear by applying wearable technology and developing wearable devices, such as glasses, gloves, watches, clothes, shoes and the like. The wearable device is a portable device that is worn directly on the body or integrated into the clothing or accessories of the user. The wearable device is not only a hardware device, but also can realize a powerful function through software support, data interaction and cloud interaction. The generalized wearable intelligent device comprises full functions, large size and complete or partial functions which can be realized independently of a smart phone, such as a smart watch, a smart glasses and the like, and is only focused on certain application functions, and needs to be matched with other devices such as the smart phone for use, such as various smart bracelets, smart jewelry and the like for physical sign monitoring.
In addition, in the embodiment of the application, the electronic equipment can also be terminal equipment in an internet of things (internetofthings, ioT) system, and the IoT is an important component of the development of future information technology, and the main technical characteristics are that the article is connected with the network through a communication technology, so that an intelligent network for man-machine interconnection and internet of things interconnection is realized.
The electronic device in the embodiments of the present application may also be referred to as a terminal device, a User Equipment (UE), a Mobile Station (MS), a mobile terminal (mobileterminal, MT), an access terminal, a subscriber unit, a subscriber station, a mobile station, a remote terminal, a mobile device, a user terminal, a wireless communication device, a user agent, or a user equipment, etc.
In an embodiment of the application, an electronic device includes a hardware layer, an operating system layer running on top of the hardware layer, and an application layer running on top of the operating system layer. The hardware layer includes hardware such as a central processing unit (centralprocessingunit, CPU), a memory management unit (memorymanagementunit, MMU), and a memory (also referred to as a main memory). The operating system may be any one or more computer operating systems that implement business processes through processes (processes), such as a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system, or a windows operating system. The application layer comprises applications such as a browser, an address book, word processing software, instant messaging software and the like.
Referring to fig. 1, fig. 1 is a schematic diagram of an explosion structure of an electronic device 100 according to an embodiment of the application.
As shown in fig. 1, the electronic apparatus 100 includes a display screen 11, a rear cover 12, a center 13, a wiring board 14, and a battery 15. Wherein, the middle frame 13, the circuit board 14 and the battery 15 are arranged between the display screen 11 and the rear cover 12. The wiring board 14 and the battery 15 may be provided on the center 13, for example, the wiring board 14 and the battery 15 may be provided on a side of the center 13 facing the rear cover 12. In other embodiments, the circuit board 14 and the battery 15 may also be disposed on a side of the middle frame 13 facing the display screen 11.
The battery 15 may be connected to other devices through a charge and discharge management chip (not shown in the drawings). The charge and discharge management chip may receive the electric power output from the battery 15 and supply power to a processor, an internal memory, an external memory, the display 11, a camera, a communication module, and the like in the electronic device 100. The charge and discharge management chip can also be used for monitoring parameters such as battery capacity, battery cycle times, battery health status (electric leakage, impedance) and the like. The charge and discharge management chip may also receive externally input power to charge the battery 15. In some embodiments, the charge and discharge management chip may be integrated into the wiring board 14.
The display 11 may be an organic light emitting diode (organiclightemittingdiode, OLED) display or a Liquid Crystal Display (LCD). It should be appreciated that the display screen 11 may include a display for outputting display content to a user and a touch device for receiving touch events entered by the user on the display screen 11.
The rear cover 12 may be a metal rear cover, a glass rear cover, a plastic rear cover, or a ceramic rear cover, and in the embodiment of the present application, the material of the rear cover 12 is not limited.
The middle frame 13 may include a metal plate 131 and a rim. Wherein, the frame is enclosed at the outer edge of the metal plate 131. Generally, the bezel may be a square. For example, the rims may include a top rim 132 and a bottom rim 133 disposed opposite to each other, and a left rim 134 and a right rim 135 disposed between the top rim 132 and the bottom rim 133 and disposed opposite to each other. In this embodiment, the side surfaces of the middle frame 13 are the surfaces surrounded by the top frame 132, the bottom frame 133, the left frame 134 and the right frame 135. The metal plate 131 may be an aluminum plate, an aluminum alloy, or a magnesium alloy. Each frame can be a metal frame, a ceramic frame or a glass frame. The metal middle frame 13 and the frame can be welded, clamped or integrally formed, or the metal middle frame 13 and the frame are connected through plastic injection molding.
The circuit board 14 is one of the important components of the terminal equipment, and is a carrier necessary for software implementation. The wiring board 14 includes a substrate, functional devices mounted on the substrate, and other components mounted on the substrate. The functional devices include, but are not limited to, a voltage conversion circuit for converting a voltage, a power amplification circuit (poweramplifier, PA) for amplifying a signal, a camera for taking a photograph, a timing controller for controlling the display of the display screen 11, or a device for controlling the implementation of other functions (e.g., a charging function, an image processing function, etc.). The embodiment of the application is not limited to the specific functions of the functional device. Other components include, but are not limited to, resistors, capacitors, inductors, memory cards, sensors or shields, etc. The circuit board 14 may also include nuts, bolts, etc. for securing. The component may be mounted on the substrate by solder joints.
It will be appreciated that the circuit board 14 may have raised and/or recessed positions based on the various components. The specific shape of the circuit board 14, the position, the size, etc. of the components are related to the design layout of the terminal device, which is not particularly limited in the embodiment of the present application.
In some embodiments, as shown in fig. 1, a camera and a flash (not shown) may also be included in the electronic device 100. The cameras may include a front camera 161 and a rear camera 162. The rear camera 162 and the flash may be disposed on a surface of the metal plate 131 facing the rear cover 12, and the rear cover 12 is provided with a mounting hole for mounting the flash and the rear camera 162. The front camera 161 may be provided on a side of the metal plate 131 facing the display screen 11. In some embodiments, front-facing camera 161 disposed within electronic device 100 may include one or more cameras and rear-facing camera 162 may also include one or more cameras.
The related art of the present application is described below.
Referring to fig. 2, fig. 2 is a schematic diagram illustrating an internal structure of an electronic device 100 according to the related art.
As shown in fig. 2, the electronic device 100 includes an energy storage module 211, a charge-discharge management circuit 212, a voltage conversion circuit 213, and a power amplification circuit 214, a load circuit 22, and a power management circuit 23. The energy storage module 211 may be the battery 15 in fig. 1. When the electronic device 100 works, the energy storage module 211 outputs electric energy to the charge and discharge management circuit 212, wherein the charge and discharge management circuit 212 may be a charge and discharge management chip. The charge-discharge management circuit 212 operates to output an initial electrical signal to the voltage conversion circuit 213. The voltage conversion circuit 213 may voltage-convert the initial electrical signal to output to the power amplification circuit 214. The power amplifying circuit 214 is electrically connected to the load circuit 22 and the power management circuit 23, and the power amplifying circuit 214 is configured to amplify the received power signal and transmit the amplified power signal to the load circuit 22 and the power management circuit 23. The load circuit 22 may be a speaker device such as an earphone or a speaker in the electronic device 100, or may be another element with a larger peak current in the electronic device.
Since the peak current of the load circuit 22 is larger during operation, and can reach 5A or higher in an instant, the instantaneous pumping current of the power amplifying circuit 214 is larger, and since the power amplifying circuit 214 for supplying power to the load circuit 22 is disposed before the power management circuit 23, when the load circuit 22 pumps the current in the circuit, the instantaneous voltage of the power management circuit 23 is reduced, especially when the battery power is low, under-voltage protection (Undervoltage-Lockout, UVLO) may be triggered, so that the system directly cuts off the power supply, and the normal operation of the electronic device 100 is affected.
Based on this, the embodiment of the application provides a power supply circuit and an electronic device, wherein the power supply circuit is used for providing a required charge amount for a power amplifying circuit when a load circuit generates instantaneous heavy current to cause pumping current, so that the current pumping phenomenon is eliminated, and the stability of the power amplifying circuit and a power management circuit is further maintained.
Referring to fig. 3, fig. 3 is a schematic diagram illustrating an internal structure of an electronic device 100 according to an embodiment of the application.
As shown in fig. 3, the electronic device 100 includes a power supply circuit 21, a load circuit 22, and a power management circuit 23, wherein a first output out1 of the power supply circuit 21 is electrically connected to the load circuit 22, and a second output out2 of the power supply circuit 21 is electrically connected to the power management circuit 23.
The power supply circuit 21 includes an energy storage module 211, a power amplifying circuit 214 and a voltage stabilizing circuit 215, wherein an amplifying input end p1 of the power amplifying circuit 214 is electrically connected to the energy storage module 211, an amplifying output end p2 of the power amplifying circuit 214 is electrically connected to the first output end out1 and the second output end out2, the voltage stabilizing circuit 215 is electrically connected to the amplifying input end p1 of the power amplifying circuit 214, the energy storage module 211 is used for storing electric energy and providing a power signal for the power amplifying circuit 214, the power amplifying circuit 214 is used for receiving and amplifying the power signal and transmitting the power signal to the first output end out1 and the second output end out2, and the voltage stabilizing circuit 215 is used for outputting a supplementary power signal to the power amplifying circuit 214 when the current of the first output end out1 is greater than a preset threshold current and the stored electric quantity of the energy storage module 211 is smaller than a preset electric quantity, so as to eliminate the effect of the load circuit 22 on current pumping of the power amplifying circuit 214.
In another embodiment, as shown in fig. 4, the power supply circuit 21 may further include a charge-discharge management circuit 212 and a voltage conversion circuit 213, where the charge-discharge management circuit 212 is electrically connected to the energy storage module 211 and the voltage conversion circuit 213, and the voltage conversion circuit 213 is electrically connected to the amplifying input terminal p1 of the power amplifying circuit 214. The charge-discharge management circuit 212 is used for controlling the energy storage module 211 to store electric energy and output a power signal, and the voltage conversion circuit 213 is used for performing voltage conversion on the power signal and transmitting the power signal to the voltage stabilizing circuit 215 and the power amplifying circuit 214.
The power amplifying circuit 214 has an operating voltage Vpa, that is, the voltage at the amplifying input terminal p1 of the power amplifying circuit 214 or the voltage received by the power amplifying circuit 214 is Vpa, the voltage at the power managing circuit 23 maintains the normal operation at Vpm, that is, the voltage at the second output terminal out2 or the voltage received by the power managing circuit 23 is Vpm, where vpm=vpa-i×r > V UVIO, I is the current transmitted by the power amplifying circuit 214 to the power managing circuit 23, R is the impedance between the power amplifying circuit 214 and the power managing circuit 23, V UVIO is the triggering voltage of the under-voltage protection, and when the operating voltage Vpm of the power managing circuit 23 is less than V UVIO, the system directly cuts off the power of the electronic device 100 to protect the system circuit.
When the load circuit 22 has a peak current, the current at the first output terminal out1 is smaller than the preset current threshold, and the working voltage Vpa of the power amplifying circuit 214 is caused to be smaller than the first preset voltage V1, when the working voltage Vpa of the power amplifying circuit 214 is smaller than the first preset voltage V1, the working voltage Vpm of the power management circuit 23 is further caused to be smaller than the second preset voltage V2, and the voltage stabilizing circuit 215 outputs a supplemental power signal to the amplifying input terminal p1 of the power amplifying circuit 214 for supplementing the voltage required by the power amplifying circuit 214 or supplementing the charge amount required by the load circuit 22 for pumping current, so as to avoid the voltage reduction in the power management circuit 23 triggering the under-voltage protection when the load circuit 22 pumps current, wherein v2=v1-i×r. That is, when the voltage of the amplifying input terminal p1 of the power amplifying circuit Vpa drops to the first preset voltage V1 or the voltage of the power management circuit 23 drops to the second preset voltage V2, the voltage stabilizing circuit 215 is started to supplement the charge amount required by the load circuit 22 by outputting the supplemental power signal to the power amplifying circuit 214, wherein Vpm > V2> V UVIO.
Referring to fig. 5, fig. 5 is an equivalent circuit schematic diagram of the voltage stabilizing circuit 215 in fig. 3.
As shown in fig. 5, the voltage stabilizing circuit 215 includes a control module 2151 and a compensation module 2152, wherein the control module 2151 is electrically connected to the compensation module 2152, the power amplifying circuit 214 and the power voltage terminal VDD, the compensation module 2152 is further electrically connected to the power voltage terminal VDD, and when the peak current of the load circuit 22 causes the current pumping to cause Vpa to be less than or equal to V1, the control module 2151 controls the compensation module 2152 to output a complementary power signal to the power amplifying circuit 214, so that the power amplifying circuit 214 compensates the load circuit 22 for a preset charge amount, so as to eliminate the influence of the current pumping by the load circuit 22 on the power amplifying circuit 214 and the power management circuit 23. The supply voltage terminal VDD is used in conjunction with the compensation module 2152 to provide power to the load circuit 22.
In an exemplary embodiment, the power supply voltage terminal VDD may be a circuit outputting a high voltage signal, for example, a boost converter (boost) circuit, a buck-boost converter (buck-boost) circuit, or a charge pump circuit (charge pump), etc., which may be of course set as other types of high voltage circuits according to specific needs, which is not limited by the present application.
Specifically, the control module 2151 includes a first switch tube T1, the compensation module 2152 includes a first capacitor C1, a control end of the first switch tube T1 is electrically connected to the reference voltage end, a first conductive end of the first switch tube T1 is electrically connected to the amplifying input end p1 of the power amplifying circuit 214, a second conductive end of the first switch tube T1 is electrically connected to the power voltage end VDD, a first end of the first capacitor C1 is electrically connected to the power voltage end VDD, and a second end of the first capacitor C1 is electrically connected to the ground end GND. The first switch tube T1 is configured to receive a reference voltage Vref from a reference voltage terminal when the electric quantity stored in the energy storage module 211 is less than a preset electric quantity, and is turned on when the current of the first output terminal out1 is greater than a preset threshold current, and the first capacitor C1 outputs a supplemental power signal to the amplifying input terminal p1 through the first switch tube T1.
In this embodiment, the first switching tube T1 is an N-type transistor, the control end of the first switching tube T1 may be a gate g, the first conductive end of the first switching tube T1 may be a source s, the second conductive end of the first switching tube T1 may be a drain d, or of course, the first switching tube T1 may be a P-type transistor or other load switch according to specific needs, and similarly, the first conductive end may be a drain d, and the second conductive end may be a source s.
The reference voltage terminal is configured to provide a constant reference voltage Vref for the gate of the first switching tube T1, the working voltage of the power amplifying circuit 214 is Vpa (i.e. the voltage of the amplifying input terminal p 1), wherein Vref-Vpa < Vth, vth is the threshold voltage of the first switching tube T1, that is, the voltage difference between the gate and the source of the first switching tube T1 is smaller than the threshold voltage, and the first switching tube T1 is in the off state (non-conductive state).
When the electric quantity of the energy storage module 211 is greater than or equal to the preset electric quantity, the first switch tube T1 maintains the off state, when the electric quantity of the energy storage module 211 is less than the preset electric quantity, if the current of the first output end out1 is greater than the threshold current, that is, the working voltage Vpa of the power amplifying circuit 214 is reduced to the first preset voltage V1 by the load circuit 22, so that the voltage difference between the gate and the source of the first switch tube T1 is greater than the preset threshold voltage (Vref-V1 is greater than or equal to Vth), the first switch tube T1 is conducted to control the first capacitor C1 to output the supplemental power signal to the power amplifying circuit 214, and the supplemental power signal is discharged to the load circuit 22 through the power amplifying circuit 214, so that the required electric quantity provided for the load circuit 22 is used for eliminating the pumping of the current in the circuit.
As shown in fig. 6, fig. 6 is an equivalent circuit schematic diagram of a control module 2151 according to another embodiment of the application.
In the present embodiment, the control module 2151 may be a Low dropout linear regulator (Low-dropout Regulator, LDO). The LDO is electrically connected to the compensation module 2152, the power amplifying circuit 214 and the power supply voltage terminal VDD, when Vpa > V1, the LDO is not conductive, and when Vpa is less than or equal to V1, the LDO is conductive, the compensation module 2152 outputs a complementary power supply signal to the power amplifying circuit 214 through the LDO, so that the power amplifying circuit 214 compensates a preset charge amount for the load circuit 22, and the influence of the current pumped by the load circuit 22 on the power amplifying circuit 214 and the power management circuit 23 is eliminated.
Specifically, when the control module 2151 is an LDO, the control module 2151 includes a sampling unit 51a, a comparing unit 51b and an adjusting unit 51c, the sampling unit 51a is electrically connected to the amplifying input terminal p1 and the comparing unit 51b, the comparing unit 51b is further electrically connected to the reference voltage terminal and the adjusting unit 51c, the adjusting unit 51c is further electrically connected to the compensating module 2152 and the amplifying input terminal p1, wherein the sampling unit 51a is used for sampling the voltage (i.e., vpa) of the amplifying input terminal p1 and transmitting the voltage to the comparing unit 51b, when Vpa is less than or equal to V1, the comparing unit 51b outputs a first control signal to the adjusting unit 51c, and the adjusting unit 51c receives the supplemental power signal from the compensating module 2152 and transmits the supplemental power signal to the amplifying input terminal p1 according to the first control signal. When Vpa > V1, the comparing unit 51b outputs a second control signal to the adjusting unit 51c, and the adjusting unit 51c maintains the off state according to the second control signal, i.e., does not receive the supplemental power signal in the compensating module 2152.
The control module 2151 further includes a first voltage stabilizing unit 51d and a second voltage stabilizing unit 51e, where the first voltage stabilizing unit 51d is electrically connected to the adjusting unit 51c for maintaining the stability of the voltage received by the adjusting unit 51c, and the second voltage stabilizing unit 51e is electrically connected to the sampling unit 51a and the adjusting unit 51c for maintaining the stability of the voltage collected by the sampling unit 51a and the stability of the voltage output by the adjusting unit 51 c.
Specifically, the sampling unit 51a includes a first resistor R1, a second resistor R2, and a sampling node N, where a first end of the first resistor R1 is electrically connected to the amplifying input terminal p1, a second end of the first resistor R1 is electrically connected to the sampling node N, a first end of the second resistor R2 is electrically connected to the sampling node N, a second end of the second resistor R2 is electrically connected to the ground terminal GND, and the first resistor R1 and the second resistor R2 are used for collecting a voltage signal of the amplifying input terminal p.
The comparing unit 51b includes an operational amplifier OP, a non-inverting terminal of the operational amplifier OP is electrically connected to the sampling node N, an inverting terminal of the operational amplifier OP is electrically connected to the reference voltage terminal, and an output terminal of the operational amplifier OP is electrically connected to the adjusting unit 51c. The positive terminal of the operational amplifier OP is used for obtaining the voltage of the amplifying input terminal P from the sampling node N, comparing the sampled voltage with the reference voltage Vref received by the inverting terminal, when the voltage of the positive terminal is less than or equal to the voltage of the inverting terminal, the operational amplifier OP outputs a first control signal to the adjusting unit 51c, and when the voltage of the positive terminal is greater than the voltage of the inverting terminal, the operational amplifier OP outputs a second control signal to the adjusting unit 51c.
In this embodiment, the voltage of the reference voltage terminal Vref may be a first preset voltage V1, when the voltage of the collected amplification input terminal p1 of the sampling unit 51a is less than or equal to the first preset voltage V1 (i.e., vpa+.v1), the operational amplifier OP outputs a first control signal to the adjustment unit 51c, and when the voltage of the collected amplification input terminal p1 of the sampling unit 51a is greater than the first preset voltage V1 (i.e., vpa > V1), the operational amplifier OP outputs a second control signal to the adjustment unit 51c.
The adjusting unit 51c includes a second switching tube T2, a control end of the second switching tube T2 is electrically connected to an output end of the operational amplifier OP, a first conductive end compensating module 2152 of the second switching tube T2, a second conductive end of the second switching tube T2 is electrically connected to the amplifying input end p, when the control end of the second switching tube T2 receives the first control signal, the second switching tube T2 is turned on, the compensating module 2152 outputs a supplemental power signal to the amplifying input end p1 through the second switching tube T2, and when the control end of the second switching tube T2 receives the second control signal, the second switching tube T2 is turned off.
In this embodiment, the second switching tube T2 is a P-type transistor, the control end of the second switching tube T2 may be a gate, the first conductive end may be a source, the second conductive end may be a drain, the second switching tube T2 is used for conducting under the control of a low-level signal, that is, the first control signal output by the operational amplifier OP is a low-level signal, the second control signal is a high-level signal, and of course, the type of the second switching tube T2 may also be set according to specific needs, for example, may also be set as an N-type transistor, etc., which is not limited in the present application.
The first voltage stabilizing unit 51d includes a second capacitor C2, the second voltage stabilizing unit 51e includes a third capacitor C3, a first end of the second capacitor C2 is electrically connected between the compensation module 2152 and the first conductive end of the second switching tube T2, and a second end of the second capacitor C2 is electrically connected to the ground GND for maintaining the stability of the voltage received by the second switching tube T2. The first end of the third capacitor C3 is electrically connected between the first resistor R1 and the amplifying input terminal p1, and the second end of the third capacitor C3 is electrically connected to the ground terminal GND for maintaining the voltage collected by the sampling unit 51a stable and maintaining the voltage output by the second switching tube T2 stable.
In the following, a process of eliminating the pumping current from the energy point of view is described, for example, when the first preset voltage v1=2.7v, if the instantaneous pumping current of the load circuit 22 is 5A and the pumping time is 22us, the c1=22uf is set at this time, and the output voltage of the power supply voltage terminal VDD is 7.6V, that is, the power supply voltage terminal VDD outputs the high voltage signal. At this time, from the energy point of view, the amount of charge Δq=Δi×t=5a×22us required by the load circuit 22, the amount of charge Δq=cΔu=22uf (7.6V-2.7V) provided by the first capacitor C1, where 22uf (7.6V-2.7V) ×5a×22us, that is, the amount of charge cΔu= Δi×t= Δq, that is, the amount of charge provided by the first capacitor C1 and the power voltage terminal VDD is almost the same as the amount of charge required by the load circuit 22 to draw the current, thereby eliminating the influence on the normal operating voltages of the power amplifying circuit 214 and the power management circuit 23 when the load circuit 22 draws the current.
Meanwhile, from the time perspective, the on time Ton of the first switching tube T1 is generally at the nanosecond level (ns), the discharging time of the first capacitor C1 is 22uf×1 ohm, that is, at the nanosecond level (ns), the power amplifying circuit 214 is audio, the audio range is 20-20000Hz, the actual measurement time of instantaneous heavy current pumping is at the microsecond level (us), and the peak current time of the load circuit 22 can be satisfied. Therefore, the compensation module 2152 and the power supply voltage terminal VDD provide a predetermined amount of charge when the load circuit 22 draws current, so that voltage drop of the power amplifying circuit 214 and the power management circuit 23 caused by instantaneous drawing can be effectively avoided, and stability of the power amplifying circuit 214 and the power management circuit 23 during operation can be effectively improved.
Referring to fig. 7, fig. 7 is a flowchart of a power supply method according to an embodiment of the application.
As shown in fig. 7, the specific steps of the power supply method include:
Step S100, judging the electric quantity of the energy storage module, and controlling the voltage stabilizing circuit to start and output a supplementary power signal to the power amplifying circuit if the electric quantity of the energy storage module is smaller than the preset electric quantity and the current of the first output end is larger than the preset threshold current.
Specifically, as shown in fig. 8, fig. 8 is a logic diagram for determining the start of the voltage stabilizing circuit.
Step S1, charging the first capacitor.
The power supply voltage terminal VDD is controlled to charge the first capacitor C1, so as to control the first capacitor C1 to store a preset charge amount, and to prepare for the load circuit to draw current in advance.
Step S2, judging whether the electric quantity Vb of the energy storage module is larger than a preset electric quantity Vx. When the electric quantity of the energy storage module 211 is greater than the preset electric quantity, the voltage of the first capacitor C1 is maintained. The preset electric quantity Vx may be set to be 30%, 40% or 50% of the total electric quantity, or may be set according to specific needs, which is not limited by the present application.
Step S3, providing a reference voltage. Specifically, when the electric quantity Vb of the energy storage module 211 is smaller than the preset electric quantity Vx, the reference voltage terminal provides the reference voltage Vref for the gate of the first switching tube T1. The reference voltage Vref is a constant voltage.
And S4, when Vpa is less than or equal to V1, controlling the first capacitor to output a complementary power supply signal to the amplifying input end.
When Vpa is greater than V1, that is, the operating voltage of the power amplifying circuit 214 is greater than the first preset voltage V1, vref-Vpa < Vth, and at this time, the first switching transistor T1 is in an off state. When the working voltage Vpa of the power amplifying circuit 214 is reduced to be less than or equal to the first preset voltage V1 due to the current drawn by the load circuit 22, the first switch tube T1 is turned on to control the first capacitor C1 to output the complementary power signal to the amplifying input terminal p1 when the Vref-V1 is greater than or equal to Vth, i.e. the voltage difference between the gate of the first switch tube T1 and the voltage difference is greater than the threshold voltage, so as to eliminate the influence of the current drawn by the load circuit 22 on the power amplifying circuit 214 and the power management circuit 23, thereby effectively improving the stability of the voltage.
The above disclosure is only a few examples of the present application, and it is not intended to limit the scope of the present application, but it is understood by those skilled in the art that all or a part of the above embodiments may be implemented and equivalent changes may be made in the claims of the present application.