A voltage controlled attenuator

By introducing the image attenuation circuit and feedback control signal into the voltage-controlled attenuator, the problem of deterioration of standing wave characteristics caused by changes in external control signals is solved, and the impedance matching of the radio frequency link and the improvement of signal quality are achieved.

CN117240253BActive Publication Date: 2024-09-03SHANGHAI ARCHIWAVE MICROELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311490357.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-09
Publication Date
2024-09-03
Estimated Expiration
2043-11-09

AI Technical Summary

Technical Problem

The existing voltage-controlled attenuator is difficult to maintain good standing wave characteristics when the external control signal changes, affecting the performance of the radio frequency link.

Method used

A voltage-controlled attenuator including a mirror attenuation circuit and an attenuation circuit is designed. The feedback control signal has an inverse relationship with the external control signal. The output equivalent impedance of the mirror attenuation circuit and the attenuation circuit is adjusted to ensure that the standing wave ratio is maintained in an ideal state. .

Benefits of technology

The standing wave ratio at both ends of the voltage-controlled attenuator is effectively and synchronously adjusted to ensure impedance matching in the RF link and improve the quality and performance of the RF signal.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117240253B
    Figure CN117240253B
Patent Text Reader

Abstract

The present application belongs to the field of circuit technology, and specifically discloses a voltage-controlled attenuator, including: an attenuation circuit, including a signal input terminal, a signal output terminal, an input control terminal and a feedback control terminal, the input control terminal is used to input an external control signal; a control circuit, whose output terminal is connected to the feedback control terminal of the attenuation circuit, outputs a feedback control signal, and the feedback control signal is in an inversely proportional dynamic relationship with the external control signal; the control circuit includes: a mirror attenuation circuit, a first current mirror structure, a second current mirror structure, a voltage boost circuit and a comparison circuit. The advantage of the present application is that the equivalent impedance of the output terminal of the voltage-controlled attenuator can be adjusted, thereby improving the standing wave characteristics of the voltage-controlled attenuator.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of circuit technology, and in particular to a voltage-controlled attenuator. Background Art

[0002] RF attenuator is a passive device, which is most commonly used in the transceiver link of RF communication. It is mainly used to reduce the RF signal in the circuit and improve impedance matching. It is widely used in communication systems, instruments and equipment, and various test systems. The basic working principle of RF attenuator is to convert RF energy into heat energy through the designed attenuation circuit using attenuation sheets or resistors to achieve the purpose of attenuating signals. Common RF attenuation circuits include π-shaped attenuation circuits and T-shaped attenuation circuits. Regardless of the type of attenuation circuit, it needs to be controlled by an external control signal to work.

[0003] Among them, the voltage-controlled attenuator generally refers to an attenuator whose attenuation is adjusted by a control voltage (external control signal). Usually, the voltage-controlled attenuator is used to compensate for the high and low temperature gain characteristics in the transceiver link. But at the same time, as a power consumption element, the voltage-controlled attenuator needs to be able to match the characteristic impedance of the specific application circuit at its input and output ends. That is, the standing wave ratio of the input and output at both ends of the voltage-controlled attenuator should be as small as possible. Otherwise, the voltage-controlled attenuator, as a passive network, will play a role in changing the standing wave characteristics in the link, and the inter-stage standing wave of the link will directly affect the RF performance of each module. Therefore, it is very meaningful to ensure the good standing wave characteristics of the voltage-controlled attenuator. Summary of the invention

[0004] In order to accurately control the standing wave characteristics of a voltage-controlled attenuator, the present application proposes a voltage-controlled attenuator, comprising:

[0005] An attenuation circuit comprises a signal input terminal, a signal output terminal, an input control terminal and a feedback control terminal, wherein the input control terminal is used to input an external control signal;

[0006] A control circuit, whose output terminal is connected to the feedback control terminal of the attenuation circuit, outputs a feedback control signal, and the feedback control signal is in an inversely proportional dynamic relationship with the external control signal;

[0007] The control circuit comprises:

[0008] A mirror attenuation circuit having the same circuit structure as the attenuation circuit, wherein the input control terminal of the mirror attenuation circuit is used to input the external control voltage;

[0009] A first current mirror structure, configured to replicate an output current of the mirror attenuation circuit, wherein a first end of the first current mirror structure is connected to an output end of the mirror attenuation circuit, and a second end of the first current mirror structure is connected to ground;

[0010] a second current mirror structure, wherein a first end of the second current mirror structure is connected to a matching resistor and then connected to ground, a second end of the second current mirror structure is connected to ground, and,

[0011] a voltage raising circuit, configured to be connected to the second end of the first current mirror structure and the second end of the second current mirror structure, and raise the potential of the second end of the first current mirror structure and the second end of the second current mirror structure to the same potential;

