This application relates to the field of power electronics technologies, and in particular, to an operational amplifier, a drive circuit, an interface chip, a gain adjustment method, and an electronic device.
A low voltage differential signaling (Low Voltage Differential Signaling, LVDS) technology is a low voltage swing differential signaling technology, has advantages of low power consumption, low bit error rate, low noise, easy integration, and the like, and is widely used in various data transmission systems.
A low voltage differential signal generation circuit 101 of the low voltage differential signal drive circuit includes a current source Is, two pairs of switching transistors, and a feedback switching transistor Qf. The two pairs of switching transistors are respectively Pren1 and Prep1, and Pren2 and Prep2. A common-mode feedback circuit 102 is implemented by using an operational amplifier, and is configured to adjust a common-mode level Vcm with a change of a reference voltage Vref, to satisfy a multi-scenario and multi-protocol requirement.
The common-mode feedback circuit is a common-mode feedback operational amplifier, and includes a load 201, an input switching transistor 202, and a tail current source 203. A gain (Gain) of the common-mode feedback circuit is a ratio of an output signal to a common-mode input signal. When the gain is adjusted, a magnitude of loads R1 and R2, a width-to-length ratio (Width/Length, W/L) of the input switching transistor, or a magnitude of a tail current output from the tail current source in the operational amplifier needs to be adjusted. The magnitude of the tail current is expressed in Ibias, and the gain is directly proportional to (W/L·Ibias)0.5.
With development of processes, a supply voltage VDD decreases, and a saturation margin of the input switching transistor 202 is greatly compressed. When W/L or Ibias is adjusted, a gain adjustment range is non-linear, and a gain adjustment capability is limited. When R1 and R2 are adjusted, a direct-current operating point and an output pole of the operational amplifier are changed. Therefore, in the foregoing manner, it is difficult to ensure normal operating of the common-mode feedback operational amplifier under a process/voltage/temperature (Process/Voltage/Temperature, PVT) condition.
This application provides an operational amplifier, a drive circuit, an interface chip, a gain adjustment method, and an electronic device, to linearly adjust a gain without changing a direct-current operating point and an output pole of the operational amplifier, thereby improving stability and adjustment effect.
According to a first aspect, this application provides an operational amplifier. The operational amplifier includes a first load, a second load, a first switching transistor group, a second switching transistor group, and a tail current source. A first end of the first switching transistor group is connected to a first output end of the operational amplifier, and is connected to a power supply of the operational amplifier by using the first load, and a second end of the first switching transistor group is grounded by using the tail current source. A first end of the second switching transistor group is connected to a second output end of the operational amplifier, and is connected to the power supply by using the second load, and a second end of the second switching transistor group is grounded by using the tail current source. The first switching transistor group and the second switching transistor group include a same quantity of at least two input adjustment units, and an input end of each input adjustment unit is connected to only one input signal. To be specific, the operational amplifier supports connection to a plurality of input signals. In a typical implementation, the operational amplifier supports connection to two input signals: a common-mode input signal and a reference signal. The input signal connected to each input adjustment unit is adjustable.
The operational amplifier provided in this application is used to adjust a type of the input signal connected to the input adjustment unit, to adjust a proportion of the input signal of the operational amplifier, and further adjust a gain of the operational amplifier. The input end of each input adjustment unit is connected to only one input signal, that is, a total quantity of input adjustment units for connecting to the input signal is not changed in an adjustment process, that is, a width-to-length ratio of the input switching transistor is not changed, and the magnitude of the tail current and the magnitude of the load are not changed either. Therefore, the gain can be linearly adjusted, and the direct-current operating point and the output pole are not changed in the adjustment process. Because a size of the switching transistor group is not increased in the adjustment process, that is, an area of the switching transistor group and power consumption are not increased, gain adjustment efficiency is further improved.
An input adjustment unit of the first switching transistor group and the second switching transistor group in this embodiment of this application include a switching transistor. A type of the switching transistor is not specifically limited in this embodiment of this application. In some embodiments, the switching transistor may be an insulated gate bipolar transistor (Insulated Gate Bipolar Transistor, IGBT), a metal oxide semiconductor field effect transistor (Metal Oxide Semiconductor Field Effect Transistor, MOSFET), a silicon carbide field effect transistor (Silicon Carbide Metal Oxide Semiconductor, SiC MOSFET), or the like.
In a possible implementation, the input adjustment unit includes a first selector switch and a first switching transistor. The first selector switch is connected to a control end of the first switching transistor, and the first selector switch is configured to select an input signal to be connected to the control end. In some embodiments, an operating state of the first selector switch is controlled by an adjustment signal.
In a possible implementation, the input signal of the operational amplifier includes the following two signals: a first input signal and a second input signal, and the operational amplifier uses a symmetric gain adjustment manner. In the first switching transistor group, a first quantity of input adjustment units is connected to the first input signal, and a second quantity of input adjustment units is connected to the second input signal. In the second switching transistor group, the second quantity of input adjustment units is connected to the first input signal, and the first quantity of input adjustment units is connected to the second input signal. The first quantity is not equal to the second quantity. The gain of the operational amplifier can be linearly adjusted by adjusting proportions of the two inputs in the first switching transistor group and the second switching transistor group.
In a possible implementation, the first selector switch selects a to-be-connected input signal based on an adjustment signal, and the first selector switch selects to connect to the first input signal when the adjustment signal is a first level or selects to connect to the second input signal when the adjustment signal is a second level.
In a possible implementation, in a symmetric adjustment manner, polarity reversal of the operational amplifier may be implemented by adjusting proportions of the two input signals. To be specific, when a proportion of the first input signal is large, the first input signal dominates in the first switching transistor group, and the second input signal dominates in the second switching transistor group. In this case, an output gain of the operational amplifier is of a first polarity, and when the output gain is of the first polarity, the operational amplifier is configured to amplify the input signal. Alternatively, when a proportion of the second input signal is large, the second input signal dominates in the first switching transistor group, and the first input signal dominates in the second switching transistor group. In this case, an output gain of the operational amplifier is of a second polarity, and when the output gain is of the second polarity, the operational amplifier is configured to scale down the input signal.
In a possible implementation, the operational amplifier may alternatively use an asymmetric adjustment manner, and the input signal includes the following two signals: a first input signal and a second input signal. In the first switching transistor group, a first quantity of input adjustment units is connected to the first input signal, and a second quantity of input adjustment units is connected to the second input signal. A third quantity of input adjustment units in the second switching transistor group is connected to the first input signal, and the third quantity is equal to a sum of the first quantity and the second quantity. The gain of the operational amplifier can be linearly adjusted by adjusting proportions of the two inputs in the first switching transistor group and the second switching transistor group.
In a possible implementation, the first selector switch selects a to-be-connected input signal based on an adjustment signal, and the first selector switch selects to connect to the first input signal when the adjustment signal is a first level or selects to connect to the second input signal when the adjustment signal is a second level.
In a possible implementation, for asymmetric adjustment, when polarity reversal is performed, the first selector switch selects a to-be-connected input signal based on an adjustment signal; and the first selector switch of the first switching transistor group selects to connect to the first input signal when the adjustment signal is a first level or selects to connect to the second input signal when the adjustment signal is a second level. The first selector switch of the second switching transistor group selects to connect to the first input signal when the adjustment signal is a second level or selects to connect to the second input signal when the adjustment signal is a first level.
In a possible implementation, each input signal includes at least the following two signals: a common-mode signal and a reference signal. In this case, the operational amplifier is configured to adjust a common-mode level Vcm with a change of a reference voltage Vref, to satisfy a multi-scenario and multi-protocol requirement.
In a possible implementation, the operational amplifier further includes a voltage divider circuit, an input end of the voltage divider circuit is connected to the power supply of the operational amplifier, and an output end of the voltage divider circuit is configured to output the reference signal. The voltage divider circuit is configured to convert a voltage provided by the power supply into the reference signal. In this case, the reference signal of the operational amplifier is obtained through conversion of the power supply and does not need to be input externally.
According to a second aspect, this application further provides a low voltage differential signal drive circuit. The low voltage differential signal drive circuit includes the operational amplifier provided in the foregoing implementations, and further includes a low voltage differential signal generation circuit. A common-mode signal output by the low voltage differential signal generation circuit is a first input signal of the operational amplifier, and a second input signal of the operational amplifier is a reference voltage signal. The operational amplifier is configured to adjust the common-mode signal with a change of the reference voltage signal. In this case, the operational amplifier is a common-mode feedback operational amplifier. An input end of the low voltage differential signal generation circuit is connected to the power supply, a feedback signal end of the low voltage differential signal generation circuit is connected to the first output end of the operational amplifier or the second output end of the operational amplifier, and an output end of the low voltage differential signal generation circuit is configured to output a low voltage differential signal.
The operational amplifier used in the low voltage differential signal drive circuit can implement that a size, a load, a tail current, a direct-current operating point, and an output pole of a switching transistor group are not changed in a gain adjustment process, thereby linearly adjusting a gain and improving gain adjustment efficiency.
In a possible implementation, the operational amplifier of the low voltage differential signal drive circuit includes a first load, a second load, a first switching transistor group, a second switching transistor group, and a tail current source. A first end of the first switching transistor group is connected to a first output end of the operational amplifier, and is connected to a power supply of the operational amplifier by using the first load, and a second end of the first switching transistor group is grounded by using the tail current source. A first end of the second switching transistor group is connected to a second output end of the operational amplifier, and is connected to the power supply by using the second load, and a second end of the second switching transistor group is grounded by using the tail current source. The first switching transistor group and the second switching transistor group include a same quantity of at least two input adjustment units, and an input end of each input adjustment unit is connected to one input signal. The input signal connected to each input adjustment unit is adjustable.
In a possible implementation, the input adjustment unit includes a first selector switch and a first switching transistor. The first selector switch is connected to a control end of the first switching transistor. The first selector switch is configured to select an input signal to be connected to the control end of the first switching transistor.
In a possible implementation, the operational amplifier adjusts the gain in a symmetric adjustment manner. In this case, in the first switching transistor group, a first quantity of input adjustment units is connected to the first input signal, and a second quantity of input adjustment units is connected to the second input signal. In the second switching transistor group, the second quantity of input adjustment units is connected to the first input signal, and the first quantity of input adjustment units is connected to the second input signal. The first quantity is not equal to the second quantity.
In a possible implementation, the first selector switch selects a to-be-connected input signal based on an adjustment signal, and the first selector switch selects to connect to the first input signal when the adjustment signal is a first level or selects to connect to the second input signal when the adjustment signal is a second level.
In a possible implementation, the first quantity is greater than the second quantity, to enable an output gain of the operational amplifier to be of a first polarity, and when the output gain is of the first polarity, the operational amplifier is configured to amplify the input signal; or the first quantity is less than the second quantity, to enable an output gain of the operational amplifier to be of a second polarity, and when the output gain is of the second polarity, the operational amplifier is configured to scale down the input signal.
In a possible implementation, the operational amplifier adjusts the gain in an asymmetric adjustment manner. In this case, in the first switching transistor group, a first quantity of input adjustment units is connected to the first input signal, and a second quantity of input adjustment units is connected to the second input signal. A third quantity of input adjustment units in the second switching transistor group is connected to the first input signal, and the third quantity is equal to a sum of the first quantity and the second quantity.
In a possible implementation, the first selector switch selects a to-be-connected input signal based on an adjustment signal. The first selector switch selects to connect to the first input signal when the adjustment signal is a first level; or the input signal selector switch selects to connect to the second input signal when the adjustment signal is a second level.
In a possible implementation, polarity reversal is performed on the gain of the operational amplifier. In this case, the first selector switch selects a to-be-connected input signal based on an adjustment signal. The first selector switch of the first switching transistor group selects to connect to the first input signal when the adjustment signal is a first level or selects to connect to the second input signal when the adjustment signal is a second level. The first selector switch of the second switching transistor group selects to connect to the first input signal when the adjustment signal is a second level or selects to connect to the second input signal when the adjustment signal is a first level.
In a possible implementation, a reference signal is a second input signal of the operational amplifier. The operational amplifier further includes a voltage divider circuit, an input end of the voltage divider circuit is connected to the power supply, and an output end of the voltage divider circuit is configured to output the reference signal. The voltage divider circuit is configured to convert a voltage provided by the power supply into the reference signal.
According to a third aspect, this application further provides a gain adjustment method for an operational amplifier, to adjust the operational amplifier provided in the foregoing implementations, and the method includes:
In a possible implementation, the target parameter value is a gain of the operational amplifier.
In a possible implementation, the gain is adjusted in a symmetric adjustment manner. In this case, the adjustment signal is for controlling that in the first switching transistor group, a first quantity of input adjustment units is connected to the first input signal, and a second quantity of input adjustment units is connected to the second input signal; and in the second switching transistor group, the second quantity of input adjustment units is connected to the first input signal, and the first quantity of input adjustment units is connected to the second input signal; and The first quantity is not equal to the second quantity.
In a possible implementation, the gain is adjusted in an asymmetric adjustment manner. In this case, the adjustment signal is for controlling that in the first switching transistor group, a first quantity of input adjustment units is connected to the first input signal, and a second quantity of input adjustment units is connected to the second input signal. A third quantity of input adjustment units in the second switching transistor group is connected to the first input signal, and the third quantity is equal to a sum of the first quantity and the second quantity.
According to a fourth aspect, this application further provides an interface chip. The interface chip is integrated with the operational amplifier provided in the foregoing implementations. The interface chip is used as a peripheral circuit chip of a low voltage differential signal generation circuit, that is, the interface chip is used in collaboration with the low voltage differential signal generation circuit, to form a low voltage differential signal drive circuit. The interface chip includes a power port, a first output port, a second output port, a grounding port, a control port, and a first input port. The interface chip may be used as a peripheral chip of the low voltage differential signal generation circuit. The operational amplifier is connected to the power supply by using the power port, the operational amplifier is grounded by using the grounding port, a first output end of the operational amplifier is connected to the first output port, and a second output end of the operational amplifier is connected to the second output port. The first input port is connected to a common-mode signal, and the common-mode signal is a first input signal; and the first switching transistor group and the second switching transistor group obtain an adjustment signal through the control port, and adjust, based on the adjustment signal, quantities of respective input adjustment units connected to input signals.
In a possible implementation, the interface chip further includes a reference input port, where the reference input port is configured to connect to a reference signal, and the reference signal is a second input signal.
In a possible implementation, the reference signal may be generated inside the interface chip. In this case, the operational amplifier further includes a voltage divider circuit. An input end of the voltage divider circuit is connected to the power port, an output end of the voltage divider circuit is configured to output the reference signal, and the reference signal is the second input signal. The voltage divider circuit is configured to convert a voltage provided by the power supply into the reference signal.
According to a fifth aspect, this application further provides an interface chip, integrated with the low voltage differential signal drive circuit provided in the foregoing embodiments. To be specific, the interface chip is integrated with the low voltage differential signal generation circuit and the operational amplifier that are provided in the foregoing implementation. In this case, an interface that is in the low voltage differential signal generation circuit and that is configured to interconnect with the operational amplifier is encapsulated inside the interface chip and is not presented externally. Interfaces of the interface chip that are presented externally include: a power port, a first control port, a second control port, a third control port, a grounding port, and an output port. The low voltage differential signal generation circuit and the operational amplifier are connected to the power supply by using the power port, and are grounded by using the grounding port. The low voltage differential signal generation circuit obtains a control signal from the first control port and the second control port, generates a low voltage differential signal based on the control signal, and outputs the low voltage differential signal through the output port. The first switching transistor group and the second switching transistor group obtain an adjustment signal through the third control port, and adjust, based on the adjustment signal, quantities of respective input adjustment units connected to input signals.
In a possible implementation, the interface chip further includes a reference input port. The reference input port is configured to connect to a reference signal, and the reference signal is a second input signal.
In a possible implementation, the reference signal may be generated inside the interface chip. In this case, the operational amplifier further includes a voltage divider circuit. An input end of the voltage divider circuit is connected to the power port, an output end of the voltage divider circuit is configured to output the reference signal, and the reference signal is the second input signal. The voltage divider circuit is configured to convert a voltage provided by the power supply into the reference signal.
According to a sixth aspect, this application further provides an electronic device. The electronic device includes the operational amplifier and the low voltage differential signal generation circuit that are provided in the foregoing implementations. The electronic device may be a display device, a monitoring device, a vehicle communication device, an industrial control device, or the like. The electronic device further includes a controller. The controller may be an application-specific integrated circuit (Application-Specific Integrated Circuit, ASIC), a programmable logic device (Programmable Logic Device, PLD), a digital signal processor (Digital Signal Processor, DSP), or a combination thereof. The PLD may be a complex programmable logic device (Complex Programmable Logic Device, CPLD), a field-programmable gate array (Field-programmable Gate Array, FPGA), a generic array logic (Generic Array Logic, GAL), or any combination thereof. This is not specifically limited in embodiments of this application.
To make a person skilled in the art better understand technical solutions provided in embodiments of this application, the following first describes an application scenario of the technical solutions provided in this application.
An operational amplifier and a low voltage differential signal drive circuit that are provided in this application are applied to a data transmission system. A data type is not specifically limited in this application, and may be, for example, audio data or video data. The data transmission system may be a display system, a monitoring system, a vehicle communication system, an industrial control system, or the like.
Refer to
With development of processes, a transconductance (Transconductance) of a switching transistor becomes larger, a gain of an operational amplifier becomes higher, and a requirement for stability of a closed-loop feedback loop using an operational amplifier also becomes higher. For the drive circuit of a current-mode low voltage differential signal architecture shown in
Refer to a common-mode feedback circuit shown in
Adc=R
L√{square root over (W/L·μ·Cox·Ibias)} (1)
Vdc=V
dd
−R
L/2·Ibias (2)
Wp=1/(CL·RL) (3)
Refer to the foregoing formula (1). When Adc is adjusted in a current gain adjustment solution, one or more of RL, W/L, or Ibias may be adjusted. However, with reference to formula (3), when RL is adjusted, the position of the output pole changes. When W/L or Ibias is adjusted, a relationship between W/L or Ibias and the adjusted item Adc is a square root calculation, that is, an adjustment range is non-linear. The adjustment range of Adc is limited, adjustment efficiency is low, CL is affected, and the output pole of the circuit is changed. Therefore, it is difficult to guarantee normal operating of the operational amplifier.
To resolve the foregoing problem, this application provides an operational amplifier, a drive circuit, an interface chip, an electronic device, and a gain adjustment method. A gain of an operational amplifier is linearly adjusted through a method for adjusting a state of an input switching transistor group, and then controlling proportions of two or more input signals, so that the gain can be linearly adjusted. Moreover, a direct-current operating point and an output pole of the circuit are not changed, and stability and adjustment effect are improved.
To make a person skilled in the art understand the solutions in this application more clearly, the following describes the technical solutions in embodiments of this application with reference to the accompanying drawings in embodiments of this application.
Terms such as “first” and “second” in the following description of this application are merely used for description purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating a quantity of indicated technical features.
In this application, unless otherwise explicitly specified and limited, the term “connection” should be understood in a broad sense. For example, the “connection” may be a fixed connection, a detachable connection, or an integrated connection; and may be a direct connection or an indirect connection through an intermediate medium.
As shown in the figure, the operational amplifier includes a first load R1, a second load R2, an input switching transistor group 301, and a tail current source 203.
When the operational amplifier uses a symmetric design structure, parameter values of the first load R1 and the second load R2 are the same. In the following description, parameter values of R1 and R2 are both represented by RL.
The input switching transistor group 301 includes a first switching transistor group 301-1 and a second switching transistor group 301-2.
A first end of the first switching transistor group 301-1 is connected to a first output end (represented by outp in the figure) of the operational amplifier, and is connected to a power supply VDD of the operational amplifier by using the first load R1, and a second end of the first switching transistor group 301-1 is grounded by using the tail current source 203.
A first end of the second switching transistor group 301-2 is connected to a second output end (represented by outn in the figure) of the operational amplifier, and is connected to the power supply VDD by using the second load R1, and a second end of the second switching transistor group 301-2 is grounded by using the tail current source 203.
The first switching transistor group 301-1 and the second switching transistor group 301-2 include a same quantity of at least two input adjustment units, and an input end of each input adjustment unit is connected to only one input signal.
The input signal connected to each input adjustment unit in the first switching transistor group 301-1 and the second switching transistor group 301-2 is adjustable. To be specific, each input adjustment unit may be connected to different input signals.
The following specifically describes a principle of a manner in which the operational amplifier implements gain adjustment.
An example in which the first switching transistor group 301-1 and the second switching transistor group 301-2 each include eight input adjustment units and the operational amplifier supports connection of two input signals is used for description.
IN and IP respectively represent two input signals, Adc_tot represents a total gain of the input switching transistor group 301, Adc_p is an equivalent gain of the input IP, and Adc_n is an equivalent gain of the input IN.
When the first switching transistor group 301-1 has one input adjustment unit connected to IN and seven input adjustment units connected to IP, and the second switching transistor group 301-2 has seven input adjustment units connected to IN and one input adjustment unit connected to IP, the gains are as follows:
After the input signals connected to the switching transistor groups are adjusted to adjust the gains, using an example in which the gains are reduced, when the first switching transistor group 301-1 has two input adjustment units connected to IN and six input adjustment units connected to IP, and the second switching transistor group 301-2 has six input adjustment units connected to IN and two input adjustment units connected to IP, the gains are as follows:
After the input signals connected to the switching transistor groups continue to be adjusted to adjust the gains, when the first switching transistor group 301-1 has three input adjustment units connected to IN and five input adjustment units connected to IP, and the second switching transistor group 301-2 has five input adjustment units connected to IN and three input adjustment units connected to IP, the gains are as follows:
Refer to the foregoing (4-1) to (6-2) together. The range in the foregoing adjustment process is 0.25 Adc_tot, linear adjustment can be implemented, and only the type of the input signal connected to the input adjustment unit is changed in the adjustment process. The total quantity of input adjustment units does not change in the adjustment process, and the size, the load, and the tail current of the switching transistor group are not changed.
In this embodiment of this application, input adjustment units of the first switching transistor group 301-1 and the second switching transistor group 301-2 include switching transistors. Types of switching transistors are not specifically limited in this embodiment of this application. In some embodiments, the switching transistor may be an IGBT, a MOSFET, a SiC MOSFET, or the like.
In conclusion, the operational amplifier provided in this application is used to linearly adjust a gain, and a size, a load, and a tail current of the switching transistor group are not changed in the adjustment process. Therefore, a direct-current operating point and an output pole of the operational amplifier are not changed. In addition, because the size of the switching transistor group is not increased in the adjustment process, that is, an area of the switching transistor group and power consumption are not increased, gain adjustment efficiency is further improved.
The following first describes an implementation of the input adjustment unit.
As shown in the figure, the input adjustment unit 401 includes a first selector switch S and a switching transistor Q.
The first selector switch S is connected to a control end c of the switching transistor Q, a first end a of the switching transistor Q is connected to a first end of a switching transistor group in which the switching transistor Q is located, and a second end b of the switching transistor Q is connected to a second end of the switching transistor group in which the switching transistor Q is located.
The first selector switch S is configured to select an input signal to be connected to the control end.
For example, the switching transistor Q is an N-channel metal oxide semiconductor (N-channel metal oxide semiconductor) field effect transistor. For the switching transistor Q, the first end is a drain (Drain), the second end is a source (Source), and the control end is a gate (Gate).
In some embodiments, the first selector switch S selects a to-be-connected input signal based on an adjustment signal SEL. Using an example in which the input signal includes the following two signals: a first input signal and a second input signal, the first input signal is represented by IN, and the second input signal is represented by IP. In this case, the adjustment signal SEL may be a level signal. The first selector switch S selects to connect to the first input signal IN when the adjustment signal SEL is a first level or selects to connect to the second input signal IP when the adjustment signal is a second level. In a possible implementation, the first level is a high level, and the second level is a low level. In another possible implementation, the first level is a low level, and the second level is a high level.
Based on the principle of the input adjustment unit shown in
The following describes an operating principle of the operational amplifier with reference to a specific implementation.
First, an implementation of adjusting a gain in a symmetric adjustment manner is described.
As shown in the figure, a first switching transistor group 301-1 and a second switching transistor group 301-2 each include (M+N) input adjustment units 401.
Still using an example in which the input signal includes the following two signals: a first input signal and a second input signal, the first input signal is represented by IN, and the second input signal is represented by IP.
When the symmetric adjustment manner is used, in the first switching transistor group 301-1, a first quantity of input adjustment units is connected to the first input signal, and a second quantity of input adjustment units is connected to the second input signal.
In the second switching transistor group 301-2, the second quantity of input adjustment units is connected to the first input signal, and the first quantity of input adjustment units is connected to the second input signal; and
the first quantity is not equal to the second quantity. As shown in the figure, the first quantity is M, the second quantity is N, and both M and N are integers greater than or equal to 0.
Adc_tot represents a total gain of the input switching transistor group 301, Adc_p is an equivalent gain of the input IP, and Adc_n is an equivalent gain of the input IN, RL represents a load resistance, Ibias represents a tail current, W/L represents a ratio of a total width of the input switching transistor group to a channel length, μ represents a carrier migration rate, and Cox represents a gate oxygen capacitance. Therefore, a gain of the operational amplifier can be linearly adjusted by symmetrically adjusting proportions of the input IP and the input IN in the first switching transistor group 301-1 and the second switching transistor group 301-2, and an adjustment step Adc step satisfies the following formula:
A
dc_step=2·Adc_tot/(M+N) (7)
The gains of the two inputs are as follows:
Adc_tot satisfies the following formula:
A
dc_tot
=R
L√{square root over (W/L·μ·Cox·Ibias)} (9)
In the symmetric adjustment manner, polarity reversal of the operational amplifier may be implemented by adjusting the proportions of the input IP and the input IN. To be specific, when N>M, the input signal IP dominates in 301-1 and the input signal IN dominates in 301-2. In this case, an output gain of the operational amplifier is of a first polarity. Alternatively, when N<M, the input signal IN dominates in 301-1 and the input signal IP dominates in 301-2. In this case, an output gain of the operational amplifier is of a second polarity.
In some embodiments, positiveness and negativeness of the gain respectively correspond to the first polarity and the second polarity. When the gain is positive, that is, when the gain is of the first polarity, it indicates that the operational amplifier is configured to amplify the input signal. When the gain is negative, that is, when the gain is of the second polarity, it indicates that the operational amplifier is configured to scale down the input signal. It should be understood that a polarity of the gain when being negative may alternatively be referred to as the first polarity, and a polarity of the gain when being positive may be referred to as the second polarity.
In the adjustment process, N is required to be not equal to M. Otherwise, the input of the operational amplifier is 0.
In conclusion, the operational amplifier provided in this application is used to linearly adjust a gain in the symmetric adjustment manner, and a size, a load, and a tail current of the switching transistor group are not changed in the adjustment process. Therefore, a direct-current operating point and an output pole of the operational amplifier are not changed. Because a size of the switching transistor group is not increased in the adjustment process, that is, an area of the switching transistor group and power consumption are not increased, gain adjustment efficiency is further improved.
The following describes an implementation in which an operational amplifier uses asymmetric adjustment.
As shown in the figure, a first switching transistor group 301-1 and a second switching transistor group 301-2 each include (M+N) input adjustment units 401.
Still using an example in which the input signal includes the following two signals: a first input signal and a second input signal, the first input signal is represented by IN, and the second input signal is represented by IP.
When the asymmetric adjustment manner is used, in the first switching transistor group 301-1, a first quantity of input adjustment units is connected to the first input signal, and a second quantity of input adjustment units is connected to the second input signal.
A third quantity of input adjustment units in the second switching transistor group 301-2 is connected to the first input signal.
As shown in the figure, the first quantity is M, the second quantity is N, M is an integer greater than or equal to 0, N is an integer greater than 0, and the third quantity is equal to a sum of the first quantity and the second quantity.
Adc_tot represents a total gain of the input switching transistor group 301, Adc_p is an equivalent gain of the input IP, and Aden is an equivalent gain of the input IN, RL represents a load resistance, Ibias represents a tail current, W/L represents a ratio of a total width of the input switching transistor group to a channel length, μ represents a carrier migration rate, and Cox represents a gate oxygen capacitance. Therefore, a gain of the operational amplifier is linearly adjusted by symmetrically adjusting proportions of the input IP and the input IN in the first switching transistor group 301-1 and the second switching transistor group 301-2, and an adjustment step Adc step satisfies the following formula:
A
dc_step
=A
dc_tot/(M+N) (10)
By comparing formula (10) with formula (7), it can be found that in the asymmetric adjustment manner, the adjustment step is smaller and the adjustment precision is higher when the quantity of input adjustment units is the same than those in the symmetric adjustment manner.
The gains of the two inputs are as follows:
Ade tot satisfies formula (9), and N is required to be a positive integer in the foregoing adjustment process.
For asymmetric adjustment, when polarity reversal is not performed, the first selector switch selects to connect to the first input signal when the adjustment signal is a first level or selects to connect to the second input signal when the adjustment signal is a second level.
When polarity reversal is performed, the first selector switch of the first switching transistor group 301-1 selects to connect to the first input signal when the adjustment signal is a first level or selects to connect to the second input signal when the adjustment signal is a second level; and the first selector switch of the second switching transistor group 301-1 selects to connect to the first input signal when the adjustment signal is a second level or selects to connect to the second input signal when the adjustment signal is a first level. In this case, gains of the two inputs are as follows:
In conclusion, the operational amplifier provided in this application is used to linearly adjust a gain in the asymmetric adjustment manner, and a size, a load, and a tail current of the switching transistor group are not changed in the adjustment process. Therefore, a direct-current operating point and an output pole of the operational amplifier are not changed. Because a size of the switching transistor group is not increased in the adjustment process, that is, an area of the switching transistor group and power consumption are not increased, gain adjustment efficiency is further improved.
The following describes technical effects of the solutions of this application in detail with reference to accompanying drawings.
Refer to
It can be learned from formula (1) that a gain Adc_tot in the conventional method is directly proportional to (W*Ibias)1/2. In the description of this application, one switching transistor in the conventional technology is equivalent to a plurality of switching transistors, to better represent a change of W of the switching transistor in an adjustment process.
In the conventional method, when a gain is halved through adjustment, in a possible implementation, a solution A is used, a width-to-length ratio of an input transistor needs to be reduced from 4 to 1, an adjustment step of this manner is non-linear, an exponential change relationship is present, a size of the input transistor is greatly changed, and adjustment efficiency is low; or in another possible implementation, a solution B is used, a width-to-length ratio of an input transistor is reduced from 4 to 2, and a tail current is reduced by half. In this case, it can be learned from formula (2) that a direct-current operating point changes, and consequently normal operating of the operational amplifier is affected.
However, when the solution of this application is applied, in a possible implementation, a symmetric adjustment manner shown in C is used. Using an example in which in an initial state, four input adjustment units in a first switching transistor group 301-1 are connected to IP and four input adjustment units in a second switching transistor group 301-2 are connected to IN, when the gain needs to be halved through adjustment, an input signal of one input adjustment unit in the first switching transistor group 301-1 is switched from IP to IN, and an input signal of one input adjustment unit in the second switching transistor group 301-2 is symmetrically switched from IN to IP, to complete adjustment.
In another possible implementation, an asymmetric adjustment manner shown in D is used, input signals of a second switching transistor group 301-2 are kept unchanged, and input signals of two input adjustment units in a first switching transistor group 301-1 are switched from IP to IN, to complete adjustment.
The above two methods achieve gain halving, but do not change the size of the input transistor, the load, the tail current, positions of the operating point, the zero point and the pole of the operational amplifier, the adjustment solutions are simple, the area of the input transistor and the overhead of power consumption are not increased, and the gain adjustment efficiency is high.
In addition, the foregoing adjustment implements gain adjustment. Alternatively, a similar manner may be used, a load may be adjusted to control proportions of two or more input signals, to perform linear adjustment on parameters such as an equivalent transconductance, an equivalent current, and an equivalent impedance. Detailed descriptions are made below with reference to accompanying drawings.
As shown in the figure, for the operational amplifier, a first load is a first load group 302-1 and a second load is a second load group 302-2.
The first load group 302-1 and the second load group 302-2 include a same quantity of at least two load adjustment units 402.
The first load group 302-1 and the second load group 302-2 are configured to adjust quantities of respective load adjustment units connected to input signals.
In this embodiment, two input signals are respectively represented by X and T.
In this case, parameters such as an equivalent transconductance, an equivalent current, and an equivalent impedance of the operational amplifier can be linearly adjusted by adjusting the input signals connected to the load adjustment units. A specific implementation and an adjustment principle of the load adjustment unit are similar to those described in the foregoing embodiments, and details are not described herein again in this application.
In a typical application scenario, the operational amplifier provided in this embodiment of this application is applied to feedback adjustment on a common-mode signal. In this case, the input signal includes a common-mode signal and a reference signal.
In some embodiments, the common-mode signal is generated by a low voltage differential signal generation circuit, and the reference signal may be input by an external circuit, or may be obtained through voltage division of a power supply. An example in which the first input signal is the reference signal is used below for description.
In this case, the operational amplifier further includes a voltage divider circuit 303, an input end of the voltage divider circuit is connected to a power supply VDD of the operational amplifier, and an output end of the voltage divider circuit 303 is configured to output a reference signal Vref.
The voltage divider circuit 303 is configured to convert a voltage provided by the power supply VDD into the reference signal Vref.
Based on the operational amplifier provided in the foregoing embodiments, an embodiment of this application further provides a low voltage differential signal drive circuit which is specifically described below with reference to an accompanying drawing.
As shown in the figure, the low voltage differential signal drive circuit includes the operational amplifier provided in the foregoing embodiments, and further includes a low voltage differential signal generation circuit 101.
An input end of the low voltage differential signal generation circuit 101 is connected to a power supply VDD, and a feedback signal end of the low voltage differential signal generation circuit is connected to a first output end outp of the operational amplifier or a second output end outn of the operational amplifier, and is connected to, for example, the first output end outp in the figure.
A common-mode signal Vcm output by the low voltage differential signal generation circuit 101 is a first input signal of the operational amplifier, and is, for example, the input signal IP in the foregoing embodiments.
Output ends outp1 and outn1 of the low voltage differential signal generation circuit 101 are configured to output low voltage differential signals.
A reference signal Vref is a second input signal of the operational amplifier, and is, for example, the input signal IN in the foregoing embodiments. The reference signal may be input by an external circuit, or may be obtained through voltage division of the power supply VDD.
In
The voltage divider circuit 303 is configured to convert a voltage provided by the power supply VDD into the reference signal Vref.
For a principle of the low voltage differential signal generation circuit 101, refer to the description corresponding to
In conclusion, the low voltage differential signal generation circuit adjusts, by using the operational amplifier, a common-mode level Vcm with a change of a reference voltage Vref, to satisfy a multi-scenario and multi-protocol requirement. The operational amplifier adjusts types of the input signals connected to the input adjustment units in the first switching transistor group and the second switching transistor group, to adjust proportions of the input signals of the operational amplifier, and further adjust a gain of the operational amplifier. An input end of each input adjustment unit is connected to only one input signal, and a quantity of adjustment units does not change in an adjustment process. Therefore, a gain can be linearly adjusted, and a size, a load, a tail current, a direct-current operating point, and an output pole of a switching transistor group are not changed in an adjustment process. In addition, because the size of the switching transistor group is not increased in the adjustment process, that is, an area of the switching transistor group and power consumption are not increased, gain adjustment efficiency is further improved.
Based on the operational amplifier provided in the foregoing embodiments, an embodiment of this application further provides a gain adjustment method for an operational amplifier. The method is specifically described below with reference to an accompanying drawing.
The method is applied to the operational amplifier provided in the foregoing embodiments. For a specific implementation of the operational amplifier, refer to the related description in the foregoing embodiments. Details are not described herein again.
The method includes the following steps:
S1101: Determine a target gain of an operational amplifier.
S1102: Adjust, based on the target gain, a type of an input signal connected to each input adjustment unit.
In a possible implementation, when the symmetric adjustment manner is used, in a first switching transistor group, a first quantity of input adjustment units is connected to a first input signal, and a second quantity of input adjustment units is connected to a second input signal; and in the second switching transistor group, the second quantity of input adjustment units is connected to the first input signal, and the first quantity of input adjustment units is connected to the second input signal; and
the first quantity is not equal to the second quantity. The first quantity is M, the second quantity is N, and both M and N are integers greater than or equal to 0. After current values of M and N are determined based on the target gain, corresponding adjustment is performed on the input adjustment units in the first switching transistor group and the second switching transistor group through a corresponding adjustment signal, to linearly adjust a gain of the operational amplifier.
In another possible implementation, when the asymmetric adjustment manner is used, in a first switching transistor group, a first quantity of input adjustment units is connected to a first input signal, and a second quantity of input adjustment units is connected to a second input signal; and A third quantity of input adjustment units in the second switching transistor group 301-2 is connected to the first input signal.
The first quantity is M, the second quantity is N, M is an integer greater than or equal to 0, N is an integer greater than 0, and the third quantity is equal to a sum of the first quantity and the second quantity. After current values of M and N are determined based on the target gain, corresponding adjustment is performed on the input adjustment units in the first switching transistor group and the second switching transistor group through a corresponding adjustment signal, to linearly adjust a gain of the operational amplifier.
In conclusion, the method provided in this embodiment of this application is used to linearly adjust the gain of the operational amplifier according to a method for adjusting a state of an input switching transistor, and then controlling proportions of two or more input signals, so that the gain can be linearly adjusted. Moreover, a direct-current operating point and an output pole of the circuit are not changed, and stability and adjustment effect are improved.
Based on the operational amplifier provided in the foregoing embodiments, an embodiment of this application further provides an interface chip integrated with the operational amplifier provided in the foregoing embodiments. The interface chip is specifically described below with reference to an accompanying drawing.
The interface chip 1201 shown in the figure includes the operational amplifier provided in the foregoing embodiments. Package pin ports of the interface chip include: a power port VDD, a first output port OUT1, a second output port OUT2, a grounding port GND, a control port Vc, and a first input port INPUT.
The operational amplifier is connected to the power supply by using the power port, the operational amplifier is grounded by using the grounding port, a first output end of the operational amplifier is connected to the first output port, and a second output end of the operational amplifier is connected to the second output port. In practical application, the first output port OUT1 or the second output port OUT2 is configured to output a feedback signal V_fb. In this embodiment of this application, an example in which OUT1 outputs the feedback signal V_fb is used.
The first input port is connected to a common-mode signal Vcm, and the common-mode signal is a first input signal.
The first switching transistor group and the second switching transistor group obtain an adjustment signal SEL through the control port Vc. Each input adjustment unit adjusts, based on the adjustment signal SEL, a type of an input signal connected to the input adjustment unit.
In this case, the operational amplifier is integrated into the interface chip 1201, and is used as a peripheral circuit of a low voltage differential signal generation circuit 101. The low voltage differential signal generation circuit 101 adjusts, by using the interface chip 1201, a common-mode level Vcm with a change of a reference voltage Vref, to satisfy a multi-scenario and multi-protocol requirement.
The interface chip 1201 is further integrated with a voltage divider circuit, an input end of the voltage divider circuit is connected to the power port, an output end of the voltage divider circuit is configured to output the reference signal, and the reference signal is the second input signal. The voltage divider circuit is configured to convert a voltage provided by the power supply into the reference signal to serve as an input signal generated inside the interface chip 1201.
Different from 1201, the interface chip 1301 shown in
The reference input port VF is configured to connect to a reference signal Vref, and the reference signal is a second input signal. To be specific, the reference signal Vref is not generated inside the interface chip 1301, but is input through an external circuit.
In conclusion, the interface chip provided in this embodiment of this application is used to linearly adjust a gain, and a size, a load, and a tail current of the switching transistor group are not changed in the adjustment process. Therefore, a direct-current operating point and an output pole of the operational amplifier are not changed. Because a size of the switching transistor group is not increased in the adjustment process, that is, an area of the switching transistor group and power consumption are not increased, gain adjustment efficiency is further improved.
Based on the operational amplifier provided in the foregoing embodiments, an embodiment of this application further provides an interface chip integrated with the low voltage differential signal drive circuit provided in the foregoing embodiments. The interface chip is specifically described below with reference to an accompanying drawing.
The interface chip 1401 shown in the figure includes the operational amplifier and the low voltage differential signal generation circuit that are provided in the foregoing embodiments. Package pin ports of the interface chip include: a power port VDD, a first control port VC1, a second control port VC2, a third control port Vc, a grounding port GND, and output ports OUT1 and OUT2.
The low voltage differential signal generation circuit and the operational amplifier are connected to the power supply by using the power port, and are grounded by using the grounding port.
For specific implementations and operating principles of the low voltage differential signal generation circuit and the operational amplifier, refer to the foregoing description, and details are not described herein again.
The low voltage differential signal generation circuit obtains a control signal from the first control port VC1 and the second control port VC2, generates a low voltage differential signal based on the control signal, and outputs the low voltage differential signal through the output port.
The first switching transistor group and the second switching transistor group obtain an adjustment signal SEL through the third control port Vc, and adjust, based on the adjustment signal, quantities of respective input adjustment units connected to input signals.
The interface chip 1401 is further integrated with a voltage divider circuit, an input end of the voltage divider circuit is connected to the power port, an output end of the voltage divider circuit is configured to output the reference signal, and the reference signal is the second input signal. The voltage divider circuit is configured to convert a voltage provided by the power supply into the reference signal to serve as an input signal generated inside the interface chip 1401.
In some embodiments, only one of the foregoing output ports OUT1 and OUT2 may alternatively be disposed.
Different from 1401, the interface chip 1501 shown in
The reference input port VF is configured to connect to a reference signal Vref, and the reference signal is a second input signal. To be specific, the reference signal Vref is not generated inside the interface chip 1301, but is input through an external circuit.
In conclusion, through the interface chip provided in this embodiment of this application, the low voltage differential signal generation circuit and the operational amplifier are integrated together, a gain can be linearly adjusted, and a size, a load, and a tail current of the switching transistor group are not changed in the adjustment process. Therefore, a direct-current operating point and an output pole of the operational amplifier are not changed. Because a size of the switching transistor group is not increased in the adjustment process, that is, an area of the switching transistor group and power consumption are not increased, gain adjustment efficiency is further improved.
Based on the operational amplifier and the low voltage differential signal drive circuit that are provided in the foregoing embodiments, an embodiment of this application further provides an electronic device which is specifically described below with reference to an accompanying drawing.
The electronic device 1600 shown in the figure includes the operational amplifier and the low voltage differential signal drive circuit 101 that are provided in the foregoing embodiments. For a specific implementation and an operating principle of the operational amplifier, refer to related descriptions in the foregoing embodiments. Details are not described herein again in this embodiment of this application.
The electronic device 1600 further includes a controller (not shown in the figure), and the controller may be an ASIC, a PLC, a DSP, or a combination thereof. The PLD may be a CPLD, an FPGA, a GAL, or any combination thereof. This is not specifically limited in this embodiment of this application.
The controller is configured to send a control signal to two pairs of switching transistors Pren1 and Prep1 and Pren2 and Prep2 of the low voltage differential signal drive circuit 101, so that the low voltage differential signal drive circuit 101 generates and outputs a low voltage differential signal. The controller is further configured to send an adjustment signal to the first selector switch based on the target gain, so that the first switching transistor group 301-1 and the second switching transistor group 301-2 adjust quantities of respective input adjustment units connected to input signals.
A type of the electronic device is not specifically limited in this embodiment of this application. For example, the electronic device may be a display device, a monitoring device, a vehicle communication device, an industrial control device, or the like.
In conclusion, the operational amplifier of the electronic device adjusts the input signals connected to the input adjustment units in the first switching transistor group and the second switching transistor group, to adjust proportions of the input signals of the operational amplifier, and further adjust a gain of the operational amplifier. An input end of each input adjustment unit is connected to only one input signal, and a quantity of adjustment units does not change in an adjustment process. Therefore, a gain can be linearly adjusted, and a size, a load, a tail current, a direct-current operating point, and an output pole of a switching transistor group are not changed in an adjustment process. In addition, because the size of the switching transistor group is not increased in the adjustment process, that is, an area of the switching transistor group and power consumption are not increased, gain adjustment efficiency is further improved.
Based on the foregoing electronic device, an embodiment of this application further provides a gain adjustment method for an operational amplifier. The method is specifically described below.
The method may be implemented by a controller of an electronic device, and specifically includes the following steps:
S1701: Determine a target parameter value.
S1702: Determine an adjustment signal based on the target parameter value, and send the adjustment signal to the first switching transistor group and the second switching transistor group, where the adjustment signal is for indicating the first switching transistor group and the second switching transistor group to adjust quantities of respective input adjustment units connected to input signals.
The target parameter value may be a gain of the operational amplifier.
It should be understood that in this application, “at least one (item)” refers to one or more, and “a plurality of” refers to two or more. “and/or” is used to describe an association relationship between associated objects, and indicates that three relationships may exist. For example, “A and/or B” may indicate that only A exists, only B exists, and both A and B exist, where A and B may be singular or plural. The character “I” generally indicates that the associated objects are in an OR relationship. “At least one of the following” or a similar expression thereof refers to any combination of these items, including any combination of a single item or a plural item. For example, at least one ( ) of a, b, or c may represent: a, b, c, “a and b”, “a and c”, “b and c”, or “a and b and c”, where a and b, c can be a single or multiple.
The foregoing embodiments are merely used to describe the technical solutions of this application, but not to limit the technical solutions. Although this application is described in detail with reference to the foregoing embodiments, a person of ordinary skill in the art should understand that he or she may still make modifications to the technical solutions recorded in the foregoing embodiments, or make equivalent replacements to some technical features thereof. However, these modifications or replacements do not deviate from the spirit and scope of the technical solutions in embodiments of this application.
This application is a continuation of International Application No. PCT/CN2020/141405, filed on Dec. 30, 2020, the disclosure of which is hereby incorporated by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2020/141405 | Dec 2020 | US |
Child | 18345921 | US |