Gain adjusting circuit and method and electronic equipment
By reducing the number of LNA conduction and introducing an impedance matching circuit, the controller adjusts the parameters of the LNA module and impedance matching circuit, the existing LNA gain is solved, and the gain adjustment and impedance matching guarantee under low power consumption conditions is achieved.
Patent Information
- Application Number
- CN202510305589.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-14
- Publication Date
- 2025-04-11
- Estimated Expiration
- 2045-03-14
AI Technical Summary
Existing low noise amplifiers (LNAs) cannot adjust the gain when inputting high-power radio frequency signals, and while ensuring that the matching impedance remains unchanged, the gain reduction of LNA is not possible, resulting in the gain being unadjustable.
By reducing the number of conduction of LNA and introducing a first impedance matching circuit on the feedback loop of the LNA module, the controller adjusts the number of conduction of LNA in the LNA module and the impedance of the first impedance matching circuit according to the signal strength of the input radio frequency signal, thereby realizing the adjustment of gain.
The gain adjustment is achieved on the basis of low-power LNA, while ensuring the matching of 50 ohm impedance and unchanged.
Smart Images

Figure CN119813978A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of radio frequency, and in particular to a gain adjustment circuit, method and electronic device. Background Art
[0002] With the development of communication and the internet of things (IOT), radio frequency technology has become one of the important means of communication. The power consumption of communication equipment caused by radio frequency technology has always attracted much attention, among which low noise amplifier (LNA) is one of the main sources of power consumption.
[0003] Currently, when a high-power RF signal is input to the LNA, the gain of the LNA needs to be reduced. However, it is not possible to reduce the gain of the LNA while ensuring that the matching impedance remains unchanged, which results in that the gain of the LNA cannot be adjusted. Summary of the invention
[0004] The embodiments of the present application provide a gain adjustment circuit, method and electronic device, which can adjust the gain based on a low-power LNA by reducing the number of LNAs that are turned on.
[0005] To achieve the purpose, the embodiments of the present application adopt the following technical solutions: In a first aspect, a gain adjustment circuit is provided, which includes a low noise amplifier LNA module, a first impedance matching circuit, a first inductor, a second inductor, a third inductor and a controller; the LNA module includes at least two LNAs, the first end of each LNA in the LNA module is connected to the first end of the LNA module, the second end of each LNA in the LNA module is connected to the second end of the LNA module, the bias end of each LNA in the LNA module is connected to the bias end of the LNA module, the ground end of each LNA in the LNA module is connected to the ground end of the LNA module, and the control end of each LNA in the LNA module is connected to the control end of the LNA module; the first end of the LNA module is connected to the first inductor The second end of the LNA module is connected to the second end of the second inductor, the ground end of the LNA module is connected to the first end of the third inductor, and the control end of the LNA module is connected to the controller; the second end of the third inductor is grounded; the first end of the first impedance matching circuit is connected to the first end of the LNA module, the second end of the first impedance matching circuit is connected to the second end of the LNA module, and the control end of the first impedance matching circuit is connected to the controller; the first end of the first inductor is used to input a radio frequency signal, the first end of the second inductor is used to input a bias voltage, and the second end of the LNA module is used to output an adjusted radio frequency signal; the controller is used to: adjust the conduction number of LNAs in the LNA module and the impedance of the first impedance matching circuit according to the signal strength of the input radio frequency signal.
[0006] The above-mentioned gain adjustment circuit includes an LNA module composed of at least two LNAs and a first impedance matching circuit on the feedback loop of the LNA module. The controller can determine the required gain according to the signal strength of the input RF signal. The controller controls the number of LNA conduction according to the required gain, and matches different impedances through the first impedance matching circuit according to the gains corresponding to different LNA conduction numbers, so as to ensure that after adjusting the gain, the gain adjustment circuit can still meet the matching of 50 ohm impedance. Therefore, by reducing the number of LNA conduction, the gain can be adjusted on the basis of low-power LNA, and the matching of 50 ohm impedance can be ensured unchanged.
[0007] In an implementation manner of the first aspect, the LNA module includes a first LNA and a second LNA; the controller controls the number of LNAs in the LNA module that are turned on according to the signal strength of the input radio frequency signal, including: when the signal strength of the input radio frequency signal is less than or equal to a first signal strength threshold, the controller controls the first LNA and the second LNA to be turned on; when the signal strength of the input radio frequency signal is greater than the first signal strength threshold and less than or equal to a second signal strength threshold, the controller controls the first LNA or the second LNA to be turned on.
[0008] In this implementation, when the signal strength of the input RF signal is less than or equal to the first signal strength threshold, it indicates that the input signal is small and needs to be adjusted to a large gain through the LNA module. Therefore, there is no need to reduce the number of LNAs that are turned on, and the controller controls the first LNA and the second LNA to be turned on. When the signal strength of the input RF signal is greater than the first signal strength threshold and less than or equal to the second signal strength threshold, it indicates that the input signal is large and no longer needs to be adjusted to a large gain through the LNA module. Therefore, the number of LNAs that are turned on can be reduced, and the controller controls the first LNA or the second LNA to be turned on. Therefore, by reducing the number of LNAs that are turned on, the gain can be adjusted on the basis of a low-power LNA.
[0009] In an implementation manner of the first aspect, the first impedance matching circuit includes a first switch, a second switch, a first capacitor, a first adjustable capacitor and a first adjustable resistor; a first end of the first switch is connected to a first end of the LNA module, a second end of the first switch is connected to a first end of the first adjustable capacitor, and a control end of the first switch is connected to a controller; a second end of the first adjustable capacitor is grounded, and a control end of the first adjustable capacitor is connected to the controller; a first end of the second switch is connected to a first end of the LNA module, a second end of the second switch is connected to a first end of the first capacitor, and a control end of the second switch is connected to the controller; a second end of the first capacitor is connected to a first end of the first adjustable resistor; a second end of the first adjustable resistor is connected to a second end of the LNA module, and a control end of the first adjustable resistor is connected to the controller.
[0010] In this implementation, a first impedance matching circuit is formed by connecting a series resistor, a capacitor and a parallel capacitor in the feedback loop of the LNA module, thereby ensuring that after the gain is adjusted by the LNA module, the gain adjustment circuit can still meet the impedance matching of 50 ohms.
[0011] In an implementation manner of the first aspect, the controller adjusts the impedance of the first impedance matching circuit according to the signal strength of the input radio frequency signal, including: the controller controls the first switch to close and adjusts the capacitance of the first adjustable capacitor according to the signal strength of the input radio frequency signal; or; controls the second switch to close and adjusts the resistance of the first adjustable resistor; or; controls the first switch and the second switch to close and adjusts the capacitance of the first adjustable capacitor and the resistance of the first adjustable resistor.
[0012] In this implementation, the controller can adjust the impedance of the first impedance matching circuit by controlling the first switch to close and accessing the first adjustable capacitor of the first branch, thereby adjusting the capacitance of the first adjustable capacitor. Alternatively, the impedance of the first impedance matching circuit can be adjusted by controlling the second switch to close and accessing the first capacitor and the first adjustable resistor of the second branch, thereby adjusting the resistance value of the first adjustable resistor. Alternatively, the impedance of the first impedance matching circuit can be adjusted by controlling the first switch to close and the second switch to close, accessing the first adjustable capacitor of the first branch, and the first capacitor and the first adjustable resistor of the second branch, thereby adjusting the capacitance of the first adjustable capacitor and the resistance value of the first adjustable resistor. Thus, the impedance corresponding to the conduction number of the LNA is matched, ensuring that after adjusting the gain, the gain adjustment circuit can still meet the matching of 50 ohm impedance.
[0013] In an implementation manner of the first aspect, the gain adjustment circuit also includes a bypass circuit and a second impedance matching circuit; a first end of the second impedance matching circuit is connected to a first end of the first inductor, a second end of the second impedance matching circuit is grounded, and a control end of the second impedance matching circuit is connected to a controller; a first end of the bypass circuit is connected to a first end of the LNA module, a second end of the bypass circuit is connected to a second end of the LNA module, and a control end of the bypass circuit is connected to the controller.
[0014] In this implementation, when the signal strength of the input RF signal is very high, the LNA is saturated due to the excessive input signal. At this time, the LNA is no longer needed to amplify the RF signal, and even needs to be attenuated. Therefore, the LNA module can be disconnected and a bypass circuit can be added to attenuate it. By adjusting the attenuation coefficient through the bypass circuit, the area can be further saved and the linearity index under high signal strength can be increased. And the impedance corresponding to the attenuation coefficient of the bypass circuit can be matched through the second impedance matching circuit, so as to ensure that after adjusting the attenuation coefficient through the bypass circuit, the gain adjustment circuit can still meet the matching of 50 ohm impedance.
[0015] In an implementation manner of the first aspect, when the signal strength of the input RF signal is greater than the second signal strength threshold, the controller is further used to: control the first LNA and the second LNA to be turned off; control the bypass circuit and the second impedance matching circuit to be turned on; and adjust the attenuation coefficient of the bypass circuit and the impedance of the second impedance matching circuit according to the signal strength of the input RF signal.
[0016] In this implementation, when the signal strength of the input RF signal is greater than the second signal strength threshold, it indicates that the signal strength of the input RF signal is too large and the LNA is saturated. At this time, the input RF signal does not need to be amplified and even needs to be attenuated. Therefore, the controller controls the LNA module and the first impedance matching circuit to be disconnected, controls the bypass circuit and the second impedance matching circuit to be turned on, and adjusts the attenuation coefficient of the bypass circuit to attenuate the input RF signal. The impedance corresponding to the attenuation coefficient of the bypass circuit can be matched through the second impedance matching circuit, thereby ensuring that after adjusting the attenuation coefficient, the gain adjustment circuit can still meet the matching of 50 ohm impedance.
[0017] In an implementation manner of the first aspect, the bypass circuit includes a third switch, a fourth switch, and a second adjustable resistor; a first end of the third switch is connected to a first end of the LNA module, a second end of the third switch is connected to a first end of the second adjustable resistor, and a control end of the third switch is connected to a controller; a second end of the second adjustable resistor is grounded, and a control end of the second adjustable resistor is connected to the controller; a first end of the fourth switch is connected to a first end of the LNA module, a second end of the fourth switch is connected to a second end of the LNA module, and a control end of the fourth switch is connected to the controller.
[0018] In this implementation, by connecting a bypass circuit consisting of a third switch, a fourth switch and a second adjustable resistor in parallel on the LNA module, the input RF signal can be attenuated by adjusting the attenuation coefficient of the bypass circuit when the signal strength of the input RF signal is very high.
[0019] In an implementation manner of the first aspect, the second impedance matching circuit includes a fifth switch, a third adjustable resistor and a second adjustable capacitor; the first end of the fifth switch is connected to the first end of the first inductor, the second end of the fifth switch is connected to the first end of the third adjustable resistor, and the control end of the fifth switch is connected to the controller; the second end of the third adjustable resistor is connected to the first end of the second adjustable capacitor, and the control end of the third adjustable resistor is connected to the controller; the second end of the second adjustable capacitor is grounded, and the control end of the second adjustable capacitor is connected to the controller.
[0020] In this implementation, by connecting the second impedance matching circuit composed of the fifth switch, the third adjustable resistor and the second adjustable capacitor to the first inductor, the attenuation coefficient can be adjusted by the bypass circuit while the impedance corresponding to the attenuation coefficient can be matched by the second impedance matching circuit, thereby ensuring that after the attenuation coefficient is adjusted, the gain adjustment circuit can still meet the matching of 50 ohm impedance.
[0021] In an implementation manner of the first aspect, the controller controls both the bypass circuit and the second impedance matching circuit to be turned on, including: the controller controls the third switch to be closed, the fourth switch to be closed, and the fifth switch to be closed.
[0022] In this implementation, the bypass circuit and the second impedance matching circuit are turned on by controlling the third switch to be closed, the fourth switch to be closed, and the fifth switch to be closed, which is simple and convenient.
[0023] In an implementation manner of the first aspect, the controller adjusts the attenuation coefficient of the bypass circuit according to the signal strength of the input RF signal, including: the controller adjusts the resistance of the second adjustable resistor according to the signal strength of the input RF signal; the controller adjusts the impedance of the second impedance matching circuit according to the signal strength of the input RF signal, including: the controller adjusts the capacitance of the second adjustable capacitor and the resistance of the third adjustable resistor according to the signal strength of the input RF signal.
[0024] In this implementation, under the premise that the third switch is closed, the fourth switch is closed, and the fifth switch is closed, the controller adjusts the attenuation coefficient of the bypass circuit by adjusting the resistance value of the second adjustable resistor to attenuate the input RF signal. The impedance of the second impedance matching circuit is adjusted by adjusting the capacitance of the second adjustable capacitor and the resistance value of the third adjustable resistor. This ensures that the attenuation coefficient can be adjusted and the corresponding impedance can be matched under the premise of inputting a high signal strength RF signal.
[0025] In an implementation manner of the first aspect, an impedance of the first inductor is different from an impedance of the second inductor, and an impedance of the second inductor is the same as an impedance of the third inductor.
[0026] In this implementation, by setting the impedances of the first inductor, the second inductor, and the third inductor, the gain adjustment circuit can be made symmetrical, the anti-interference capability of the gain adjustment circuit can be improved, and the linearity and performance of the gain adjustment circuit can be improved. The first impedance matching circuit and the second impedance matching circuit can be combined to adjust the impedance together, thereby ensuring that after adjusting the attenuation coefficient through the bypass circuit, the gain adjustment circuit can still meet the matching of 50 ohm impedance.
[0027] In a second aspect, a gain adjustment method is provided, which is applied to an electronic device. The electronic device includes a noise amplifier LNA module, a first impedance matching circuit, a first inductor, a second inductor, a third inductor and a controller; the controller is used to execute the gain adjustment method; the LNA module includes at least two LNAs, the first end of each LNA in the LNA module is connected to the first end of the LNA module, the second end of each LNA in the LNA module is connected to the second end of the LNA module, the bias end of each LNA in the LNA module is connected to the bias end of the LNA module, the ground end of each LNA in the LNA module is connected to the ground end of the LNA module, and the control end of each LNA in the LNA module is connected to the control end of the LNA module; the LNA module The first end is connected to the second end of the first inductor, the bias end of the LNA module is connected to the second end of the second inductor, the ground end of the LNA module is connected to the first end of the third inductor, and the control end of the LNA module is connected to the controller; the second end of the third inductor is grounded; the first end of the first impedance matching circuit is connected to the first end of the LNA module, the second end of the first impedance matching circuit is connected to the second end of the LNA module, and the control end of the first impedance matching circuit is connected to the controller; the first end of the first inductor is used to input a radio frequency signal, the first end of the second inductor is used to input a bias voltage, and the second end of the LNA module is used to output an adjusted radio frequency signal; the method includes: adjusting the conduction number of LNAs in the LNA module and the impedance of the first impedance matching circuit according to the signal strength of the input radio frequency signal.
[0028] In an implementation manner of the second aspect, the LNA module includes a first LNA and a second LNA; and according to the signal strength of the input radio frequency signal, adjusting the number of LNAs in the LNA module that are turned on includes: when the input signal strength is less than or equal to a first signal strength threshold, controlling the first LNA and the second LNA to be turned on; when the input signal strength is greater than the first signal strength threshold and less than or equal to a second signal strength threshold, controlling the first LNA or the second LNA to be turned on; and the second signal strength threshold is greater than the first signal strength threshold.
[0029] In an implementation manner of the second aspect, the first impedance matching circuit includes a first switch, a second switch, a first capacitor, a first adjustable capacitor and a first adjustable resistor; the first end of the first switch is connected to the first end of the LNA module, the second end of the first switch is connected to the first end of the first adjustable capacitor, and the control end of the first switch is connected to the controller; the second end of the first adjustable capacitor is grounded, and the control end of the first adjustable capacitor is connected to the controller; the first end of the second switch is connected to the first end of the LNA module, the second end of the second switch is connected to the first end of the first capacitor, and the control end of the second switch is connected to the controller; the second end of the first capacitor is connected to the first end of the first adjustable resistor; the second end of the first adjustable resistor is connected to the second end of the LNA module, and the control end of the first adjustable resistor is connected to the controller.
[0030] In an implementation manner of the second aspect, the impedance of the first impedance matching circuit is adjusted according to the signal strength of the input radio frequency signal, including: controlling the first switch to close and adjusting the capacitance of the first adjustable capacitor according to the signal strength of the input radio frequency signal; or; controlling the second switch to close and adjusting the resistance of the first adjustable resistor; or; controlling the first switch and the second switch to close and adjusting the capacitance of the first adjustable capacitor and the resistance of the first adjustable resistor.
[0031] In an implementation manner of the second aspect, the electronic device also includes a bypass circuit and a second impedance matching circuit; a first end of the second impedance matching circuit is connected to a first end of the first inductor, a second end of the second impedance matching circuit is grounded, and a control end of the second impedance matching circuit is connected to a controller; a first end of the bypass circuit is connected to a first end of the LNA module, a second end of the bypass circuit is connected to a second end of the LNA module, and a control end of the bypass circuit is connected to the controller.
[0032] In an implementation manner of the second aspect, when the signal strength of the input RF signal is greater than a second signal strength threshold, the method further includes: controlling the first LNA and the second LNA to be turned off; controlling the bypass circuit and the second impedance matching circuit to be turned on; and adjusting the attenuation coefficient of the bypass circuit and the impedance of the second impedance matching circuit according to the signal strength of the input RF signal.
[0033] In an implementation manner of the second aspect, the bypass circuit includes a third switch, a fourth switch, and a second adjustable resistor; a first end of the third switch is connected to a first end of the LNA module, a second end of the third switch is connected to a first end of the second adjustable resistor, and a control end of the third switch is connected to a controller; a second end of the second adjustable resistor is grounded, and a control end of the second adjustable resistor is connected to the controller; a first end of the fourth switch is connected to a first end of the LNA module, a second end of the fourth switch is connected to a second end of the LNA module, and a control end of the fourth switch is connected to the controller.
[0034] In an implementation manner of the second aspect, the second impedance matching circuit includes a fifth switch, a third adjustable resistor and a second adjustable capacitor; the first end of the fifth switch is connected to the first end of the first inductor, the second end of the fifth switch is connected to the first end of the third adjustable resistor, and the control end of the fifth switch is connected to the controller; the second end of the third adjustable resistor is connected to the first end of the second adjustable capacitor, and the control end of the third adjustable resistor is connected to the controller; the second end of the second adjustable capacitor is grounded, and the control end of the second adjustable capacitor is connected to the controller.
[0035] In an implementation manner of the second aspect, controlling the bypass circuit and the second impedance matching circuit to be turned on includes: controlling the third switch to be closed, the fourth switch to be closed, and the fifth switch to be closed.
[0036] In an implementation manner of the second aspect, the attenuation coefficient of the bypass circuit is adjusted according to the signal strength of the input radio frequency signal, including: adjusting the resistance of the second adjustable resistor according to the signal strength of the input radio frequency signal; and the impedance of the second impedance matching circuit is adjusted according to the signal strength of the input radio frequency signal, including: adjusting the capacitance of the second adjustable capacitor and the resistance of the third adjustable resistor according to the signal strength of the input radio frequency signal.
[0037] In an implementation manner of the second aspect, an impedance of the first inductor is different from an impedance of the second inductor, and an impedance of the second inductor is the same as an impedance of the third inductor.
[0038] In a third aspect, an electronic device is provided, comprising a gain adjustment circuit as in the first aspect and any embodiment thereof, wherein the gain adjustment circuit is used to adjust the amplitude of a radio frequency signal input to the electronic device.
[0039] In a fourth aspect, an electronic device is provided, comprising a memory and a controller, wherein a computer program code is stored in the memory, and the computer program code comprises computer instructions. When the computer instructions are executed by the controller, the electronic device executes the gain adjustment method of the second aspect and any embodiment thereof.
[0040] In a fifth aspect, a computer-readable storage medium is provided, comprising computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the gain adjustment method of the second aspect and any embodiment thereof.
[0041] In a sixth aspect, a computer program product is provided. When the computer program product is run on an electronic device, the electronic device executes the gain adjustment method of the second aspect and any embodiment thereof.
[0042] Among them, the technical effects brought about by the design methods of the second, third, fourth, fifth and sixth aspects can refer to the technical effects brought about by the different design methods in the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 A schematic diagram of a possible hardware structure of an electronic device provided in an embodiment of the present application; Figure 2 A schematic diagram of a possible software structure of an electronic device provided in an embodiment of the present application; Figure 3 A schematic diagram of a circuit structure of an LNA provided for related technology; Figure 4 A schematic diagram of another LNA circuit structure provided for related technology; Figure 5 A schematic diagram of the structure of a gain adjustment circuit provided in an embodiment of the present application; Figure 6 A schematic diagram of a gain adjustment circuit including a switch tube provided in an embodiment of the present application; Figure 7 A schematic diagram of a structure of a gain adjustment circuit of two LNAs provided in an embodiment of the present application; Figure 8 A schematic diagram of a structure of a gain adjustment circuit of an LNA module including three LNAs provided in an embodiment of the present application; Fig. 9 A schematic diagram of a structure of a gain adjustment circuit of four LNAs provided in an embodiment of the present application; Fig.10 A schematic diagram of a gain adjustment circuit including a specific circuit structure of a first impedance matching circuit provided in an embodiment of the present application; Fig.11 A schematic structural diagram of a gain adjustment circuit including an equivalent impedance circuit when both an LNA module and a first impedance matching circuit are disconnected, provided in an embodiment of the present application; Fig.12 A schematic structural diagram of a gain adjustment circuit including a bypass circuit and a second impedance matching circuit provided in an embodiment of the present application; Fig.13 A schematic structural diagram of a gain adjustment circuit including an equivalent impedance circuit, a bypass circuit, and a second impedance matching circuit provided in an embodiment of the present application; Fig.14 A schematic diagram of a gain adjustment circuit including a specific circuit structure of a bypass circuit provided in an embodiment of the present application; Fig.15A schematic diagram of a gain adjustment circuit including a bypass circuit and a specific circuit structure of a second impedance matching circuit provided in an embodiment of the present application; Fig.16 A flow chart of a gain adjustment method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0044] The technical solution in the embodiment of the present application will be described below in conjunction with the drawings in the embodiment of the present application. Among them, in the description of the present application, unless otherwise specified, " / " indicates that the objects associated before and after are in an "or" relationship, for example, A / B can represent A or B; "and / or" in the present application is only a description of the association relationship of the associated objects, indicating that there can be three relationships, for example, A and / or B, which can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. And, in the description of the present application, unless otherwise specified, "multiple" refers to two or more than two. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple. In addition, in order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first", "second" and the like are used to distinguish the same items or similar items with substantially the same functions and effects. It can be understood by those skilled in the art that the words "first", "second" and the like do not limit the quantity and execution order, and the words "first", "second" and the like do not necessarily limit the difference. At the same time, in the embodiments of the present application, the words "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or design. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way for easy understanding. The terms "coupling" and "connection" involved in the embodiments of the present application should be understood in a broad sense, for example, it can refer to a physical direct connection, or it can refer to an indirect connection achieved by an electronic device, such as a connection achieved by a resistor, an inductor, a capacitor or other electronic devices.
[0045] A low-noise amplifier (LNA) is an electronic device used to amplify weak signals and is used in communications, radar, satellite reception, radio astronomy, etc. Its main feature is that it can introduce as little noise as possible while amplifying the signal.
[0046] Resistive feedback cascode LNA (Rf-LNA) is a common LNA structure that combines the advantages of high gain of cascode and stability and linearity of resistive feedback to achieve low noise, high gain and wide bandwidth performance.
[0047] The current-reuse inductive degeneration cascade LNA (CRID-LNA) is a high-performance, low-power amplifier structure that combines the input matching and noise optimization of inductive degeneration, the high gain and wide bandwidth of cascade, and the low power consumption of current reuse to achieve low noise, high gain and low power consumption performance.
[0048] The embodiment of the present application provides an electronic device, which is an electronic device with a display function. The electronic device can be mobile or fixed. The electronic device can be deployed on land (for example, indoors or outdoors, handheld or vehicle-mounted, etc.), on the water (for example, ships, etc.), or in the air (for example, airplanes, balloons, and satellites, etc.). The electronic device can be called user equipment (UE), access terminal, terminal unit, subscriber unit, terminal station, mobile station (MS), mobile station, terminal agent or terminal device, etc. For example, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a smart bracelet, a smart screen, a smart watch, a virtual reality (VR) device, an augmented reality (AR) device, a terminal in industrial control, a terminal in self-driving, a terminal in remote medical care, a terminal in smart grid, a terminal in transportation safety, a terminal in smart city, a terminal in smart home, etc. The embodiments of the present application do not limit the specific type and structure of the electronic device. A possible structure of the electronic device is described below.
[0049] Take the mobile phone as an example, Figure 1A possible structure of the electronic device 100 is shown. The electronic device 100 may include a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (USB) interface 230, a power management module 240, a battery 241, a wireless charging coil 242, a mobile communication module 250, a wireless communication module 260, a gain adjustment circuit 1, a controller 3, an antenna 251, an antenna 261, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an earphone interface 270D, a sensor module 280, a button 290, a motor 291, an indicator 292, a camera 293, a display screen 294, and a subscriber identification module (SIM) card interface 295. Optionally, in some embodiments, an audio digital signal processor (ADSP) 243 is also included.
[0050] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0051] The processor 210 may include one or more processing units, for example, the processor 210 may be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processing unit (CPU), an application processor (AP), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, and a neural-network processing unit (NPU). Among them, different processing units may be independent devices or integrated into one or more processors. For example, the processor 210 may be an application processor AP. Alternatively, the processor 210 may be integrated in a system on chip (SoC). Alternatively, the processor 210 may be integrated in an integrated circuit (IC) chip. The processor 210 may include an analog front end (AFE) and a micro-controller unit (MCU) in an IC chip.
[0052] The processor 210 may also be provided with a memory for storing computer instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. The memory may store computer instructions or data that the processor 210 has just used or circulated. If the processor 210 needs to use the computer instructions or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 210, and thus improves the efficiency of the system.
[0053] In some embodiments, the processor 210 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a USB interface, etc.
[0054] In some embodiments, the processor may be a processor or a controller, such as a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the present disclosure. The above-mentioned processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
[0055] ADSP 243 can be coupled with audio module 270 and sensor module 280, and can be used to process audio signals and sensor data. When processor 210 is in sleep mode, ADSP 243 can still keep working, thereby reducing power consumption of electronic device 100.
[0056] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the embodiment, or a combination of multiple interface connection methods.
[0057] The external memory interface 220 can be used to connect an external memory card to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 210 through the external memory interface 220 to implement a data storage function, such as storing music, video and other files in the external memory card.
[0058] The internal memory 221 may be used to store computer executable program codes, which include computer instructions. The processor 210 executes various functional applications and data processing of the electronic device 100 by running the computer instructions stored in the internal memory 221. In addition, the internal memory 221 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0059] The controller 3 can also execute various functional applications and data processing of the electronic device 100 by running computer instructions stored in the internal memory 221. In addition, the internal memory 221 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0060] In the embodiment of the present application, when the computer instruction is executed by the controller 3, the electronic device 100 executes the gain adjustment method in the embodiment of the present application.
[0061] The memory involved in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be 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), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0062] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 270, the speaker 270A, the receiver 270B, the microphone 270C, the headphone interface 270D and the application processor.
[0063] The button 290 includes a power button, a volume button, etc. The button 290 may be a mechanical button. It may also be a touch button. The electronic device 100 may receive a button input and generate a key signal input related to the user settings and function control of the electronic device 100. The motor 291 may generate a vibration prompt. The motor 291 may be used for an incoming call vibration prompt or for touch vibration feedback. The indicator 292 may be an indicator light, which may be used to indicate the charging status, the change in power, or may be used to indicate messages, missed calls, notifications, etc. The SIM card interface 295 is used to connect a SIM card. The SIM card may be inserted into or removed from the SIM card interface 295 to achieve contact and separation with the electronic device 100. The electronic device 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 295 may support a Nano SIM card, a Micro SIM card, a SIM card, etc. In some embodiments, the electronic device 100 uses an embedded SIM (eSIM) card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100 .
[0064] The electronic device 100 can realize the shooting function through the ISP, the camera 293, the video codec, the GPU, the display screen 294, and the application processor. The ISP is used to process the data fed back by the camera 293. In some embodiments, the ISP can be set in the camera 293. The camera 293 is used to capture a static image or a video. In some embodiments, the electronic device 100 may include 1 or N cameras 293, where N is a positive integer greater than 1.
[0065] The electronic device 100 can realize the display function through a GPU, a display screen 294, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 294 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 210 may include one or more GPUs, which execute computer instructions to generate or change display information.
[0066] The power management module 240 is used to receive charging input from a charger. The charger may be a wireless charger, such as a wireless charging base, other electronic devices 100 with reverse wireless charging function, etc. The power management module 240 may receive wireless charging input through a wireless charging coil 242 of the electronic device. The charger may also be a wired charger, for example, the power management module 240 may receive charging input from a wired charger through the USB interface 230. The power management module 240 is also called a charging chip.
[0067] The power management module 240 is used to connect to the battery 241. The power management module 240 receives input from the battery 241 and supplies power to the processor 210, the internal memory 221, the display screen 294, the camera 293, and the wireless communication module 260. The power management module 240 can also be used to monitor parameters such as the capacity of the battery 241, the number of cycles of the battery 241, and the health status (leakage, impedance) of the battery 241. In some other embodiments, the power management module 240 can also be set in the processor 210.
[0068] The wireless communication function of the electronic device 100 can be implemented through the antenna 251, the antenna 261, the mobile communication module 250, the wireless communication module 260, the modem processor, etc.
[0069] In an embodiment of the present application, the wireless communication function of the electronic device 100 is realized through the antenna 251, antenna 261, mobile communication module 250, wireless communication module 260, modulation and demodulation processor, etc. after the gain is adjusted by the controller 3 of the gain adjustment circuit 1 in the radio frequency module.
[0070] The mobile communication module 250 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The wireless communication module 260 can provide solutions for wireless communications including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc., applied to the electronic device 100.
[0071] As attached Figure 2 As shown, taking the electronic device 100 running the Android operating system as an example, the software architecture run by the processor 210 includes an application layer, a framework layer, a system runtime layer, a hardware abstract layer (HAL) and a kernel layer.
[0072] The kernel layer is the layer between hardware and software. Exemplarily, the kernel layer includes display driver, camera driver, gain adjustment driver, etc. The display driver is used to drive the display screen to display images or receive user touch operations, the camera driver is used to drive the camera to collect image data, and the gain adjustment driver is used to drive the gain adjustment circuit.
[0073] In the embodiment of the present application, the gain adjustment driver is used to drive the gain adjustment circuit 1 to output an adjusted radio frequency signal.
[0074] The HAL layer is used to abstract the hardware. The HAL layer hides the hardware interface details of a specific platform and provides a virtual hardware platform for the operating system, which is hardware-independent. For example, the HAL layer includes a display module, a camera module, a gain adjustment module, etc. The display module is used for a virtual display screen, the camera module is used for a virtual camera, and the gain adjustment module is used for a virtual gain adjustment circuit.
[0075] The system runtime layer includes C / C++ program libraries and runtime libraries. Many core components and services of the Android operating system are built from native code and need to be written in C and C++ as C / C++ program libraries. When an application is installed for the first time, it will be pre-compiled into a runtime library in the form of machine code. This process is called pre-compilation. In this way, when the application is started and executed, it can be accelerated by running the machine code.
[0076] The framework layer provides application programming interfaces (APIs) and programming frameworks for applications in the application layer. The framework layer includes some predefined implementation methods. For example, the framework layer includes window managers, content providers, view systems, notification managers, etc.
[0077] The application layer can include a series of application packages, such as photo, camera, Bluetooth and other applications (application, app).
[0078] In related technologies, with the development of communication and the Internet of Things (IOT), radio frequency technology has become one of the important technologies of communication. The power consumption of communication equipment caused by radio frequency technology has always been a concern, among which low noise amplifier (LNA) is one of the main sources of power consumption.
[0079] At present, due to the area requirement, LNA generally adopts Rf-LNA. Figure 3As shown, in the Rf-LNA, the input signal is amplified by the switch tube M2 to provide the main voltage gain. Specifically, the RF signal is connected to the first end of the first inductor Lg through the input end, the second end of the first inductor Lg is connected to the gate of the switch tube M2, and the source of the switch tube M2 is grounded. The switch tube M1 is located above the switch tube M2, which is used to improve the output impedance and isolate the input and output, and enhance the frequency response and stability of the circuit. Specifically, the source of the switch tube M1 is connected to the drain of the switch tube M2, the gate of the switch tube M1 is the control end, and the drain of the switch tube M1 is connected to the output. The drain of the switch tube M1 inputs a bias voltage (for example, a power supply Vdd) through the second inductor Ls1. A resistor feedback network (the feedback resistor Rf is connected in series with the isolation capacitor C) is added between the source and the output node of the switch tube M2 to reduce the gain and improve the linearity and stability. Specifically, the second end of the feedback resistor Rf is connected to the drain of the switch tube M1, the first end of the feedback resistor Rf is connected to the second end of the isolation capacitor C, and the first end of the isolation capacitor C is connected to the second end of the first inductor Lg. The Rf-LNA can achieve low noise, high gain and wide bandwidth performance, but it also brings the problem of high power consumption.
[0080] For example, as shown in the attached Figure 3 As shown, the LNA of the Rf-LNA circuit can be simplified to obtain an equivalent circuit diagram. Specifically, the input RF signal is connected to the first end of LNA 2 through the first inductor Lg, the second end of LNA 2 is used to output the amplified RF signal, the bias end of LNA 2 inputs the bias voltage through the second inductor Ls1, the ground end of LNA 2 is grounded, and the control end of LNA 2 is connected to the controller 3. The Rf-LNA has an input impedance of .
[0081] Theoretically, CRID-LNA has the advantage of low power consumption compared to Rf-LNA. Figure 4As shown, in the CRID-LNA, the input signal is amplified by the switch tube M2. Specifically, the RF signal is connected to the first end of the first inductor Lg through the input end, the second end of the first inductor Lg is connected to the first end of the isolation capacitor C, and the second end of the isolation capacitor C is connected to the gate of the switch tube M2. The switch tube M1 is located above the switch tube M2 to further amplify the input RF signal. Specifically, the source of the switch tube M1 is connected to the drain of the switch tube M2, the gate of the switch tube M1 is the control end, and the drain of the switch tube M1 is connected to the output. The drain of the switch tube M1 inputs a bias voltage (for example, a power supply Vdd) through the second inductor Ls1. The third inductor Ls2 (i.e., the source inductor) is connected to the source of the switch tube M2 for inductor degradation. Specifically, the source of the switch tube M2 is connected to the first end of the third inductor Ls2, and the second end of the third inductor Ls2 is grounded. The switch tube M1 and the switch tube M2 share the bias current, thereby reducing the overall power consumption. The CRID-LNA combines the input matching and noise optimization of inductor degradation, the high gain and wide bandwidth of common source and common gate, and the low power consumption advantage of current multiplexing to achieve low noise, high gain and low power consumption performance. Therefore, communication equipment usually selects CRID-LNA circuits with lower power consumption.
[0082] For example, as shown in the attached Figure 4 As shown, the LNA of the CRID-LNA circuit can be simplified to obtain an equivalent circuit diagram. Specifically, the input RF signal is connected to the first end of LNA 2 through the first inductor Lg, the second end of LNA 2 is used to output the amplified RF signal, the bias end of LNA 2 inputs the bias voltage through the second inductor Ls1, the ground end of LNA 2 is grounded through the third inductor Ls2, and the control end of LNA 2 is connected to the controller 3. The CRID-LNA circuit has an input impedance of .
[0083] In the related art, when a high-power RF signal is input, the gain of LNA 2 needs to be reduced. However, it is not possible to reduce the gain of LNA 2 while ensuring that the matching impedance remains unchanged, resulting in that the gain of LNA 2 is not adjustable.
[0084] To this end, a gain adjustment circuit is provided in an embodiment of the present application, which can adjust the number of LNAs in an LNA module including at least two LNAs, and adjust the impedance of a first impedance matching circuit connected in parallel with the LNA module, according to the signal strength of an input radio frequency signal. Therefore, based on the gain adjustment circuit provided in an embodiment of the present application, the gain can be adjusted on the basis of a low-power LNA by reducing the number of LNAs that are turned on.
[0085] The gain adjustment circuit provided in the embodiment of the present application can be as shown in the attached Figure 1The gain adjustment circuit 1 in the radio frequency module of the electronic device 100 shown in FIG. Figure 1 The controller 3 in the gain adjustment circuit 1 in the radio frequency module in the electronic device 100 is shown. In the embodiment of the present application, the electronic device 100 including the gain adjustment circuit 1 is taken as an example to specifically describe the gain adjustment circuit 1 of the present application.
[0086] For example, as shown in the attached Figure 5 As shown, the gain adjustment circuit 1 includes an LNA module 4, a first impedance matching circuit 5, a first inductor Lg, a second inductor Ls1, a third inductor Ls2 and a controller 3. The LNA module 4 includes at least two LNAs 2, the first end of each LNA 2 in the LNA module 4 is connected to the first end of the LNA module 4, the second end of each LNA 2 in the LNA module 4 is connected to the second end of the LNA module 4, the bias end of each LNA 2 in the LNA module 4 is connected to the bias end of the LNA module 4, the ground end of each LNA 2 in the LNA module 4 is connected to the ground end of the LNA module 4, and the control end of each LNA 2 in the LNA module 4 is connected to the control end of the LNA module 4. The first end of the LNA module 4 is connected to the second end of the first inductor Lg, the bias end of the LNA module 4 is connected to the second end of the second inductor Ls1, the ground end of the LNA module 4 is connected to the first end of the third inductor Ls2, and the control end of the LNA module 4 is connected to the controller 3. The second end of the third inductor Ls2 is grounded. The first end of the first impedance matching circuit 5 is connected to the first end of the LNA module 4, the second end of the first impedance matching circuit 5 is connected to the second end of the LNA module 4, and the control end of the first impedance matching circuit 5 is connected to the controller 3. The first end of the first inductor Lg is used to input a radio frequency signal, the first end of the second inductor Ls1 is used to input a bias voltage, and the second end of the LNA module 4 is used to output an adjusted radio frequency signal. The controller 3 is used to adjust the conduction number of LNA 2 in the LNA module 4 and the impedance of the first impedance matching circuit 5 according to the signal strength of the input radio frequency signal.
[0087] In a possible implementation, the inductance values of the first inductor Lg, the second inductor Ls1, and the third inductor Ls2 may be the same or different. The embodiment of the present application does not limit the inductance values of the first inductor Lg, the second inductor Ls1, and the third inductor Ls2.
[0088] In the embodiment of the present application, in a possible implementation manner, the impedance of the first inductor Lg is different from the impedance of the second inductor Ls1 , and the impedance of the second inductor Ls1 is the same as the impedance of the third inductor Ls2 .
[0089] For example, as shown in the attached Figure 3 -Attached Figure 4As shown, LNA 2 includes two switch tubes. In a possible implementation, the switch tube may be a MOSFET tube or an IGBT, and the embodiment of the present application does not limit the type of the switch tube.
[0090] As attached Figure 5 The working principle of the gain adjustment circuit 1 in the embodiment of the present application is as follows: At least two LNAs 2 are connected in parallel to form an LNA module 4. The first end of the LNA module 4 is connected to the second end of the first inductor Lg, and is used to perform impedance matching in conjunction with the first impedance matching circuit 5. The bias end of the LNA module 4 is connected to the second end of the second inductor Ls1, and the first end of the second inductor Ls1 is used to input a bias voltage. The ground end of the LNA module 4 is connected to the first end of the third inductor Ls2, and the second end of the third inductor Ls2 is grounded. The third inductor Ls2 introduces a real impedance for matching input impedance and inductance degradation, thereby improving the linearity and noise performance of the gain adjustment circuit 1. The control end of the LNA module 4 is connected to the controller 3, that is, the controller 3 is connected to the control end of each LNA 2 to control the on or off of each LNA 2. The control end of the first impedance matching circuit 5 is connected to the controller 3, that is, the controller 3 controls the closing or opening of the switch in the first impedance matching circuit 5 to adjust the impedance of the first impedance matching circuit 5. Specifically, the controller 3 is used to adjust the number of LNAs 2 in the LNA module 4 and the impedance of the first impedance matching circuit 5 according to the signal strength of the input RF signal. The gain adjustment circuit 1 is provided with the LNA module 4 on the basis of the low-power CRID-LNA circuit structure, and can adjust the number of LNAs 2 according to the required gain, and match different impedances according to the gains corresponding to different numbers of LNAs 2, so as to ensure that after the gain is adjusted, the gain adjustment circuit 1 can still meet the matching of 50 ohm impedance. Therefore, the gain can be adjusted on the basis of the low-power LNA 2 by reducing the number of LNAs 2, while ensuring that the impedance matching remains unchanged.
[0091] In one possible implementation, LNA 2 may include the following Figure 3 -Attached Figure 4 The one cascode structure shown may also include a plurality of cascode structures, for example, 2, 3 or 4. The embodiment of the present application does not limit the number of cascode structures in the LNA 2.
[0092] In a possible implementation, the multiple cascode structures may be symmetrical or asymmetrical, and the embodiment of the present application does not limit the connection method of the cascode structures.
[0093] In the embodiment of the present application, the LNA 2 including two symmetrical common-source and common-gate structures is taken as an example to specifically illustrate the equivalent circuit of the gain adjustment circuit 1 of the present application.
[0094] For example, as shown in the attached Figure 6 As shown, the LNA module 4 includes n LNAs 2, where n is a positive integer, and n>=2. Each LNA 2 includes two mutually symmetrical common source and common gate structures, specifically, including four switch tubes and two capacitors. The four switch tubes are switch tube Mn1, switch tube Mn2, switch tube Mn3 and switch tube Mn4. The two capacitors are the first isolation capacitor C1 and the second isolation capacitor C2. Among them, the switch tubes Mn1 and the switch tube Mn2 are n-type, and the switch tubes Mn3 and the switch tube Mn4 are p-type. Except for the channel parameters, the other parameters of the switch tubes Mn1 and Mn4 are the same. Except for the channel parameters, the other parameters of the switch tubes Mn2 and Mn3 are the same. The parameters of the first isolation capacitor C1 and the second isolation capacitor C2 are the same. The gate of the switch tube Mn1 is connected to the second end of the first isolation capacitor C1, the source of the switch tube Mn1 is connected to the second end of the second inductor Ls1, and the drain of the switch tube Mn1 is connected to the source of the switch tube Mn2. The first end of the second inductor Ls1 is input with a bias voltage. The gate of the switch tube Mn2 is connected to the controller 3, and the drain of the switch tube Mn2 is connected to the drain of the switch tube Mn3. The gate of the switch tube Mn3 is connected to the controller 3, and the source of the switch tube Mn3 is connected to the drain of the switch tube Mn4. The gate of the switch tube Mn4 is connected to the second end of the second isolation capacitor C2, and the source of the switch tube Mn4 is connected to the first end of the third inductor Ls2. The second end of the third inductor Ls2 is grounded. The first ends of the first isolation capacitor C1 and the second isolation capacitor C2 are both connected to the second end of the first inductor Lg. The drain of the switch tube Mn2 and the drain of the switch tube Mn3 are both used to output the regulated RF signal. The connection relationship between the first inductor Lg, the first impedance matching circuit 5, and the controller 3 is the same as that in the attached Figure 4 -Attached Figure 5 The connection method is the same as in , so I will not repeat it here.
[0095] The above four switch tubes, when n=1, are switch tube M11, switch tube M12, switch tube M13 and switch tube M14. When n=2, they are switch tube M21, switch tube M22, switch tube M23 and switch tube M24. When n=3, they are switch tube M31, switch tube M32, switch tube M33 and switch tube M34. When n=4, they are switch tube M41, switch tube M42, switch tube M43 and switch tube M44. By analogy, the connection method of the four switch tubes in each LNA 2 is the same as the connection method of the switch tube Mn1, switch tube Mn2, switch tube Mn3 and switch tube Mn4 described above. The source of the switch tube Mn1 in each LNA 2 is connected to each other, the gate of the switch tube Mn1 is connected to each other, the drain of the switch tube Mn2 is connected to each other, the gate of the switch tube Mn2 is connected to each other, the gate of the switch tube Mn3 is connected to each other, the gate of the switch tube Mn4 is connected to each other, and the source of the switch tube Mn4 is connected to each other, thereby forming an LNA module 4. For example, when n=2, the source of the switch tube M11 and the switch tube M21 are connected to each other, the gate of the switch tube M11 and the switch tube M21 are connected to each other, the drain of the switch tube M12 and the switch tube M22 are connected to each other, the gate of the switch tube M12 and the switch tube M22 are connected to each other, the gate of the switch tube M13 and the switch tube M23 are connected to each other, the gate of the switch tube M14 and the switch tube M24 are connected to each other, and the source of the switch tube M14 and the switch tube M24 are connected to each other, thereby forming an LNA module 4.
[0096] As attached Figure 6 The working principle of the gain adjustment circuit 1 in the embodiment of the present application is as follows: The gates of the switch tubes Mn2 and Mn3 in each LNA 2 are connected to the controller 3. That is, the controller 3 controls the on or off of each LNA 2 by controlling the closing or opening of the four switch tubes in each LNA 2, thereby adjusting the number of LNA 2 on-states according to the required gain. Therefore, the gain can be adjusted on the basis of low-power LNA 2 by reducing the number of LNA 2 on-states. The principle of the controller 3 adjusting the first impedance matching circuit 5 is similar to that of the attached Figure 4 The principle is the same as in , and will not be repeated here.
[0097] In the embodiment of the present application, the following Figure 6 Compared with the LNA 2 with two mutually symmetrical common source and common gate structures shown in the attached Figure 4 The gain of the LNA 2 shown in the cascode structure is as shown in the attached figure. Figure 4 The output power is twice that of the LNA 2 with a common source and common gate structure shown, thereby increasing the gain range and making the gain adjustment range larger.
[0098] In a possible implementation, the number of LNAs 2 in the LNA module 4 may be 2, 3, or 4. The embodiment of the present application does not limit the number of LNAs 2 in the LNA module 4.
[0099] In a possible implementation, the model of each LNA 2 in the LNA module 4 may be the same or different, and the embodiment of the present application does not limit the model of each LNA 2 in the LNA module 4.
[0100] In the embodiment of the present application, when the number of LNAs 2 in the LNA module 4 is 2, illustratively, as shown in the attached Figure 7 As shown, the LNA module 4 includes a first LNA 41 and a second LNA 42. The first ends of the first LNA 41 and the second LNA 42 are connected to the first end of the LNA module 4, the second ends of the first LNA 41 and the second LNA 42 are connected to the second end of the LNA module 4, the bias ends of the first LNA 41 and the second LNA 42 are connected to the bias end of the LNA module 4, the ground ends of the first LNA 41 and the second LNA 42 are connected to the ground end of the LNA module 4, and the control ends of the first LNA 41 and the second LNA 42 are connected to the control end of the LNA module 4.
[0101] Similarly, in the embodiment of the present application, when the number of LNAs 2 in the LNA module 4 is 3, illustratively, as shown in the attached Figure 8 As shown, the LNA module 4 includes a first LNA 41, a second LNA 42, and a third LNA 43. The first ends of the first LNA 41, the second LNA 42, and the third LNA 43 are all connected to the first end of the LNA module 4, the second ends of the first LNA 41, the second LNA 42, and the third LNA 43 are all connected to the second end of the LNA module 4, the bias ends of the first LNA 41, the second LNA 42, and the third LNA 43 are all connected to the bias end of the LNA module 4, the ground ends of the first LNA 41, the second LNA 42, and the third LNA 43 are all connected to the ground end of the LNA module 4, and the control ends of the first LNA 41, the second LNA 42, and the third LNA 43 are all connected to the control end of the LNA module 4.
[0102] Similarly, in the embodiment of the present application, when the number of LNAs 2 in the LNA module 4 is 4, illustratively, as shown in the attached Fig. 9As shown, the LNA module 4 includes a first LNA 41, a second LNA 42, a third LNA 43 and a fourth LNA 44. The first ends of the first LNA 41, the second LNA 42, the third LNA 43 and the fourth LNA 44 are all connected to the first end of the LNA module 4, the second ends of the first LNA 41, the second LNA 42, the third LNA 43 and the fourth LNA 44 are all connected to the second end of the LNA module 4, the bias ends of the first LNA 41, the second LNA 42, the third LNA 43 and the fourth LNA 44 are all connected to the bias end of the LNA module 4, the ground ends of the first LNA 41, the second LNA 42, the third LNA 43 and the fourth LNA 44 are all connected to the ground end of the LNA module 4, and the control ends of the first LNA 41, the second LNA 42, the third LNA 43 and the fourth LNA 44 are all connected to the control end of the LNA module 4.
[0103] In the embodiment of the present application, when the number of LNAs 2 in the LNA module 4 is greater than 4, the connection method is similar to that when the number is 2, 3, or 4, and will not be described in detail here.
[0104] For example, as shown in the attached Fig.10 As shown, in a possible implementation, the first impedance matching circuit 5 includes a first switch S1, a second switch S2, a first capacitor C21, a first adjustable capacitor C11 and a first adjustable resistor R1. The first end of the first switch S1 is connected to the first end of the LNA module 4, the second end of the first switch S1 is connected to the first end of the first adjustable capacitor C11, and the control end of the first switch S1 is connected to the controller 3. The second end of the first adjustable capacitor C11 is grounded, and the control end of the first adjustable capacitor C11 is connected to the controller 3. The first end of the second switch S2 is connected to the first end of the LNA module 4, the second end of the second switch S2 is connected to the first end of the first capacitor C21, and the control end of the second switch S2 is connected to the controller 3. The second end of the first capacitor C21 is connected to the first end of the first adjustable resistor R1. The second end of the first adjustable resistor R1 is connected to the second end of the LNA module 4, and the control end of the first adjustable resistor R1 is connected to the controller 3.
[0105] In a possible implementation, the first switch S1 and the second switch S2 may be MOSFET tubes or IGBT tubes. The embodiment of the present application does not limit the types of the first switch S1 and the second switch S2.
[0106] As attached Fig.10 The working principle of the first impedance matching circuit 5 in the embodiment of the present application is as follows: The first impedance matching circuit 5 includes two branches, namely a first branch and a second branch. The first branch and the second branch are independent of each other. The first branch includes a first switch S1 and a first adjustable capacitor C11. The first end of the first branch is connected to the first end of the LNA module 4, and the second end is grounded. Specifically, the first end of the first switch S1 is the first end of the first branch, the second end of the first adjustable capacitor C11 is the second end of the first branch, the second end of the first switch S1 is connected to the first end of the first adjustable capacitor C11, that is, connected in series, and the control ends of the first switch S1 and the first adjustable capacitor C11 are connected to the controller 3. The controller 3 can adjust the impedance of the first impedance matching circuit 5 separately by controlling the closing of the first switch S1 and adjusting the capacitance of the first adjustable capacitor C11. The second branch includes a second switch S2, a first capacitor C21 and a first adjustable resistor R1. The first end of the second branch is connected to the first end of the LNA module 4, and the second end is connected to the second end of the LNA module 4. Specifically, the first end of the second switch S2 is the first end of the first branch, the second end of the first adjustable resistor R1 is the second end of the first branch, the second end of the second switch S2 is connected to the first end of the first capacitor C21, that is, connected in series, and the second end of the first capacitor C21 is connected to the first end of the first adjustable resistor R1, that is, connected in series, that is, the second switch S2, the first capacitor C21 and the first adjustable resistor R1 are connected in series. The control ends of the second switch S2 and the first adjustable resistor R1 are connected to the controller 3. The controller 3 can adjust the impedance of the first capacitor C21 and the first adjustable resistor R1 connected in series by controlling the closing of the second switch S2 and adjusting the resistance value of the first adjustable resistor R1, thereby adjusting the impedance of the first impedance matching circuit 5 separately. The controller 3 adjusts the impedance of the first impedance matching circuit 5 by controlling the closing of the first switch S1 and adjusting the capacitance of the first adjustable capacitor C11, and the closing of the second switch S2 and the resistance value of the first adjustable resistor R1, thereby matching the impedance corresponding to the conduction number of the LNA 2. For example, when one LNA 2 is turned on, the corresponding matched impedance is the first impedance. When two LNAs 2 are turned on, the corresponding matched impedance is the second impedance. Similarly, when the number of LNAs 2 turned on is different, the impedance matched by the corresponding first impedance matching circuit 5 is different. This ensures that after the gain is adjusted, the gain adjustment circuit 1 can still meet the 50 ohm impedance matching.
[0107] Specifically, in a possible implementation, the controller 3 adjusts the impedance of the first impedance matching circuit 5, including: controlling the first switch S1 to close, adjusting the capacitance of the first adjustable capacitor C11; or; controlling the second switch S2 to close, adjusting the resistance of the first adjustable resistor R1; or; controlling the first switch S1 and the second switch S2 to close, adjusting the capacitance of the first adjustable capacitor C11 and the resistance of the first adjustable resistor R1.
[0108] For example, as shown in the attached Fig.10As shown, since the first branch and the second branch are independent, the impedance of the first impedance matching circuit 5 is adjusted in three cases: 1) When the first switch S1 is closed and the second switch S2 is opened, the impedance of the first impedance matching circuit 5 is adjusted by adjusting the capacitance of the first adjustable capacitor C11. At this time, the impedance of the first impedance matching circuit 5 is the impedance of the first adjustable capacitor C11. 2) When the first switch S1 is opened and the second switch S2 is closed, the impedance of the first impedance matching circuit 5 is adjusted by adjusting the resistance of the first adjustable resistor R1. At this time, the impedance of the first impedance matching circuit 5 is the impedance of the first capacitor C21 and the first adjustable resistor R1 in series. 3) When the first switch S1 is closed and the second switch S2 is closed, the impedance of the first impedance matching circuit 5 is adjusted by adjusting the capacitance of the first adjustable capacitor C11 and the resistance of the first adjustable resistor R1. At this time, the impedance of the first impedance matching circuit 5 is the impedance of the first adjustable capacitor C11 in parallel with the series circuit of the first capacitor C21 and the first adjustable resistor R1.
[0109] In the embodiment of the present application, since the first end of the first impedance matching circuit 5 is connected to the second end of the first inductor Lg, when the impedance of the first impedance matching circuit 5 is adjusted, the first inductor Lg and the first impedance matching circuit 5 jointly adjust the impedance of the gain adjustment circuit 1.
[0110] Since the scheme of adjusting the gain through the LNA module 4 is only applicable to the application scenario of low gain of the RF signal. Specifically, in the embodiment of the present application, within the linear range, the smaller the power of the input RF signal, the greater the gain of LNA 2, and the greater the power of the input RF signal, the smaller the gain of LNA 2. When the signal strength of the input RF signal is low, the gain can be adjusted by the LNA module 4 and then output. When the signal strength of the input RF signal is very high, the LNA 2 is saturated due to the excessive input signal. At this time, LNA 2 is no longer needed to amplify the RF signal, and even needs to be attenuated. Therefore, the scheme of adjusting the gain through the LNA module 4 is no longer applicable. Therefore, other schemes need to be adopted for attenuation. In order to further save area and increase the linearity index under high signal strength, a bypass circuit is usually used to adjust the attenuation coefficient and attenuate it. In the embodiment of the present application, after the attenuation coefficient is adjusted by the bypass circuit, the attenuated signal is input to the mixer.
[0111] In the scheme of adjusting the gain of the LNA module 4, in order to ensure the noise coefficient of the LNA module 4 at the highest gain, the front end of the main path (i.e., the path of the first inductor Lg and the LNA module 4 in series) is generally not equipped with a switch element. Therefore, the LNA module 4 and the first impedance matching circuit 5 need to be disconnected first. For example, as shown in the attached Fig.11As shown, all the switch tubes Mn1, Mn2, Mn3 and Mn4 in the LNA module 4 are disconnected, and the first switch S1 and the second switch S2 of the first impedance matching circuit 5 are also disconnected. After the LNA module 4 and the first impedance matching circuit 5 are disconnected, for example, as shown in the attached Fig.11 As shown, the second inductor Ls1, the third inductor Ls2, the LNA module 4 and the first impedance matching circuit 5 can be equivalent to an equivalent impedance circuit 6 including an isolation capacitor C, a parasitic capacitor Cgs and an inductor Ls. Among them, the isolation capacitor C includes a first isolation capacitor C1 and a second isolation capacitor C2. The inductor Ls includes a second inductor Ls1 and a third inductor Ls2.
[0112] Further, after disconnecting the LNA module 4 and the first impedance matching circuit 5, it is necessary to adjust the attenuation coefficient of the bypass circuit to attenuate the input RF signal, and it is also necessary to match the impedance corresponding to the attenuation coefficient through the impedance matching circuit, so as to ensure that after adjusting the attenuation coefficient through the bypass circuit, the gain adjustment circuit 1 can still meet the 50 ohm impedance matching. Therefore, the gain adjustment circuit 1 in the embodiment of the present application can also include a bypass circuit and a second impedance matching circuit.
[0113] For example, as shown in the attached Fig.12 As shown, in a possible implementation, the gain adjustment circuit 1 further includes a bypass circuit 7 and a second impedance matching circuit 8. The first end of the second impedance matching circuit 8 is connected to the first end of the first inductor Lg, the second end of the second impedance matching circuit 8 is grounded, and the control end of the second impedance matching circuit 8 is connected to the controller 3. The first end of the bypass circuit 7 is connected to the first end of the LNA module 4, the second end of the bypass circuit 7 is connected to the second end of the LNA module 4, and the control end of the bypass circuit 7 is connected to the controller 3.
[0114] As attached Fig.12 The working principle of the gain adjustment circuit 1 in the embodiment of the present application is as follows: The first end of the bypass circuit 7 is connected to the first end of the LNA module 4, and the second end of the bypass circuit 7 is connected to the second end of the LNA module 4, that is, the bypass circuit 7 is connected in parallel with the LNA module 4 and the first impedance matching circuit 5. The first end of the second impedance matching circuit 8 is connected to the first end of the first inductor Lg, and the second end of the second impedance matching circuit 8 is grounded, that is, the second impedance matching circuit 8 is connected to the first end of the first inductor Lg.
[0115] In the case where the signal strength of the input RF signal is low, the controller 3 controls the LNA module 4 and the first impedance matching circuit 5 to be turned on, and controls the bypass circuit 7 and the second impedance matching circuit 8 to be turned off, so as to ensure that under the premise of inputting a RF signal with low signal strength, the gain can be adjusted on the basis of low power consumption LNA 2 by reducing the number of LNA 2 turned on. In the case where the signal strength of the input RF signal is very high, the controller 3 controls the LNA module 4 and the first impedance matching circuit 5 to be turned off, and controls the bypass circuit 7 and the second impedance matching circuit 8 to be turned on, so as to ensure that under the premise of inputting a RF signal with high signal strength, the input RF signal can be attenuated by adjusting the attenuation coefficient of the bypass circuit 7, and in the process of attenuating the gain, the impedance corresponding to the attenuation coefficient of the bypass circuit 7 is matched by the second impedance matching circuit 8, so as to ensure that after adjusting the attenuation coefficient, the gain adjustment circuit 1 can still meet the matching of 50 ohms impedance. Therefore, the gain adjustment circuit 1 can adjust the gain on the basis of the low-power LNA 2 by reducing the number of conduction of the LNA 2 when the RF signal with low signal strength is input, and can cooperate with the bypass circuit 7 to attenuate the gain when the RF signal with high signal strength is input. Therefore, a gain adjustment solution for the front end of a low-power RF receiver can be provided.
[0116] The circuit after the LNA module 4 and the first impedance matching circuit 5 are disconnected is equivalent to an equivalent impedance circuit 6, as shown in the attached figure. Fig.13 As shown, the gain adjustment circuit 1 in the embodiment of the present application includes a first inductor Lg, an equivalent impedance circuit 6, a bypass circuit 7, a second impedance matching circuit 8 and a controller 3. The first end of the second impedance matching circuit 8 is connected to the first end of the first inductor Lg, the second end of the second impedance matching circuit 8 is grounded, and the control end of the second impedance matching circuit 8 is connected to the controller 3. The first end of the bypass circuit 7 is connected to the second end of the first inductor Lg, the second end of the bypass circuit 7 is connected to the second end of the equivalent impedance circuit 6, and the control end of the bypass circuit 7 is connected to the controller 3. Since the bypass circuit 7 and the second impedance matching circuit 8 work only when the signal strength of the input radio frequency signal is very high, it can be ensured that the input radio frequency signal is attenuated by adjusting the attenuation coefficient of the bypass circuit 7 under the premise of inputting a radio frequency signal with high signal strength, and the impedance corresponding to the attenuation coefficient of the bypass circuit 7 is matched by the second impedance matching circuit 8 in the process of attenuating the gain, so as to ensure that after adjusting the attenuation coefficient, the gain adjustment circuit 1 can still meet the matching of 50 ohm impedance.
[0117] For example, as shown in the attached Fig.14As shown, in a possible implementation, the bypass circuit 7 includes a third switch S3, a fourth switch S4 and a second adjustable resistor R2. The first end of the third switch S3 is connected to the first end of the LNA module 4 (or the equivalent impedance circuit 6), the second end of the third switch S3 is connected to the first end of the second adjustable resistor R2, and the control end of the third switch S3 is connected to the controller 3; the second end of the second adjustable resistor R2 is grounded, and the control end of the second adjustable resistor R2 is connected to the controller 3; the first end of the fourth switch S4 is connected to the first end of the LNA module 4 (or the equivalent impedance circuit 6), the second end of the fourth switch S4 is connected to the second end of the LNA module 4 (or the equivalent impedance circuit 6), and the control end of the fourth switch S4 is connected to the controller 3.
[0118] In a possible implementation, the third switch S3 and the fourth switch S4 may be MOSFET tubes or IGBT tubes. The embodiment of the present application does not limit the types of the third switch S3 and the fourth switch S4.
[0119] As attached Fig.14 The working principle of the bypass circuit 7 in the embodiment of the present application shown is as follows: The bypass circuit 7 includes a third switch S3, a fourth switch S4 and a second adjustable resistor R2. The fourth switch S4 is connected in parallel with the LNA module 4, and the second end of the third switch S3 is connected in series with the second adjustable resistor R2 and is hung on the first end of the fourth switch S4. The control ends of the third switch S3, the fourth switch S4 and the second adjustable resistor R2 are all connected to the controller 3. The controller 3 controls the fourth switch S4 to be closed and accesses the main path of the bypass circuit 7. The third switch S3 is controlled to be closed and the second adjustable resistor R2 is accessed, so as to shunt the main path of the bypass circuit 7 and adjust the attenuation coefficient of the bypass circuit 7. Furthermore, the attenuation coefficient is adjusted by adjusting the resistance of the second adjustable resistor R2. By connecting the bypass circuit 7 composed of the third switch S3, the fourth switch S4 and the second adjustable resistor R2 in parallel to the LNA module 4, the input RF signal can be attenuated by adjusting the attenuation coefficient of the bypass circuit 7 when the signal strength of the input RF signal is very high.
[0120] For example, as shown in the attached Fig.15 As shown, in a possible implementation, the second impedance matching circuit 8 includes a fifth switch S5, a third adjustable resistor R3 and a second adjustable capacitor C12. The first end of the fifth switch S5 is connected to the first end of the first inductor Lg, the second end of the fifth switch S5 is connected to the first end of the third adjustable resistor R3, and the control end of the fifth switch S5 is connected to the controller 3; the second end of the third adjustable resistor R3 is connected to the first end of the second adjustable capacitor C12, and the control end of the third adjustable resistor R3 is connected to the controller 3. The second end of the second adjustable capacitor C12 is grounded, and the control end of the second adjustable capacitor C12 is connected to the controller 3.
[0121] In a possible implementation, the fifth switch S5 may be a MOSFET tube or an IGBT. The embodiment of the present application does not limit the type of the fifth switch S5.
[0122] As attached Fig.15 The working principle of the second impedance matching circuit 8 in the embodiment of the present application is as follows: The second impedance matching circuit 8 is connected to the first end of the first inductor Lg. The fifth switch S5, the third adjustable resistor R3 and the second adjustable capacitor C12 are connected in series and then grounded. The controller 3 controls the closing of the fifth switch S5 to connect the third adjustable resistor R3 and the second adjustable capacitor C12, and adjusts the impedance corresponding to the attenuation coefficient by adjusting the series impedance of the third adjustable resistor R3 and the second adjustable capacitor C12, so as to ensure that under the premise of inputting a high signal strength RF signal, while adjusting the attenuation coefficient through the bypass circuit 7, the impedance corresponding to the attenuation coefficient is matched through the second impedance matching circuit 8, so as to ensure that after adjusting the attenuation coefficient, the gain adjustment circuit 1 can still meet the matching of 50 ohm impedance.
[0123] To solve the above problems, the embodiment of the present application further provides a gain adjustment method, which can also adjust the gain based on the low-power LNA 2 by reducing the number of LNA 2 conduction. The embodiment of the present application takes the LNA module 4 including the first LNA 41 and the second LNA 42 as an example to specifically illustrate the gain adjustment method of the present application.
[0124] For example, as shown in the attached Fig.16 As shown, a gain adjustment method provided in an embodiment of the present application is applied to an electronic device 100, and the electronic device 100 includes a noise amplifier LNA module 4, a first impedance matching circuit 5, a first inductor Lg, a second inductor Ls1, a third inductor Ls2 and a controller 3; the controller 3 is used to execute the gain adjustment method. Among them, the connection relationship between the LNA module 4, the first impedance matching circuit 5, the first inductor Lg, the second inductor Ls1, the third inductor Ls2 and the controller 3 is the same as the connection relationship in the gain adjustment circuit 1 described above, and will not be repeated here. The gain adjustment method may include steps S1601-S1604: In step S1601 , the controller 3 adjusts the conduction quantity of the LNA 2 in the LNA module 4 and the impedance of the first impedance matching circuit 5 according to the signal strength of the input RF signal.
[0125] The controller 3 can determine the required gain according to the signal strength of the input RF signal. The controller 3 controls the number of LNA 2 conduction according to the required gain, and matches different impedances through the first impedance matching circuit 5 according to the gains corresponding to different LNA 2 conduction numbers, so as to ensure that after the gain is adjusted, the gain adjustment circuit 1 can still meet the 50 ohm impedance matching. Therefore, the gain can be adjusted on the basis of low power consumption LNA 2 by reducing the number of LNA 2 conduction.
[0126] Step S1602: when the signal strength of the input RF signal is less than or equal to the first signal strength threshold, the controller 3 controls the first LNA 41 and the second LNA 42 to be turned on, and adjusts the impedance of the first impedance matching circuit 5 to be the first impedance.
[0127] The first signal strength threshold is a threshold of the signal strength of the radio frequency signal when a large gain needs to be adjusted by the LNA module 4, and can be set according to actual needs. For example, it can be obtained by counting multiple signal strengths of the radio frequency signal when a large gain needs to be adjusted by the LNA module 4, such as counting the mean, median, minimum, or maximum of multiple signal strengths of the radio frequency signal when a large gain needs to be adjusted by the LNA module 4; it can also be set according to an empirical value.
[0128] When the signal strength of the input RF signal is less than or equal to the first signal strength threshold, it indicates that the input signal is small and a large gain needs to be adjusted through the LNA module 4. Therefore, there is no need to reduce the number of LNA 2s that are turned on. Therefore, the controller 3 controls the first LNA 41 and the second LNA 42 to be turned on, and matches the impedance corresponding to when the first LNA 41 and the second LNA 42 are turned on. That is, the impedance of the first impedance matching circuit 5 is adjusted to be the first impedance. In other words, the first impedance is the matching impedance corresponding to when the first LNA 41 and the second LNA 42 are turned on, thereby ensuring that the gain adjustment circuit 1 can still meet the matching of 50 ohms impedance.
[0129] Step S1603: When the signal strength of the input RF signal is greater than the first signal strength threshold and less than or equal to the second signal strength threshold, the controller 3 controls the first LNA 41 or the second LNA 42 to be turned on, and adjusts the impedance of the first impedance matching circuit 5 to the second impedance; and the second signal strength threshold is greater than the first signal strength threshold.
[0130] The second signal strength threshold is a threshold of the signal strength of the radio frequency signal when the LNA module 4 does not need to adjust the large gain, and can be set according to actual needs. For example, it can be obtained by counting multiple signal strengths of the radio frequency signal when the LNA module 4 does not need to adjust the large gain, such as counting the mean, median, minimum, or maximum of multiple signal strengths of the radio frequency signal when the LNA module 4 does not need to adjust the large gain; it can also be set according to an empirical value.
[0131] When the signal strength of the input RF signal is greater than the first signal strength threshold and less than or equal to the second signal strength threshold, it indicates that the input signal is large and it is no longer necessary to adjust the large gain through the LNA module 4. Therefore, the number of LNA 2 being turned on can be reduced. Therefore, the controller 3 controls the first LNA 41 or the second LNA 42 to be turned on, and matches the impedance corresponding to when the first LNA 41 or the second LNA 42 is turned on. In other words, the impedance of the first impedance matching circuit 5 is adjusted to the second impedance. In other words, the second impedance is the matching impedance corresponding to when the first LNA 41 or the second LNA 42 is turned on, thereby ensuring that the gain adjustment circuit 1 can still meet the matching of 50 ohms impedance.
[0132] The gain adjustment method described in the above steps S1602-S1603 is essentially to determine the gain to be adjusted according to the signal strength of the input RF signal, thereby controlling the conduction quantity of the LNA 2 in the LNA module 4. In addition, the impedance is matched through the first impedance matching circuit 5 (i.e., in the form of series resistors, capacitors and parallel capacitors) in the feedback loop of the LNA module 4 to ensure that the gain adjustment circuit 1 can still meet the impedance matching of 50 ohms after the gain is adjusted.
[0133] Step S1604: When the signal strength of the input RF signal is greater than the second signal strength threshold, the controller 3 controls the first LNA 41 and the second LNA 42 to be turned off, controls the bypass circuit 7 and the second impedance matching circuit 8 to be turned on, and adjusts the attenuation coefficient of the bypass circuit 7 and the impedance of the second impedance matching circuit 8 according to the signal strength of the input RF signal.
[0134] The third signal strength threshold is a threshold of the signal strength when the signal strength of the radio frequency signal causes the LNA module 4 to be saturated, and can be set according to actual needs. For example, it can be obtained by counting multiple signal strengths of the radio frequency signal when the LNA module 4 is saturated, such as counting the mean, median, or minimum value of multiple signal strengths of the radio frequency signal when the LNA module 4 is saturated; it can also be set according to an empirical value.
[0135] When the signal strength of the input RF signal is greater than the second signal strength threshold, it indicates that the signal strength of the input RF signal is very high. Since the input signal is too large, LNA 2 is saturated. At this time, LNA 2 is no longer needed to amplify the RF signal, and even needs to be attenuated. Therefore, the LNA module 4 can be disconnected first, that is, the controller 3 controls the first LNA 41 and the second LNA 42 to be turned off, and then the bypass circuit 7 is added, that is, the bypass circuit 7 is controlled to be turned on to attenuate it. By adjusting the attenuation coefficient of the bypass circuit 7, the area can be further saved and the linearity index under high signal strength can be increased. And by controlling the second impedance matching circuit 8 to be turned on, the impedance corresponding to the attenuation coefficient of the bypass circuit 7 can be matched, thereby ensuring that after adjusting the attenuation coefficient of the bypass circuit 7, the gain adjustment circuit 1 can still meet the matching of 50 ohms impedance. Therefore, when a radio frequency signal with low signal strength is input, the gain can be adjusted based on the low power consumption LNA 2 by reducing the number of conduction circuits of LNA 2, and when a radio frequency signal with high signal strength is input, the gain can be attenuated in cooperation with the bypass circuit 7. Therefore, a gain adjustment solution for the front end of a low power consumption radio frequency receiver can be provided.
[0136] For details, see the attached Fig.15 In a possible implementation, the controller 3 controls the bypass circuit 7 and the second impedance matching circuit 8 to be turned on, including: controlling the third switch S3 to be closed, the fourth switch S4 to be closed, and the fifth switch S5 to be closed.
[0137] It can be seen from the gain adjustment circuit 1 described above that the bypass circuit 7 adjusts the attenuation coefficient through the third switch S3, the fourth switch S4 and the second adjustable resistor R2. When the controller 3 controls the bypass circuit 7 to be turned on, the third switch S3 and the fourth switch S4 are both closed. The main circuit of the bypass circuit 7 including the fourth switch S4 is shunted by the branch composed of the third switch S3 and the second adjustable resistor R2, so that the attenuation coefficient of the bypass circuit 7 is adjusted by adjusting the resistance value of the second adjustable resistor R2. Since the second impedance matching circuit 8 only includes a branch composed of the fifth switch S5, the third adjustable resistor R3 and the second adjustable capacitor C12, the controller 3 controls the second impedance matching circuit 8 to be turned on, and correspondingly, controls the fifth switch S5 to be closed, so that the branch composed of the fifth switch S5, the third adjustable resistor R3 and the second adjustable capacitor C12 is turned on, thereby matching the impedance corresponding to the attenuation coefficient of the bypass circuit 7.
[0138] Since the signal strength of the input RF signal is different, the impedance matched by the corresponding second impedance matching circuit 8 is also different. Therefore, the controller 3 adjusts the attenuation coefficient of the bypass circuit 7 and the impedance of the second impedance matching circuit 8 according to the signal strength of the input RF signal, thereby ensuring that the gain adjustment circuit 1 can still meet the matching of 50 ohm impedance under the premise of adjusting the attenuation coefficient of the bypass circuit 7.
[0139] For details, see the attached Fig.15 In a possible implementation, adjusting the attenuation coefficient of the bypass circuit 7 according to the signal strength of the input radio frequency signal includes: adjusting the resistance of the second adjustable resistor R2 according to the signal strength of the input radio frequency signal. Adjusting the impedance of the second impedance matching circuit 8 according to the signal strength of the input radio frequency signal includes: adjusting the capacitance of the second adjustable capacitor C12 and the resistance of the third adjustable resistor R3 according to the signal strength of the input radio frequency signal.
[0140] Similarly, it can be seen from the gain adjustment circuit 1 described above that the controller 3 adjusts the attenuation coefficient of the bypass circuit 7 according to the signal strength of the input radio frequency signal. In essence, under the premise that the third switch S3 and the fourth switch S4 are both closed, the controller 3 adjusts the resistance value of the second adjustable resistor R2 in the bypass circuit 7 according to the signal strength of the input radio frequency signal. Specifically, when the fourth switch S4 is controlled to be closed, the main path of the bypass circuit 7 is connected, and when the third switch S3 is closed, the second adjustable resistor R2 is connected to the main path of the bypass circuit 7, so as to shunt the main path of the bypass circuit 7 and adjust the attenuation coefficient of the bypass circuit 7. The controller 3 adjusts the impedance of the second impedance matching circuit 8 according to the signal strength of the input radio frequency signal. In essence, under the premise that the fifth switch S5 is closed, the controller 3 adjusts the series impedance of the second adjustable capacitor C12 and the third adjustable resistor R3 in the second impedance matching circuit 8 according to the signal strength of the input radio frequency signal to adjust the impedance corresponding to the attenuation coefficient of the bypass circuit 7.
[0141] According to the gain adjustment circuit 1 described above, when the signal strength of the input RF signal is low, the controller 3 controls the LNA module 4 and the first impedance matching circuit 5 to be turned on, controls the bypass circuit 7 and the second impedance matching circuit 8 to be turned off, and adjusts the gain through the LNA module 4. When the signal strength of the input RF signal is very high, the controller 3 controls the LNA module 4 and the first impedance matching circuit 5 to be turned off, controls the bypass circuit 7 and the second impedance matching circuit 8 to be turned on, and attenuates the gain by adjusting the attenuation coefficient of the bypass circuit 7. It can be understood that the second signal strength threshold is a threshold for judging the signal strength of the RF signal. By judging the magnitude of the signal strength of the input RF signal and the second signal strength threshold, the two gain adjustment modes of the LNA module 4 and the bypass circuit 7 are switched, thereby adjusting the gain.
[0142] The gain adjustment method described in the above steps S1601-S1604, when the LNA module 4 includes n LNAs 2, n is a positive integer, and n>2, can be expanded based on the gain adjustment method when n=2, when the LNA module 4 includes the first LNA 41 and the second LNA 42, to obtain a corresponding gain adjustment method. Figure 8 As shown, when n=3, the gain adjustment is divided into three gears. When the signal strength of the input RF signal is less than or equal to the first signal strength threshold, the controller 3 controls the three LNAs 2 to be turned on, and adjusts the impedance of the first impedance matching circuit 5 to the first impedance; when the signal strength of the input RF signal is greater than the first signal strength threshold and less than or equal to the second signal strength threshold, the controller 3 controls two of the LNAs 2 to be turned on, and adjusts the impedance of the first impedance matching circuit 5 to the second impedance, and the second signal strength threshold is greater than the first signal strength threshold; when the signal strength of the input RF signal is greater than the second signal strength threshold and less than or equal to the third signal strength threshold, the controller 3 controls one of the LNAs 2 to be turned on, and adjusts the impedance of the first impedance matching circuit 5 to the third impedance, and the third signal strength threshold is greater than the second signal strength threshold. Exemplarily, as shown in the attached figure, Fig. 9 As shown, when n=4, the gain adjustment is divided into four gears. When the signal strength of the input RF signal is less than or equal to the first signal strength threshold, the controller 3 controls all four LNAs 2 to be turned on, and adjusts the impedance of the first impedance matching circuit 5 to the first impedance; when the signal strength of the input RF signal is greater than the first signal strength threshold and less than or equal to the second signal strength threshold, the controller 3 controls three of the LNAs 2 to be turned on, and adjusts the impedance of the first impedance matching circuit 5 to the second impedance, and the second signal strength threshold is greater than the first signal strength threshold; when the signal strength of the input RF signal is greater than the second signal strength threshold and less than or equal to the third signal strength threshold, the controller 3 controls two of the LNAs 2 to be turned on, and adjusts the impedance of the first impedance matching circuit 5 to the third impedance, and the third signal strength threshold is greater than the second signal strength threshold; when the signal strength of the input RF signal is greater than the third signal strength threshold and less than or equal to the fourth signal strength threshold, the controller 3 controls one of the LNAs 2 to be turned on, and adjusts the impedance of the first impedance matching circuit 5 to the fourth impedance, and the fourth signal strength threshold is greater than the third signal strength threshold. By analogy, different values of n result in different gears for gain adjustment. In the embodiment of the present application, when the number n of LNA2 in the LNA module 4 is greater than 4, the gain adjustment method is similar to that when the number n is 2, 3, or 4, and will not be described in detail here.
[0143] The gain adjustment method described in the above steps S1601-S1604 is specifically described by taking the case where n=4 and the LNA module 4 includes the first LNA 41, the second LNA 42, the third LNA 43 and the fourth LNA 44 as an example.
[0144] The gain adjustment method described in the above steps S1601-S1604 can be divided into two gain adjustment modes: 1) LNA module adjustment mode; 2) bypass adjustment mode. The LNA module adjustment mode corresponds to the above steps S1602-S1603, where the controller 3 controls the conduction quantity of the LNA 2 in the LNA module 4 according to the signal strength of the input RF signal. The bypass adjustment mode corresponds to the above step S1604, where the controller 3 adjusts the attenuation coefficient of the bypass circuit 7 according to the signal strength of the input RF signal.
[0145] In the embodiment of the present application, the initial gain value can be set to 24db, the model of each LNA 2 is the same, the gain attenuation value of each LNA 2 is 6db, and the attenuation value of the bypass circuit 7 is adjusted into four gears, and the gain attenuation value of each gear is also 6db. For example, as shown in Table 1: Table 1 Gain attenuation in different gain adjustment modes
[0146] It can be seen from Table 1 that the threshold for switching the LNA module adjustment mode and the bypass adjustment mode is 6db. When the signal strength of the input RF signal is less than or equal to the first signal strength threshold, the controller 3 controls all four LNAs 2 to be turned on, and adjusts the impedance of the first impedance matching circuit 5 to the first impedance. At this time, the gain is attenuated by 0db (ie -0db), and the gain value is 24db. When the signal strength of the input RF signal is greater than the first signal strength threshold and less than or equal to the second signal strength threshold, the controller 3 controls three of the LNAs 2 to be turned on, and adjusts the impedance of the first impedance matching circuit 5 to the second impedance, and the second signal strength threshold is greater than the first signal strength threshold. At this time, the gain is attenuated by 6db (ie -6db), and the gain value is 18db. When the signal strength of the input RF signal is greater than the second signal strength threshold and less than or equal to the third signal strength threshold, the controller 3 controls two of the LNAs 2 to be turned on, and adjusts the impedance of the first impedance matching circuit 5 to the third impedance, and the third signal strength threshold is greater than the second signal strength threshold. At this time, the gain is attenuated by 12db (ie -12db), and the gain value is 12db. When the signal strength of the input RF signal is greater than the third signal strength threshold and less than or equal to the fourth signal strength threshold, the controller 3 controls one of the LNAs 2 to be turned on, and adjusts the impedance of the first impedance matching circuit 5 to the fourth impedance, and the fourth signal strength threshold is greater than the third signal strength threshold. At this time, the gain is attenuated by 18db (i.e., -18db), and the gain value is 6db. When the signal strength of the input RF signal is greater than the fourth signal strength threshold and less than or equal to the fifth signal strength threshold, the controller 3 controls all LNAs 2 to be turned off, controls the bypass circuit 7 and the second impedance matching circuit 8 to be turned on, controls the attenuation coefficient of the bypass circuit 7 to be the first gear, and adjusts the impedance of the second impedance matching circuit 8 to the fifth impedance, and the fifth signal strength threshold is greater than the fourth signal strength threshold. At this time, the gain is attenuated by 24db (i.e., -24db), and the gain value is 0db. When the signal strength of the input RF signal is greater than the fifth signal strength threshold and less than or equal to the sixth signal strength threshold, the controller 3 controls the attenuation coefficient of the bypass circuit 7 to the second level, and adjusts the impedance of the second impedance matching circuit 8 to the sixth impedance, the sixth signal strength threshold is greater than the fifth signal strength threshold, at this time, the gain is attenuated by 30db (i.e. -30db), and the gain value is -6db. When the signal strength of the input RF signal is greater than the sixth signal strength threshold and less than or equal to the seventh signal strength threshold, the controller 3 controls the attenuation coefficient of the bypass circuit 7 to the third level, and adjusts the impedance of the second impedance matching circuit 8 to the seventh impedance, the seventh signal strength threshold is greater than the sixth signal strength threshold, at this time, the gain is attenuated by 36db (i.e. -36db), and the gain value is -12db.When the signal strength of the input RF signal is greater than the seventh signal strength threshold and less than or equal to the eighth signal strength threshold, the controller 3 controls the attenuation coefficient of the bypass circuit 7 to the fourth level, and adjusts the impedance of the second impedance matching circuit 8 to the eighth impedance. The eighth signal strength threshold is greater than the seventh signal strength threshold. At this time, the gain is attenuated by 42db (i.e. -42db), and the gain value is -18db.
[0147] Among them, the fourth signal strength threshold, the fifth signal strength threshold, the sixth signal strength threshold, the seventh signal strength threshold and the eighth signal strength threshold, like the first signal strength threshold, the second signal strength threshold and the third signal strength threshold described above, can be set according to actual needs, and the setting method is the same as the first signal strength threshold, the second signal strength threshold and the third signal strength threshold described above, and will not be repeated here.
[0148] As can be seen from Table 1 above, when the signal strength of the input RF signal is low, the purpose of attenuating different multiples of 6db (i.e. -6dB) gain can be achieved by reducing the number of LNA 2 (corresponding to reducing the number of switch tubes Mnm by 4 times, m is a positive integer, m=1, 2, 3, 4). When the signal strength of the input RF signal is high, the purpose of attenuating different multiples of 6db (i.e. -6dB) gain can be achieved by adjusting the attenuation coefficient of different gears of the bypass circuit 7.
[0149] In the embodiment of the present application, the gain value of each LNA 2 attenuation may be the same or different, and may be 6 db or other values. The gain value of the bypass circuit 7 attenuation may be divided into four gears or other gears except the four gears. The gain of each gear attenuation may be the same or different. The gain adjustment method in other ways except Table 1 is the same as the gain adjustment method described in Table 1 above, and will not be described in detail here.
[0150] The gain adjustment method described in the above steps S1601-S1604 can adjust the number of LNAs 2 in the LNA module 4 including at least two LNAs 2 and the impedance of the first impedance matching circuit 5 connected in parallel with the LNA module 4 according to the signal strength of the input RF signal when the signal strength of the input RF signal is low. It can also adjust the attenuation coefficient of the bypass circuit 7 and the impedance of the second impedance matching circuit 8 according to the signal strength of the input RF signal when the signal strength of the input RF signal is high. Therefore, the gain adjustment method described in the above steps S1601-S1604 can ensure that the gain can be adjusted on the basis of the low power consumption LNA 2 by reducing the number of LNAs 2 that are turned on under the premise of inputting a RF signal with low signal strength. And according to the gains corresponding to different numbers of LNAs 2 that are turned on, different impedances are matched through the first impedance matching circuit 5 to ensure that after the gain is adjusted, the gain adjustment circuit 1 can still meet the matching of 50 ohms impedance. It can also attenuate the input RF signal by adjusting the attenuation coefficient of the bypass circuit 7 under the premise of inputting a RF signal with high signal strength. In the process of attenuating the gain through the bypass circuit 7, the impedance corresponding to the attenuation coefficient of the bypass circuit 7 is matched through the second impedance matching circuit 8, thereby ensuring that after the attenuation coefficient is adjusted through the bypass circuit 7, the gain adjustment circuit 1 can still meet the matching of 50 ohms impedance.
[0151] The gain adjustment circuit, method and electronic device provided in the embodiments of the present application include an LNA module, a first impedance matching circuit connected in parallel with the LNA module, a bypass circuit connected in parallel with the LNA module, a first inductor Lg, a second inductor Ls1, a third inductor Ls2 and the impedance of the second impedance matching circuit connected to the main path where the LNA module is located. When the signal strength of the input RF signal is low, the number of LNAs in the LNA module including at least two LNAs and the impedance of the first impedance matching circuit connected in parallel with the LNA module can be adjusted according to the signal strength of the input RF signal. It is also possible to adjust the attenuation coefficient of the bypass circuit and the impedance of the second impedance matching circuit according to the signal strength of the input RF signal when the signal strength of the input RF signal is high. Therefore, based on the gain adjustment circuit, method and electronic device provided in the embodiments of the present application, it is possible to ensure that under the premise of inputting an RF signal with low signal strength, the gain can be adjusted on the basis of a low-power LNA by reducing the number of LNAs that are turned on. And according to the gains corresponding to different LNA conduction numbers, different impedances are matched through the first impedance matching circuit to ensure that after the gain is adjusted, the gain adjustment circuit can still meet the 50-ohm impedance matching. It is also possible to attenuate the input RF signal by adjusting the attenuation coefficient of the bypass circuit under the premise of inputting a high-signal-strength RF signal. And in the process of attenuating the gain, the impedance corresponding to the attenuation coefficient of the bypass circuit is matched through the second impedance matching circuit, thereby ensuring that after the attenuation coefficient is adjusted through the bypass circuit, the gain adjustment circuit can still meet the 50-ohm impedance matching.
[0152] It is understandable that in order to implement the above functions, the electronic device includes hardware and / or software modules corresponding to the execution of each function. In combination with the algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered to be beyond the scope of the present application.
[0153] In this embodiment, the electronic device can be divided into functional modules according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0154] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program code is stored. When the processor executes the computer program code, the electronic device executes the relevant method steps in the method embodiment.
[0155] The embodiment of the present application also provides a computer program product. When the computer program product is run on a computer, it enables the computer to execute the relevant method steps in the above method embodiment.
[0156] Among them, the electronic device, computer storage medium or computer program product provided in this application is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.
[0157] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0158] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0159] The units described above as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0160] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The functions of the above-mentioned integrated units may be implemented in the form of hardware or in the form of software functional units.
[0161] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that makes the contribution or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including a number of instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to execute all or part of the steps of the above-mentioned methods of each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.
[0162] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application shall be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A gain adjustment circuit, characterized in that: The gain adjustment circuit includes a low noise amplifier LNA module, a first impedance matching circuit, a first inductor, a second inductor, a third inductor and a controller; the LNA module includes at least two LNAs, the first end of each LNA in the LNA module is connected to the first end of the LNA module, the second end of each LNA in the LNA module is connected to the second end of the LNA module, the bias end of each LNA in the LNA module is connected to the bias end of the LNA module, the ground end of each LNA in the LNA module is connected to the ground end of the LNA module, and the control end of each LNA in the LNA module is connected to the control end of the LNA module; The first end of the LNA module is connected to the second end of the first inductor, the bias end of the LNA module is connected to the second end of the second inductor, the ground end of the LNA module is connected to the first end of the third inductor, and the control end of the LNA module is connected to the controller; the second end of the third inductor is grounded; the first end of the first impedance matching circuit is connected to the first end of the LNA module, the second end of the first impedance matching circuit is connected to the second end of the LNA module, and the control end of the first impedance matching circuit is connected to the controller; the first end of the first inductor is used to input a radio frequency signal, the first end of the second inductor is used to input a bias voltage, and the second end of the LNA module is used to output the adjusted radio frequency signal; The controller is used to: According to the signal strength of the input radio frequency signal, the conduction quantity of the LNA in the LNA module and the impedance of the first impedance matching circuit are adjusted.
2. The gain adjustment circuit according to claim 1, characterized in that: The LNA module includes a first LNA and a second LNA; the controller adjusts the conduction quantity of the LNA in the LNA module according to the signal strength of the input radio frequency signal, including: When the signal strength of the input RF signal is less than or equal to a first signal strength threshold, the controller controls the first LNA and the second LNA to be turned on; When the signal strength of the input RF signal is greater than a first signal strength threshold and less than or equal to a second signal strength threshold, the controller controls the first LNA or the second LNA to be turned on; and the second signal strength threshold is greater than the first signal strength threshold.
3. The gain adjustment circuit according to claim 2, characterized in that: The first impedance matching circuit includes a first switch, a second switch, a first capacitor, a first adjustable capacitor and a first adjustable resistor; the first end of the first switch is connected to the first end of the LNA module, the second end of the first switch is connected to the first end of the first adjustable capacitor, and the control end of the first switch is connected to the controller; the second end of the first adjustable capacitor is grounded, and the control end of the first adjustable capacitor is connected to the controller; the first end of the second switch is connected to the first end of the LNA module, the second end of the second switch is connected to the first end of the first capacitor, and the control end of the second switch is connected to the controller; the second end of the first capacitor is connected to the first end of the first adjustable resistor; the second end of the first adjustable resistor is connected to the second end of the LNA module, and the control end of the first adjustable resistor is connected to the controller.
4. The gain adjustment circuit according to claim 3, characterized in that: The controller adjusts the impedance of the first impedance matching circuit according to the signal strength of the input radio frequency signal, including: The controller controls the first switch to close and adjusts the capacitance of the first adjustable capacitor according to the signal strength of the input radio frequency signal; or; Controlling the second switch to close to adjust the resistance value of the first adjustable resistor; or; The first switch and the second switch are controlled to be closed, and the capacitance of the first adjustable capacitor and the resistance of the first adjustable resistor are adjusted.
5. The gain adjustment circuit according to claim 4, characterized in that: The gain adjustment circuit also includes a bypass circuit and a second impedance matching circuit; a first end of the second impedance matching circuit is connected to the first end of the first inductor, a second end of the second impedance matching circuit is grounded, and a control end of the second impedance matching circuit is connected to the controller; a first end of the bypass circuit is connected to the first end of the LNA module, a second end of the bypass circuit is connected to the second end of the LNA module, and a control end of the bypass circuit is connected to the controller.
6. The gain adjustment circuit according to claim 5, characterized in that: When the signal strength of the input radio frequency signal is greater than the second signal strength threshold, the controller is further configured to: Controlling the first LNA and the second LNA to be turned off; The bypass circuit and the second impedance matching circuit are both controlled to be turned on; and the attenuation coefficient of the bypass circuit and the impedance of the second impedance matching circuit are adjusted according to the signal strength of the input radio frequency signal.
7. The gain adjustment circuit according to claim 6, characterized in that: The bypass circuit includes a third switch, a fourth switch and a second adjustable resistor; a first end of the third switch is connected to a first end of the LNA module, a second end of the third switch is connected to a first end of the second adjustable resistor, and a control end of the third switch is connected to the controller; a second end of the second adjustable resistor is grounded, and a control end of the second adjustable resistor is connected to the controller; a first end of the fourth switch is connected to a first end of the LNA module, a second end of the fourth switch is connected to a second end of the LNA module, and a control end of the fourth switch is connected to the controller.
8. The gain adjustment circuit according to claim 7, characterized in that: The second impedance matching circuit includes a fifth switch, a third adjustable resistor and a second adjustable capacitor; the first end of the fifth switch is connected to the first end of the first inductor, the second end of the fifth switch is connected to the first end of the third adjustable resistor, and the control end of the fifth switch is connected to the controller; the second end of the third adjustable resistor is connected to the first end of the second adjustable capacitor, and the control end of the third adjustable resistor is connected to the controller; the second end of the second adjustable capacitor is grounded, and the control end of the second adjustable capacitor is connected to the controller.
9. The gain adjustment circuit according to claim 8, characterized in that: The controller controls the bypass circuit and the second impedance matching circuit to be turned on, including: The controller controls the third switch to be closed, the fourth switch to be closed, and the fifth switch to be closed.
10. The gain adjustment circuit according to claim 8, characterized in that: The controller adjusts the attenuation coefficient of the bypass circuit according to the signal strength of the input radio frequency signal, including: The controller adjusts the resistance value of the second adjustable resistor according to the signal strength of the input radio frequency signal; The controller adjusts the impedance of the second impedance matching circuit according to the signal strength of the input radio frequency signal, including: The controller adjusts the capacitance of the second adjustable capacitor and the resistance of the third adjustable resistor according to the signal strength of the input radio frequency signal.
11. The gain adjustment circuit according to any one of claims 1 to 10, characterized in that: The impedance of the first inductor is different from the impedance of the second inductor, and the impedance of the second inductor is the same as the impedance of the third inductor.
12. A gain adjustment method, characterized in that: The invention is applied to an electronic device, wherein the electronic device comprises a noise amplifier LNA module, a first impedance matching circuit, a first inductor, a second inductor, a third inductor and a controller; the controller is used to execute the gain adjustment method; the LNA module comprises at least two LNAs, the first end of each LNA in the LNA module is connected to the first end of the LNA module, the second end of each LNA in the LNA module is connected to the second end of the LNA module, the bias end of each LNA in the LNA module is connected to the bias end of the LNA module, the ground end of each LNA in the LNA module is connected to the ground end of the LNA module, and the control end of each LNA in the LNA module is connected to the control end of the LNA module. The first end of the LNA module is connected to the second end of the first inductor, the bias end of the LNA module is connected to the second end of the second inductor, the ground end of the LNA module is connected to the first end of the third inductor, and the control end of the LNA module is connected to the controller; the second end of the third inductor is grounded; the first end of the first impedance matching circuit is connected to the first end of the LNA module, the second end of the first impedance matching circuit is connected to the second end of the LNA module, and the control end of the first impedance matching circuit is connected to the controller; the first end of the first inductor is used to input a radio frequency signal, the first end of the second inductor is used to input a bias voltage, and the second end of the LNA module is used to output the adjusted radio frequency signal; the method comprises: According to the signal strength of the input radio frequency signal, the conduction quantity of the LNA in the LNA module and the impedance of the first impedance matching circuit are adjusted.
13. The gain adjustment method according to claim 12, characterized in that: The LNA module includes a first LNA and a second LNA; and adjusting the conduction quantity of the LNA in the LNA module according to the signal strength of the input RF signal includes: When the input signal strength is less than or equal to a first signal strength threshold, controlling the first LNA and the second LNA to be turned on; When the input signal strength is greater than a first signal strength threshold and less than or equal to a second signal strength threshold, the first LNA or the second LNA is controlled to be turned on; and the second signal strength threshold is greater than the first signal strength threshold.
14. The gain adjustment method according to claim 13, characterized in that: The first impedance matching circuit includes a first switch, a second switch, a first capacitor, a first adjustable capacitor and a first adjustable resistor; the first end of the first switch is connected to the first end of the LNA module, the second end of the first switch is connected to the first end of the first adjustable capacitor, and the control end of the first switch is connected to the controller; the second end of the first adjustable capacitor is grounded, and the control end of the first adjustable capacitor is connected to the controller; the first end of the second switch is connected to the first end of the LNA module, the second end of the second switch is connected to the first end of the first capacitor, and the control end of the second switch is connected to the controller; the second end of the first capacitor is connected to the first end of the first adjustable resistor; the second end of the first adjustable resistor is connected to the second end of the LNA module, and the control end of the first adjustable resistor is connected to the controller.
15. The gain adjustment method according to claim 14, characterized in that: The step of adjusting the impedance of the first impedance matching circuit according to the signal strength of the input radio frequency signal comprises: According to the signal strength of the input radio frequency signal, controlling the first switch to close and adjusting the capacitance of the first adjustable capacitor; or; Controlling the second switch to close to adjust the resistance value of the first adjustable resistor; or; The first switch and the second switch are controlled to be closed, and the capacitance of the first adjustable capacitor and the resistance of the first adjustable resistor are adjusted.
16. The gain adjustment method according to claim 15, characterized in that: The electronic device also includes a bypass circuit and a second impedance matching circuit; a first end of the second impedance matching circuit is connected to the first end of the first inductor, a second end of the second impedance matching circuit is grounded, and a control end of the second impedance matching circuit is connected to the controller; a first end of the bypass circuit is connected to the first end of the LNA module, a second end of the bypass circuit is connected to the second end of the LNA module, and a control end of the bypass circuit is connected to the controller.
17. The gain adjustment method according to claim 16, characterized in that: In a case where the signal strength of the input radio frequency signal is greater than the second signal strength threshold, the method further includes: Controlling the first LNA and the second LNA to be turned off; The bypass circuit and the second impedance matching circuit are both controlled to be turned on; and the attenuation coefficient of the bypass circuit and the impedance of the second impedance matching circuit are adjusted according to the signal strength of the input radio frequency signal.
18. The gain adjustment method according to claim 17, characterized in that: The bypass circuit includes a third switch, a fourth switch and a second adjustable resistor; a first end of the third switch is connected to a first end of the LNA module, a second end of the third switch is connected to a first end of the second adjustable resistor, and a control end of the third switch is connected to the controller; a second end of the second adjustable resistor is grounded, and a control end of the second adjustable resistor is connected to the controller; a first end of the fourth switch is connected to a first end of the LNA module, a second end of the fourth switch is connected to a second end of the LNA module, and a control end of the fourth switch is connected to the controller.
19. The gain adjustment method according to claim 18, characterized in that: The second impedance matching circuit includes a fifth switch, a third adjustable resistor and a second adjustable capacitor; the first end of the fifth switch is connected to the first end of the first inductor, the second end of the fifth switch is connected to the first end of the third adjustable resistor, and the control end of the fifth switch is connected to the controller; the second end of the third adjustable resistor is connected to the first end of the second adjustable capacitor, and the control end of the third adjustable resistor is connected to the controller; the second end of the second adjustable capacitor is grounded, and the control end of the second adjustable capacitor is connected to the controller.
20. The gain adjustment method according to claim 19, characterized in that: The controlling the bypass circuit and the second impedance matching circuit to be turned on includes: The third switch, the fourth switch and the fifth switch are controlled to be closed.
21. The gain adjustment method according to claim 20, characterized in that: The step of adjusting the attenuation coefficient of the bypass circuit according to the signal strength of the input radio frequency signal includes: Adjusting the resistance value of the second adjustable resistor according to the signal strength of the input radio frequency signal; The step of adjusting the impedance of the second impedance matching circuit according to the signal strength of the input radio frequency signal comprises: According to the signal strength of the input radio frequency signal, the capacitance of the second adjustable capacitor and the resistance of the third adjustable resistor are adjusted.
22. The gain adjustment method according to any one of claims 12 to 21, characterized in that: The impedance of the first inductor is different from the impedance of the second inductor, and the impedance of the second inductor is the same as the impedance of the third inductor.
23. An electronic device, characterized in that: It comprises a gain adjustment circuit as described in any one of claims 1 to 11; the gain adjustment circuit is used to adjust the amplitude of the radio frequency signal input to the electronic device.
24. An electronic device, characterized in that: include: A memory and a controller, wherein the memory is used to store instructions executable by the controller, wherein computer program code is stored in the memory, and the computer program code includes computer instructions. When the computer instructions are executed by the controller, the electronic device executes the gain adjustment method as described in any one of claims 12 to 22.
25. A computer-readable storage medium, characterized in that: It comprises computer instructions, and when the computer instructions are executed on the electronic device, the electronic device executes the gain adjustment method as described in any one of claims 12 to 22.
26. A computer program product, characterized in that When the computer program product runs on a computer, the computer is enabled to execute the gain adjustment method according to any one of claims 12 to 22.
Citation Information
Patent Citations
Diversity Receiver Front End System With Switching Network
CN105577258A
Low noise amplifier, radio frequency chip and communication equipment
CN118508885A
Combining networks for switchable path power amplifiers
US20020021169A1