[0012] The comparison circuit is configured to compare the signals at the second end of the first current mirror structure and the second end of the second current mirror structure, and output the feedback control signal to the feedback control end of the attenuation circuit and the feedback control end of the mirror attenuation circuit.

[0013] In the above-mentioned voltage-controlled attenuator, the attenuation circuit is a T-type attenuation circuit, comprising:

[0014] A first MOS tube, whose drain is the signal input terminal, used for inputting a radio frequency input signal;

[0015] A second MOS transistor, whose drain is connected to the source of the first MOS transistor, the source being the signal output terminal and used to output a radio frequency output signal, and the gates of the first MOS transistor and the second MOS transistor are connected to the feedback control signal;

[0016] The third MOS tube has a drain connected to the source of the first MOS tube, a source connected to the ground, and a gate connected to the external control signal.

[0017] In the above-mentioned voltage-controlled attenuator, the second end of the first current mirror structure is connected to the first resistor and then to the ground, and the second end of the second current mirror structure is connected to the second resistor and then to the ground.

[0018] In the above-mentioned voltage-controlled attenuator, the second end of the first current mirror structure is connected in series with the first resistor and the first voltage boosting circuit and then connected to the ground, and the second end of the second current mirror structure is connected in series with the second resistor and the second voltage boosting circuit and then connected to the ground.

[0019] In the above-mentioned voltage-controlled attenuator, the first voltage boosting circuit and the second voltage boosting circuit include at least one diode.

[0020] In the above-mentioned voltage-controlled attenuator, the resistance value of the matching resistor is the same as the resistance from the output end of the mirror attenuation circuit to ground.

[0021] In the above-mentioned voltage-controlled attenuator, the current mirror structure includes: a single-tube MOS current mirror, a cascode current mirror, and a Wilson current mirror.

[0022] In the above-mentioned voltage-controlled attenuator, the mirror attenuation circuit has the same circuit structure as the attenuation circuit, including the same components, parameters and layouts used by both.

[0023] In the above-mentioned voltage-controlled attenuator, the comparison circuit includes an operational amplifier, the non-inverting input terminal of the operational amplifier is connected to the second end of the first current mirror structure, the inverting input terminal of the operational amplifier is connected to the second end of the second current mirror structure, and the output terminal of the operational amplifier is connected to the feedback control terminal of the attenuation circuit and the feedback control terminal of the mirror attenuation circuit.

[0024] In the above-mentioned voltage-controlled attenuator, the attenuation circuit is a T-type attenuation circuit or a Π-type attenuation circuit.

[0025] Compared with the prior art, the voltage-controlled attenuator proposed in the present application includes a mirror attenuation circuit and an attenuation circuit with the same circuit structure, and the input control terminals of the mirror attenuation circuit and the attenuation circuit are also connected to the external control signal. The external control signal is used to control the attenuation of the voltage-controlled attenuator, and the mirror attenuation circuit and the attenuation circuit in the present application work in the same attenuation state. In addition, the voltage-controlled attenuator also includes a current mirror structure, wherein the first end of the first current mirror structure is connected to the output end of the mirror attenuation circuit, thereby replicating the output end current of the mirror attenuation circuit, and the second current mirror structure provides a reference current. After converting the current into a voltage, the output end signal voltage of the mirror attenuation circuit and the reference voltage are compared through a comparison circuit, so as to output a feedback control signal according to the voltage comparison result, and the feedback control signal is connected to the feedback control terminal of the mirror attenuation circuit, which can compensate for the change of the standing wave of the mirror attenuation circuit caused by the change of the external control signal, so that the standing wave ratio at both ends of the mirror attenuation circuit is maintained in a relatively ideal state. Since the same feedback control signal (Vtune) is also connected to the feedback control terminal of the attenuation circuit, the standing wave ratio at both ends of the voltage-controlled attenuator is synchronously adjusted under the control of the same signal (Vtune), so that it can work in the link with better standing wave characteristics. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 A schematic diagram showing the position of the voltage-controlled attenuator in the radio frequency link;

[0027] Figure 2 A circuit diagram of a T-type voltage-controlled attenuation circuit is shown;

[0028] Figure 3 A circuit block diagram of a control circuit of a voltage-controlled attenuator according to some embodiments of the present invention is shown;

[0029] Figure 4 Shows Figure 3A specific implementation diagram of the control circuit of the voltage-controlled attenuator shown;

[0030] Figure 5 The figure shows the simulation diagram of the port standing wave of the voltage-controlled attenuator under different external control signals Vctrl. DETAILED DESCRIPTION

