Protection circuit, power supply control method and device and electronic equipment
By designing a protection circuit directly connected to the power supply port and power chip in the envelope tracking mode, detecting and controlling the power supply voltage, the problem of low power supply detection accuracy in the prior art caused by burning the power amplifier, achieving higher working stability.
Patent Information
- Application Number
- CN202311047485.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-18
- Publication Date
- 2025-03-07
AI Technical Summary
In envelope tracking mode, the existing power supply chips have low accuracy in power supply detection, resulting in too high power supply voltage of the power amplifier, which may burn the power amplifier.
A protection circuit is designed to detect the supply voltage and send a shutdown enable signal when the voltage exceeds the preset threshold, and prohibit the power chip from supplying power to the power amplifier.
It improves the accuracy of power amplifier supply voltage detection, prevents the power amplifier from being burned due to excessive voltage, and enhances its operating stability.
Smart Images

Figure CN119582779A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to a protection technology for a power amplifier (PA) in an envelope tracking (ET) mode, and more particularly to a protection circuit, a power supply control method, a device and an electronic device. Background Art
[0002] At present, the voltage supplied to the PA by the power chip in the ET mode changes with the change of the envelope. In the related art, the PA is protected by detecting the voltage at the output port of the power chip supplying power to the PA. However, the wiring of this method is too long, resulting in the obtained voltage being inaccurate, which causes the power supply voltage of the PA to be too high and burns the PA. It can be seen from this that the detection circuit of the PA in the existing ET mode has low accuracy and causes the PA to be at risk of burning. Summary of the invention
[0003] The embodiments of the present application provide a protection circuit, a power supply control method, a device, and an electronic device, which can improve the working stability of a PA.
[0004] The technical solution of this application is implemented as follows:
[0005] In a first aspect, an embodiment of the present application provides a protection circuit, wherein a first end of the protection circuit is connected to a power supply port of a PA, and a second end of the protection circuit is connected to a power chip; wherein the protection circuit is used to:
[0006] Detecting the voltage of the power supply port of the PA through the first end;
[0007] When the voltage of the power supply port of the PA is greater than a preset voltage threshold, a shutdown enable signal is sent to the power chip through the second end, so that the power chip is prohibited from supplying power to the PA.
[0008] In a second aspect, an embodiment of the present application provides an electronic device, comprising the protection circuit described in one or more of the above embodiments.
[0009] In a third aspect, an embodiment of the present application provides a power supply control method, which is applied to a processor connected to the third end of the protection circuit described in one or more of the above embodiments, wherein the processor is also connected to a power chip and a transceiver, respectively, including:
[0010] When an interrupt signal is received from the protection circuit, the register parameters of the power chip and the register parameters of the transceiver are reconfigured respectively.
[0011] In a fourth aspect, an embodiment of the present application provides a power supply control device, which is arranged in a processor connected to the third end of the protection circuit described in one or more of the above embodiments, wherein the processor is respectively connected to a power chip and a transceiver, including:
[0012] The configuration module is used to reconfigure the register parameters of the power chip and the register parameters of the transceiver respectively when receiving an interrupt signal from the protection circuit.
[0013] In a fifth aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a storage medium storing instructions executable by the processor; the storage medium relies on the processor to perform operations through a communication bus, and when the instructions are executed by the processor, the power supply control method described in one or more of the above embodiments is executed.
[0014] In a sixth aspect, an embodiment of the present application provides a computer storage medium storing executable instructions. When the executable instructions are executed by one or more processors, the processor executes the power supply control method described in one or more of the above embodiments.
[0015] The embodiments of the present application provide a protection circuit, a power supply control method, a device and an electronic device, wherein a first end of the protection circuit is connected to a power supply port of a PA, and a second end of the protection circuit is connected to a power chip, and the protection circuit is used to: detect the voltage of the power supply port of the PA through the first end, and when the voltage of the power supply port of the PA is greater than a preset voltage threshold, send a shutdown enable signal to the power chip through the second end, so that the power chip is prohibited from supplying power to the PA; that is, in the embodiments of the present application, by setting up a protection circuit and connecting it to the power supply port of the PA and the power chip respectively, the voltage of the power supply port of the PA can be directly obtained, that is, the accuracy of the detection of the power supply voltage of the PA is improved, based on this, the voltage of the power supply port of the PA is compared with the preset threshold to control the power supply chip to supply power to the PA, which can prevent the risk of the PA being burned due to excessively high voltage and improve the working stability of the PA. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 It is a structural schematic diagram of a voltage detection circuit of a PA in the related art;
[0017] Figure 2 A schematic diagram of the structure of an optional protection circuit provided in an embodiment of the present application;
[0018] Figure 3 A schematic diagram of the structure of an optional electronic device provided in an embodiment of the present application;
[0019] Figure 4A schematic diagram of the structure of an optional protection circuit example 1 provided in an embodiment of the present application;
[0020] Figure 5 A schematic flow chart of an optional power supply control method provided in an embodiment of the present application;
[0021] Figure 6 A schematic diagram of the structure of a second example of an optional protection circuit provided in an embodiment of the present application;
[0022] Figure 7 A schematic diagram of the structure of a third example of an optional protection circuit provided in an embodiment of the present application;
[0023] Figure 8 A schematic diagram of the structure of an optional power supply control device provided in an embodiment of the present application;
[0024] Fig. 9 A schematic diagram of the structure of another optional electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0025] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0026] Figure 1 FIG. 1 is a schematic diagram of a voltage detection circuit of a PA in the related art. Figure 1 As shown, it includes: a microcontroller (Micro Controller Unit, MCU) 11, a digital processing chip (Digital Processing) 12, an ET digital to analog converter (Digital to Analog Convertor, DAC) 13, a power chip 14 and a radio frequency PA15; wherein, a circuit for detecting the voltage supplied by the power chip 14 to the radio frequency PA15, that is, a voltage detection circuit 141, is arranged in the power chip 14, one end of the power chip 14 is connected to the output end of the ET DAC13, and the other end of the power chip 14 is connected to the radio frequency PA15, the power chip 14 supplies power to the radio frequency PA15, and one end of the ET DAC13 is connected to the Digital At one end of Processing12, MCU11 is connected to DigitalProcessing12. In the related art, the voltage supplied to RF PA15 is detected by a voltage detection circuit 141 arranged in the power chip 14. However, the wiring of this method is too long, and the detected voltage is not the actual power supply voltage of RF PA15, that is, the detected voltage is not accurate enough. Then, when the actual power supply voltage of RF PA15 is too high, it cannot be detected, and thus the voltage cannot be detected to be too high, and the RF PA cannot be protected in time, thereby burning the RF PA15.
[0027] In order to improve the stability of PA operation, the embodiment of the present application provides a protection circuit. Figure 2 A schematic diagram of an optional protection circuit provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, the first end of the protection circuit 200 is connected to the power supply port of PA201, and the second end of the protection circuit 200 is connected to the power chip 202; wherein the protection circuit 200 is used for:
[0028] Detecting the voltage of the power supply port of PA201 through the first terminal;
[0029] When the voltage of the power supply port of PA201 is greater than a preset voltage threshold, a shutdown enable signal is sent to the power chip 202 through the second end, so that the power chip 202 is prohibited from supplying power to PA201.
[0030] Since the output voltage of the power chip in the ET mode is not fixed, when the voltage of the power supply port of PA201 exceeds the preset voltage threshold, if the voltage of the power supply port of PA201 is not reduced in time, PA201 will be damaged, thereby affecting the operation of PA201.
[0031] In an embodiment of the present application, the protection circuit 200 has two ports, namely a first end and a second end, wherein the first end is connected to the power supply port of PA201, the power supply port of PA201 is a port connected to the power supply port of the power chip 202, and the port is used to reflect the voltage actually supplied to PA201 by the power chip 202, and the second end is connected to the enable end of the power chip 202, and the enable end can use high and low levels to shut down / enable the power chip 202.
[0032] Among them, the protection circuit 200 is used to detect the voltage of the power supply port of PA201 through the first end, that is, the voltage actually supplied to PA201 by the power chip 202. The protection circuit 200 compares the voltage of the power supply port of PA201 with a preset voltage threshold. When the voltage of the power supply port of PA201 is greater than the preset voltage threshold, a shutdown enable signal is sent to the power chip 202 through the second end. The power chip 202 receives the shutdown enable signal and prohibits power supply to PA201.
[0033] The preset voltage threshold is a critical value supplied to the PA 201 . When the voltage supplied to the PA 201 exceeds the critical value, the PA 201 will be damaged.
[0034] It should be noted that, in the ET mode, the input end of the power chip 202 is connected to the ET DAC, which is used to output the root mean square of I / Q to the power chip 202, so that the power chip 202 outputs an envelope waveform.
[0035] In this way, the protection circuit 200 is set up so that when the voltage of the power supply port of PA201 is greater than the preset voltage threshold in the ET mode, the voltage supplied to PA201 is promptly turned off, so that PA201 can work stably.
[0036] In addition, in order to further protect PA201, in an optional embodiment, the third terminal of the protection circuit 200 is connected to the processor, wherein:
[0037] When the voltage of the power supply port of PA201 is greater than a preset voltage threshold, an interrupt signal is sent to the processor through the third terminal.
[0038] It can be understood that the protection circuit 200 also includes a port, namely the third terminal, which is connected to the processor. When the voltage of the power supply port of PA201 is greater than the preset voltage threshold, an interrupt signal is sent to the power chip 202 through the third terminal, thereby triggering the interrupt service program.
[0039] That is to say, when the voltage of the power supply port of PA201 is greater than the preset voltage threshold, not only a shutdown enable signal is sent to the power chip 202, but also an interrupt signal is sent to the processor so that the processor knows the power supply status of the power chip to PA201, so as to better control the power supply of the power chip 202 to PA201.
[0040] In order to better control the power chip 202 to supply power to the PA 201, in an optional embodiment, the following steps are included:
[0041] When the voltage of the power supply port of PA201 is less than or equal to the preset voltage threshold, an enable signal is sent to the power chip 202 through the third terminal, so that the power chip 202 supplies power to PA201.
[0042] It can be understood that when the voltage of the power supply port of PA201 is less than or equal to the preset voltage threshold, the protection circuit 200 sends an enable signal to the power chip 202 through the third terminal, and the power chip 202 receives the enable signal and supplies power to PA201.
[0043] That is to say, in the embodiment of the present application, the protection circuit 200 compares the voltage of the power supply port of PA201 with the preset voltage threshold, and supplies power to PA201 when it is less than or equal to the preset voltage threshold. In this way, the power supply of PA201 is controlled by controlling the enable terminal of the power chip 202, so that PA201 can work stably.
[0044] In order to enable the protection circuit 200 to improve the stable operation of the PA 201 by controlling the power chip 202, in an optional embodiment, the protection circuit 200 includes: a reference voltage source, a comparator, a first resistor, a second resistor, a third resistor, a fourth resistor and a first transistor; wherein,
[0045] The first input end of the comparator is connected to one end of the reference voltage source, the second input end of the comparator is connected to the power supply port of PA201, the output end of the comparator is connected to one end of the first resistor, the other end of the first resistor is respectively connected to one end of the second resistor and one end of the first transistor, the other end of the second resistor is grounded, the other end of the reference voltage source is respectively grounded and one end of the third resistor, the other end of the first transistor is respectively connected to the processor, the other end of the third resistor and one end of the fourth resistor, and the other end of the fourth resistor is connected to the power chip 202;
[0046] When the voltage of the power supply port of PA201 is greater than the voltage of the reference voltage source, the first transistor is in the on state, an interrupt signal is sent to the processor through the other end of the first transistor, and a shutdown enable signal is sent to the power chip 202 through the fourth resistor, so that the power chip 202 is prohibited from supplying power to PA201.
[0047] It can be understood that in the protection circuit 200 composed of the above-mentioned reference voltage source, comparator, four resistors and first transistor, the voltage of the power supply port of PA201 is detected through the second input terminal of the comparator, and the magnitude relationship between the voltage of the power supply port of PA201 and the voltage of the reference voltage source is compared. If it is greater than, at this time, the comparator outputs a first indication level, such as a high level, so that the first transistor is turned on, so that the second end of the second transistor sends a shutdown enable signal to the power chip 202 through the fourth resistor, so that the power chip is prohibited from supplying power to PA; if it is less than or equal to, the comparator outputs a second indication level, such as a low level, so that the second transistor is turned off, and the second end of the second transistor sends an enable signal to the power chip 202 through the fourth resistor, so that the power chip 202 supplies power to PA201.
[0048] Moreover, when is greater than , the second end of the second transistor also sends an interrupt signal to the processor, so that the processor knows the status of the protection circuit 200 and the power chip 202, and triggers the processor to execute the interrupt service program.
[0049] It should be noted that the input reference voltage source may be a bandgap reference voltage source, or may be a low drop out linear voltage regulator (Low Drop Out Linear Voltage Regulators, LDO), and the embodiments of the present application do not specifically limit this.
[0050] The first transistor is a switch-type transistor, for example, a triode, or a metal-oxide-semiconductor field-effect transistor (MOS), such as an NMOS transistor, and the embodiment of the present application does not specifically limit this.
[0051] In addition, the first resistor, the second resistor, the third resistor and the fourth resistor are used to eliminate the influence of the parasitic capacitance of the first transistor on the circuit.
[0052] For the above protection circuit 200, in an optional embodiment, it includes:
[0053] When the voltage of the power supply port of PA201 is less than or equal to the voltage of the reference voltage source, the first transistor is in an off state, and an enable signal is sent to the power chip 202 through the fourth resistor, so that the power chip 202 supplies power to PA201.
[0054] It can be understood that after the judgment of the comparator, if the voltage of the power supply port of PA201 is less than or equal to the voltage of the reference voltage source, the comparator outputs a second indication level, for example, outputs a low level, thereby turning off the first transistor. Then, the second end of the first transistor outputs a low level, and the second end of the first transistor sends an enable signal to the power chip 202 through the fourth resistor, thereby enabling the power chip 202 to supply power to PA101.
[0055] In this way, the protection circuit 200 controls whether the power chip 202 supplies power to the PA 201 based on the relationship between the voltage of the power supply port of the PA 201 and the voltage of the reference voltage source.
[0056] In order to better realize the power supply to PA201, in an optional embodiment, the protection circuit 200 further includes a second transistor, wherein one end of the second transistor is connected to the processor, and the other end of the second transistor is connected to the power chip 202;
[0057] When one end of the second transistor receives a signal from the processor and the second transistor is in an on state, an enable signal is sent to the power chip 202 through the other end of the second transistor, so that the power chip 202 supplies power to PA201.
[0058] It can be understood that the second transistor is consistent with the first transistor and both are switching transistors. When the processor outputs a signal to one end of the second transistor, after receiving the signal from the processor, the one end of the second transistor is turned on. Then, the other end of the second transistor sends an enable signal to the power chip 202, so that the power chip 202 supplies power to PA201.
[0059] In this way, the processor can control whether the power chip 202 supplies power to the PA 201 by controlling the state of the second transistor, thereby preventing the power chip 202 from being unable to supply power to the PA 201 when it is capable of supplying power.
[0060] An embodiment of the present application provides an electronic device, Figure 3 A schematic diagram of the structure of an optional electronic device provided in an embodiment of the present application, such as Figure 3 As shown, the electronic device 300 includes the protection circuit 200 described in one or more of the above embodiments.
[0061] The protection circuit described in one or more of the above embodiments is described below with examples.
[0062] In ET mode, the output voltage of the power chip is not fixed. When the voltage at the power supply port of the PA exceeds the threshold (equivalent to the above preset limit), it is impossible to feed back the voltage information to the MPU in real time and protect the PA chip in time. Therefore, a protection circuit is designed.
[0063] Figure 4 A schematic diagram of a structure of an example 1 of an optional protection circuit provided in an embodiment of the present application, such as Figure 4 As shown, it includes: MCU41, Digital Processing42, ET DAC43, power chip 44 (for example, 7100), RF PA45 and protection circuit 46; wherein MCU41 is connected to Digital Processing42, ET DAC43, power chip 44 and RF PA45 in sequence, wherein MCU41 plays a control role, Digital Processing42 is used to process the received signal and output the processed signal to ET DAC43, ET DAC43 is used to perform digital-to-analog conversion on the processed signal and output the obtained IQ root mean square to the power chip 44, so that the power chip 44 outputs a voltage that changes with the envelope, and then the RF PA45 receives the power supply voltage VCC451, that is, the first end of the protection circuit 46 is connected to the power supply port VCC451 of the RF PA45, the second end of the protection circuit 46 is connected to the power chip 44, and the third end of the protection circuit 46 is connected to MCU41; wherein,
[0064] For the above-mentioned protection circuit 46, a voltage sampling circuit is set in the protection circuit 46, and compares with the set voltage (equivalent to the voltage of the above-mentioned reference voltage source), outputs a judgment result, shuts down the power chip 44 and triggers the MCU interrupt based on the judgment structure, and the MCU sends a control instruction to the transceiver chip and the power chip 44 in Digital Processing42 to adjust the register parameters accordingly.
[0065] Based on the above Figure 4 , Figure 5 A schematic diagram of a second example of an optional protection circuit provided in an embodiment of the present application is shown in FIG. Figure 5 As shown, the protection circuit 46 includes: a comparator 461, a voltage comparison reference (REF) 462, R463, R464, R465, R466, U467 and U468; wherein U467 and U468 are NMOS tubes.
[0066] In the protection circuit 46, the comparator is powered by a power supply voltage VCC4611, a first input terminal of the comparator 461 is connected to one end of REF462, the other end of REF462 is respectively connected to ground and one end of R463, a second input terminal of the comparator 461 is connected to a power supply port VCC451 of the RF PA45, an output terminal of the comparator 461 is connected to one end of R464, the other end of R464 is respectively connected to the gate of U467 and one end of R465, the other end of R465 is grounded, a source of U467 is connected to a power supply VCC4671, a drain of U467 is respectively connected to the other end of R463, one end of R466 and MCU41, the other end of R466 is respectively connected to the drain of U468 and the power chip 44, a gate of U468 is connected to MCU41, and a source of U468 is grounded.
[0067] Among them, REF462 is set, generally to about 3.4V. For example, a programmable power supply chip (for example: ADJ's LDO) can be used, wherein the value of REF can be set according to specific needs. Here, the REF to be compared is connected to the first input terminal of the comparator 461 through a wire, and a wire is led out from the power supply port VCC451 of the RF PA45 to the second input terminal of the comparator 461.
[0068] If the voltage of the power supply port VCC451 of the RF PA45 exceeds the voltage of REF462, the comparator 461 outputs a high level, turning on U467 and sending a high level signal to the power chip 44 and MCU41, thereby shutting down the power chip 44.
[0069] It should be noted that the initial state of U468 is off; MCU41 receives a high level, that is, an interrupt signal, triggering an interrupt service program, wherein the interrupt service program modifies the register parameters of the power chip 44 and the transceiver chip in DigitalProcessing42 through the control bus according to specific settings as required. After the modification is completed, MCU41 re-enables the power chip 44 by controlling the conduction of U468.
[0070] Thus, the protection circuit 46 can prevent the RF PA45 from receiving a large voltage through the VCC451 for a long time, thereby burning the RF PA45, and can also detect whether other power sources interfere with the power supply port voltage VCC451 of the RF PA45.
[0071] The embodiments of the present application provide a protection circuit, a control method and device for powering a PA, and an electronic device. The first end of the protection circuit is connected to the power supply port of the PA, and the second end of the protection circuit is connected to the power chip. The protection circuit is used to: detect the voltage of the power supply port of the PA through the first end, and when the voltage of the power supply port of the PA is greater than a preset voltage threshold, send a shutdown enable signal to the power chip through the second end to prohibit the power supply chip from supplying power to the PA; that is, in the embodiments of the present application, by setting up a protection circuit and connecting it to the power supply port of the PA and the power chip respectively, the voltage of the power supply port of the PA can be directly obtained, that is, the accuracy of the detection of the power supply voltage of the PA is improved. Based on this, the voltage of the power supply port of the PA is compared with the preset threshold to control the power supply chip to supply power to the PA, which can prevent the risk of the PA being burned due to excessively high voltage and improve the working stability of the PA.
[0072] Based on the same inventive concept, the present application also provides a power supply control method, which is applied to a processor connected to the third terminal of the protection circuit described in one or more of the above embodiments, wherein the processor is also connected to a power chip and a transceiver respectively. Figure 6 A flow chart of an optional power supply control method provided in an embodiment of the present application is shown as follows: Figure 6 As shown, the method is applied to a processor connected to the third terminal of the protection circuit described in one or more of the above embodiments, wherein the processor is also connected to a power chip and a transceiver respectively, including:
[0073] S601: When an interrupt signal is received from the protection circuit, the register parameters of the power chip and the register parameters of the transceiver are reconfigured respectively.
[0074] With the above Figure 5 For example, when the comparator 461 compares and obtains that the voltage of the power supply port VCC451 of the radio frequency PA45 is greater than the voltage of REF462, the drain terminal of U467 sends an interrupt signal to the MCU41, so that the MCU41 receives the interrupt signal.
[0075] Then, after receiving the interrupt signal, the interrupt service program needs to be triggered, specifically: the processor modifies the register parameters of the power chip 44 and the register parameters of the transceiver of Digital Processing 42 respectively to reconfigure the power chip 44 and the transceiver.
[0076] In addition, in order to better realize the power supply to the PA, in an optional embodiment, after respectively reconfiguring the register parameters of the power chip and the register parameters of the transceiver when receiving the interrupt signal from the protection circuit of the PA, the above method may further include:
[0077] A preset voltage is output to one end of the second transistor.
[0078] It can be understood that after modifying the register parameters of the power chip and the register parameters of the transceiver, the processor can also directly output a preset voltage to one end of the second transistor, wherein the preset voltage is used to put the second transistor in an on state to send an enable signal to the power chip through the other end of the second transistor.
[0079] That is, one end of the second transistor is in a conducting state under the action of a preset voltage, so that an enable signal is sent to the power chip through the other end of the second transistor, so that the power chip supplies power to the PA.
[0080] In this way, the processor can control the power chip to supply power to the PA according to its own needs to meet its own needs.
[0081] Further, in order to better control the power supply chip to supply power to the PA, in an optional embodiment, outputting a preset voltage to one end of the second transistor includes:
[0082] When the number of times the interruption signal from the protection circuit is received within the preset time period is less than or equal to the preset number, a preset voltage is output to one end of the second transistor.
[0083] It is understandable that after receiving the interrupt signal, the processor also needs to count the interrupt signals within the preset time, so as to obtain the number of interrupt signals received from the protection circuit within the preset time period. If the number is less than or equal to the preset number, it means that the voltage of the power supply port of the PA is not less than or equal to the preset voltage threshold very frequently, so it is believed that the power supply chip to the PA does not affect the performance of the PA. Therefore, here, the processor outputs a preset voltage to one end of the second transistor, so that the second transistor is in the on state, so that the power supply chip supplies power to the PA.
[0084] For the case where is greater than, in an optional embodiment, the above method may further include:
[0085] When the number of times the interrupt signal from the protection circuit of the PA is received within the preset time period is greater than the preset number, outputting a preset voltage to one end of the second transistor is prohibited, so that the second transistor is in an off state.
[0086] It can be understood that if the number of interrupt signals received from the protection circuit of the PA within the preset time period is greater than the preset number, it means that the voltage of the power supply port of the PA is less than or equal to the preset voltage threshold very frequently, so it is considered that the power supply chip to the PA affects the performance of the PA. Therefore, here, the processor prohibits the output of the preset voltage to one end of the second transistor, so that the second transistor is in the off state, thereby prohibiting the power supply chip from supplying power to the PA to prevent the PA from being burned, thereby ensuring the stability of the PA operation.
[0087] In order to adjust the power supply voltage from the power chip to the PA, in an optional embodiment, when the power supply adopts a circuit connected to the power supply port of the PA, and the processor is connected to the power sampling circuit, the above method may also include:
[0088] The voltage of the power supply port of the PA is obtained through the power sampling circuit;
[0089] The voltage of the power supply port of the power chip is obtained through the voltage detection circuit in the power chip;
[0090] Acquiring envelope data through a digital processing chip connected to the processor;
[0091] The voltage of the power supply port of the power chip is re-determined according to the voltage of the power supply port of the PA, the voltage of the power supply port of the power chip, and the envelope data.
[0092] It can be understood that a power sampling circuit is set between the processor and the power supply port of the PA, so as to obtain the voltage of the power supply port of the PA through the power sampling circuit. Since a voltage detection circuit is set in the power chip, the voltage detection circuit is used to obtain the voltage of the power supply port of the power chip. The processor can obtain the voltage of the power supply port of the power chip through the power chip, and the processor is connected to the digital fox chip to obtain envelope data.
[0093] Then, knowing the above data, the processor can control the voltage of the power supply port of the PA, the voltage of the power supply port of the power chip and the envelope data, and re-determine the voltage of the power supply port of the power chip so that the power chip can output the ET waveform, thereby enabling the PA to work better.
[0094] Based on the above Figure 5 , Figure 7 A schematic diagram of a third example of an optional protection circuit provided in an embodiment of the present application is shown in FIG. Figure 7As shown, a power sampling circuit 71 is added, and one end of the power sampling circuit 71 is connected to the power supply port VCC451 of the RF PA45, and the other end of the power sampling circuit 71 is connected to the MCU41. In this way, the voltage of the power supply port VCC451 of the RF PA45 is obtained through the power sampling circuit 71, and the voltage supplied to the RF PA is obtained through the power chip 44 through the voltage detection circuit in the power chip 44. The envelope data is obtained through Digital Processing42. After obtaining the above envelope data, the MCU41 compares the voltage of the power supply port VCC451 of the RF PA45 and the voltage supplied to the RF PA obtained by detecting the voltage detection circuit of the power chip 44 with the envelope data, and calculates the actual ET voltage coupling degree, which can be used to optimize the ET voltage waveform of the power chip 44.
[0095] The present application also provides a power supply control device, which is arranged in a processor connected to the third terminal of the protection circuit described in one or more of the above embodiments, wherein the processor is connected to the power chip and the transceiver respectively. Figure 8 A schematic diagram of the structure of an optional power supply control device provided in an embodiment of the present application, such as Figure 8 As shown, the device may include:
[0096] The configuration module 81 is used to reconfigure the register parameters of the power chip and the register parameters of the transceiver respectively when receiving an interrupt signal from the protection circuit.
[0097] In an optional embodiment, the device is also used for:
[0098] When an interrupt signal is received from the protection circuit, a preset voltage is output to one end of the second transistor after the register parameters of the power chip and the register parameters of the transceiver are reconfigured respectively; wherein the preset voltage is used for the second transistor to be in the on state so as to send an enable signal to the power chip through the other end of the second transistor.
[0099] In an optional embodiment, the device outputs a preset voltage to one end of the second transistor, comprising:
[0100] When the number of times the interruption signal from the protection circuit is received within the preset time period is less than or equal to the preset number, a preset voltage is output to one end of the second transistor.
[0101] In an optional embodiment, the device is also used for:
[0102] When the number of times the interruption signal from the protection circuit is received within the preset time period is greater than the preset number, the preset voltage is prohibited from being output to one end of the second transistor, so that the second transistor is in a closed state.
[0103] In an optional embodiment, it is characterized in that when the power supply adopts a circuit connected to the power supply port of the PA, and the processor is connected to the power supply sampling circuit, the device is also used to:
[0104] Obtain the voltage of the PA power supply port through the power sampling circuit;
[0105] The voltage of the power supply port of the power chip is obtained through the voltage detection circuit in the power chip;
[0106] Acquiring envelope data through a digital processing chip connected to the processor;
[0107] The voltage of the power supply port of the power supply chip is re-determined according to the voltage of the PA power supply port, the voltage of the power supply port of the power supply chip and the envelope data.
[0108] In practical applications, the above-mentioned configuration module 81 can be implemented by a processor located on a power supply control device, specifically a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP) or a field programmable gate array (FPGA).
[0109] Fig. 9 A schematic diagram of another optional electronic device is provided for the embodiment of the present application, such as Fig. 9 As shown, an embodiment of the present application provides an electronic device 900, comprising: a processor 91 and a storage medium 92 storing executable instructions of the processor 91; the storage medium 92 relies on the processor 91 to perform operations through a communication bus 93, and when the instructions are executed by the processor 91, the power supply control method described in one or more of the above embodiments is executed.
[0110] It should be noted that in actual application, the various components in the terminal are coupled together through the communication bus 93. It is understandable that the communication bus 93 is used to realize the connection and communication between these components. In addition to the data bus, the communication bus 93 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, Fig. 9 Various buses are labeled as communication buses 93.
[0111] An embodiment of the present application provides a computer storage medium storing executable instructions. When the executable instructions are executed by one or more processors, the processors execute the power supply control method described in one or more of the above embodiments.
[0112] Among them, the computer-readable storage medium can be a ferromagnetic random access memory (FRAM), a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a flash memory, a magnetic surface memory, an optical disk, or a compact disc read-only memory (CD-ROM) and other memories.
[0113] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of hardware embodiments, software embodiments, or embodiments in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.
[0114] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0115] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0116] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0117] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application.
Claims
1. A protection circuit, characterized in that: The first end of the protection circuit is connected to the power supply port of the PA, and the second end of the protection circuit is connected to the power chip; wherein the protection circuit is used for: Detecting the voltage of the power supply port of the PA through the first end; When the voltage of the power supply port of the PA is greater than a preset voltage threshold, a shutdown enable signal is sent to the power chip through the second end, so that the power chip is prohibited from supplying power to the PA.
2. The circuit according to claim 1, characterized in that The third terminal of the protection circuit is connected to the processor, wherein: When the voltage of the power supply port of the PA is greater than a preset voltage threshold, an interrupt signal is sent to the processor through the third terminal.
3. The circuit according to claim 1 or 2, characterized in that: include: When the voltage of the power supply port of the PA is less than or equal to a preset voltage threshold, an enable signal is sent to the power chip through the second end, so that the power chip supplies power to the PA.
4. The circuit according to claim 2, characterized in that The protection circuit comprises: a reference voltage source, a comparator, a first resistor, a second resistor, a third resistor, a fourth resistor and a first transistor; wherein, The first input end of the comparator is connected to one end of the reference voltage source, the second input end of the comparator is connected to the power supply port of the PA, the output end of the comparator is connected to one end of the first resistor, the other end of the first resistor is respectively connected to one end of the second resistor and one end of the first transistor, the other end of the second resistor is grounded, the other end of the reference voltage source is respectively grounded and one end of the third resistor, the other end of the first transistor is respectively connected to the processor, the other end of the third resistor and one end of the fourth resistor, and the other end of the fourth resistor is connected to the power chip; When the voltage of the power supply port of the PA is greater than the voltage of the reference voltage source, the first transistor is in an on state, an interrupt signal is sent to the processor through the other end of the first transistor, and a shutdown enable signal is sent to the power chip through the fourth resistor, so that the power chip is prohibited from supplying power to the PA.
5. The circuit according to claim 4, characterized in that include: When the voltage of the power supply port of the PA is less than or equal to the voltage of the reference voltage source, the first transistor is in an off state, and an enable signal is sent to the power chip through the fourth resistor, so that the power chip supplies power to the PA.
6. The circuit according to claim 4, characterized in that The protection circuit further includes a second transistor, wherein one end of the second transistor is connected to the processor, and the other end of the second transistor is connected to the power chip; When one end of the second transistor receives a signal from the processor and the second transistor is in an on state, an enable signal is sent to the power chip through the other end of the second transistor, so that the power chip supplies power to the PA.
7. An electronic device, characterized in that: Comprising the protection circuit as claimed in any one of claims 1 to 6.
8. A power supply control method, the method being applied to a processor connected to the third terminal of the protection circuit according to any one of claims 1 to 6, wherein: The processor is also connected to the power chip and the transceiver respectively, including: When an interrupt signal is received from the protection circuit of the PA, the register parameters of the power chip and the register parameters of the transceiver are reconfigured respectively.
9. The method according to claim 8, characterized in that After respectively reconfiguring the register parameters of the power chip and the register parameters of the transceiver when receiving an interrupt signal from the protection circuit, the method further includes: A preset voltage is output to one end of the second transistor; wherein the preset voltage is used to turn on the second transistor so as to send an enable signal to the power chip through the other end of the second transistor.
10. The method according to claim 9, characterized in that The step of outputting a preset voltage to one end of the second transistor comprises: When the number of times the interruption signal from the protection circuit is received within a preset time period is less than or equal to a preset number, a preset voltage is output to one end of the second transistor.
11. The method according to claim 10, characterized in that The method further comprises: When the number of times the interruption signal from the protection circuit is received within a preset time period is greater than a preset number, outputting a preset voltage to one end of the second transistor is prohibited, so that the second transistor is in an off state.
12. The method according to any one of claims 8 to 11, characterized in that When the power supply adopts a circuit connected to the power supply port of the PA, and the processor is connected to the power supply sampling circuit, the method further includes: Acquiring the voltage of the PA power supply port through the power sampling circuit; Acquiring the voltage of the power supply port of the power chip through the voltage detection circuit in the power chip; Acquiring envelope data through a digital processing chip connected to the processor; The voltage of the power supply port of the power supply chip is re-determined according to the voltage of the PA power supply port, the voltage of the power supply port of the power supply chip and the envelope data.
13. A power supply control device, characterized in that: The device is arranged in a processor connected to the third terminal of the protection circuit according to any one of claims 1 to 6, wherein the processor is respectively connected to a power chip and a transceiver, and comprises: The configuration module is used to reconfigure the register parameters of the power chip and the register parameters of the transceiver respectively when receiving an interrupt signal from the protection circuit.
14. An electronic device, characterized in that: It comprises a processor and a storage medium storing instructions executable by the processor; the storage medium relies on the processor to perform operations via a communication bus, and when the instructions are executed by the processor, the power supply control method described in any one of claims 8 to 12 is executed.
15. A computer storage medium, characterized in that: Executable instructions are stored, and when the executable instructions are executed by one or more processors, the processors execute the power supply control method according to any one of claims 8 to 12.