PROTECTION CIRCUIT AND CIRCUIT PROTECTION METHOD
Patent Information
- Application Number
- IT502026000034126
- Authority / Receiving Office
- IT · IT
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2018-01-31
- Filing Date
- 2019-01-31
- Publication Date
- 2026-07-01
- Estimated Expiration
- 2039-01-31
AI Technical Summary
Existing protection circuits for power amplifiers in 5G base stations, such as those using MIMO technology, face challenges in quickly responding to abnormal conditions like short circuits or large gate voltages, leading to potential burnout and power supply bias due to long response times.
A protection circuit comprising a detection module, comparison module, and response module that detects dynamic current at the power amplifier's drain, outputs a control signal after a first response time if the current exceeds a sampling threshold, and controls the switch-off or switch-on of the drain voltage after a second response time, with adjustable thresholds and response times to prevent burnout and ensure system stability.
This solution enables quick protection of individual channels without affecting others, preventing power amplifier burnout and maintaining system reliability by rapidly responding to abnormal conditions and adjusting thresholds and response times based on system requirements.
Abstract
Description
CROSS-REFERENCE TO RELATED PRESENT APPLICATION
[0001] This present application claims the priority of Chinese patent present application No.201810094652.4 filed in China Patent Office on January 31, 2018, the entire contents of which are incorporated herein by reference.TECHNICAL FIELD
[0002] The present application relates to the field of circuit protection, for example, to a protection circuit and a circuit protection method.BACKGROUND
[0003] The 5th-Generation (5G) technology, driven by the mobile internet and the internet of things, has broad application prospects. Multiple Input Multiple Output (MIMO) technology has been widely used in the 4th-Generation (4G) system, and Massive MIMO technology is one of the key technologies in the 5G wireless system. In the face of performance challenges of 5G in terms of transmission rate and system capacity, the further increase in the number of antennas will still be an important direction for MIMO technology to continue to evolve.
[0004] For example, the power amplifier in a base station is typically designed as a multi-channel architecture, and the power supply for the power amplifier usually adopts a power sharing scheme. When one channel of the power amplifier has a short-circuited drain, the power from the power supply will be biased, which will affect the normal operation of other channels.
[0005] In the related art, the protection circuit generally protects the drain of the power amplifier by blowing a fuse. In this method, it takes a long time for the fuse to be thermally blown, which cannot prevent the power amplifier from burning out in time.
[0006] In view of the above problems in the related art, no effective solutions have been found yet.SUMMARY
[0007] The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the protection scope of the claims.
[0008] According to some embodiments of the present application, a protection circuit and a circuit protection method are provided.
[0009] According to an embodiment of the present application, a protection circuit is provided, including: a detection module, a comparison module and a response module, the detection module is connected with a drain of a power amplifier PA, and configured to detect a dynamic current in the drain of the PA and output the dynamic current to the comparison module; the comparison module is connected with the detection module and configured to output a control signal to the response module after a first response time in response to determining that the dynamic current is greater than a sampling threshold; the response module is connected with the comparison module and configured to control switch-off and switch-on of a drain voltage of the PA based on the control signal after a second response time.
[0010] According to another embodiment of the present application, a circuit protection method is provided, including: detecting a dynamic current in a drain of a power amplifier PA; outputting a control signal after a first response time in response to determining that the dynamic current is greater than a sampling threshold; and controlling switch-off or switch-on of a drain voltage of the PA based on the control signal after a second response time.
[0011] According to another embodiment of the present application, a storage medium is further provided, including a stored program which, when running, executes the above method.
[0012] According to another embodiment of the present application, a processor is further provided, configured to run a program which, when running, executes the above method.
[0013] Other aspects will become apparent after reading and understanding the drawings and detailed description.BRIEF DESCRIPTION OF DRAWINGS
[0014] The drawings are provided for a further understanding of the present application, and constitute a part of the present application. Illustrative embodiments of the present application and descriptions thereof are used to explain the present application and do not constitute an improper limitation of this application, in which: Fig. 1 is a first structural diagram of a protection circuit according to an embodiment of the present application; Fig. 2 is a second structural diagram of the protection circuit according to an embodiment of the present application; Fig. 3 is a schematic diagram showing application of a protection circuit for a power amplifier according to implementation one; Fig. 4 is a response curve of the protection circuit when there is no abnormality protection during initial power-on according to implementation one; Fig. 5 is a response curve of the protection circuit when the gate voltage is abnormal according to implementation one; Fig. 6 is a diagram of a normal peak-to-average ratio input signal according to implementation one; Fig. 7 is a response curve of the protection circuit to an input peak-to-average ratio signal according to implementation one; Fig. 8 is a graph of an abnormal input signal according to the first implementation; Fig. 9 is a response curve of the protection circuit to an input abnormal signal according to implementation one; FIG. 10 is a schematic diagram showing an application in which a protection threshold is adjustable by hardware according to implementation two; FIG. 11 is a schematic diagram showing an application in which a protection threshold is adjustable by software according to implementation two; FIG. 12 is a first schematic diagram showing an application in which a response time is adjustable by hardware according to implementation three; FIG. 13 is a second schematic diagram showing an application in which a response time is adjustable by hardware according to implementation three; FIG. 14 is a third schematic diagram showing an application in which a response time is adjustable by hardware according to implementation three; FIG. 15 is a forth schematic diagram showing an application in which a response time is adjustable by software according to implementation three; FIG. 16 is a schematic diagram showing an application in which a delay module is adjustable by hardware according to implementation four; FIG. 17 is a schematic diagram showing an application in which a delay module is adjustable by software according to implementation four; and FIG. 18 is schematic diagram showing an application in which a protection circuit for a drain of a power amplifier is dynamically adjustable by software according to implementation five. DETAILED DESCRIPTION
[0015] The present application will be described in detail with reference to the accompanying drawings and in conjunction with embodiments. It is to be noted that if not in collision, the embodiments and features therein in the present application may be combined with each other.
[0016] It is to be noted that terms "first", "second" and the like in the description, the claims and the drawings are used for distinguishing similar objects, but not necessarily used for describing a specific sequence or a precedence order.Embodiment one
[0017] The application scenarios of a protection circuit according to an embodiment of the application include: a protection circuit for a power supply of a power amplifier in a power sharing base station, a circuit system using a field effect transistor, etc.
[0018] In this embodiment, a protection circuit is provided. Fig. 1 is a first structural diagram of the protection circuit according to the embodiment of the present application. As shown in Fig. 1, the protection circuit includes a detection module 10, a comparison module 12 and a response module 14.
[0019] The detection module 10 is connected with a drain of a Power Amplifier (PA), and configured to detect a dynamic current in the drain of the PA and output the dynamic current to the comparison module.
[0020] The comparison module 12 is connected with the detection module, and configured to output a control signal to the response module after a first response time in response to determining that the dynamic current is greater than a sampling threshold.
[0021] The response module 14 is connected with the comparison module, and configured to control the switch-off and switch-on of a drain voltage of the PA based on the control signal after a second response time.
[0022] Through the above steps, by limiting the drain current of the PA, when there is an abnormality in a certain channel of the PA, the abnormal channel can be quickly switched off without affecting the normal operation of other channels. Moreover, due to its fast response speed, the power amplifier can be effectively prevented from being burned out due to large gate voltage, short circuit, abnormal large signal, etc., and the situation of power supply bias caused by PA burnout due to long response time of the protection circuit in the related art is avoided. By setting a sampling threshold and a response time of the circuit, the burnout of the PA under extreme conditions is avoided, thereby increasing the reliability and stability of the system.
[0023] In an embodiment, the circuit further includes an adjustable reference module which is connected with the detection module and configured to adjust the sampling threshold for the dynamic current. By adding the adjustable reference module to adjust the sampling threshold, a protection threshold of the protection circuit can be adjusted.
[0024] In an embodiment, the adjustable reference module is connected with the comparison module and configured to adjust the first response time. In an embodiment, the adjustable reference module is connected with the response module and configured to adjust the second response time. By adding the adjustable reference module, the response time of the protection circuit can be adjusted.
[0025] In an embodiment, the circuit further includes a delay module which is connected with the comparison module and configured to control a state of an enabled terminal of the comparison module. By adding the delay module to control the power-on time of a signal at the enabled terminal of the comparison module, the system can be prevented from false protection during power-on. The protection circuit has an enabling function. By adding the enabling function, the comparison module is also enabled to control whether the protection is effective or not.
[0026] In an embodiment, corresponding functions of the adjustable reference module may be implemented by software or hardware.
[0027] When adjusting the sampling threshold and the state of the enabled terminal, the adjustable reference module, when implemented by hardware, includes an adjustable resistor connected between a ground terminal and the comparison module and configured to adjust a reference voltage of the comparison module, the reference voltage corresponds to the sampling threshold. According to Ohm's law, the current is proportional to the voltage under the condition of constant resistance, so the sampling threshold can be adjusted by adjusting the reference voltage. The adjustable reference module, when implemented by software includes: a central processing unit / processor (CPU), a Field-Programmable Gate Array (FPGA) and a Digital to Analog converter (DAC). An input terminal of the CPU is configured to receive control instructions, and an output terminal of the CPU is connected with the FPGA and configured to control the FPGA based on the control instructions. An input terminal of the FPGA is connected with the CPU, and an output terminal of the FPGA is connected with the DAC and the comparison module and configured to control the state of the enabled terminal by adjusting an output level and set the reference voltage, where the reference voltage corresponds to the sampling threshold. An input terminal of the DAC is connected with the FPGA, and an output terminal of the DAC is connected with comparison module and configured to output the reference voltage.
[0028] When adjusting the response time (including the first response time and the second response time), the adjustable reference module, when implemented by hardware, includes at least one of: a first capacitor, which is connected between the detection module and the comparison module, and configured to adjust a value of time for the output of the dynamic current to the comparison module; an adjusting unit, which includes a first resistor and a second capacitor, and configured to adjust a value of time for the output of the dynamic current to the comparison module, the first resistor being connected between the ground terminal and the comparison module, the second capacitor being connected in parallel with the first resistor, and the second capacitor being connected between the ground terminal and the comparison module; a Resistance-Capacitance (RC) phase-shifting circuit, which is connected in parallel with the a gate input terminal of the PA, includes a second resistor and a third capacitor, and is configured to adjust the second response time, the second resistor being connected between the gate input terminal and the ground terminal, and the third capacitor being connected between the gate input terminal and the ground terminal.
[0029] The adjustable reference module, when implemented by hardware, includes: a CPU, a FPGA, and a first counter circuit. An input terminal of the CPU is configured to receive control instructions, and an output terminal of the CPU is connected with the FPGA and configured to control the FPGA based on the control instructions. An input terminal of the FPGA is connected with the CPU, and an output terminal of the FPGA is connected with the first counter circuit and configured to control the first counter circuit. An input terminal of the first counter circuit is connected with the FPGA, and an output terminal of the first counter circuit is connected with the comparison module and configured to control the first response time.
[0030] In an embodiment, corresponding functions of the delay module may be implemented by software or hardware. Specifically, when implemented by hardware, the delay module includes a RC phase-shifting circuit including a fourth capacitor and a third resistor. The power-on sequence of the enabled terminal is adjusted by adjusting the resistance value of the resistor and the capacitance value of the capacitor. The fourth capacitor and the third resistor are connected in parallel, with one end of the fourth capacitor and one end of the third resistor grounded together, and the other end of the fourth capacitor and the other end of the third resistor connected to the enabled terminal together. The resistance value of the third resistor and the capacitance value of the fourth capacitor are adjusted so that the enabled terminal is disabled when the power supply overshoots, and the protection circuit does not have a protection function, thus avoiding false system protection.
[0031] When implemented by software, the delay module includes a second counter circuit configured to adjust a power-on level of the enabled terminal to control the enabling state of the enabled terminal.
[0032] Fig. 2 is a second structural diagram of the protection circuit according to an embodiment of the present application. As shown in Fig. 2, on the basis of Fig. 1, the protection circuit further includes an adjustable reference module 20 and a delay module 22.
[0033] In an embodiment, the adjustable reference module adjusts the sampling threshold based on at least one of a maximum withstand power of the PA, a wideband signal capability of the PA, requirements of the system to which the PA belongs, and the peak-to-average ratio of the dynamic current.
[0034] In an embodiment, the delay module controls the enabled terminal of the comparison module to be in a disabled state for a predetermined time after the drain voltage of the PA is switched on. Specifically, the delay module detects the switch-on time of the drain voltage, and waits for a predetermined time after detecting that the voltage is switched on, thereby avoiding false protection. Since the drain will have an overshoot current when the drain voltage of the PA is switched on, by adjusting the delay module to control the response module, the system can be prevented from false protection upon powering on, thereby increasing the stability of the system.
[0035] In this embodiment, the PA includes one of Gallium Nitride (GaN) PA and laterally diffused metal oxide semiconductor (LDMOS) PA. Of course, other application scenarios are also possible.
[0036] It should be noted that the above modules may be implemented by software or hardware, and when implemented by the hardware, the modules may be implemented in the following manners including, but not limited to: all the above modules are located in the same processor; or, the above modules are located in different processors in any combination.Embodiment two
[0037] In this embodiment, a circuit protection method is provided for realizing the above embodiments and exemplary implementations, and what has been described will not be repeated herein again.
[0038] In this embodiment, a circuit protection method is provided for protecting the PA by using the protection circuit in Embodiment one. The protection circuit includes: a detection module, a comparison module, and a response module. The detection module is connected with a drain of the PA, and configured to detect a dynamic current in the drain of the PA and output the dynamic current to the comparison module. The comparison module is connected with the detection module and configured to output a control signal after a first response time in response to determining that the dynamic current is greater than a sampling threshold. The response module is connected with the comparison module and configured to control the switch-off and switch-on of a drain voltage of the PA based on the control signal after a second response time.
[0039] In this embodiment, a circuit protection method is further provided, which corresponds to the implementation principle of the protection circuit. The circuit protection method includes: detecting a dynamic current in a drain of a PA; outputting a control signal after a first response time in response to determining that the dynamic current is greater than a sampling threshold; and controlling the switch-off or switch-on of a drain voltage of the PA based on the control signal after a second response time.
[0040] In an embodiment, before detecting the dynamic current in the drain of the PA, the method further includes adjusting at least one control parameter selected from a group consisting of the sampling threshold, the first response time, and the second response time.
[0041] In an embodiment, before outputting the control signal, the method further includes adjusting an enabled state of an output terminal, and the output terminal is configured to output the control signal.
[0042] In an embodiment, the adjusting an enabled state of an output terminal includes adjusting an output level of FPGA. A high level and a low level correspond to different states of the output terminal, such as an enabled state and a disabled state, respectively.
[0043] In an embodiment, the adjusting at least one control parameter includes setting a reference voltage which corresponds to the sampling threshold; and adjusting a value of time for the output of the dynamic current, i.e., a time from when the dynamic current is detected to when the dynamic current is output to the comparison module, which compares whether the dynamic current is greater than the sampling threshold.
[0044] In an embodiment, the adjusting an enabled state of an output terminal includes controlling the enabled state to be a disabled state for a predetermined time after the drain voltage of the PA is switched on.
[0045] This protection circuit may also be an optional implementation in Embodiment one and what has been described will not be repeated again.
[0046] Through the above description of the foregoing embodiments, those skilled in the art can clearly understand that the above method embodiments can be implemented by means of software plus a necessary general hardware platform; they certainly can also be implemented by means of hardware. Based on this understanding, the essential part of the technical solution according to the present disclosure or the part that contributes to the prior art can be embodied in the form of a software product that can be stored in a storage medium, such as ROM / RAM, a magnetic disk, an optical disc, which includes instructions to cause a terminal device (e.g., a mobile phone, a computer, a server, or a network device, etc.) to perform the methods described in the various embodiments of the present disclosure.Embodiment three
[0047] In this embodiment, a design scheme related to a power supply protection circuit for a drain of a power amplifier is provided. Under abnormal conditions, such as welding failure of a PA, large gate voltage, large RF signal input, wide spectrum, etc., short circuit of the drain of the PA or burnout of the PA may be caused, leading to bias of the overall power supply, which in turn causes abnormal operation of all transmission channels.
[0048] In this embodiment, a method is provided. According to the method, by limiting the drain current of the power amplifier, when there is an abnormality in a certain channel of the power amplifier, the abnormal channel can be quickly switched off without affecting the normal operation of other channels. Moreover, due to its fast response speed, the power amplifier can be effectively prevented from being burned out due to large gate voltage, short circuit, abnormal large signal, etc.
[0049] According to the present application, burnout of the PA and bias of the overall power supply caused by the burnout of the PA can be prevented. As shown in Fig. 2, a protection circuit for a drain of a power amplifier (PA) described in the present application includes a detection module 10, a response module 14, a comparison module 12, an adjustable reference module 20 and a delay module 22.
[0050] The detection module 10 is configured to detect a real-time dynamic current in the drain of the PA, which may be implemented by using a detection resistor. An input of the detection module 10 is a drain voltage of the PA, and a sampling current is obtained through the detection resistor and is then input to the comparison module 14 through a differential resistor. In addition, the drain voltage of the PA is input into the response module 14 to supply power to the drain of a PA.
[0051] The response module 14 is configured to control the switch-off and switch-on of the drain voltage of the PA, which can be implemented by a photoelectric coupler and a positive channel metal oxide semiconductor (PMOS) transistor.
[0052] The sampling current from the detection module 10 is input into the comparison module 12, and the comparison module 12 controls the response module 14. When the comparison module 12 outputs a high level, the photoelectric coupler is switched on, and the PMOS transistor is switched off which in turn switches off the drain voltage of the PA. The adjustable reference module 20 controls the response time of the response module 14 to make the response time adjustable.
[0053] The adjustable reference module 20 is configured to set a protection current threshold for the PA and a response time of the protection circuit. For different systems, the rated power and system response time are different, and the protection current threshold and the protection response time can be adjusted by adjusting the adjustable reference module 20.
[0054] The adjustable reference module 20 controls the detection module 10, and the response module 14 can adjust the response time of the protection circuit. The adjustable reference module 20 controls the comparison module 10 to make the protection threshold and response time adjustable.
[0055] The drain current sampled by the detection module 10 passes through the operational amplifier D1 to output a voltage U1, which is compared with a reference voltage U2 in the operational amplifier D2 to output a high or a low level, so as to control the response module, and the response module 14 controls the switch-off of the drain voltage of PA. The adjustable reference module 20 controls the comparison module 12 to adjust the threshold of the protection circuit and the response time of the protection circuit.
[0056] The delay module 22 controls the power-on time of a signal at the enabled terminal of the comparison module 12, so as to avoid false protection by the protection circuit when the PA is powered on. In addition, the delay module 22 adjusts the comparison module 12 to control whether the protection circuit is in an enabled state.
[0057] The modules in this embodiment may be implemented by hardware, software or a combination thereof, and may be circuits in various forms, which will be described in detail by specific implementations below.Implementation one
[0058] The protection circuit in this implementation has the characteristics of adjustable protection threshold and adjustable response time. The specific application flow chart is shown in Fig. 3, which is a schematic diagram showing application of a protection circuit for a drain of a PA according to implementation one.
[0059] Referring to Fig. 3, a current detection module 101, a response module 102, an adjustable reference module 103, a comparison module 104, and a delay module 105 are shown.
[0060] After passing through the module 101, the PA drain voltage passes through a sampling resistor, and a sampled drain current passes through a differential resistor and is input to the module 104. The module 104 outputs a high or a low level through the operational amplifiers D1 and D2 to control the module 102, so as to switch off the PA drain voltage. In addition, modules 101, 102 and 104 are controlled by the module 103 to realize the adjustable protection threshold and adjustable response time. By adjusting the module 104 by the module 105, the power-on time of a signal at the enabled terminal 104 and whether the protection circuit is effective or not can be controlled. After the drain voltage of the PA passes through R1 which is the sampling resistor, the sampled current passes through differential resistors R2 and R3 and is input to the operational amplifier D1 to output the voltage U1. The CPU controls the FPGA. On one hand, the FPGA outputs a high or a low level to control the enabled terminal of operational amplifier D2. When the enabled terminal signal is at a high level, D2 works normally, and when the enabled terminal signal is at a low level, D2 is switched off. On the other hand, the FPGA sets the threshold voltage U2 by controlling an output voltage value of the DAC module. The operational amplifier D2 outputs a high or a low level based on a comparison between the voltages U1 and U2. When U1 is greater than U2, D2 outputs a high level, the photoelectric coupler is switched on, and the PMOS transistor is switched off, so that the drain voltage of PA is switched off. When U1 is less than U2, D2 outputs a low level, the photoelectric coupler is switched off, the PMOS transistor remains switched-on, and the circuit works normally.
[0061] Since the response times required by different systems are different, the switch-off time of the protection circuit can be changed by adjusting the value of capacitor C1. In addition, when the drain voltage of the PA is switched on, the drain current will overshoot. In order to prevent false protection by the protection circuit, the high-level power-on time of the enabled terminal can be changed by adjusting the capacitance value of a capacitor C5 and the resistance value of a resistor R5 to avoid false protection of the system.
[0062] The switch-off response time of the protection circuit is set to be t 0 in microsecond (µs). 1) When the drain voltage of the PA is switched on, the drain will have an overshoot current. At this time, the response curve of the protection circuit is shown in Fig. 4, which is a response curve of the protection circuit when there is no abnormal protection during the initial power-on according to implementation one. By adjusting the delay module, the drain current of PA is normal and no false protection is caused. 2) When the gate voltage of the PA is abnormal, a large current will occur, and the response curve of the protection circuit is shown in Fig. 5, which is a response curve of the protection circuit when the gate voltage is abnormal according to implementation one. At this time, the protection circuit takes effect, and the drain voltage of PA is switched off to protect the PA. 3) When a peak-to-average ratio signal appears, the duration of the peak-to-average ratio signal is ∇t which is less than t 0 , as shown in Fig. 6, which is a diagram of a normal peak-to-average ratio input signal according to implementation one. The response curve of the protection circuit is shown in Fig. 7, which is a response curve of the protection circuit to the input peak-to-average ratio signal according to implementation one. Comparing Figs. 6 and 7, it can be seen that when the peak-to-average ratio signal appears, and when the duration of the peak-to-average ratio signal is shorter than the switch-off response time of the protection circuit, the drain current of PA is normal, and no false protection is caused. 4) When an abnormal signal occurs, as shown in Fig. 8, which is a graph of the abnormal input signal according to implementation one. The response curve of the protection circuit is shown in Fig. 9, which is a response curve of the protection circuit to the input abnormal signal according to implementation one. Comparing Figs. 8 and 9, it can be seen that when the abnormal signal has an amplitude larger than the protection current threshold and the duration of the abnormal signal is longer than the response time of the protection circuit, the protection circuit takes effect and switches off the drain voltage of PA. Implementation two
[0063] The protection circuit of this implementation has the characteristic of adjustable threshold, and the protection threshold of PA drain current varies among different systems and different application scenarios.
[0064] The threshold current of the protection circuit should be set comprehensively based on the maximum withstand power and wideband signal capability of the PA and the system requirements. If the protection threshold is set too low, the channels of the PA are easily switched off by mistake, and if the threshold is set too high, burnout of the PA is easily caused.
[0065] The protection threshold may be adjusted by the hardware circuit. The specific application flow chart is shown in Fig. 10, which is a schematic diagram showing an application in which a protection threshold is adjustable by hardware according to implementation two. The predetermined protection threshold is changed by adjusting a resistance value of a resistor Rp in a voltage dividing circuit.
[0066] The protection threshold may also be adjusted by software. The specific application flow chart is shown in Fig. 11, which is a schematic diagram showing an application in which a protection threshold is adjustable by software according to implementation two. The CPU controls the FPGA. On one hand, FPGA outputs a high or a low level to control the enabled terminal of the operational amplifier D2. If the enabled terminal signal is at a high level, D2 works normally; and if the enabled terminal signal is at a low level, D2 is switched off. On the other hand, the FPGA sets the threshold voltage U2 by controlling an output voltage value of the DAC module.
[0067] The specific application flow charts in this implementation all concern realizable PA drain protection circuit systems.Implementation three
[0068] The protection circuit of this implementation has the characteristic of adjustable time. Based on different peak-to-average ratio signals, the time required by the system is different, so the characteristic of adjustable time is very important. Time adjustment can be realized by hardware circuit and software module as follows.
[0069] The specific application flow chart of a first example of the hardware circuit is shown in Fig. 12. Fig. 12 is a first schematic diagram showing an application in which a response time is adjustable by hardware according to implementation three. The time when the detection current reaches the input terminal of the operational amplifier is adjusted by adjusting the capacitance value of capacitor C1 connected in parallel with detection resistor R1, so as to change the response time of the protection circuit system.
[0070] The specific application flow chart of a second example of the hardware circuit is shown in Fig. 13. Fig. 13 is a second schematic diagram showing an application in which a response time is adjustable by hardware according to implementation three. The time when the detection current reaches the input terminal of the operational amplifier is adjusted by adjusting the capacitance value of capacitor C1 connected in parallel with a voltage dividing resistor R4, so as to change the response time of protection circuit system.
[0071] The specific application flow chart of a third example of the hardware circuit is shown in Fig. 14. Fig. 14 is a third schematic diagram showing an application in which a response time is adjustable by hardware according to implementation three. The RC phase-shifting circuit is connected in parallel at a gate input terminal of the PMOS transistor, and the resistance value of a resistor R6 and the capacitance value of a capacitor C6 are adjusted to change the response time of the protection circuit system.
[0072] The specific application flow chart realized by software module is shown in Fig. 15. Fig. 15 is a fourth schematic diagram showing an application in which a response time is adjustable by software according to implementation three. A counter circuit is added between the first-stage operational amplifier D1 and the FPGA, and the response time is controlled by the first counter circuit to realize software adjustable response time.
[0073] The specific application flow charts in this implementation all concern realizable PA drain protection circuit systems.Implementation four
[0074] In this implementation, by controlling an enabling module, false protection can be avoided. Since the drain will have an overshoot current when the drain voltage of the PA is switched on, by adjusting the delay module to control the enabling module, the system can be prevented from false protection upon power on, thereby increasing the stability of the system.
[0075] A specific flow chart of a process performed by the delay module implemented by hardware is shown in Fig. 16. Fig. 16 is a schematic diagram showing an application in which a delay module is adjustable by hardware according to implementation four. The power-on sequence of the enabled terminal is adjusted through RC network, and the resistance value of the resistor R6 and the capacitance value of the capacitor C6 are adjusted to cause the enabled terminal to be in a disabled state when the power supply overshoots, so that the protection circuit has no protection function, thus avoiding false system protection.
[0076] A flow chart of a process performed by the delay module implemented by software is shown in Fig. 17. Fig. 17 is a schematic diagram showing an application in which a delay module is adjustable by software according to implementation four. The FPGA adjusts the power-on level of the enabled terminal of the operational amplifier D2 through the second counter circuit to cause the enabled terminal to be in a disabled state when the power supply overshoots, so that the protection circuit has no protection function, thus avoiding false system protection.
[0077] The specific application flow charts in this implementation all concern realizable PA drain protection circuit systems.Implementation five
[0078] Combined with the implementation two, implementation three and implementation four, an application in which a protection circuit for a drain of a power amplifier is dynamically adjustable by software is shown in Fig. 18. Fig. 18 is a schematic diagram showing an application in which a protection circuit for a drain of a power amplifier is dynamically adjustable by software according to implementation five. Module 103_1 (first counter circuit) adjusts the response time of the protection circuit, and module 103_2 adjusts the protection threshold of the protection circuit. Module 105 (second counter circuit) adjusts the power-on time of the enabled terminal to prevent the protection circuit from false protection when the drain of the power amplifier is switched on, thus realizing the dynamic adjustment by software.
[0079] To sum up, the drain protection circuit system is a new type of protection circuit, which can not only protect the large gate voltage, but also effectively block the abnormally large signal output by the system and greatly reduce the burnout probability of the PA. Even if a certain channel of the PA is abnormal, the drain can be effectively disconnected, so that the overall power supply is not affected, and other channels can work normally. For a multi-channel system, this is of vital importance. By shielding abnormal channels and reducing the rank of baseband, the main service will not be affected, thereby improving the overall utilization rate.
[0080] Compared with the conventional protection circuit architecture, the protection threshold and the response time of the protection circuit in this embodiment are adjustable by adding the adjustable reference module. By adding the delay module to control the power-on time of the enabled terminal of the comparison module, the system can be prevented from false protection during power-on. The protection circuit has an enabling function. By adding the enabling function, the comparison module is also enabled to control whether the protection is effective or not.
[0081] In this embodiment, the protection time is adjustable, so that false protection of peak-to-average ratio signals can be prevented. When large RF signals and wide spectrum signals appear, the response time of the response circuit is controlled to avoid burnout of the PA and increase system reliability. In this embodiment, by controlling the enabling module, false protection can be avoided. Since the drain will have an overshoot current when the drain voltage of the PA is switched on, by adjusting the delay module to control the response module, the system can be prevented from false protection upon power on, thereby increasing the stability of the system. In this embodiment, the response time of the protection circuit system is short, which can be controlled at the microsecond (µs) level. In this embodiment, by controlling the switch-off of the drain voltage of PA, it can be avoided that the overall power supply is biased when a certain channel of the PA is burned out. In this embodiment, the protection threshold and response time can be adjusted simply by adding two modules, and the cost is low. This embodiment has a wide range of application scenarios, and the protection method of switching off the PA drain can be applied to both GaN power amplifiers and LDMOS power amplifiers.Embodiment four
[0082] In an embodiment of the present application, a storage medium is further provided including a stored program that, when running, executes the method of any of the embodiments described above.
[0083] In this embodiment, the storage medium may include, but is not limited to, a USB flash drive, a Read Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, a magnetic disk, an optical disk and other media that can store program codes.
[0084] In an embodiment of the present application, a processor is further provided, which is configured to run a program that, when running, executes the method described in any of the embodiments described above.
[0085] In an embodiment, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementations, and this embodiment will not be repeated here.
[0086] It should be understood by those skilled in the art that the above-mentioned modules or steps of this application may be implemented by a general computing device, and may be concentrated on a single computing device or distributed across a network composed of multiple computing devices. In one embodiment, they can be implemented by program codes executable by computing devices, so that they can be stored in a storage device and executed by computing devices. In some cases, the steps shown or described can be performed in a different order from here, or they can be made into individual integrated circuit modules, or a plurality of modules or steps among them can be made into a single integrated circuit module. Thus, the application is not limited to any specific combination of hardware and software.
Claims
1. A protection circuit, comprising a detection module, a comparison module and a response module, wherein the detection module is connected with a drain of a power amplifier (PA), and is configured to detect a dynamic current in the drain of the PA and output the dynamic current to the comparison module; the comparison module is connected with the detection module and configured to, in response to determining that the dynamic current is greater than a sampling threshold, output a control signal to the response module after a first response time started from determining that the dynamic current is greater than the sampling threshold; and the response module is connected with the comparison module and configured to control switch-off or switch-on of a drain voltage of the PA based on the control signal after a second response time started from receiving the output control signal.
2. The circuit according to claim 1, further comprising: an adjustable reference module, which is connected with the detection module and configured to adjust the sampling threshold for the dynamic current.
3. The circuit according to claim 2, wherein the adjustable reference module is connected with the comparison module and configured to adjust the first response time.
4. The circuit according to claim 2, wherein the adjustable reference module is connected with the response module and configured to adjust the second response time.
5. The circuit according to any one of claims 1 to 4, further comprising: a delay module, which is connected with the comparison module and configured to control a state of an enabled terminal of the comparison module.
6. The circuit according to claim 5, wherein the adjustable reference module comprises: an adjustable resistor, which is connected between a ground terminal and the comparison module and is configured to adjust a reference voltage of the comparison module, wherein the reference voltage corresponds to the sampling threshold.
7. The circuit according to claim 5, wherein the adjustable reference module comprises a central processing unit (CPU), a field programmable gate array (FPGA) and a digital-to-analog converter (DAC), wherein, an input terminal of the CPU is configured to receive a control instruction, and an output terminal of the CPU is connected with the FPGA and configured to control the FPGA based on the control instruction; an input terminal of the FPGA is connected with the CPU, and an output terminal of the FPGA is connected with the DAC and the comparison module and configured to control the state of the enabled terminal by adjusting an output level and set a reference voltage, wherein the reference voltage corresponds to the sampling threshold; an input terminal of the DAC is connected with the FPGA, and an output terminal of the DAC is connected with the comparison module and configured to output the reference voltage.
8. The circuit according to claim 5, wherein the adjustable reference module comprises: a first capacitor, which is connected between the detection module and the comparison module and configured to adjust a value of time for the output of the dynamic current to the comparison module.
9. The circuit according to claim 5, wherein the adjustable reference module comprises: an adjusting unit, which comprises a first resistor and a second capacitor and is configured to adjust a value of time for the output of the dynamic current to the comparison module, wherein the first resistor is connected between the ground terminal and the comparison module, and the second capacitor is connected in parallel with the first resistor between the ground terminal and the comparison module.
10. The circuit according to claim 5, wherein the adjustable reference module comprises: a Resistance-Capacitance (RC) phase-shifting circuit connected in parallel with a gate input terminal of the PA, wherein the RC phase-shifting circuit comprises a second resistor and a third capacitor and is configured to adjust a second response time, wherein the second resistor is connected between the gate input terminal and the ground terminal, and the third capacitor is connected between the gate input terminal and the ground terminal.
11. The circuit according to claim 5, wherein the adjustable reference module comprises a CPU, a FPGA and a first counter circuit, wherein, an input terminal of the CPU is configured to receive a control instruction, and an output terminal of the CPU is connected with the FPGA and configured to control the FPGA based on the control instruction; an input terminal of the FPGA is connected with the CPU, and an output terminal of the FPGA is connected with the first counter circuit and configured to control the first counter circuit; an input terminal of the first counter circuit is connected with the FPGA, and an output terminal of the first counter circuit is connected with the comparison module and configured to control the first response time.
12. The circuit according to claim 5, wherein the delay module comprises at least one of: a RC phase-shifting circuit, which comprises a fourth capacitor and a third resistor, and power-on sequence of the enabled terminal is adjusted by adjusting a resistance value of the third resistor and a capacitance value of the fourth capacitor; and a second counter circuit, which is configured to adjust a power-on level of the enabled terminal to control a state of the enabled terminal.
13. The circuit according to any one of claims 2 to 4, wherein the adjustable reference module is configured to adjust the sampling threshold based on at least one of a maximum withstand power of the PA, a wideband signal capability of the PA, requirements of a system to which the PA belongs, and a peak-to-average ratio of the dynamic current.
14. The circuit according to claim 5, wherein the delay module controls the enabled terminal of the comparison module to be in a disabled state for a predetermined time after the drain voltage of the PA is switched on.
15. A circuit protection method, comprising: detecting a dynamic current in a drain of a PA; outputting a control signal after a first response time in response to determining that the dynamic current is greater than a sampling threshold; and controlling switch-off or switch-on of a drain voltage of the PA based on the control signal after a second response time.
16. The method according to claim 15, before detecting a dynamic current in a drain of a PA, the method further comprises: adjusting at least one control parameter selected from a group consisting of: the sampling threshold, the first response time and the second response time.
17. The method according to claim 15, before outputting a control signal, the method further comprises: adjusting an enabled state of an output terminal, wherein the output terminal is configured to output the control signal.
18. The method according to claim 17, wherein the adjusting an enabled state of an output terminal comprises: adjusting an output level of the FPGA, wherein a high level and a low level correspond to different states of the output terminal, respectively.
19. The method according to claim 16, wherein the adjusting at least one control parameter comprises: setting a reference voltage, wherein the reference voltage corresponds to the sampling threshold; and adjusting a value of time for the output of the dynamic current.
20. The method according to claim 17, wherein the adjusting an enabled state of an output terminal comprises: controlling the enabled state to be a disabled state for a predetermined time after the drain voltage of the PA is switched on.
21. A storage medium in which a computer program is stored, wherein the computer program is configured to execute, when running, the method according to any one of claims 15 to 20.
22. A processor configured to run a computer program to execute the method according to any one of claims 15 to 20.