[0031] The following specific embodiments illustrate the implementation of the present application, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. Although the description of the present application will be introduced in conjunction with the preferred embodiment, this does not mean that the features of this invention are limited to this implementation. On the contrary, the purpose of introducing the invention in conjunction with the implementation is to cover other options or modifications that may extend based on the claims of the present application. In order to provide a deep understanding of the present application, the following description will include many specific details. The present application can also be implemented without using these details. In addition, in order to avoid confusion or blurring the focus of the present application, some specific details will be omitted in the description. It should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other without conflict.

[0032] It should be noted that in this specification, similar numbers and letters represent similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings and is assumed to be the same definition.

[0033] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0034] Figure 1 The schematic diagram of the position of the voltage-controlled attenuator in the RF link is shown. The attenuation circuit 10 is a common component in the RF link. Its main function is to adjust the strength of the signal passing through the voltage-controlled attenuator. It is generally used to provide consistency of high and low temperature link gain, as well as impedance matching. Among them, providing impedance matching means that the equivalent impedance of the RFin end of the attenuation circuit 10 matches the equivalent impedance of the output end of the first other RF module 11, and the equivalent impedance of the RFout end of the attenuation circuit 10 matches the equivalent impedance of the input end of the second other RF module 12.

[0035] The attenuation circuit 10 mainly includes two types of attenuation circuits, namely, a T-type attenuation circuit and a Π-type attenuation circuit. The T-type attenuation circuit includes a transmission trunk and an attenuation branch. In the circuit diagram, the transmission trunk and the attenuation branch are usually arranged in a T shape, so it is called a T-type attenuation circuit. The Π-type attenuation circuit has a transmission trunk and two attenuation branches. In the circuit diagram, the transmission trunk and the attenuation branch are usually arranged in a Π shape, so it is called a Π-type attenuation circuit.

[0036] In the present invention, the standing wave characteristics of the signal on the transmission trunk line are mainly studied, and the attenuation circuit 10 can be a T-type attenuation circuit or a Π-type attenuation circuit.

[0037] by Figure 2 Taking the T-type voltage-controlled attenuation circuit shown in the figure as an example, the first MOS tube M1A and the second MOS tube M1B are connected in series, and the gates are controlled by the feedback control signal Vtune at the same time, that is, whether the first MOS tube M1A and the second MOS tube M1B work is controlled by the feedback control signal Vtune. The RF input signal is input through the drain of the first MOS tube M1A (equivalent to Figure 1 The RFin terminal shown in the figure), the RF output signal is output from the source of the second MOS tube M1B (equivalent to Figure 1 The drain of the third MOS tube M2 is connected to the source of the first MOS tube M1A (i.e., the drain of the second MOS tube M1B), and the source is connected to the ground. The gate of the third MOS tube M2 is controlled by the external control signal Vctrl, and the external control signal Vctrl determines the attenuation amount of the T-type attenuation circuit when it is working. The voltage value of the external control signal Vctrl is usually continuous, which means that the impedance of the branch connected in parallel to the ground, i.e., the branch where the third MOS tube M2 is located, is continuously changing. Therefore, based on Ohm's law, the output end of the T-type voltage-controlled attenuator, i.e. Figure 1 The equivalent impedance to ground of the RFout terminal shown will change and is not fixed. Those skilled in the art should know that the quality of the standing wave characteristic depends on the matching degree of the inter-stage impedance of adjacent RF components in the RF link. When the inter-stage impedance of the upper and lower RF components is completely matched, the standing wave characteristic is the best. Figure 1 For the T-type attenuation circuit shown, the equivalent impedance of its output end needs to be consistent with the equivalent impedance of the input end of the second other RF module 12, so as to improve the standing wave characteristics of the T-type attenuation circuit. In the field of RF, the default inter-stage matching impedance is usually 50 ohms. The embodiments of the present application are all aimed at adjusting the equivalent impedance of the input / output port of the RF device to 50 ohms, so as to ensure good standing wave characteristics.

[0038] against Figure 2 For example, at this time, it is necessary to establish a dynamic Vctrl / Vtune control method to control the impedance characteristics of the first MOS tube M1A and the second MOS tube M1B, so that the T-type attenuation circuit can achieve good standing wave characteristics, thereby achieving effective matching with the port impedance of the second other RF module 12.

[0039] Similarly, for other T-type attenuation circuits with different specific circuits, if the equivalent impedance of the output end can be effectively controlled, effective matching with the port impedance of the second other RF module 12 can also be achieved.

[0040] Figure 3 FIG. 1 is a circuit block diagram of a control circuit of a voltage-controlled attenuator according to some embodiments of the present invention. Figure 2 The logic module 200 (i.e., the control circuit) used to control the T-type voltage-controlled attenuator includes a mirror attenuation circuit having the same circuit structure as the attenuation circuit 10 (T-type voltage-controlled attenuation circuit). The same circuit structure includes the same components, component parameters, and layout used by both. Among them, only the layout can change the ground plane area of ​​the grounding point based on factors such as chip area.

[0041] Figure 3 The figure mainly shows the connection relationship between the logic module 200 and the attenuation circuit 10 of the voltage-controlled attenuator. That is, the logic module 200 and the attenuation circuit 10 are both controlled by the external control signal Vctrl, and the logic module 200 generates a feedback control signal Vtune according to the external control signal Vctrl, and the feedback control signal Vtune is simultaneously connected to the mirror attenuation circuit inside the logic module 200 and the feedback control terminal of the attenuation circuit 10.

[0042] In the logic module 200, the feedback control signal Vtune is used to adjust the output equivalent impedance of the mirror attenuation circuit. When the output equivalent impedance of the mirror attenuation circuit is adjusted to the expected value (e.g., 50 ohms), since the feedback control terminal of the attenuation circuit 10 is also connected to the feedback control signal Vtune, the feedback control signal Vtune also makes the equivalent impedance of the output terminal of the attenuation circuit 10 reach the expected value, such as a matching impedance of 50 ohms, thereby compensating for the adverse consequence of the change in the standing wave ratio of the attenuation circuit 10 caused by the change of the external control signal Vctrl.

[0043] Figure 4 Shows Figure 3 The control circuit of the T-type voltage-controlled attenuator shown in FIG. Figure 4 The specific circuit of the logic module 200 and the process of adjusting the standing wave ratio at both ends of the attenuation circuit 10 through the feedback control signal Vtune are described in detail.

[0044] like Figure 4 As shown, the logic module 200 includes a mirror attenuation circuit 201 , a first current mirror structure 202 , a second current mirror structure 203 and a comparison circuit 204 .

[0045] The mirror attenuation circuit 201 adopts the same circuit structure as the attenuation circuit 10, which is equivalent to saying that the mirror attenuation circuit 201 is a copy of the attenuation circuit 10. Figure 4The gate of the third MOS transistor M2 in the attenuator is controlled by the external control signal Vctrl at the same time. Therefore, when the external control signal Vctrl changes, the voltage and current at the output end of the mirror attenuation circuit 201 and the attenuation circuit 10 produce the same changes. This embodiment is based on the "copy" attenuator, that is, the output end current and voltage of the mirror attenuation circuit 201 to obtain the appropriate feedback control signal Vtune, so as to control the feedback control end of the mirror attenuation circuit 201 (corresponding to Figure 4 The feedback control signal Vtune is connected to the gate of the first MOS transistor M1A and the second MOS transistor M1B in the attenuation circuit 10 to achieve effective control to compensate for the changes in the output current and voltage caused by the change of the external control signal Vctrl. Since the feedback control signal Vtune is also connected to the feedback control terminal of the attenuation circuit 10, the feedback control terminal of the T-type attenuation circuit 10 is also controlled, thereby effectively adjusting the voltage-current relationship at the output end of the attenuation circuit 10, so that the equivalent impedance at the output end of the attenuation circuit 10 in the RF link meets the expected requirements, that is, the standing wave characteristic is maintained at a good level.

[0046] Figure 4 The mirror attenuation circuit 201 in the embodiment includes a first MOS transistor M1A, a second MOS transistor M1B in a series branch, and a third MOS transistor M2 in a parallel branch (for a more detailed circuit description, please refer to Figure 2 It can be understood that based on the structure of the mirror attenuation circuit 201 being consistent with the structure of the attenuation circuit 10, if the attenuation circuit 10 adopts Figure 2 If the structure of other T-type attenuation circuits other than the T-type attenuation circuit shown in the figure is changed, the structure of the mirror attenuation circuit 201 will also be changed accordingly.

[0047] For the input end of the attenuation circuit 10 and the mirror attenuation circuit 201, that is, the drain of the first MOS tube M1A, since the output impedance of the first other RF module 11 is R0, the input equivalent impedance of the mirror attenuation circuit 201 should also be R0, so that the first other RF module 11 can match the input equivalent impedance of the attenuation circuit 10 or the mirror attenuation circuit 201. As mentioned above, in order to facilitate the cascading of different components, the input and output equivalent impedances of the RF components are usually designed to be 50 ohms, that is, Figure 4 In the embodiment, R0 is preferably 50 ohms, and the ground impedance of the drain of the first MOS tube M1A looking toward the mirror attenuation circuit 201 is also 50 ohms. The drain of the second MOS tube M1B, that is, Figure 4 The equivalent impedance of the Q point shown in (located on the drain of the MOS tube M3A in the first current mirror structure 200) looking at the mirror attenuation circuit 201 is also expected to be kept consistent with R0 (for example, 50 ohms) instead of changing with the change of the external control signal Vctrl.

[0048] To this end, the present invention also includes a feedback control signal Vtune. According to the difference of the feedback control signal Vtune, the switch states of the first MOS transistor M1A and the second MOS transistor M1B connected in series also change accordingly, so as to compensate for the change of the output current of the mirror attenuation circuit 201 caused by the change of the external control signal Vctrl, thereby making the equivalent impedance of the Q point looking at the mirror attenuation circuit 201 consistent with R0.

[0049] Specifically, the circuit for generating the feedback control signal Vtune includes a first current mirror structure 202, a second current mirror structure 203, and a comparison circuit 204. In this embodiment, the first current mirror structure 202 and the second current mirror structure 203 both adopt a single-tube MOS current mirror structure. Among them, the first current mirror structure 202 includes a MOS tube M3A and a MOS tube M3B, and the width-to-length ratio W / L of the two MOS tubes is selected to be the same as much as possible to ensure that the copied mirror current I3B is the same as the reference current I3A as much as possible. The MOS tube M3A is connected by a diode, the drain is connected to the output end of the mirror attenuation circuit 201 as the first end, and the source is connected to the power supply VDD. The source of the MOS tube M3B is connected to the power supply VDD, and the gate is connected to the gate of the MOS tube M3A. In this embodiment, in order to obtain a voltage signal as an input of the comparison circuit 204, the drain of the MOS tube M3B is connected in series with the resistor R1 and the first voltage boosting circuit 2021 and then connected to the ground. In the current mirror formed by MOS tube M3A and MOS tube M3B, when the current flows through the Q point shown in the figure (please refer to Figure 4 As shown, when the reference current I3A at the drain of the MOS tube M3A in the first current mirror structure 200 changes, based on the characteristics of the current mirror structure, the mirror current I3B can be adjusted to the same size as the reference current I3A in a short time to achieve mirroring.

[0050] Similarly, in the second current mirror structure 203, the MOS tube M4A is also connected by a diode, the source is connected to the power supply VDD, and the drain is connected to the ground through the resistor R3. The source of the MOS tube M4B is connected to the power supply VDD, and the gate is connected to the gate of the MOS tube M4A. The connection method of the drain is the same as the drain connection method of the MOS tube M3B, and can be connected in series with the resistor R2 and the second voltage boosting circuit 2031 and then connected to the ground.

[0051] In the second current mirror structure 203, the value of the resistor R3 is the same as the equivalent impedance of the output end of the mirror attenuation circuit 201, that is, the same as the impedance to ground of the Q point in the first current mirror structure 202. Based on the industry's default matching impedance of RF devices being 50 ohms, the value of R3 in this embodiment is also 50 ohms. The role of the resistor R3 value being the same as the impedance to ground of the Q point in the first current mirror structure 202 is that, with the resistor R3 as the reference for impedance adjustment, when the reference current I3A is finally adjusted to be the same as the current I4A, the voltage at the Q point is equal to the voltage at the P point (such as Figure 4 As shown, the drain of the MOS tube M4A located in the second current mirror structure 203 is the same), so that the equivalent impedance of the Q point looking at the mirror attenuation circuit 201 (equivalent to the output equivalent impedance of the mirror attenuation circuit 201) is the same as the impedance of the P point. That is, the equivalent impedance of the Q point looking at the mirror attenuation circuit 201 is finally adjusted to R3. Therefore, if the resistor R3 is set to 50 ohms, the output impedance of the mirror attenuation circuit 201 can be adjusted to 50 ohms. If the resistor R3 is set to other impedances, the output equivalent impedance of the mirror attenuation circuit 201 is also changed accordingly. Based on the fact that the mirror attenuation circuit 201 is a replica of the attenuation circuit 10, the two have the same circuit structure and the same input signal. When the output equivalent impedance of the mirror attenuation circuit 201 is adjusted, the output equivalent impedance of the attenuation circuit 10 is also synchronously adjusted to be the same as the resistor R3. From another perspective, the setting of the resistor R3 makes the matching impedance between the attenuation circuit 10 and the second other RF module 12 flexible, and can be adaptively adjusted according to the actual circuit.

[0052] Furthermore, the above first current mirror structure 202 and second current mirror structure 203 may also include a first voltage boosting circuit 2021 and a second voltage boosting circuit 2031. Most commonly, the voltage boosting circuit may be a diode or a plurality of diodes connected in series. Since the diode has a fixed conduction voltage within a certain range after being turned on, the voltage value that needs to be boosted can be flexibly adjusted by increasing or decreasing the number of diodes. The first voltage boosting circuit 2021 and the second voltage boosting circuit 2031 can share the voltage with the resistor R1 and the resistor R2. Under the premise that VDD is fixed, after adding the first voltage boosting circuit and the second voltage boosting circuit, the potential difference on the resistor R1 and the resistor R2 can be reduced accordingly. In addition, the operational amplifier constituting the comparison circuit 204 mentioned in the subsequent description has requirements for the input voltage range. The voltage boosting circuit can adjust the voltage Vx at point X (i.e., the drain of the MOS tube M3B) and the voltage Vy at point Y (i.e., the drain of the MOS tube M4B) together with the resistor R1 and the resistor R2 to within the working range of the operational amplifier, so that the selection of the operational amplifier can be more flexible and no special requirements for a high input voltage range are required.

[0053] In one embodiment proposed in the present application, the comparison circuit 204 is implemented by a comparator structure composed of an operational amplifier. The in-phase input terminal of the operational amplifier is connected to the drain of the MOS tube M3B (i.e., point X), the inverting input terminal is connected to the drain of the MOS tube M4B (i.e., point Y), and the output terminal is connected to the feedback control terminal of the mirror attenuation circuit 201, i.e., the gate of the MOS tube M1A and the MOS tube M1B. Since the performance parameters of the selected MOS tube M3B and the MOS tube M4B are the same, in a steady state, the voltage Vx at point X and the voltage Vy at point Y are also the same. When the external control signal Vctrl changes, thereby causing the current of the first current mirror structure 202 to change, a voltage difference occurs between the voltage Vx at point X and the voltage Vy at point Y, and the feedback control signal Vtune at the output terminal of the operational amplifier changes accordingly. The basic rule is that when the external control signal Vctrl increases, the feedback control signal Vtune decreases; when the external control signal Vctrl decreases, the feedback control signal Vtune increases. The changed feedback control signal Vtune is used to adjust the source-drain current of the MOS transistor M1A and the MOS transistor M1B, thereby adjusting the reference current I3A at the Q point. The change in the reference current I3A causes the change in the mirror current I3B, that is, the voltage V at the X point changes, and the difference with the voltage Vy at the Y point becomes smaller, until the voltage Vx at the X point is the same as the voltage Vy at the Y point, and the steady state is reached again.

[0054] In general, the second current mirror structure 203 can be said to exist as a reference, and it is a mirror image or multiple relationship with the first current mirror structure 202. When the first current mirror structure 202 is affected by the external control signal Vctrl and the current (reference current I3A) changes, the current I4A and the current I4B in the two branches of the second current mirror structure 203 do not change. At this time, the voltage on the in-phase input terminal of the operational amplifier (i.e., the voltage Vx at point X) changes, while the voltage on the inverting input terminal of the operational amplifier (i.e., the voltage Vy at point Y) does not change, that is, Vx-Vy is not equal to 0. Since the in-phase input terminal and the inverting input terminal of the operational amplifier have the characteristics of "virtual short", that is, the voltage Vx at point X should be equal to the voltage Vy at point Y in a stable working state. Therefore, under the adjustment of the operational amplifier, the unstable state of Vx-Vy≠0 is quickly resolved, and the operational amplifier re-enters a stable state. During the adjustment of the operational amplifier, the feedback control signal Vtune outputted from the output terminal of the operational amplifier adjusts the switch states of the MOS transistors M1A and M1B in the mirror attenuation circuit 201 , thereby achieving the effect of adjusting the output equivalent impedance of the mirror attenuation circuit 201 .

[0055] The following is a complete description of the change in the output equivalent impedance of the image attenuation circuit 201 caused by the change of the external control signal Vctrl. Figure 4The logic module 200 shown is adjusted accordingly to provide a feedback control signal Vtune to achieve a process of maintaining the output equivalent impedance of the mirror attenuation circuit 201 (ie, the equivalent impedance of the Q point looking toward the mirror attenuation circuit 201 ) at a desired impedance.

[0056] In order to implement effective control, the external control signal Vctrl and the feedback control signal Vtune are inversely proportional. In a stable state, the currents I3A, I3B, I4A and I4B are equal, the feedback control signal Vtune maintains a certain level and does not change, and the mirror attenuation circuit 201 is in a stable working state. At this time, assuming that the external control signal Vctrl from the RF system control unit changes, it will cause the equivalent impedance of the output port of the mirror attenuation circuit 201 to be mismatched, the reference current I3A flowing through the Q point changes, and the voltage at the Q point also changes. However, this is not expected because it will lead to a deterioration of the standing wave characteristic and serious distortion of the RF signal. In order to restore the equivalent impedance of the Q point looking at the mirror attenuation circuit 201 to its original state, such as the default matching impedance of 50 ohms, it is necessary to correct the change in the reference current I3A. Based on Figure 4The control circuit shown includes two sets of current mirrors. When the reference current I3A changes, its mirror current I3B changes synchronously, which causes the voltage Vx at point X (i.e., the drain of the MOS tube M3B) to change. The voltages at the in-phase input terminal and the inverting input terminal of the operational amplifier are not equal (because the voltage Vy at point Y (i.e., the drain of the MOS tube M4B) does not change), breaking the original stable state of the operational amplifier, and the operational amplifier enters a short-term adjustment state. Based on the comparison of the voltage Vx at point X and the voltage Vy at point Y, the operational amplifier outputs a corresponding feedback control signal Vtune, thereby changing the switch states of the MOS tubes M1A and M1B in the mirror attenuation circuit 201, thereby changing the magnitude of the reference current I3A. Accordingly, the mirror current I3B changes synchronously, causing the voltage Vx at point X to change, and the difference with the voltage Vy at point Y to decrease. When the difference between the voltage Vx at point X and the voltage Vy at point Y decreases to 0, the voltages at the in-phase input and the inverting input of the operational amplifier are equal, and a stable state is achieved again. The currents I3B and I4B flowing through points X and Y are equal. Furthermore, the currents I3A, I3B, I4A, and I4B in the mirror structure are all equal. Since the voltage at point Q is equal to the power supply VDD minus the voltage drop on the MOS tube M3A, and the voltage at point P is equal to the power supply VDD minus the voltage drop on the MOS tube M4A, based on the MOS tube current formula, it can be seen that when the parameters of the MOS tube M3A and the MOS tube M4A are the same and the currents flowing through are also the same, the voltage drops on the MOS tube M3A and the MOS tube M4A are also the same, that is, the voltage at point Q is the same as the voltage at point P. That is to say, when each part of the circuit in the control circuit reaches a stable state again, the voltage and current at point Q are the same as the voltage and current at point P. Then, according to Ohm's law, the equivalent impedance of point Q looking at the mirror attenuation circuit 201 is equal to R3. If R3 is set to 50 ohms, the equivalent impedance of point Q looking at the mirror attenuation circuit 201 is equal to 50 ohms.

[0057] It can be seen from the above description of the current and voltage changes that under the control of the feedback control signal Vtune, the output equivalent impedance of the mirror attenuation circuit 201 can be controlled at a preset resistance value (depending on the value of R3), thereby solving the port standing wave deterioration caused by the unstable output impedance of the attenuation circuit 10.

[0058] Those skilled in the art should know that a simple single-tube MOS current mirror structure is used in the above embodiments, but under the same design concept, the current mirror structure can also include other improved structures, such as a cascode current mirror, a Wilson current mirror, etc.

[0059] The voltage-controlled attenuator in the present invention does not need to match the impedance through any RLC network, and only the feedback control signal Vtune generated by the logic module 200 is used to match the port impedance of the voltage-controlled attenuator, so that the circuit is simple and effective and has no impact on the main link. Figure 5 As shown, it shows a simulation diagram of the port standing wave of the attenuation circuit 10 under different external control signals Vctrl. In the figure, the horizontal axis is frequency, the vertical axis is input and output return loss, and a curve in the figure corresponds to the input and output return loss of the attenuation circuit 10 for 0-40GHz RF signals under an external control signal Vctrl value. The figure shows a plurality of input and output return loss curves, which correspond to the return loss curves obtained when the external control signal Vctrl traverses 0~2.5V (the step value is 0.05V). It can be seen from the figure that in the wide frequency band of up to 0~30GHz, the input and output return losses of the voltage-controlled attenuator are both less than -20dB, that is, the impedance matching of the voltage-controlled attenuator is good.

[0060] It should be noted that a large number of specific details are provided in the specification provided by the application. However, it is understood that the embodiments of the application can be implemented without some or all of these specific details. In some examples, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this specification.

[0061] Similarly, in order to streamline the present application and aid in understanding one or more of the various inventive aspects, in the above description of the exemplary embodiments of the present application, the various features of the present application are sometimes grouped together into a single embodiment, figure, or description thereof. However, this disclosed method should not be interpreted as reflecting the following intention: the claimed application requires more features than the features explicitly recited in each claim. More specifically, as reflected in the claims, the inventive aspects lie in less than all the features of the single embodiment disclosed above. Therefore, the claims that follow the specific embodiment are hereby expressly incorporated into the specific embodiment, with each claim itself serving as a separate embodiment of the present application.

[0062] Those skilled in the art will appreciate that the modules in the equipment in the embodiment can be adaptively changed and arranged in one or more equipment different from the embodiment. The modules or units or components in the embodiment can be combined into one module or unit or component, and in addition they can be divided into multiple submodules or subunits or subassemblies. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including accompanying claims, abstracts and drawings) and all processes or units of any method or equipment disclosed in this manner can be combined in any combination. Unless otherwise clearly stated, each feature disclosed in this specification (including accompanying claims, abstracts and drawings) can be replaced by alternative features that provide the same, equivalent or similar purpose.

[0063] In addition, it should be understood by those skilled in the art that although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present application and form different embodiments. For example, in the claims, any one of the claimed embodiments can be used in any combination.

Claims

1. A voltage-controlled attenuator, characterized in that: include: An attenuation circuit comprises a signal input terminal, a signal output terminal, an input control terminal and a feedback control terminal, wherein the input control terminal is used to input an external control signal; A control circuit, whose output terminal is connected to the feedback control terminal of the attenuation circuit, outputs a feedback control signal, and the feedback control signal is in an inversely proportional dynamic relationship with the external control signal; The control circuit comprises: A mirror attenuation circuit having the same circuit structure as the attenuation circuit, wherein the input control terminal of the mirror attenuation circuit is used to input the external control voltage; A first current mirror structure, comprising a first end, a second end and a power supply end, wherein the first current mirror structure is configured to replicate an output current of the mirror attenuation circuit, the power supply end of the first current mirror structure is used to be connected to a power supply, the first end of the first current mirror structure is connected to the output end of the mirror attenuation circuit, and the second end of the first current mirror structure is connected to ground; A second current mirror structure comprises a first end, a second end and a power supply end, wherein the power supply end of the second current mirror structure is used to be connected to the power supply, the first end of the second current mirror structure is connected to a matching resistor and then connected to ground, the matching resistor is used as a reference resistor, and the output equivalent impedance of the mirror attenuation circuit is adjusted to be equal to the reference resistor under the control of the feedback control signal with the reference resistor as a reference, rather than changing with the change of the external control signal; the second end of the second current mirror structure is connected to ground; and, a voltage boosting circuit, configured to be connected to the second end of the first current mirror structure and the second end of the second current mirror structure; a comparison circuit having an operational amplifier, configured to compare the signals at the second end of the first current mirror structure and the second end of the second current mirror structure, and output the feedback control signal to the feedback control end of the attenuation circuit and the feedback control end of the mirror attenuation circuit; Among them, by utilizing the "virtual short" characteristics of the in-phase input terminal and the inverting input terminal of the operational amplifier, in a stable working state, the second end of the first current mirror structure and the second end of the second current mirror structure are at the same potential and the same current, and the first end of the first current mirror structure and the first end of the second current mirror structure are at the same potential and the same current, so as to achieve the effect of adjusting the output equivalent impedance of the mirror attenuation circuit, so that the output equivalent impedance is the same as the reference resistance.

2. The voltage-controlled attenuator according to claim 1, wherein: The attenuation circuit is a T-type attenuation circuit, comprising: A first MOS tube, whose drain is the signal input terminal, used for inputting a radio frequency input signal; A second MOS transistor, whose drain is connected to the source of the first MOS transistor, the source being the signal output terminal and used to output a radio frequency output signal, and the gates of the first MOS transistor and the second MOS transistor are connected to the feedback control signal; The third MOS tube has a drain connected to the source of the first MOS tube, a source connected to the ground, and a gate connected to the external control signal.

3. The voltage-controlled attenuator according to claim 1, wherein: The second end of the first current mirror structure is connected to the first resistor and then to the ground, and the second end of the second current mirror structure is connected to the second resistor and then to the ground.

4. The voltage-controlled attenuator according to claim 1, wherein: The second end of the first current mirror structure is connected in series with the first resistor and the first voltage boosting circuit and then connected to the ground. The second end of the second current mirror structure is connected in series with the second resistor and the second voltage boosting circuit and then connected to the ground.

5. The voltage-controlled attenuator according to claim 4, characterized in that: The first voltage boosting circuit and the second voltage boosting circuit include at least one diode.

6. The voltage controlled attenuator according to claim 1, wherein: The resistance value of the matching resistor is the same as the resistance from the output end of the mirror attenuation circuit to ground.

7. The voltage-controlled attenuator according to claim 1, wherein: The current mirror structure includes: a single-tube MOS current mirror, a cascode current mirror, and a Wilson current mirror.

8. The voltage controlled attenuator according to claim 1, wherein: The mirror attenuation circuit has the same circuit structure as the attenuation circuit, including the same components, parameters and layouts used by both.

9. The voltage controlled attenuator according to claim 1, wherein: The non-inverting input terminal of the operational amplifier is connected to the second end of the first current mirror structure, the inverting input terminal of the operational amplifier is connected to the second end of the second current mirror structure, and the output terminal of the operational amplifier is connected to the feedback control terminal of the attenuation circuit and the feedback control terminal of the mirror attenuation circuit.

10. The voltage controlled attenuator according to claim 1, wherein: The attenuation circuit is a T-type attenuation circuit or a Π-type attenuation circuit.