WO2020232681A1 - Level shift circuit and electronic device - Google Patents

Level shift circuit and electronic device Download PDF

Info

Publication number
WO2020232681A1
WO2020232681A1 PCT/CN2019/088030 CN2019088030W WO2020232681A1 WO 2020232681 A1 WO2020232681 A1 WO 2020232681A1 CN 2019088030 W CN2019088030 W CN 2019088030W WO 2020232681 A1 WO2020232681 A1 WO 2020232681A1
Authority
WO
WIPO (PCT)
Prior art keywords
circuit
current source
coupled
output
transformer
Prior art date
Application number
PCT/CN2019/088030
Other languages
French (fr)
Chinese (zh)
Inventor
周佳
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2019/088030 priority Critical patent/WO2020232681A1/en
Priority to CN201980095956.5A priority patent/CN113767572B/en
Publication of WO2020232681A1 publication Critical patent/WO2020232681A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K19/00Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
    • H03K19/0175Coupling arrangements; Interface arrangements

Definitions

  • This application relates to the field of electronic technology, and in particular to a level conversion circuit and electronic equipment.
  • the level conversion circuit can realize the conversion of DC voltage or common mode voltage.
  • the level conversion circuit can adopt a resistor and capacitor (RC) structure, and can convert the input voltage value (such as DC level) to the target value, and then use a push-pull input buffer to perform the input voltage Buffer and input so that the amplitude of input voltage and output voltage remain basically unchanged.
  • the level conversion circuit can adopt the structure of pure resistance, and use the circuit with common mode feedback to detect whether the output voltage (such as the common mode voltage) is the target value, and perform the access amplitude of the pure resistance according to the detection result. Dynamic adjustment to achieve level conversion.
  • the currently used level conversion circuit not only has high noise and poor linearity, but also easily causes adverse effects on the previous circuit.
  • the application provides a level conversion circuit and electronic equipment to improve the problems of large noise and poor linearity caused by the existing level conversion circuit, reduce the impedance of the level conversion process, and optimize the level conversion circuit
  • the noise performance reduces the linearity loss of the level conversion circuit.
  • the present application provides a level conversion circuit, including: a first current source, a second current source, and a transformer circuit.
  • the transformer circuit includes a resistor and a transistor, wherein the drain of the transistor is coupled to the first end of the resistor, the second end of the resistor is coupled to the first current source, the source of the transistor is coupled to the second current source, and the gate of the transistor is coupled to The first end of the resistor or the second end of the resistor.
  • the field effect transistor field effect transistor
  • the field effect transistor may include junction field-effect transistor (JFET), metal oxide semiconductor field-effect transistor (metal oxide semiconductor FET, MOSFET), and V-groove field effect transistor (V-groove metal -oxide semiconductor FET, VMOSFET)
  • JFET junction field-effect transistor
  • MOSFET metal oxide semiconductor field-effect transistor
  • V-groove field effect transistor V-groove metal -oxide semiconductor FET
  • MOSFET can include N-type metal oxide semiconductor field effect transistor (NMOSFET, referred to as NMOS tube) and P-type metal oxide semiconductor field effect transistor (PMOSFET, referred to as PMOS tube).
  • NMOSFET N-type metal oxide semiconductor field effect transistor
  • PMOSFET P-type metal oxide semiconductor field effect transistor
  • the drain of the transistor is coupled to the first end of the resistor, the second end of the resistor is coupled to the first current source, the source of the transistor is coupled to the second current source, and the gate of the transistor is The pole is coupled to the first end of the resistor or the second end of the resistor, so that the first current source, the transformer circuit, and the second current source form a loop.
  • the first current source and the second current source can adjust the current flowing through the transformer circuit, so that the transformer circuit can convert the received input voltage into an output voltage.
  • the transformer circuit since the transformer circuit includes coupled resistors and transistors, the existing pure resistance structure is replaced with a resistor and transistor structure, which reduces the impedance of the level conversion circuit and optimizes the noise performance of the level conversion circuit. Reduce the linearity loss of the level conversion circuit.
  • the transistor is a first NMOS tube, and the gate of the first NMOS tube is coupled to the second end of the resistor.
  • the source of the first NMOS tube is the input terminal of the transformer circuit, which can be used to receive the input voltage
  • the gate of the first NMOS tube is the output terminal of the transformer circuit, which can be used to output output Voltage.
  • the gate of the first NMOS tube is the input terminal of the transformer circuit, which can be used to receive input voltage
  • the source of the first NMOS tube is the output terminal of the transformer circuit, which can be used to output output Voltage.
  • the level conversion circuit provided by this embodiment adopts the structure of a resistor and a first NMOS transistor to replace the existing pure resistance structure, wherein the two ends of the resistor are respectively coupled to the gate and drain of the first NMOS transistor, that is, the diode (Diode) coupling mode, the first current source and the second current source adjust the current flowing through the first NMOS tube so that the first NMOS tube works in a linear region.
  • the transformer circuit converts the input voltage The output voltage whose amplitude is the target value is more effective.
  • the transistor is a second NMOS tube, and the gate of the second NMOS tube is coupled to the first end of the resistor.
  • the source of the second NMOS tube is the input terminal of the transformer circuit, which can be used to receive the input voltage
  • the second end of the resistor is the output terminal of the transformer circuit, which can be used to output the output voltage.
  • the second terminal of the resistor is the input terminal of the transformer circuit, which can be used to receive input voltage
  • the source of the second NMOS tube is the output terminal of the transformer circuit, which can be used to output output voltage.
  • the level conversion circuit provided by this embodiment adopts a resistor and a second NMOS tube structure to replace the existing pure resistance structure, wherein the two ends of the resistor are coupled to the gate and drain of the second NMOS tube respectively, that is, Diode
  • the first current source and the second current source adjust the current flowing through the second NMOS tube so that the second NMOS tube works in the saturation region or the sub-threshold region.
  • the transformer circuit converts the input voltage into an amplitude
  • the output voltage of the target value is more effective.
  • the transistor is a first PMOS tube, and the gate of the first PMOS tube is coupled to the second end of the resistor.
  • the gate of the first PMOS tube is the input terminal of the transformer circuit, which can be used to receive the input voltage
  • the source of the first PMOS tube is the output terminal of the transformer circuit, which can be used to output output Voltage.
  • the source of the first PMOS tube is the input terminal of the transformer circuit, which can be used to receive the input voltage
  • the gate of the first PMOS tube is the output terminal of the transformer circuit, which can be used to output output Voltage.
  • the level conversion circuit uses a resistor and a first PMOS tube structure to replace the existing pure resistance structure, wherein the two ends of the resistor are respectively coupled to the gate and drain of the first PMOS tube, that is, Diode
  • the first current source and the second current source adjust the current flowing through the first PMOS tube to make the first PMOS tube work in the linear region.
  • the transformer circuit converts the input voltage into a target value The output voltage effect is better.
  • the transistor is a second PMOS tube, and the gate of the second PMOS tube is coupled to the first end of the resistor.
  • the second end of the resistor is the input terminal of the transformer circuit, which can be used to receive the input voltage
  • the source of the second PMOS tube is the output terminal of the transformer circuit, which can be used to output the output voltage.
  • the source of the second PMOS tube is the input terminal of the transformer circuit, which can be used to receive the input voltage
  • the second end of the resistor is the output terminal of the transformer circuit, which can be used to output the output voltage.
  • the level conversion circuit provided by this embodiment uses a resistor and a second PMOS structure to replace the existing pure resistance structure, wherein the two ends of the resistor are respectively coupled to the gate and drain of the second PMOS, that is, the coupling of the diode
  • the first current source and the second current source adjust the current flowing through the second PMOS so that the second PMOS works in the saturation region or the sub-threshold region.
  • the transformer circuit converts the input voltage into a target value The output voltage effect is better.
  • the transformer circuit further includes a capacitor, which is coupled in parallel between the input terminal and the output terminal of the transformer circuit to obtain better noise performance and high frequency performance.
  • the first current source and the second current source are used to adjust the current of the first current source and the current of the second current source respectively, so that the current of the first current source and the second current source The currents of the current sources are equal.
  • the first current source and the second current source can adjust the current flowing through the transformer circuit.
  • the first current source and the second current source can reduce the current flowing through the transformer circuit, so that the amplitude of the output voltage becomes smaller to adjust to the target value.
  • the first current source and the second current source can increase the current flowing through the transformer circuit, so that the amplitude of the output voltage becomes larger to adjust to the target value.
  • the first current source and the second current source do not need to adjust the current flowing through the transformer circuit, so that the transformer circuit can output the output voltage with the amplitude of the target value.
  • the first current source is used to adjust the current of the first current source according to the received first feedback signal, and the first feedback signal is used to indicate that the amplitude of the output voltage is not the target value.
  • the second current source is used to adjust the current of the second current source according to the received second feedback signal, and the second feedback signal is used to indicate that the amplitude of the output voltage is not the target value.
  • the first feedback signal and the second feedback signal are usually voltages of different amplitudes.
  • the implementation of the first current source and the second current source may adopt adjustable resistors, or may adopt MOS transistors or bipolar junction transistors (BJT), etc., and may also be a combination of resistors and MOS transistors. It can also be a combination of resistance and BJT, or a combination of resistance, MOS tube and BJT, this application is not limited to this, as long as the first current source and the second current source can adjust the current flowing through the transformer circuit OK.
  • the level conversion circuit further includes: a first control circuit.
  • the input terminal of the first control circuit is coupled to the output terminal of the transformer circuit, the first output terminal of the first control circuit is coupled to the first current source, and the second output terminal of the first control circuit is coupled to the second current source.
  • the first control circuit is used to receive the output voltage from the transformer circuit.
  • the first control circuit is also used to send a first feedback signal to the first current source and a second feedback signal to the second current source when it is determined that the amplitude of the output voltage is not the target value.
  • the first current source includes a third PMOS tube
  • the second current source includes a third NMOS tube
  • the first control circuit includes a voltage feedback circuit, a fourth PMOS tube, and a fourth NMOS tube.
  • the source of the third PMOS tube is coupled with the power supply level
  • the drain of the third PMOS tube is coupled to the second end of the resistor
  • the gate of the third PMOS tube is coupled to the gate of the fourth PMOS tube.
  • the drain of the third NMOS tube is coupled to the source of the transistor, the source of the third NMOS tube is grounded, and the gate of the third NMOS tube is coupled to the gate of the fourth NMOS tube.
  • the source of the fourth PMOS tube is coupled with the supply voltage, the gate and drain of the fourth PMOS tube are both coupled to the drain of the fourth NMOS tube, the source of the fourth NMOS tube is grounded, and the gate of the fourth NMOS tube is also
  • the input terminal of the voltage feedback circuit is the input terminal of the first control circuit, and the input terminal of the voltage feedback circuit is coupled to the output terminal of the transformer circuit.
  • the voltage feedback circuit is used to receive the output voltage from the transformer circuit and judge whether the current amplitude of the output voltage is the target value.
  • the voltage feedback circuit is also used to send an adjustment signal to the fourth NMOS tube when the amplitude of the output voltage is not the target value.
  • the adjustment signal is used for the fourth PMOS tube to send the first feedback signal to the third PMOS tube, and the fourth The NMOS tube sends the second feedback signal to the third NMOS tube.
  • the fourth PMOS tube in the first control circuit can be used as the current mirror of the third PMOS tube, the fourth PMOS tube sends the first feedback signal to the third PMOS tube, and the fourth NMOS tube in the first control circuit can be used as The current mirror of the third NMOS tube sends the second feedback signal from the fourth NMOS tube to the third NMOS tube.
  • the adjustment signal can send the first feedback signal to the third PMOS transistor via the fourth NMOS tube and the fourth PMOS tube to adjust the current of the third PMOS tube.
  • the adjustment signal can send a second feedback signal to the third NMOS tube through the fourth NMOS tube to adjust the current of the third NMOS tube, and to ensure the current of the third PMOS tube and the current of the third NMOS tube.
  • the adjustment of the current flowing through the transformer circuit is realized.
  • the level conversion circuit further includes: M first current sources, M second current sources, M transformer circuits, and second control circuits, where M is a positive integer.
  • M+1 first current sources, M+1 second current sources and M+1 transformer circuits are coupled in a one-to-one correspondence
  • M+1 input terminals of the second control circuit are coupled with M+1 transformer circuits.
  • the output terminals of the circuit are coupled in one-to-one correspondence
  • the M+1 first output terminals of the second control circuit are coupled to the M+1 first current sources in one-to-one correspondence
  • the M+1 second output terminals of the second control circuit are coupled with
  • the M+1 second current sources are coupled in a one-to-one correspondence.
  • the second control circuit is used to receive an output voltage from each transformer circuit.
  • the second control circuit is also used to send a first feedback signal to each first current source and a second feedback to each second current source when the average value of the amplitude of the M+1 output voltages is not the target value signal.
  • the M+1 first current source and the M+1 second current source can adjust the current flowing through the transformer circuit corresponding to the first current source and the second current source, so that the M+1 transformer
  • the average value of the amplitude of the output voltage output by each circuit is the target value, which can improve the accuracy of the output voltage and make the level conversion process more effective.
  • the level conversion circuit can not only adopt a structure including a first current source, a second current source, a transformer circuit, and a first control circuit, but also a structure that includes M+1 first The structure of the current source, M+1 second current source, M+1 transformer circuit, and second control circuit.
  • a circuit or unit or device or electronic device
  • multiple level conversion circuits such as any one of the above methods or including two of the above methods, which can convert one or more input voltages into different amplitudes.
  • Value of the output voltage can also realize the process of step-up and step-down at the same time, providing various possibilities for the level conversion process and improving the processing efficiency of the circuit.
  • the second control circuit includes any one of a processor, a comparator with common mode feedback, or a comparator with common mode feedback and a buffer.
  • the level conversion circuit provided by the present application can control the output common mode. By adjusting the two current sources at the same time, the driving capability requirements of the signal source can be reduced, and the process of common mode feedback can be realized.
  • the matching problem makes the output common mode controllable, eliminates the DC current of the level conversion circuit to the previous circuit, and reduces the impact on the previous circuit.
  • the transistors in the second control circuit are of the same type as the transistors in the transformer circuit, which can reduce the influence of process-voltage-temperature (process-voltage-temperature, PVT) on the output common mode.
  • process-voltage-temperature process-voltage-temperature, PVT
  • the present application provides a level conversion circuit including: a first current source, a second current source, and a transformer circuit.
  • the transformer circuit includes a resistor and a transistor, wherein the collector of the transistor is coupled to the first end of the resistor, the second end of the resistor is coupled to the first current source, the emitter of the transistor is coupled to the second current source, and the base of the transistor is coupled To the first end of the resistor or the second end of the resistor.
  • the transistors in the present application can also be of other types, such as transistors, which can include two types: PNP type transistors and NPN type transistors.
  • the collector of the transistor is coupled to the first end of the resistor, the second end of the resistor is coupled to the first current source, the emitter of the transistor is coupled to the second current source, and the base of the transistor is The pole is coupled to the first end of the resistor or the second end of the resistor, so that the first current source, the transformer circuit, and the second current source form a loop.
  • the first current source and the second current source can adjust the current flowing through the transformer circuit, so that the transformer circuit can convert the received input voltage into an output voltage.
  • the transformer circuit since the transformer circuit includes coupled resistors and transistors, the existing pure resistance structure is replaced with a resistor and transistor structure, which reduces the impedance of the level conversion circuit and optimizes the noise performance of the level conversion circuit. Reduce the linearity loss of the level conversion circuit.
  • the transistor is a first NPN, and the base of the first NPN is coupled to the second end of the resistor.
  • the transmitter of the first NPN can be used to receive the input voltage, and the base electrode of the first NPN can be used to output the output voltage.
  • the base of the first NPN can be used to receive the input voltage, and the emitter of the first NPN can be used to output the output voltage.
  • the level conversion circuit replaces the existing pure resistance structure with a resistor and a first NPN structure, wherein the two ends of the resistor are respectively coupled to the base and collector of the first NPN, that is, the coupling of Diode
  • the first current source and the second current source adjust the current flowing through the first NPN so that the first NPN works in the linear region.
  • the transformer circuit converts the input voltage into the output voltage with the amplitude of the target value.
  • the transistor is a second NPN, and the base of the second NPN is coupled to the first end of the resistor.
  • the transmitter of the second NPN can be used to receive the input voltage
  • the second end of the resistor is the output terminal of the transformer circuit and can be used to output the output voltage
  • the second end of the resistor is the input terminal of the transformer circuit and can be used to receive the input voltage
  • the emitter of the second NPN is the output terminal of the transformer circuit and can be used to output the output voltage
  • the level conversion circuit provided by this embodiment adopts a resistor and a second NPN structure to replace the existing pure resistance structure, wherein the two ends of the resistor are respectively coupled to the base and collector of the second NPN, that is, the coupling of Diode
  • the first current source and the second current source adjust the current flowing through the second NPN so that the second NPN works in the saturation region or the sub-threshold region.
  • the voltage transformer circuit converts the input level to the target value. The output voltage effect is better.
  • the transistor is a first PNP, and the base of the first PNP is coupled to the second end of the resistor.
  • the base of the first PNP can be used to receive the input voltage, and the emitter of the first PNP can be used to output the output voltage.
  • the transmitter of the first PNP can be used to receive the input voltage, and the base electrode of the first PNP can be used to output the output voltage.
  • the level conversion circuit provided by this embodiment adopts a resistor and a first PNP structure to replace the existing pure resistance structure, wherein the two ends of the resistor are respectively coupled to the base and collector of the first PNP, that is, the coupling of Diode
  • the first current source and the second current source adjust the current flowing through the first PNP so that the first PNP works in the linear region.
  • the transformer circuit converts the input voltage into the output voltage with the amplitude of the target value.
  • the transistor is a second PNP, and the base of the second PNP is coupled to the first end of the resistor.
  • the second terminal of the resistor is the input terminal of the transformer circuit and can be used to receive the input voltage
  • the emitter of the second PNP is the output terminal of the transformer circuit and can be used to output the output voltage
  • the transmitter of the second PNP is the input terminal of the transformer circuit and can be used to receive the input voltage
  • the second end of the resistor is the output terminal of the transformer circuit and can be used to output the output voltage
  • the level conversion circuit provided by this embodiment adopts a resistor and a second PNP structure to replace the existing pure resistance structure, wherein the two ends of the resistor are respectively coupled to the base and collector of the second PNP, that is, the coupling of Diode
  • the first current source and the second current source adjust the current flowing through the second PNP so that the second PNP works in the saturation region or the sub-threshold region.
  • the transformer circuit converts the input voltage into a target value of amplitude The output voltage effect is better.
  • the transformer circuit further includes a capacitor, which is coupled in parallel between the input terminal and the output terminal of the transformer circuit to obtain better noise performance and high frequency performance.
  • the first current source and the second current source are used to adjust the current of the first current source and the current of the second current source respectively, so that the current of the first current source and the second current source The currents of the current sources are equal.
  • the first current source and the second current source can adjust the current flowing through the transformer circuit.
  • the first current source and the second current source can reduce the current flowing through the transformer circuit, so that the amplitude of the output voltage becomes smaller to adjust to the target value.
  • the first current source and the second current source can increase the current flowing through the transformer circuit, so that the amplitude of the output voltage becomes larger to adjust to the target value.
  • the first current source and the second current source do not need to adjust the current flowing through the transformer circuit, so that the transformer circuit can output the output voltage with the amplitude of the target value.
  • the first current source is used to adjust the current of the first current source according to the received first feedback signal, and the first feedback signal is used to indicate that the amplitude of the output voltage is not the target value.
  • the second current source is used to adjust the current of the second current source according to the received second feedback signal, and the second feedback signal is used to indicate that the amplitude of the output voltage is not the target value.
  • the first feedback signal and the second feedback signal are usually voltages of different amplitudes.
  • the implementation of the first current source and the second current source may adopt adjustable resistors, or may adopt MOS transistors or bipolar junction transistors (BJT), etc., and may also be a combination of resistors and MOS transistors. It can also be a combination of resistance and BJT, or a combination of resistance, MOS tube and BJT, this application is not limited to this, as long as the first current source and the second current source can adjust the current flowing through the transformer circuit OK.
  • the level conversion circuit further includes: a first control circuit.
  • the input terminal of the first control circuit is coupled to the output terminal of the transformer circuit, the first output terminal of the first control circuit is coupled to the first current source, and the second output terminal of the first control circuit is coupled to the second current source.
  • the first control circuit is used to receive the output voltage from the transformer circuit.
  • the first control circuit is further configured to send a first feedback signal to the first current source and a second feedback signal to the second current source when it is determined that the amplitude of the output voltage is not the target value.
  • the first current source includes a third PMOS tube
  • the second current source includes a third NMOS tube
  • the first control circuit includes a voltage feedback circuit, a fourth PMOS tube, and a fourth NMOS tube.
  • the source of the third PMOS tube is coupled with the power supply level
  • the drain of the third PMOS tube is coupled to the second end of the resistor
  • the gate of the third PMOS tube is coupled to the gate of the fourth PMOS tube.
  • the drain of the third NMOS tube is coupled to the source of the transistor, the source of the third NMOS tube is grounded, and the gate of the third NMOS tube is coupled to the gate of the fourth NMOS tube.
  • the source of the fourth PMOS tube is coupled with the supply voltage, the gate and drain of the fourth PMOS tube are both coupled to the drain of the fourth NMOS tube, the source of the fourth NMOS tube is grounded, and the gate of the fourth NMOS tube is also
  • the input terminal of the voltage feedback circuit is the input terminal of the first control circuit, and the input terminal of the voltage feedback circuit is coupled to the output terminal of the transformer circuit.
  • the voltage feedback circuit is used to receive the output voltage from the transformer circuit and judge whether the current amplitude of the output voltage is the target value.
  • the voltage feedback circuit is also used to send an adjustment signal to the fourth NMOS tube when the amplitude of the output voltage is not the target value.
  • the adjustment signal is used for the fourth PMOS tube to send the first feedback signal to the third PMOS tube, and the fourth The NMOS tube sends the second feedback signal to the third NMOS tube.
  • the fourth PMOS tube in the first control circuit can be used as the current mirror of the third PMOS tube, the fourth PMOS tube sends the first feedback signal to the third PMOS tube, and the fourth NMOS tube in the first control circuit can be used as The current mirror of the third NMOS tube sends the second feedback signal from the fourth NMOS tube to the third NMOS tube.
  • the adjustment signal can send the first feedback signal to the third PMOS transistor via the fourth NMOS tube and the fourth PMOS tube to adjust the current of the third PMOS tube.
  • the adjustment signal can send a second feedback signal to the third NMOS tube through the fourth NMOS tube to adjust the current of the third NMOS tube, and to ensure the current of the third PMOS tube and the current of the third NMOS tube.
  • the adjustment of the current flowing through the transformer circuit is realized.
  • the level conversion circuit further includes: M first current sources, M second current sources, M transformer circuits, and second control circuits, where M is a positive integer.
  • M+1 first current sources, M+1 second current sources and M+1 transformer circuits are coupled in a one-to-one correspondence
  • M+1 input terminals of the second control circuit are coupled with M+1 transformer circuits.
  • the output terminals of the circuit are coupled in one-to-one correspondence
  • the M+1 first output terminals of the second control circuit are coupled to the M+1 first current sources in one-to-one correspondence
  • the M+1 second output terminals of the second control circuit are coupled with
  • the M+1 second current sources are coupled in a one-to-one correspondence.
  • the second control circuit is used to receive an output voltage from each transformer circuit.
  • the second control circuit is also used to send a first feedback signal to each first current source and a second feedback to each second current source when the average value of the amplitude of the M+1 output voltages is not the target value signal.
  • the M+1 first current source and the M+1 second current source can adjust the current flowing through the transformer circuit corresponding to the first current source and the second current source, so that the M+1 transformer
  • the average value of the amplitude of the output voltage output by each circuit is the target value, which can improve the accuracy of the output voltage and make the level conversion process more effective.
  • the level conversion circuit can not only adopt a structure including a first current source, a second current source, a transformer circuit, and a first control circuit, but also a structure that includes M+1 first The structure of the current source, M+1 second current source, M+1 transformer circuit, and second control circuit.
  • a circuit or unit or device or electronic device
  • multiple level conversion circuits such as any one of the above methods or including two of the above methods, which can convert one or more input voltages into different amplitudes.
  • Value of the output voltage can also realize the process of step-up and step-down at the same time, providing various possibilities for the level conversion process and improving the processing efficiency of the circuit.
  • the second control circuit includes any one of a processor, a comparator with common mode feedback, or a comparator with common mode feedback and a buffer.
  • the level conversion circuit provided by the present application can control the output common mode. By adjusting the two current sources at the same time, the driving capability requirements of the signal source can be reduced, and the process of common mode feedback can be realized.
  • the matching problem makes the output common mode controllable, eliminates the DC current of the level conversion circuit to the previous circuit, and reduces the impact on the previous circuit.
  • the transistors in the second control circuit are of the same type as the transistors in the transformer circuit, which can reduce the influence of process-voltage-temperature on the output common mode.
  • the present application provides an electronic device, including: an input end circuit, an output end circuit, and at least one possible implementation manner as in the above first aspect and the first aspect and/or at least one as in the above second aspect and The level conversion circuit of each possible implementation of the second aspect.
  • the level conversion circuit is coupled to the input terminal circuit and is used to receive the input voltage from the input terminal circuit.
  • the level conversion circuit is coupled to the output terminal circuit and used for sending the output voltage to the output terminal circuit.
  • the beneficial effects can be referred to the above-mentioned first aspect and each possible implementation manner of the first aspect and/or the above-mentioned second aspect and second aspect
  • the beneficial effects brought by each possible implementation manner of the aspect are not repeated here.
  • FIG. 1a is a schematic structural diagram of a level conversion circuit provided by this application.
  • FIG. 1b is a schematic structural diagram of a level conversion circuit provided by this application.
  • FIG. 2 is a schematic circuit diagram of a level conversion circuit provided by this application.
  • FIG. 3 is a schematic circuit diagram of a level conversion circuit provided by this application.
  • FIG. 5 is a schematic circuit diagram of a level conversion circuit provided by this application.
  • FIG. 6 is a schematic circuit diagram of a level conversion circuit provided by this application.
  • FIG. 7 is a schematic circuit diagram of a level conversion circuit provided by this application.
  • FIG. 8 is a schematic circuit diagram of a level conversion circuit provided by this application.
  • FIG. 9 is a schematic circuit diagram of a level conversion circuit provided by this application.
  • FIG. 10 is a schematic circuit diagram of a level conversion circuit provided by this application.
  • FIG. 11 is a schematic circuit diagram of a level conversion circuit provided by this application.
  • FIG. 12 is a schematic circuit diagram of a level conversion circuit provided by this application.
  • FIG. 13 is a schematic circuit diagram of a level conversion circuit provided by this application.
  • FIG. 14 is a schematic circuit diagram of a level conversion circuit provided by this application.
  • 15 is a schematic circuit diagram of a level conversion circuit provided by this application.
  • 16 is a schematic circuit diagram of a level conversion circuit provided by this application.
  • FIG. 17 is a schematic circuit diagram of a level conversion circuit provided by this application.
  • FIG. 19 is a schematic circuit diagram of a level conversion circuit provided by this application.
  • FIG. 20 is a schematic diagram of an equivalent small signal model of a level conversion circuit provided by this application.
  • FIG. 21 is a schematic diagram of a current-voltage (I-V) curve and its DC resistance and AC resistance curves of a transistor in a level conversion circuit provided by this application;
  • FIG. 22 is a schematic structural diagram of a level conversion circuit provided by this application.
  • FIG. 23 is a schematic structural diagram of a level conversion circuit provided by this application.
  • FIG. 24 is a schematic structural diagram of a level conversion circuit provided by this application.
  • FIG. 25 is a schematic structural diagram of an electronic device provided by this application.
  • words such as “first” and “second” are used to distinguish the same or similar items with basically the same function and effect. Those skilled in the art can understand that words such as “first” and “second” do not limit the quantity and order of execution, and words such as “first” and “second” do not limit the difference.
  • the coupling may be direct contact coupling or indirect coupling, which is not limited in this application.
  • FIGS. 1a and 1b show schematic structural diagrams of the level conversion circuit provided by the present application.
  • the level shifter (LS) of the present application may include: a first current source 11, a second current source 12, and a transformer circuit 13.
  • the level conversion circuit 10 can be applied to, but not limited to, various scenarios where a direct current (DC) signal or a common mode signal in an analog signal is raised or lowered.
  • DC direct current
  • the transformer circuit 13 may include a resistor and a transistor.
  • the resistor is identified by the letter "R”
  • the first end of the resistor is identified by the number "1”
  • the second end of the resistor is identified by the number "2”
  • the transistor is identified by the letter "Q”.
  • a transistor has three electrodes.
  • the resistor and at least one electrode of the transistor can be connected in series, in parallel, or in series and parallel. This application does not limit this, as long as the coupled resistor and the transistor jointly realize voltage conversion . In addition, this application does not limit the number and types of resistors and transistors.
  • the transistor can be a FET.
  • FET may include three types of JFET, MOSFET, and VMOSFET
  • MOSFET may include two types of NMOS tube and PMOS tube.
  • the drain of the transistor is coupled to the first end of the resistor, and the second end of the resistor is coupled to the first end of the first current source 11 (identified by the number "1" in Figure 1a).
  • the source of the transistor is Coupled to the first terminal of the second current source 12 (identified by the number "1" in FIG. 1a), the gate of the transistor is coupled to the first terminal of the resistor or the second terminal of the resistor.
  • the transistor may also be a transistor, and the transistor may include two types: a PNP type transistor and an NPN type transistor.
  • the collector of the transistor is coupled to the first end of the resistor, and the second end of the resistor is coupled to the first end of the first current source 11 (identified by the number "1" in Figure 1a), and the emitter of the transistor Coupled to the first end of the second current source 12 (identified by the number "1" in FIG. 1a), the base of the transistor is coupled to the first end of the resistor or the second end of the resistor.
  • FIGS. 1a and 1b are only partial illustrations of the coupling relationship between the resistor and the transistor.
  • the names of the three electrodes of the transistors correspondingly change, and the specific corresponding relationship can be determined according to the working principle of the transistors.
  • the implementation of the first current source 11 and the second current source 12 may adopt adjustable resistors, MOS transistors or BJTs, a combination of resistors and MOS transistors, or a combination of resistors and BJTs. It can also be a combination of resistors, MOS transistors and BJTs. This application is not limited to this, as long as the first current source 11 and the second current source 12 can adjust the current flowing through the transformer circuit 13.
  • the power supply terminal of the first current source 11 is coupled with a power supply voltage (the power supply voltage can be set according to actual conditions), and the first terminal of the first current source 11 is coupled to the resistor and transistor in the transformer circuit 13 , The first terminal of the second current source 12 is coupled with the resistor and transistor in the transformer circuit 13, and the ground terminal of the second current source 12 is grounded.
  • the first current source 11, the transformer circuit 13 and the second current The source 12 can form a loop, so that the first current source 11 and the second current source 12 can adjust the current flowing through the transformer circuit 13.
  • the first current source 11 and the second current source 12 can adjust the current flowing through the transformer circuit 13 according to the amplitude of the output voltage output by the transformer circuit 13.
  • the first current source 11 and the second current source 12 can reduce the current flowing through the transformer circuit 13 so that the amplitude of the output voltage becomes smaller to adjust to the target value. value.
  • the first current source 11 and the second current source 12 can increase the current flowing through the transformer circuit 13 so that the amplitude of the output voltage becomes larger to adjust to the target value.
  • the first current source 11 and the second current source 12 may not need to adjust the current flowing through the transformer circuit 13 so that the transformer circuit 13 can output the output voltage with the amplitude of the target value.
  • the transformer circuit 13 needs to convert the input voltage into an output voltage with the amplitude of the target value.
  • the specific amplitudes of the input voltage and the output voltage can be set according to actual conditions, which are not limited in this application.
  • the first current source 11 and the second current source 12 can keep the current flowing through the transformer circuit 13 unchanged when the amplitude of the output voltage is the target value, that is, there is no need to adjust the current flowing through the transformer circuit.
  • the current of 13 allows the transformer circuit 13 to directly output an output voltage with a target value.
  • the first current source 11 and the second current source 12 can adjust the current flowing through the transformer circuit 13 when the amplitude of the output voltage is not the target value, so that the transformer circuit 13 can output the target amplitude. Value of the output voltage.
  • the step-up or step-down of the level conversion circuit 10 is completed, and the level conversion circuit 10 can output the voltage required by the output circuit (that is, the output voltage whose amplitude is the target value), so as to facilitate the output circuit to perform subsequent steps.
  • the level conversion circuit 10 can output the voltage required by the output circuit (that is, the output voltage whose amplitude is the target value), so as to facilitate the output circuit to perform subsequent steps. The corresponding operation.
  • the drain of the transistor is coupled to the first end of the resistor, the second end of the resistor is coupled to the first current source, the source of the transistor is coupled to the second current source, and the gate of the transistor is coupled To the first end of the resistor or the second end of the resistor, the first current source, the transformer circuit and the second current source form a loop.
  • the first current source and the second current source can adjust the current flowing through the transformer circuit, so that the transformer circuit can convert the received input voltage into an output voltage.
  • the transformer circuit since the transformer circuit includes coupled resistors and transistors, the existing pure resistance structure is replaced with a resistor and transistor structure, which reduces the impedance of the level conversion circuit and optimizes the noise performance of the level conversion circuit. Reduce the linearity loss of the level conversion circuit.
  • the transistors in the transformer circuit 13 may be various types of transistors.
  • the first current source 11 is identified by the letter "I1”
  • the second current source 12 is identified by the letter "I2”
  • the resistance is identified by the letter "R”
  • the input voltage is identified by the letter "Vin” Mark
  • the output voltage is marked with the letter "Vout”.
  • the transistor is a field effect tube, on the basis of the embodiment shown in FIG. 1a and in conjunction with FIG. 2 to FIG. 9, the following four feasible implementation manners are used to describe the specific structure of the level conversion circuit 10.
  • the gate of the first NMOS tube is coupled to the second end of the resistor.
  • the first NMOS transistor is one and is identified by the letter "M1".
  • the source of the first NMOS transistor is the input terminal of the transformer circuit 13, which can be used to receive the input voltage, and the gate of the first NMOS transistor is The output terminal of the voltage circuit 13 can be used to output an output voltage.
  • the gate of the first NMOS transistor is the input terminal of the transformer circuit 13, which can be used to receive the input voltage.
  • the source of the first NMOS transistor The output terminal of the transformer circuit 13 can be used to output an output voltage.
  • the structure of the resistor and the first NMOS tube is used to replace the existing pure resistance structure, wherein the two ends of the resistor are respectively coupled to the gate and drain of the first NMOS tube, that is, the Diode coupling method, the first current The source 11 and the second current source 12 adjust the current flowing through the first NMOS tube so that the first NMOS tube works in the linear region.
  • the transformer circuit 13 converts the input voltage into an output voltage with a target value.
  • the second NMOS transistor is one and is identified by the letter "M2".
  • the source of the second NMOS tube is the input terminal of the transformer circuit 13, which can be used to receive the input voltage, and the second end of the resistor is the transformer.
  • the output terminal of the circuit 13 can be used to output the output voltage.
  • the second end of the resistor is the input terminal of the transformer circuit 13, which can be used to receive the input voltage.
  • the source of the second NMOS transistor is changed.
  • the output terminal of the voltage circuit 13 can be used to output an output voltage.
  • the structure of the resistor and the second NMOS tube is used to replace the existing pure resistance structure, wherein the two ends of the resistor are respectively coupled to the gate and drain of the second NMOS tube, that is, the coupling method of Diode, the first current
  • the source 11 and the second current source 12 adjust the current flowing through the second NMOS tube to make the second NMOS tube work in the saturation region or the sub-threshold region.
  • the voltage transformer circuit 13 converts the input voltage into a target value. The output voltage effect is better.
  • the gate of the first PMOS tube is coupled to the second end of the resistor.
  • the first PMOS transistor is one and is identified by the letter "M3".
  • the gate of the first PMOS tube is the input terminal of the transformer circuit 13, which can be used to receive the input voltage, and the source of the first PMOS tube is changed.
  • the output terminal of the voltage circuit 13 can be used to output an output voltage.
  • the source of the first PMOS tube is the input terminal of the transformer circuit 13, which can be used to receive the input voltage, and the gate of the first PMOS tube is The output terminal of the transformer circuit 13 can be used to output an output voltage.
  • the structure of the resistor and the first PMOS tube is used to replace the existing pure resistance structure, wherein the two ends of the resistor are respectively coupled to the gate and drain of the first PMOS tube, that is, the coupling method of Diode, the first current The source 11 and the second current source 12 adjust the current flowing through the first PMOS tube to make the first PMOS tube work in the linear region.
  • the transformer circuit 13 converts the input voltage into an output voltage with a target value.
  • this application does not limit the specific number of the second PMOS transistors.
  • this application does not limit the specific number of the second PMOS transistors.
  • FIGS. 8 and 9 there is one second PMOS transistor and is identified by the letter "M4".
  • the second end of the resistor is the input terminal of the transformer circuit 13, which can be used to receive the input voltage.
  • the source of the second PMOS transistor is the transformer
  • the output terminal of the circuit 13 can be used to output the output voltage.
  • the source of the second PMOS tube is the input terminal of the transformer circuit 13, which can be used to receive the input voltage, and the second end of the resistor is the transformer.
  • the output terminal of the voltage circuit 13 can be used to output an output voltage.
  • the resistor and the second PMOS structure are used to replace the existing pure resistor structure, wherein the two ends of the resistor are respectively coupled to the gate and the drain of the second PMOS, that is, the Diode coupling mode, the first current source 11 And the second current source 12 adjusts the current flowing through the second PMOS so that the second PMOS works in the saturation region or the sub-threshold region.
  • the transformer circuit 13 converts the input voltage into an output voltage with a target value.
  • the transistor is a transistor
  • the following four feasible implementation modes are used to describe the specific structure of the level conversion circuit 10.
  • the first NPN is one and is identified by the letter "N1".
  • the base of the first NPN is usually coupled with a resistor, which is not shown in FIGS. 10 and 11.
  • the transmitter of the first NPN can be used to receive the input voltage of the transformer circuit 13 and the base of the first NPN is the transformer circuit
  • the output terminal of 13 can be used to output the output voltage.
  • the base of the first NPN is the input terminal of the transformer circuit 13, which can be used to receive the input voltage, and the transmitter of the first NPN is transformer.
  • the output terminal of the circuit 13 can be used to output the output voltage.
  • the structure of the resistor and the first NPN is used to replace the existing pure resistance structure, wherein the two ends of the resistor are respectively coupled to the base and collector of the first NPN, that is, the coupling method of Diode, the first current source 11 And the second current source 12 adjusts the current flowing through the first NPN so that the first NPN works in the linear region.
  • the transformer circuit 13 has a better effect of converting the input level into the output voltage with the amplitude of the target value.
  • this application does not limit the specific number of the second NPN.
  • the second NPN is one and is identified by the letter "N2".
  • the base of the second NPN is usually coupled with a resistor, which is not shown in FIGS. 12 and 13.
  • the transmitter of the second NPN is the input terminal of the transformer circuit 13, which can be used to receive the input voltage, and the second end of the resistor is the transformer circuit The output terminal of 13 can be used to output the output voltage.
  • the second end of the resistor is the input terminal of the transformer circuit 13, which can be used to receive the input voltage.
  • the transmitter of the second NPN is extremely transformer
  • the output terminal of the circuit 13 can be used to output the output voltage.
  • the resistor and the second NPN structure are used to replace the existing pure resistance structure, wherein the two ends of the resistor are respectively coupled to the base and collector of the second NPN, that is, the coupling method of Diode, the first current source 11 And the second current source 12 adjusts the current flowing through the second NPN so that the second NPN works in the saturation region or the sub-threshold region.
  • the transformer circuit 13 converts the input voltage into an output voltage with a target value.
  • the first PNP is one and is identified by the letter "N3".
  • the base of the first PNP is usually coupled with a resistor, which is not shown in FIGS. 14 and 15.
  • the base of the first PNP is the input terminal of the transformer circuit 13, which can be used to receive the input voltage
  • the transmitter of the first PNP is the transformer circuit
  • the output terminal of 13 can be used to output the output voltage
  • the transmitter of the first PNP can be used to receive the input voltage.
  • the base electrode of the first PNP can be used to transform the voltage.
  • the output terminal of the circuit 13 can be used to output the output voltage.
  • the structure of the resistor and the first PNP is used to replace the existing pure resistance structure, wherein the two ends of the resistor are respectively coupled to the base and collector of the first PNP, that is, the coupling method of Diode, the first current source 11 And the second current source 12 adjusts the current flowing through the first PNP so that the first PNP works in the linear region.
  • the transformer circuit 13 has a better effect of converting the input voltage into the output voltage with the amplitude of the target value.
  • the base of the second PNP is coupled to the first end of the resistor.
  • this application does not limit the specific number of the second PNP.
  • the second PNP is one and is identified by the letter "N4".
  • the base of the second PNP is usually coupled with a resistor, which is not shown in FIGS. 16 and 17.
  • the second end of the resistor is the input terminal of the transformer circuit 13, which can be used to receive the input voltage.
  • the transmitter of the second PNP is the transformer circuit
  • the output terminal of 13 can be used to output the output voltage.
  • the emitter of the second PNP is the input terminal of the transformer circuit 13, which can be used to receive the input voltage, and the second end of the resistor is the transformer.
  • the output terminal of the circuit 13 can be used to output an output voltage.
  • the existing pure resistance structure is replaced by the structure of the resistor and the second PNP.
  • the two ends of the resistor are respectively coupled to the base and collector of the second PNP, that is, the coupling method of Diode, the first current source 11
  • the second current source 12 adjusts the current flowing through the second PNP so that the second PNP works in the saturation region or the sub-threshold region.
  • the transformer circuit 13 converts the input level into an output voltage whose amplitude is the target value. The effect is better.
  • transformer circuit 13 is only partial implementations of the transformer circuit 13, and the transformer circuit 13 in this application can also adopt other methods, as long as the transformer circuit 13 includes coupled resistors and transistors.
  • the transformer circuit 13 may also include a capacitor (the capacitor is identified by the letter "C" in FIGS. 2-17), and the capacitor is coupled in parallel to the transformer circuit 13 Between the input end and the output end to obtain better noise performance and high frequency performance.
  • the second end of the first current source 11 is used to receive the first feedback signal
  • the second end of the second current source 12 is used to receive the first feedback signal.
  • Feedback signal is usually voltages of different amplitudes.
  • the first current source 11 and the second current source 12 can adjust their own currents respectively to achieve the Adjustment of the current of the transformer circuit 13.
  • the first current source 11 adjusts the current of the first current source 11 according to the first feedback signal, so that the current of the first current source 11 and the current of the second current source 12 are equal.
  • the second current source 12 adjusts the current of the second current source 12 according to the second feedback signal, so that the current of the second current source 12 is equal to the current of the first current source 11.
  • the process of adjusting its own current by the first current source 11 and the process of adjusting its own current by the second current source 12 can be performed simultaneously, in no particular order in time sequence.
  • the level conversion circuit provided by the present application can form a loop through the first current source, the resistors and transistors in the transformer circuit, and the second current source, so that the first current source and the second current source can adjust the flow through the transformer circuit
  • the current so that the transformer circuit can convert the received input voltage into an output voltage.
  • the transformer circuit can directly output the amplitude to the target value Value of the output voltage.
  • the first current source and the second current source can adjust the current flowing through the transformer circuit through the coupling with the resistor and the transistor, so that the transformer circuit can output the target amplitude Value of the output voltage to achieve the step-up or step-down of the level conversion circuit.
  • the transformer circuit since the transformer circuit includes coupled resistors and transistors, the existing pure resistance structure is replaced with a resistor and transistor structure, which reduces the impedance of the level conversion circuit and optimizes the noise performance of the level conversion circuit. Reduce the linearity loss of the level conversion circuit.
  • FIG. 18 is a schematic diagram of the level conversion circuit 10 of the present application based on the structure shown in FIG. 1a.
  • the level conversion circuit 10 may further include: a first control circuit 14.
  • the input terminal of the first control circuit 14 is coupled to the output terminal of the transformer circuit 13, the output terminal of the transformer circuit 13 is used to output an output voltage, and the first output terminal of the first control circuit 14 is coupled to the first current source 11 Two terminals, the second output terminal of the first control circuit 14 is coupled to the second terminal of the second current source 12.
  • the output terminal of the transformer circuit 13 samples the number "1"
  • the second terminal of the first current source 11 uses the number "2”
  • the second terminal of the second current source 12 uses the number " 2" identification
  • the input terminal of the first control circuit 14 adopts the number “1” identification
  • the first output terminal of the first control circuit 14 adopts the number “2” identification
  • the second output terminal of the first control circuit 14 adopts the number “3” "Identification.
  • the first control circuit 14 may receive the output voltage from the transformer circuit 13, and then determine whether the current amplitude of the output voltage is the target value. Furthermore, when the current amplitude of the output voltage is not the target value, the first control circuit 14 may send a first feedback signal to the first current source 11 and a second feedback signal to the second current source 12, so that the first current The source 11 can adjust its own current according to the first feedback signal. At the same time, the second current source 12 can adjust its own circuit according to the second feedback signal, so that the current of the first current source 11 and the current of the second current source 12 are the same. In this way, the adjustment of the current flowing through the transformer circuit 13 is jointly realized, so that the transformer circuit 13 can output an output voltage whose amplitude is the target value.
  • the first control circuit 14 may respectively provide the first current source 11 and the second current source 12 with the first feedback signal and the first feedback signal indicating that the amplitude of the output voltage is the target value.
  • Two feedback signals so that the first current source 11 and the second current source 12 do not need to adjust the current flowing through the transformer circuit 13 and continue to maintain the current, so that the transformer circuit 13 can directly output an output with a target amplitude Voltage, it is also possible not to output the first feedback signal and the second feedback signal to the first current source 11 and the second current source 12 respectively, so that the first current source 11 and the second current source 12 have not received the voltage after the preset time
  • the preset duration can be set according to actual experience values, which is not limited in this application.
  • the present application can also combine the structure shown in FIG. 1b and the first control circuit 14 to form the level conversion circuit 10 of the present application.
  • the specific working principle refer to the description shown in FIG. 18, which will not be repeated here.
  • the transistors in the first current source 11, the second current source 12, and the first control circuit 14 may be of the same type, or may be of different types. It can be one or multiple, which is not limited in this application.
  • the first current source 11, the second current source 12, and the first control circuit 14 are exemplarily illustrated by using a current mirror implementation.
  • the first current source 11 includes: a third PMOS tube
  • the second current source 12 includes: a third NMOS tube
  • the first control circuit 14 includes: a voltage feedback circuit, a fourth PMOS tube, and a fourth NMOS tube .
  • the voltage feedback circuit may be a component such as a processor, which is not limited in this application.
  • the transformer circuit 13 is illustrated with the structure shown in FIG. 2 as an example.
  • the third PMOS tube is a PMOS tube as an example, and the letter "Q1" is used to identify the third NMOS tube.
  • the letter "Q2" is used for identification
  • the fourth PMOS tube is identified by a PMOS tube with the letter "Q3”
  • the fourth NMOS tube is identified by an NMOS tube with the letter "Q4".
  • the source of the third PMOS tube is coupled with a power supply level, that is, the power supply level on the power supply terminal of the first current source 11, the drain of the third PMOS tube is coupled to the second end of the resistor, and the power supply level of the third PMOS tube is The gate is the second end of the first current source 11, and the gate of the third PMOS transistor is coupled to the gate of the fourth PMOS transistor.
  • the drain of the third NMOS transistor is coupled to the source of the transistor, the source of the third NMOS transistor is grounded, the gate of the third NMOS transistor is the second end of the second current source 12, and the gate of the third NMOS transistor is coupled to the The grid of four NMOS tubes.
  • the source of the fourth PMOS tube is coupled with a power supply voltage (the power supply voltage is the same as the power supply voltage coupled to the source of the third PMOS tube), and the gate and drain of the fourth PMOS tube are both coupled to the drain of the fourth NMOS tube ,
  • the source of the fourth NMOS tube is grounded, the gate of the fourth NMOS tube is also coupled to the output terminal of the voltage feedback circuit, the input terminal of the voltage feedback circuit is the input terminal of the first control circuit 14, and the input terminal of the voltage feedback circuit is coupled To the output terminal of the transformer circuit 13.
  • the voltage feedback circuit may receive the output voltage from the output terminal of the transformer circuit 13, and then determine whether the current amplitude of the output voltage is the target value. Furthermore, when the current amplitude of the output voltage is not the target value, the voltage feedback circuit can send an adjustment signal to the fourth NMOS tube (in Figure 19, the letter "Vctrl" is used for identification).
  • the fourth PMOS tube in the first control circuit 14 can be used as the current mirror of the third PMOS tube, the fourth PMOS tube sends the first feedback signal to the third PMOS tube, and the fourth NMOS tube in the first control circuit 14 It can be used as a current mirror of the third NMOS tube, and the fourth NMOS tube sends the second feedback signal to the third NMOS tube.
  • the adjustment signal can send the first feedback signal to the third PMOS transistor via the fourth NMOS tube and the fourth PMOS tube to adjust the current of the third PMOS tube.
  • the adjustment signal can send a second feedback signal to the third NMOS tube through the fourth NMOS tube to adjust the current of the third NMOS tube, and to ensure the current of the third PMOS tube and the current of the third NMOS tube.
  • the adjustment of the current flowing through the transformer circuit 13 is realized.
  • this application does not limit the number of fourth PMOS transistors and fourth NMOS transistors.
  • the fourth PMOS tube and the fourth NMOS tube may be integrated with the voltage feedback circuit, or may be provided separately from the voltage feedback circuit, which is not limited in this application.
  • the impedance of the level conversion circuit 10 of the present application and the impedance of the level conversion circuit adopting a pure resistance structure are analyzed in conjunction with FIG. 20 and FIG. 21. comparative analysis.
  • FIG. 20 shows an equivalent small signal model of the level conversion circuit 10 of the present application.
  • the first current source 11 the second current source 12, and the transformer
  • the voltage circuit 13 is illustrated by taking the structure shown in FIG. 2 as an example.
  • the equivalent impedance R eq (excluding the capacitor and current source) of the level conversion circuit 10 of the present application is calculated by the following formula:
  • g m is the transconductance of M1
  • r ds is the small signal impedance of M1
  • R eq is the equivalent impedance (ie, AC impedance).
  • the resistance value R'required to generate the output voltage conversion with the target value is calculated as:
  • I D is the current flowing through the level conversion circuit using a pure resistance structure
  • K is a constant
  • V GS is the voltage difference of the level conversion circuit using a pure resistance structure or the level conversion circuit 10 of the present application
  • V TH is The threshold voltage of the transistor in the level shift circuit 10 of the present application (the transistor is a MOS transistor as an example)
  • V DS is the voltage difference between the source and drain of the MOS transistor in the level shift circuit 10 of the present application
  • R' is the voltage of the pure resistance structure.
  • the transfer function from the input voltage (that is, the input signal) to the output voltage (the output signal) is:
  • v in is the input signal
  • v out is the output signal
  • R ls is the impedance of the level conversion circuit 10 of the application
  • R tail is the current source impedance. Since the current source is usually a MOS tube, the impedance R tail of the MOS tube will change with the change of the signal. Therefore, the smaller the R ls , the better the linearity.
  • R eq is about half of R', so the present application
  • the linearity of the level conversion circuit 10 is better, and the noise contribution brought by the smaller impedance will be smaller.
  • the current-voltage curve of the transistor in the level conversion circuit 10 of the present application shows the current-voltage curve of the transistor in the level conversion circuit 10 of the present application and its DC resistance and AC resistance curves.
  • the abscissa IDS of the curve is the current flowing through the level conversion circuit 10 of the present application
  • the ordinate V GS is the voltage difference of the level conversion circuit 10 of this application.
  • the first current source 11, the second current source 12, and the transformer circuit 13 take the structure shown in FIG. 4 as an example, and the transistor adopts a MOS tube as an example. Give a gesture.
  • the resistance value R'of the level conversion circuit with pure resistance structure is calculated as:
  • the IV curve of the second NMOS tube in FIG. 4 is similar to an exponential curve.
  • the AC impedance of the second MOS tube is smaller than the DC impedance.
  • the equivalent impedance R eq of the level conversion circuit 10 of the present application is equal to the AC impedance of the MOS tube, and the resistance value R′ of the level conversion circuit adopting a pure resistance structure is equal to the DC impedance of the second MOS tube, R eq Less than R'. Therefore, compared with a level conversion circuit adopting a pure resistance structure, the level conversion circuit 10 of the present application has better linearity and less noise contribution.
  • the level conversion circuit 10 of the present application may further include: M first current sources 11, M second current sources 12.
  • M transformer circuits 13 and second control circuit 15, M is a positive integer.
  • FIG. 22 only illustrates the level conversion circuit 10 on the basis of FIG. 1a.
  • any pair of M+1 first current source 11, M+1 second current source 12, and M+1 transformer circuit 13 the first current source 11, the second current source 12, and The specific implementation of the transformer circuit 13 can be referred to the description of the embodiments shown in FIG. 1a, FIG. 1b-FIG. 21 in this application, and will not be repeated here.
  • the M+1 input terminals of the second control circuit 15 (identified by the letter "IN(i)" in FIG. 22, 1 ⁇ i ⁇ M, and i is a positive integer) pass through and M+1 transformers
  • the output terminals of the circuit 13 (identified by the letter "OUT" in Figure 22) are coupled in a one-to-one correspondence, and can receive an output voltage from each transformer circuit 13 to obtain the M+1 output voltage, and then determine the M+1 output voltage Whether the mean amplitude is the target value.
  • the second control circuit 15 can first sum the amplitudes of the M+1 output voltages, and then take the average value to obtain the average amplitude of the M+1 output voltages, or other algorithms (such as taking M+1 The arithmetic square root of the amplitude of the output voltage) calculates the mean value of the amplitude of the M+1 output voltages, which is not limited in this application.
  • the second control circuit 15 can reduce the current flowing through the transformer circuit 13 through the first current source 11 and the second current source 12, so that the amplitude of the output voltage is The average value becomes smaller to adjust to the target value.
  • the second control circuit 15 can increase the current flowing through the transformer circuit 13 through the first current source 11 and the second current source 12, so that the average amplitude of the output voltage changes Large to adjust to the target value.
  • the second control circuit 15 can maintain the current flowing through the transformer circuit 13 through the first current source 11 and the second current source 12, so that the transformer circuit 13 can output amplitude.
  • the average value is the output voltage of the target value.
  • the M+1 first output terminals of the second control circuit 15 (identified by the letter “OUT1(i)” in FIG. 22, 1 ⁇ i ⁇ M, and i is a positive integer) pass through and M+1
  • the second terminal of the first current source 11 (identified by the letter “ADJ” in FIG. 22) is coupled in one-to-one correspondence, and the M+1 second output terminal of the second control circuit 15 (the letter "OUT2(i) in FIG. 22) ”Mark, 1 ⁇ i ⁇ M, and i is a positive integer) through a one-to-one correspondence coupling with the second end of the M+1 second current source 12 (identified by the letter “ADJ” in Fig.
  • the first feedback signal can be sent to each first current source 11, and the second feedback signal can be sent to each second current source 12, that is, M+1 first The current sources 11 will all receive the first feedback signal, and the M+1 second current sources 12 will all receive the second feedback signal.
  • the first feedback signal and the second feedback signal are used to indicate that the average value of the amplitude of the M+1 output voltage is not the target value.
  • the first current source 11 receives the first feedback signal and the second current source 12 receives the second feedback
  • the first current source 11 and the second current source 12 can adjust the current flowing through the transformer circuit 13, so that the average value of the output voltage output by the M+1 transformer circuits 13 is the target value, Improve the accuracy of output voltage.
  • the application does not limit the specific implementation of the second control circuit 15.
  • the second control circuit 15 includes any one of a processor, a comparator with common mode feedback, or a comparator with common mode feedback and a buffer.
  • the second control circuit 15 uses a comparator with common mode feedback (Sense Amplifier) and a level conversion circuit 10 with a comparator with common mode feedback and a buffer respectively to illustrate Gesture.
  • Sense Amplifier Sense Amplifier
  • level conversion circuit 10 with a comparator with common mode feedback and a buffer respectively to illustrate Gesture.
  • FIGS. 23 and 24 the first current source 11, the second current source 12, and the transformer circuit 13 are illustrated by taking the structure shown in FIG. 2 as an example.
  • the first current source 11, the second current source 12 and The number M of the transformer circuit 13 is 2.
  • one transistor is identified by the letter "Mp”, correspondingly, the input voltage is identified by the “Vinp”, the output voltage is identified by the “Voutp”, and the other transistor is identified by the letter “Mn” , Correspondingly, the input voltage adopts the “Vinn” label, and the output voltage adopts the "Voutn” label.
  • the level conversion circuit 10 is a differential LS with common mode feedback.
  • the output voltages (Voutp and Voutn) output by LS are Feedback comparator, the comparator with common mode feedback compares the average value of the output voltage amplitude (such as the average value of Voutp and Voutn) with the reference voltage (marked by the letter “Vref” in Figure 23, the amplitude is the target value) Generate two pairs of first feedback signal and second feedback signal, and output the corresponding first feedback signal to each first current source 11 and output the corresponding second feedback signal to each second current source 12 , So that any one of the first current source 11 and the corresponding second current source 12 adjusts the corresponding current flowing through the transformer circuit 13 to achieve the purpose of common mode feedback.
  • the level conversion circuit 10 is a differential LS with common mode feedback and a buffer.
  • the output voltage (Voutp and Voutn ) Through the buffer, the buffer can adopt a source follower structure, and the MOS tube in the buffer and the MOS tube in the transformer circuit 13 usually adopt the same type, which can reduce the process-voltage-temperature (Process-Voltage- Temperature, PVT) influence on output common mode.
  • PVT Process-Voltage- Temperature
  • the Buffer outputs the output common mode to the comparator with common mode feedback, and the comparator with common mode feedback compares the output voltage with the reference voltage (in Figure 24, it is marked with the letter "Vref" and the amplitude is the target value).
  • the magnitude of the amplitude, two pairs of the first feedback signal and the second feedback signal are generated, and the corresponding first feedback signal is output to each first current source 11 and the corresponding second feedback signal is output to each second current source 12, Make any one of the first current source 11 and each corresponding second current source 12 adjust the corresponding current flowing through the transformer circuit 13, so as to achieve the purpose of common mode feedback and solve the problem of buffer input/output common mode mismatch , And at the same time reduce the adverse effects of LS to a relatively low level.
  • the level conversion circuit 10 in Fig. 23 and Fig. 24 can control the output common mode.
  • the driving capability requirement of the signal source can be reduced, and the common mode feedback process can be realized.
  • Solve the problem of input and output common mode mismatch make the output common mode controllable, eliminate the DC current of the level conversion circuit 10 to the previous circuit, and reduce the impact on the previous circuit.
  • the level conversion circuit 10 can not only adopt a structure including a first current source 11, a second current source 12, a transformer circuit 13 and a first control circuit 14 as shown in FIG. 1a or FIG. 1b.
  • the structure shown in FIG. 22 including M+1 first current sources 11, M+1 second current sources 12, M+1 transformer circuits 13 and second control circuit 15 can also be adopted.
  • a circuit or unit or device or electronic device
  • multiple level conversion circuits 10 such as any one of the above methods or including the above two methods, which can convert one or more input voltages into different
  • the amplitude of the output voltage can also realize the process of step-up and step-down at the same time, which provides various possibilities for the level conversion process and improves the processing efficiency of the circuit.
  • FIG. 25 is a schematic structural diagram of an electronic device provided by this application.
  • the electronic device may include: an input terminal circuit 20, an output terminal circuit 30, and at least one level conversion circuit 10.
  • the level conversion circuit 10 is coupled to the input terminal circuit 20 for receiving the input voltage from the input terminal circuit 20.
  • the level conversion circuit 10 is coupled to the output terminal circuit 30 for sending an output voltage to the output terminal circuit 30.
  • the input terminal circuit and the output terminal circuit may include various forms, and the structure of the level conversion circuit 10 can refer to the description in the above-mentioned embodiment, which is not repeated here.
  • the level conversion circuit 10 can be integrated with the input circuit 20, can also be integrated with the output circuit 30, or can be separately provided, which is not limited in this application.
  • electronic devices may include, but are not limited to: terminal devices such as mobile phones, tablet computers, desktop computers, notebooks, etc., logic operation chips, high and low voltage switching phase locked loop (Phase Locked Loop, PLL) phase detectors and differential Signal level converter, etc.
  • terminal devices such as mobile phones, tablet computers, desktop computers, notebooks, etc.
  • logic operation chips high and low voltage switching phase locked loop (Phase Locked Loop, PLL) phase detectors and differential Signal level converter, etc.
  • PLL Phase Locked Loop

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Amplifiers (AREA)
  • Logic Circuits (AREA)

Abstract

The present application provides a level shift circuit and an electronic device. The level shift circuit comprises: a first current source, a second current source, and a voltage-variable circuit. The voltage-variable circuit comprises: a resistor and a transistor coupled. A drain of the transistor is coupled to a first end of the resistor, a second end of the resistor is coupled to the first current source, a source of the transistor is coupled to the second current source, and a gate of the transistor is coupled to the first end or second end of the resistor. Therefore, the impedance in the level shift process is reduced, the noise performance of the level shift circuit is optimized, and the linearity loss of the level shift circuit is reduced.

Description

电平转换电路和电子设备Level conversion circuit and electronic equipment 技术领域Technical field
本申请涉及电子技术领域,尤其涉及一种电平转换电路和电子设备。This application relates to the field of electronic technology, and in particular to a level conversion circuit and electronic equipment.
背景技术Background technique
在模拟信号的处理过程中,通常需要对模拟信号的直流电(Direct Current,DC)电压或者共模电压进行升压或者降压处理,在此过程中需要尽可能的保留该模拟信号的原有特征,例如,从DC到高频率带宽范围内信号的幅度、信号的线性度、信号的噪声等,同时,也需要尽可能的降低功耗。In the process of analog signal processing, it is usually necessary to boost or step down the direct current (DC) voltage or common mode voltage of the analog signal. In this process, it is necessary to preserve the original characteristics of the analog signal as much as possible For example, from DC to high frequency bandwidth range of signal amplitude, signal linearity, signal noise, etc., at the same time, it is also necessary to reduce power consumption as much as possible.
电平转换电路可以实现DC电压或者共模电压的转换。例如,电平转换电路可以采用电阻和电容(RC)的结构,可以将输入电压值(如DC电平)转换至目标值,再利用推挽式输入缓冲器(Input Buffer)对该输入电压进行缓冲和输入,使得输入电压和输出电压的幅值基本保持不变。又如,电平转换电路可以采用纯电阻的结构,并利用带共模反馈的电路,检测输出电压(如共模电压)是否为目标值,并依据检测结果对纯电阻的接入幅值进行动态调整,以实现电平转换。The level conversion circuit can realize the conversion of DC voltage or common mode voltage. For example, the level conversion circuit can adopt a resistor and capacitor (RC) structure, and can convert the input voltage value (such as DC level) to the target value, and then use a push-pull input buffer to perform the input voltage Buffer and input so that the amplitude of input voltage and output voltage remain basically unchanged. For another example, the level conversion circuit can adopt the structure of pure resistance, and use the circuit with common mode feedback to detect whether the output voltage (such as the common mode voltage) is the target value, and perform the access amplitude of the pure resistance according to the detection result. Dynamic adjustment to achieve level conversion.
然而,目前采用的电平转换电路,不仅噪声较大、线性度较差,还容易造成前级电路的不良影响。However, the currently used level conversion circuit not only has high noise and poor linearity, but also easily causes adverse effects on the previous circuit.
发明内容Summary of the invention
本申请提供一种电平转换电路和电子设备,以改善现有电平转换电路带来的噪声较大和线性度较差的问题,减小了电平转换过程的阻抗,优化了电平转换电路的噪声性能,降低了电平转换电路的线性度损失。The application provides a level conversion circuit and electronic equipment to improve the problems of large noise and poor linearity caused by the existing level conversion circuit, reduce the impedance of the level conversion process, and optimize the level conversion circuit The noise performance reduces the linearity loss of the level conversion circuit.
第一方面,本申请提供一种电平转换电路,包括:第一电流源、第二电流源和变压电路。变压电路包括电阻和晶体管,其中晶体管的漏极耦合至电阻的第一端,电阻的第二端耦合至第一电流源,晶体管的源极耦合至第二电流源,晶体管的栅极耦合至电阻的第一端或电阻的第二端。In the first aspect, the present application provides a level conversion circuit, including: a first current source, a second current source, and a transformer circuit. The transformer circuit includes a resistor and a transistor, wherein the drain of the transistor is coupled to the first end of the resistor, the second end of the resistor is coupled to the first current source, the source of the transistor is coupled to the second current source, and the gate of the transistor is coupled to The first end of the resistor or the second end of the resistor.
其中,场效应管(field effect transistor,FET)。例如,该场效应管可以包括结型场效应晶体管(junction field-effect transistor,JFET)、金属氧化物半导体场效应晶体管(metal oxide semiconductor FET,MOSFET)和V型槽场效应晶体管(V-groove metal-oxide semiconductor FET,VMOSFET)三种,MOSFET可以包括N型金属氧化物半导体场效晶体管(NMOSFET,简称NMOS管)和P型金属氧化物半导体场效晶体管(PMOSFET,简称PMOS管)两种。Among them, the field effect transistor (field effect transistor, FET). For example, the field effect transistor may include junction field-effect transistor (JFET), metal oxide semiconductor field-effect transistor (metal oxide semiconductor FET, MOSFET), and V-groove field effect transistor (V-groove metal -oxide semiconductor FET, VMOSFET), MOSFET can include N-type metal oxide semiconductor field effect transistor (NMOSFET, referred to as NMOS tube) and P-type metal oxide semiconductor field effect transistor (PMOSFET, referred to as PMOS tube).
通过第一方面提供的电平转换电路,通过晶体管的漏极耦合至电阻的第一端,电阻的第二端耦合至第一电流源,晶体管的源极耦合至第二电流源,晶体管的栅极耦合至 电阻的第一端或电阻的第二端,使得第一电流源、变压电路和第二电流源构成一个回路。从而,第一电流源和第二电流源可以调节流经变压电路的电流,使得变压电路可以将接收到的输入电压转换为输出电压。本申请中,由于变压电路包括耦合的电阻和晶体管,将现有的纯电阻结构替换成电阻和晶体管的结构,减小了电平转换电路的阻抗,优化了电平转换电路的噪声性能,降低了电平转换电路的线性度损失。With the level conversion circuit provided by the first aspect, the drain of the transistor is coupled to the first end of the resistor, the second end of the resistor is coupled to the first current source, the source of the transistor is coupled to the second current source, and the gate of the transistor is The pole is coupled to the first end of the resistor or the second end of the resistor, so that the first current source, the transformer circuit, and the second current source form a loop. Thus, the first current source and the second current source can adjust the current flowing through the transformer circuit, so that the transformer circuit can convert the received input voltage into an output voltage. In this application, since the transformer circuit includes coupled resistors and transistors, the existing pure resistance structure is replaced with a resistor and transistor structure, which reduces the impedance of the level conversion circuit and optimizes the noise performance of the level conversion circuit. Reduce the linearity loss of the level conversion circuit.
在一种可能的设计中,晶体管为第一NMOS管,第一NMOS管的栅极耦合至电阻的第二端。In a possible design, the transistor is a first NMOS tube, and the gate of the first NMOS tube is coupled to the second end of the resistor.
为了实现变压电路的升压过程,第一NMOS管的源极为变压电路的输入端,可以用于接收输入电压,第一NMOS管的栅极为变压电路的输出端,可以用于输出输出电压。In order to realize the step-up process of the transformer circuit, the source of the first NMOS tube is the input terminal of the transformer circuit, which can be used to receive the input voltage, and the gate of the first NMOS tube is the output terminal of the transformer circuit, which can be used to output output Voltage.
为了实现变压电路的降压过程,第一NMOS管的栅极为变压电路的输入端,可以用于接收输入电压,第一NMOS管的源极为变压电路的输出端,可以用于输出输出电压。In order to realize the step-down process of the transformer circuit, the gate of the first NMOS tube is the input terminal of the transformer circuit, which can be used to receive input voltage, and the source of the first NMOS tube is the output terminal of the transformer circuit, which can be used to output output Voltage.
通过该实施方式提供的电平转换电路,采用电阻和第一NMOS管的结构替换了现有的纯电阻结构,其中,电阻的两端分别耦合第一NMOS管的栅极和漏极,即二极管(Diode)的耦合方式,第一电流源和第二电流源通过调整流经第一NMOS管的电流,使得第一NMOS管工作在线性区(linear region),这样,变压电路将输入电压转换成幅值为目标值的输出电压的效果更佳。The level conversion circuit provided by this embodiment adopts the structure of a resistor and a first NMOS transistor to replace the existing pure resistance structure, wherein the two ends of the resistor are respectively coupled to the gate and drain of the first NMOS transistor, that is, the diode (Diode) coupling mode, the first current source and the second current source adjust the current flowing through the first NMOS tube so that the first NMOS tube works in a linear region. In this way, the transformer circuit converts the input voltage The output voltage whose amplitude is the target value is more effective.
在一种可能的设计中,晶体管为第二NMOS管,第二NMOS管的栅极耦合至电阻的第一端。In a possible design, the transistor is a second NMOS tube, and the gate of the second NMOS tube is coupled to the first end of the resistor.
为了实现变压电路的升压过程,第二NMOS管的源极为变压电路的输入端,可以用于接收输入电压,电阻的第二端为变压电路的输出端,可以用于输出输出电压。In order to realize the boost process of the transformer circuit, the source of the second NMOS tube is the input terminal of the transformer circuit, which can be used to receive the input voltage, and the second end of the resistor is the output terminal of the transformer circuit, which can be used to output the output voltage. .
为了实现变压电路的降压过程,电阻的第二端为变压电路的输入端,可以用于接收输入电压,第二NMOS管的源极为变压电路的输出端,可以用于输出输出电压。In order to realize the step-down process of the transformer circuit, the second terminal of the resistor is the input terminal of the transformer circuit, which can be used to receive input voltage, and the source of the second NMOS tube is the output terminal of the transformer circuit, which can be used to output output voltage. .
通过该实施方式提供的电平转换电路,采用电阻和第二NMOS管的结构替换了现有的纯电阻结构,其中,电阻的两端分别耦合第二NMOS管的栅极和漏极,即Diode的耦合方式,第一电流源和第二电流源通过调整流经第二NMOS管的电流,使得第二NMOS管工作在饱和区或者亚阈值区,这样,变压电路将输入电压转换成幅值为目标值的输出电压的效果更佳。The level conversion circuit provided by this embodiment adopts a resistor and a second NMOS tube structure to replace the existing pure resistance structure, wherein the two ends of the resistor are coupled to the gate and drain of the second NMOS tube respectively, that is, Diode The first current source and the second current source adjust the current flowing through the second NMOS tube so that the second NMOS tube works in the saturation region or the sub-threshold region. In this way, the transformer circuit converts the input voltage into an amplitude The output voltage of the target value is more effective.
在一种可能的设计中,晶体管为第一PMOS管,第一PMOS管的栅极耦合至电阻的第二端。In a possible design, the transistor is a first PMOS tube, and the gate of the first PMOS tube is coupled to the second end of the resistor.
为了实现变压电路的升压过程,第一PMOS管的栅极为变压电路的输入端,可以用于接收输入电压,第一PMOS管的源极为变压电路的输出端,可以用于输出输出电压。In order to realize the step-up process of the transformer circuit, the gate of the first PMOS tube is the input terminal of the transformer circuit, which can be used to receive the input voltage, and the source of the first PMOS tube is the output terminal of the transformer circuit, which can be used to output output Voltage.
为了实现变压电路的升压过程,第一PMOS管的源极为变压电路的输入端,可以用于接收输入电压,第一PMOS管的栅极为变压电路的输出端,可以用于输出输出电压。In order to realize the step-up process of the transformer circuit, the source of the first PMOS tube is the input terminal of the transformer circuit, which can be used to receive the input voltage, and the gate of the first PMOS tube is the output terminal of the transformer circuit, which can be used to output output Voltage.
通过该实施方式提供的电平转换电路,采用电阻和第一PMOS管的结构替换了现有的纯电阻结构,其中,电阻的两端分别耦合第一PMOS管的栅极和漏极,即Diode的耦合 方式,第一电流源和第二电流源通过调整流经第一PMOS管的电流,使得第一PMOS管工作在线性区,这样,变压电路将输入电压转换成幅值为目标值的输出电压的效果更佳。The level conversion circuit provided by this embodiment uses a resistor and a first PMOS tube structure to replace the existing pure resistance structure, wherein the two ends of the resistor are respectively coupled to the gate and drain of the first PMOS tube, that is, Diode The first current source and the second current source adjust the current flowing through the first PMOS tube to make the first PMOS tube work in the linear region. In this way, the transformer circuit converts the input voltage into a target value The output voltage effect is better.
在一种可能的设计中,晶体管为第二PMOS管,第二PMOS管的栅极耦合至电阻的第一端。In a possible design, the transistor is a second PMOS tube, and the gate of the second PMOS tube is coupled to the first end of the resistor.
为了实现变压电路的升压过程,电阻的第二端为变压电路的输入端,可以用于接收输入电压,第二PMOS管的源极为变压电路的输出端,可以用于输出输出电压。In order to realize the step-up process of the transformer circuit, the second end of the resistor is the input terminal of the transformer circuit, which can be used to receive the input voltage, and the source of the second PMOS tube is the output terminal of the transformer circuit, which can be used to output the output voltage. .
为了实现变压电路的降压过程,第二PMOS管的源极为变压电路的输入端,可以用于接收输入电压,电阻的第二端为变压电路的输出端,可以用于输出输出电压。In order to realize the step-down process of the transformer circuit, the source of the second PMOS tube is the input terminal of the transformer circuit, which can be used to receive the input voltage, and the second end of the resistor is the output terminal of the transformer circuit, which can be used to output the output voltage. .
通过该实施方式提供的电平转换电路,采用电阻和第二PMOS的结构替换了现有的纯电阻结构,其中,电阻的两端分别耦合第二PMOS的栅极和漏极,即Diode的耦合方式,第一电流源和第二电流源通过调整流经第二PMOS的电流,使得第二PMOS工作在饱和区或者亚阈值区,这样,变压电路将输入电压转换成幅值为目标值的输出电压的效果更佳。The level conversion circuit provided by this embodiment uses a resistor and a second PMOS structure to replace the existing pure resistance structure, wherein the two ends of the resistor are respectively coupled to the gate and drain of the second PMOS, that is, the coupling of the diode In this way, the first current source and the second current source adjust the current flowing through the second PMOS so that the second PMOS works in the saturation region or the sub-threshold region. In this way, the transformer circuit converts the input voltage into a target value The output voltage effect is better.
在一种可能的设计中,变压电路还包括:电容,电容并联耦合在变压电路的输入端与输出端之间,以获得更好的噪声性能和高频性能。In a possible design, the transformer circuit further includes a capacitor, which is coupled in parallel between the input terminal and the output terminal of the transformer circuit to obtain better noise performance and high frequency performance.
在一种可能的设计中,第一电流源和第二电流源,用于分别调节第一电流源的电流和第二电流源的电流,使得所述第一电流源的电流和所述第二电流源的电流相等。从而,第一电流源和第二电流源可以调节流经变压电路的电流。In a possible design, the first current source and the second current source are used to adjust the current of the first current source and the current of the second current source respectively, so that the current of the first current source and the second current source The currents of the current sources are equal. Thus, the first current source and the second current source can adjust the current flowing through the transformer circuit.
通常,当输出电压的幅值大于目标值时,第一电流源和第二电流源可以将流经变压电路的电流调小,使得输出电压的幅值变小,以调节至目标值。当输出电压的幅值小于目标值时,第一电流源和第二电流源可以将流经变压电路的电流调大,使得输出电压的幅值变大,以调节至目标值。当输出电压的幅值等于目标值时,第一电流源和第二电流源可以无需调节流经变压电路的电流,使得变压电路可以输出幅值为目标值的输出电压。Generally, when the amplitude of the output voltage is greater than the target value, the first current source and the second current source can reduce the current flowing through the transformer circuit, so that the amplitude of the output voltage becomes smaller to adjust to the target value. When the amplitude of the output voltage is less than the target value, the first current source and the second current source can increase the current flowing through the transformer circuit, so that the amplitude of the output voltage becomes larger to adjust to the target value. When the amplitude of the output voltage is equal to the target value, the first current source and the second current source do not need to adjust the current flowing through the transformer circuit, so that the transformer circuit can output the output voltage with the amplitude of the target value.
在一种可能的设计中,第一电流源,用于根据接收到的第一反馈信号,调节第一电流源的电流,第一反馈信号用于表示输出电压的幅值不为目标值。第二电流源,用于根据接收到的第二反馈信号,调节第二电流源的电流,第二反馈信号用于表示输出电压的幅值不为目标值。其中,第一反馈信号和第二反馈信号通常为不同幅值的电压。从而,实现对流经变压电路的电流的调节过程。In a possible design, the first current source is used to adjust the current of the first current source according to the received first feedback signal, and the first feedback signal is used to indicate that the amplitude of the output voltage is not the target value. The second current source is used to adjust the current of the second current source according to the received second feedback signal, and the second feedback signal is used to indicate that the amplitude of the output voltage is not the target value. Wherein, the first feedback signal and the second feedback signal are usually voltages of different amplitudes. Thus, the adjustment process of the current flowing through the transformer circuit is realized.
本申请中,第一电流源和第二电流源的实现方式可以采用可调电阻,也可以采用如MOS管或者晶体三极管(bipolar junction transistor,BJT)等,还可以为电阻和MOS管的组合,也可以为电阻和BJT的组合,也可以为电阻、MOS管和BJT的组合,本申请对此不做限定,只需满足第一电流源和第二电流源可以调节流经变压电路的电流即可。In this application, the implementation of the first current source and the second current source may adopt adjustable resistors, or may adopt MOS transistors or bipolar junction transistors (BJT), etc., and may also be a combination of resistors and MOS transistors. It can also be a combination of resistance and BJT, or a combination of resistance, MOS tube and BJT, this application is not limited to this, as long as the first current source and the second current source can adjust the current flowing through the transformer circuit OK.
在一种可能的设计中,电平转换电路还包括:第一控制电路。第一控制电路的输入端耦合至变压电路的输出端,第一控制电路的第一输出端耦合至第一电流源,第一控制电路的第二输出端耦合至第二电流源。第一控制电路,用于从变压电路接收输出电压。第一控制电路,还用于在确定输出电压的幅值不为目标值时,向第一电流源发送第一反馈信号,并向第二电流源发送第二反馈信号。In a possible design, the level conversion circuit further includes: a first control circuit. The input terminal of the first control circuit is coupled to the output terminal of the transformer circuit, the first output terminal of the first control circuit is coupled to the first current source, and the second output terminal of the first control circuit is coupled to the second current source. The first control circuit is used to receive the output voltage from the transformer circuit. The first control circuit is also used to send a first feedback signal to the first current source and a second feedback signal to the second current source when it is determined that the amplitude of the output voltage is not the target value.
在一种可能的设计中,第一电流源包括:第三PMOS管,第二电流源包括:第三NMOS管,第一控制电路包括:电压反馈电路、第四PMOS管和第四NMOS管。In a possible design, the first current source includes a third PMOS tube, the second current source includes a third NMOS tube, and the first control circuit includes a voltage feedback circuit, a fourth PMOS tube, and a fourth NMOS tube.
其中,第三PMOS管的源极耦合有供电电平,第三PMOS管的漏极耦合至电阻的第二 端,第三PMOS管的栅极耦合至第四PMOS管的栅极。第三NMOS管的漏极耦合至晶体管的源极,第三NMOS管的源极接地,第三NMOS管的栅极耦合至第四NMOS管的栅极。第四PMOS管的源极耦合有供电电压,第四PMOS管的栅极和漏极均耦合至第四NMOS管的漏极,第四NMOS管的源极接地,第四NMOS管的栅极还耦合至电压反馈电路的输出端,电压反馈电路的输入端为第一控制电路的输入端,电压反馈电路的输入端耦合至变压电路的输出端。Wherein, the source of the third PMOS tube is coupled with the power supply level, the drain of the third PMOS tube is coupled to the second end of the resistor, and the gate of the third PMOS tube is coupled to the gate of the fourth PMOS tube. The drain of the third NMOS tube is coupled to the source of the transistor, the source of the third NMOS tube is grounded, and the gate of the third NMOS tube is coupled to the gate of the fourth NMOS tube. The source of the fourth PMOS tube is coupled with the supply voltage, the gate and drain of the fourth PMOS tube are both coupled to the drain of the fourth NMOS tube, the source of the fourth NMOS tube is grounded, and the gate of the fourth NMOS tube is also The input terminal of the voltage feedback circuit is the input terminal of the first control circuit, and the input terminal of the voltage feedback circuit is coupled to the output terminal of the transformer circuit.
本申请中,电压反馈电路,用于从变压电路接收输出电压,并对输出电压的当前幅值是否为目标值进行判断。电压反馈电路,还用于在输出电压的幅值不为目标值时,向第四NMOS管发送调节信号,调节信号用于第四PMOS管向第三PMOS管发送第一反馈信号,及第四NMOS管向第三NMOS管发送第二反馈信号。In this application, the voltage feedback circuit is used to receive the output voltage from the transformer circuit and judge whether the current amplitude of the output voltage is the target value. The voltage feedback circuit is also used to send an adjustment signal to the fourth NMOS tube when the amplitude of the output voltage is not the target value. The adjustment signal is used for the fourth PMOS tube to send the first feedback signal to the third PMOS tube, and the fourth The NMOS tube sends the second feedback signal to the third NMOS tube.
其中,第一控制电路中的第四PMOS管可以作为第三PMOS管的电流镜,由第四PMOS管向第三PMOS管发送第一反馈信号,第一控制电路中的第四NMOS管可以作为第三NMOS管的电流镜,由第四NMOS管向第三NMOS管发送第二反馈信号。Among them, the fourth PMOS tube in the first control circuit can be used as the current mirror of the third PMOS tube, the fourth PMOS tube sends the first feedback signal to the third PMOS tube, and the fourth NMOS tube in the first control circuit can be used as The current mirror of the third NMOS tube sends the second feedback signal from the fourth NMOS tube to the third NMOS tube.
一方面,该调节信号经由第四NMOS管和第四PMOS管,可以向第三PMOS管发送第一反馈信号,以调节第三PMOS管的电流。On the one hand, the adjustment signal can send the first feedback signal to the third PMOS transistor via the fourth NMOS tube and the fourth PMOS tube to adjust the current of the third PMOS tube.
另一方面,该调节信号经由第四NMOS管,可以向第三NMOS管发送第二反馈信号,以调节第三NMOS管的电流,且在保证第三PMOS管的电流和第三NMOS管的电流相等的基础上,实现对流经变压电路的电流的调节。On the other hand, the adjustment signal can send a second feedback signal to the third NMOS tube through the fourth NMOS tube to adjust the current of the third NMOS tube, and to ensure the current of the third PMOS tube and the current of the third NMOS tube. On an equal basis, the adjustment of the current flowing through the transformer circuit is realized.
在一种可能的设计中,电平转换电路还包括:M个第一电流源、M个第二电流源、M个变压电路和第二控制电路,M为正整数。其中,M+1个第一电流源、M+1个第二电流源与M+1个变压电路一一对应耦合,第二控制电路的M+1个输入端与M+1个变压电路的输出端一一对应耦合,第二控制电路的M+1个第一输出端与M+1个第一电流源一一对应耦合,第二控制电路的M+1个第二输出端与M+1个第二电流源一一对应耦合。第二控制电路,用于从每个变压电路接收一个输出电压。第二控制电路,还用于在M+1个输出电压的幅值均值不为目标值时,向每个第一电流源发送第一反馈信号,并向每个第二电流源发送第二反馈信号。In a possible design, the level conversion circuit further includes: M first current sources, M second current sources, M transformer circuits, and second control circuits, where M is a positive integer. Among them, M+1 first current sources, M+1 second current sources and M+1 transformer circuits are coupled in a one-to-one correspondence, and M+1 input terminals of the second control circuit are coupled with M+1 transformer circuits. The output terminals of the circuit are coupled in one-to-one correspondence, the M+1 first output terminals of the second control circuit are coupled to the M+1 first current sources in one-to-one correspondence, and the M+1 second output terminals of the second control circuit are coupled with The M+1 second current sources are coupled in a one-to-one correspondence. The second control circuit is used to receive an output voltage from each transformer circuit. The second control circuit is also used to send a first feedback signal to each first current source and a second feedback to each second current source when the average value of the amplitude of the M+1 output voltages is not the target value signal.
本申请中,M+1个第一电流源和M+1个第二电流源可以调节流经与该第一电流源和第二电流源对应的变压电路的电流,使得M+1变压电路各自输出的输出电压的幅值均值为目标值,可以提高输出电压的准确度,使得电平转换过程效果更佳。In this application, the M+1 first current source and the M+1 second current source can adjust the current flowing through the transformer circuit corresponding to the first current source and the second current source, so that the M+1 transformer The average value of the amplitude of the output voltage output by each circuit is the target value, which can improve the accuracy of the output voltage and make the level conversion process more effective.
需要说明的是,电平转换电路不仅可以采用包含有一个第一电流源、一个第二电流源、一个变压电路和第一控制电路的结构,还可以采用将包含有M+1个第一电流源、M+1个第二电流源、M+1个变压电路和第二控制电路的结构。另外,一个电路(或者单元或者装置或者电子设备)中可以集成设置有如上述任意一种方式或者包含有两种上述方式的多个电平转换电路,可以将一个或者多个输入电压转换成不同幅值的输出电压,还可以同时实现升压和降压的过程,为电平转换过程提供各种可能性,提高了该电路的处理效率。It should be noted that the level conversion circuit can not only adopt a structure including a first current source, a second current source, a transformer circuit, and a first control circuit, but also a structure that includes M+1 first The structure of the current source, M+1 second current source, M+1 transformer circuit, and second control circuit. In addition, a circuit (or unit or device or electronic device) can be integrated with multiple level conversion circuits such as any one of the above methods or including two of the above methods, which can convert one or more input voltages into different amplitudes. Value of the output voltage can also realize the process of step-up and step-down at the same time, providing various possibilities for the level conversion process and improving the processing efficiency of the circuit.
在一种可能的设计中,第二控制电路包括:处理器、带共模反馈的比较器或者带共模反馈和缓冲器的比较器中任意一种。进而,本申请提供的电平转换电路可以控制输出共模,通过同时调节两个电流源,可以减轻对信号源的驱动能力要求,还实现了共模反馈的过程, 可以解决输入输出共模不匹配的问题,使得输出共模可控,消除了电平转换电路对前级电路的DC电流,减轻了对前级电路的影响。In a possible design, the second control circuit includes any one of a processor, a comparator with common mode feedback, or a comparator with common mode feedback and a buffer. Furthermore, the level conversion circuit provided by the present application can control the output common mode. By adjusting the two current sources at the same time, the driving capability requirements of the signal source can be reduced, and the process of common mode feedback can be realized. The matching problem makes the output common mode controllable, eliminates the DC current of the level conversion circuit to the previous circuit, and reduces the impact on the previous circuit.
在一种可能的设计中,第二控制电路中的晶体管与变压电路中的晶体管属于相同类型,可以减轻工艺-电压-温度(process-voltage-temperature,PVT)对输出共模的影响。In a possible design, the transistors in the second control circuit are of the same type as the transistors in the transformer circuit, which can reduce the influence of process-voltage-temperature (process-voltage-temperature, PVT) on the output common mode.
第二方面,本申请提供一种电平转换电路,包括:第一电流源、第二电流源和变压电路。变压电路包括电阻和晶体管,其中,晶体管的集电极耦合至电阻的第一端,电阻的第二端耦合至第一电流源,晶体管的发射极耦合至第二电流源,晶体管的基极耦合至电阻的第一端或电阻的第二端。In a second aspect, the present application provides a level conversion circuit including: a first current source, a second current source, and a transformer circuit. The transformer circuit includes a resistor and a transistor, wherein the collector of the transistor is coupled to the first end of the resistor, the second end of the resistor is coupled to the first current source, the emitter of the transistor is coupled to the second current source, and the base of the transistor is coupled To the first end of the resistor or the second end of the resistor.
其中,本申请中的晶体管还可其他类型,如晶体三极管,该晶体三极管可以包括PNP型三极管和NPN型三极管两种。Among them, the transistors in the present application can also be of other types, such as transistors, which can include two types: PNP type transistors and NPN type transistors.
通过第二方面提供的电平转换电路,通过晶体管的集电极耦合至电阻的第一端,电阻的第二端耦合至第一电流源,晶体管的发射极耦合至第二电流源,晶体管的基极耦合至电阻的第一端或电阻的第二端,使得第一电流源、变压电路和第二电流源构成一个回路。从而,第一电流源和第二电流源可以调节流经变压电路的电流,使得变压电路可以将接收到的输入电压转换为输出电压。本申请中,由于变压电路包括耦合的电阻和晶体管,将现有的纯电阻结构替换成电阻和晶体管的结构,减小了电平转换电路的阻抗,优化了电平转换电路的噪声性能,降低了电平转换电路的线性度损失。With the level conversion circuit provided in the second aspect, the collector of the transistor is coupled to the first end of the resistor, the second end of the resistor is coupled to the first current source, the emitter of the transistor is coupled to the second current source, and the base of the transistor is The pole is coupled to the first end of the resistor or the second end of the resistor, so that the first current source, the transformer circuit, and the second current source form a loop. Thus, the first current source and the second current source can adjust the current flowing through the transformer circuit, so that the transformer circuit can convert the received input voltage into an output voltage. In this application, since the transformer circuit includes coupled resistors and transistors, the existing pure resistance structure is replaced with a resistor and transistor structure, which reduces the impedance of the level conversion circuit and optimizes the noise performance of the level conversion circuit. Reduce the linearity loss of the level conversion circuit.
在一种可能的设计中,晶体管为第一NPN,第一NPN的基极耦合至电阻的第二端。In one possible design, the transistor is a first NPN, and the base of the first NPN is coupled to the second end of the resistor.
为了实现变压电路的升压过程,第一NPN的发射极为变压电路的输入端,可以用于接收输入电压,第一NPN的基极为变压电路的输出端,可以用于输出输出电压。In order to realize the step-up process of the transformer circuit, the transmitter of the first NPN can be used to receive the input voltage, and the base electrode of the first NPN can be used to output the output voltage.
为了实现变压电路的降压过程,第一NPN的基极为变压电路的输入端,可以用于接收输入电压,第一NPN的发射极为变压电路的输出端,可以用于输出输出电压。In order to realize the voltage step-down process of the transformer circuit, the base of the first NPN can be used to receive the input voltage, and the emitter of the first NPN can be used to output the output voltage.
通过该实施方式提供的电平转换电路,采用电阻和第一NPN的结构替换了现有的纯电阻结构,其中,电阻的两端分别耦合第一NPN的基极和集电极,即Diode的耦合方式,第一电流源和第二电流源通过调整流经第一NPN的电流,使得第一NPN工作在线性区,这样,变压电路将输入电压转换成幅值为目标值的输出电压的效果更佳。The level conversion circuit provided by this embodiment replaces the existing pure resistance structure with a resistor and a first NPN structure, wherein the two ends of the resistor are respectively coupled to the base and collector of the first NPN, that is, the coupling of Diode In this way, the first current source and the second current source adjust the current flowing through the first NPN so that the first NPN works in the linear region. In this way, the transformer circuit converts the input voltage into the output voltage with the amplitude of the target value. Better.
在一种可能的设计中,晶体管为第二NPN,第二NPN的基极耦合至电阻的第一端。In one possible design, the transistor is a second NPN, and the base of the second NPN is coupled to the first end of the resistor.
为了实现变压电路的升压过程,第二NPN的发射极为变压电路的输入端,可以用于接收输入电压,电阻的第二端为变压电路的输出端,可以用于输出输出电压。In order to realize the step-up process of the transformer circuit, the transmitter of the second NPN can be used to receive the input voltage, and the second end of the resistor is the output terminal of the transformer circuit and can be used to output the output voltage.
为了实现变压电路的降压过程,电阻的第二端为变压电路的输入端,可以用于接收输入电压,第二NPN的发射极为变压电路的输出端,可以用于输出输出电压。In order to realize the voltage step-down process of the transformer circuit, the second end of the resistor is the input terminal of the transformer circuit and can be used to receive the input voltage, and the emitter of the second NPN is the output terminal of the transformer circuit and can be used to output the output voltage.
通过该实施方式提供的电平转换电路,采用电阻和第二NPN的结构替换了现有的纯电阻结构,其中,电阻的两端分别耦合第二NPN的基极和集电极,即Diode的耦合方式,第一电流源和第二电流源通过调整流经第二NPN的电流,使得第二NPN工作在饱和区或者亚阈值区,这样,变压电路将输入电平转换成幅值为目标值的输出电压的效果更佳。The level conversion circuit provided by this embodiment adopts a resistor and a second NPN structure to replace the existing pure resistance structure, wherein the two ends of the resistor are respectively coupled to the base and collector of the second NPN, that is, the coupling of Diode In this way, the first current source and the second current source adjust the current flowing through the second NPN so that the second NPN works in the saturation region or the sub-threshold region. In this way, the voltage transformer circuit converts the input level to the target value. The output voltage effect is better.
在一种可能的设计中,晶体管为第一PNP,第一PNP的基极耦合至电阻的第二端。In one possible design, the transistor is a first PNP, and the base of the first PNP is coupled to the second end of the resistor.
为了实现变压电路的升压过程,第一PNP的基极为变压电路的输入端,可以用于接收输入电压,第一PNP的发射极为变压电路的输出端,可以用于输出输出电压。In order to realize the step-up process of the transformer circuit, the base of the first PNP can be used to receive the input voltage, and the emitter of the first PNP can be used to output the output voltage.
为了实现变压电路的升压过程,第一PNP的发射极为变压电路的输入端,可以用于接收输入电压,第一PNP的基极为变压电路的输出端,可以用于输出输出电压。In order to realize the step-up process of the transformer circuit, the transmitter of the first PNP can be used to receive the input voltage, and the base electrode of the first PNP can be used to output the output voltage.
通过该实施方式提供的电平转换电路,采用电阻和第一PNP的结构替换了现有的纯电阻结构,其中,电阻的两端分别耦合第一PNP的基极和集电极,即Diode的耦合方式,第一电流源和第二电流源通过调整流经第一PNP的电流,使得第一PNP工作在线性区,这样,变压电路将输入电压转换成幅值为目标值的输出电压的效果更佳。The level conversion circuit provided by this embodiment adopts a resistor and a first PNP structure to replace the existing pure resistance structure, wherein the two ends of the resistor are respectively coupled to the base and collector of the first PNP, that is, the coupling of Diode In this way, the first current source and the second current source adjust the current flowing through the first PNP so that the first PNP works in the linear region. In this way, the transformer circuit converts the input voltage into the output voltage with the amplitude of the target value. Better.
在一种可能的设计中,晶体管为第二PNP,第二PNP的基极耦合至电阻的第一端。In one possible design, the transistor is a second PNP, and the base of the second PNP is coupled to the first end of the resistor.
为了实现变压电路的升压过程,电阻的第二端为变压电路的输入端,可以用于接收输入电压,第二PNP的发射极为变压电路的输出端,可以用于输出输出电压。In order to realize the step-up process of the transformer circuit, the second terminal of the resistor is the input terminal of the transformer circuit and can be used to receive the input voltage, and the emitter of the second PNP is the output terminal of the transformer circuit and can be used to output the output voltage.
为了实现变压电路的降压过程,第二PNP的发射极为变压电路的输入端,可以用于接收输入电压,电阻的第二端为变压电路的输出端可以用于输出输出电压。In order to realize the voltage step-down process of the transformer circuit, the transmitter of the second PNP is the input terminal of the transformer circuit and can be used to receive the input voltage, and the second end of the resistor is the output terminal of the transformer circuit and can be used to output the output voltage.
通过该实施方式提供的电平转换电路,采用电阻和第二PNP的结构替换了现有的纯电阻结构,其中,电阻的两端分别耦合第二PNP的基极和集电极,即Diode的耦合方式,第一电流源和第二电流源通过调整流经第二PNP的电流,使得第二PNP工作在饱和区或者亚阈值区,这样,变压电路将输入电压转换成幅值为目标值的输出电压的效果更佳。The level conversion circuit provided by this embodiment adopts a resistor and a second PNP structure to replace the existing pure resistance structure, wherein the two ends of the resistor are respectively coupled to the base and collector of the second PNP, that is, the coupling of Diode In this way, the first current source and the second current source adjust the current flowing through the second PNP so that the second PNP works in the saturation region or the sub-threshold region. In this way, the transformer circuit converts the input voltage into a target value of amplitude The output voltage effect is better.
在一种可能的设计中,变压电路还包括:电容,电容并联耦合在变压电路的输入端与输出端之间,以获得更好的噪声性能和高频性能。In a possible design, the transformer circuit further includes a capacitor, which is coupled in parallel between the input terminal and the output terminal of the transformer circuit to obtain better noise performance and high frequency performance.
在一种可能的设计中,第一电流源和第二电流源,用于分别调节第一电流源的电流和第二电流源的电流,使得所述第一电流源的电流和所述第二电流源的电流相等。从而,第一电流源和第二电流源可以调节流经变压电路的电流。In a possible design, the first current source and the second current source are used to adjust the current of the first current source and the current of the second current source respectively, so that the current of the first current source and the second current source The currents of the current sources are equal. Thus, the first current source and the second current source can adjust the current flowing through the transformer circuit.
通常,当输出电压的幅值大于目标值时,第一电流源和第二电流源可以将流经变压电路的电流调小,使得输出电压的幅值变小,以调节至目标值。当输出电压的幅值小于目标值时,第一电流源和第二电流源可以将流经变压电路的电流调大,使得输出电压的幅值变大,以调节至目标值。当输出电压的幅值等于目标值时,第一电流源和第二电流源可以无需调节流经变压电路的电流,使得变压电路可以输出幅值为目标值的输出电压。Generally, when the amplitude of the output voltage is greater than the target value, the first current source and the second current source can reduce the current flowing through the transformer circuit, so that the amplitude of the output voltage becomes smaller to adjust to the target value. When the amplitude of the output voltage is less than the target value, the first current source and the second current source can increase the current flowing through the transformer circuit, so that the amplitude of the output voltage becomes larger to adjust to the target value. When the amplitude of the output voltage is equal to the target value, the first current source and the second current source do not need to adjust the current flowing through the transformer circuit, so that the transformer circuit can output the output voltage with the amplitude of the target value.
在一种可能的设计中,第一电流源,用于根据接收到的第一反馈信号,调节第一电流源的电流,第一反馈信号用于表示输出电压的幅值不为目标值。第二电流源,用于根据接收到的第二反馈信号,调节第二电流源的电流,第二反馈信号用于表示输出电压的幅值不为目标值。其中,第一反馈信号和第二反馈信号通常为不同幅值的电压。从而,实现对流经变压电路的电流的调节过程。In a possible design, the first current source is used to adjust the current of the first current source according to the received first feedback signal, and the first feedback signal is used to indicate that the amplitude of the output voltage is not the target value. The second current source is used to adjust the current of the second current source according to the received second feedback signal, and the second feedback signal is used to indicate that the amplitude of the output voltage is not the target value. Wherein, the first feedback signal and the second feedback signal are usually voltages of different amplitudes. Thus, the adjustment process of the current flowing through the transformer circuit is realized.
本申请中,第一电流源和第二电流源的实现方式可以采用可调电阻,也可以采用如MOS管或者晶体三极管(bipolar junction transistor,BJT)等,还可以为电阻和MOS管的组合,也可以为电阻和BJT的组合,也可以为电阻、MOS管和BJT的组合,本申请对此不做限定,只需满足第一电流源和第二电流源可以调节流经变压电路的电流即可。In this application, the implementation of the first current source and the second current source may adopt adjustable resistors, or may adopt MOS transistors or bipolar junction transistors (BJT), etc., and may also be a combination of resistors and MOS transistors. It can also be a combination of resistance and BJT, or a combination of resistance, MOS tube and BJT, this application is not limited to this, as long as the first current source and the second current source can adjust the current flowing through the transformer circuit OK.
在一种可能的设计中,电平转换电路还包括:第一控制电路。第一控制电路的输入端耦合至变压电路的输出端,第一控制电路的第一输出端耦合至第一电流源,第一控制电路的第二输出端耦合至第二电流源。第一控制电路,用于从变压电路接收输出电压。第一控制电路,还用于在确定输出电压的幅值不为目标值时,向第一电流源发送第一反馈信号, 并向第二电流源发送第二反馈信号。In a possible design, the level conversion circuit further includes: a first control circuit. The input terminal of the first control circuit is coupled to the output terminal of the transformer circuit, the first output terminal of the first control circuit is coupled to the first current source, and the second output terminal of the first control circuit is coupled to the second current source. The first control circuit is used to receive the output voltage from the transformer circuit. The first control circuit is further configured to send a first feedback signal to the first current source and a second feedback signal to the second current source when it is determined that the amplitude of the output voltage is not the target value.
在一种可能的设计中,第一电流源包括:第三PMOS管,第二电流源包括:第三NMOS管,第一控制电路包括:电压反馈电路、第四PMOS管和第四NMOS管。In a possible design, the first current source includes a third PMOS tube, the second current source includes a third NMOS tube, and the first control circuit includes a voltage feedback circuit, a fourth PMOS tube, and a fourth NMOS tube.
其中,第三PMOS管的源极耦合有供电电平,第三PMOS管的漏极耦合至电阻的第二端,第三PMOS管的栅极耦合至第四PMOS管的栅极。第三NMOS管的漏极耦合至晶体管的源极,第三NMOS管的源极接地,第三NMOS管的栅极耦合至第四NMOS管的栅极。第四PMOS管的源极耦合有供电电压,第四PMOS管的栅极和漏极均耦合至第四NMOS管的漏极,第四NMOS管的源极接地,第四NMOS管的栅极还耦合至电压反馈电路的输出端,电压反馈电路的输入端为第一控制电路的输入端,电压反馈电路的输入端耦合至变压电路的输出端。Wherein, the source of the third PMOS tube is coupled with the power supply level, the drain of the third PMOS tube is coupled to the second end of the resistor, and the gate of the third PMOS tube is coupled to the gate of the fourth PMOS tube. The drain of the third NMOS tube is coupled to the source of the transistor, the source of the third NMOS tube is grounded, and the gate of the third NMOS tube is coupled to the gate of the fourth NMOS tube. The source of the fourth PMOS tube is coupled with the supply voltage, the gate and drain of the fourth PMOS tube are both coupled to the drain of the fourth NMOS tube, the source of the fourth NMOS tube is grounded, and the gate of the fourth NMOS tube is also The input terminal of the voltage feedback circuit is the input terminal of the first control circuit, and the input terminal of the voltage feedback circuit is coupled to the output terminal of the transformer circuit.
本申请中,电压反馈电路,用于从变压电路接收输出电压,并对输出电压的当前幅值是否为目标值进行判断。电压反馈电路,还用于在输出电压的幅值不为目标值时,向第四NMOS管发送调节信号,调节信号用于第四PMOS管向第三PMOS管发送第一反馈信号,及第四NMOS管向第三NMOS管发送第二反馈信号。In this application, the voltage feedback circuit is used to receive the output voltage from the transformer circuit and judge whether the current amplitude of the output voltage is the target value. The voltage feedback circuit is also used to send an adjustment signal to the fourth NMOS tube when the amplitude of the output voltage is not the target value. The adjustment signal is used for the fourth PMOS tube to send the first feedback signal to the third PMOS tube, and the fourth The NMOS tube sends the second feedback signal to the third NMOS tube.
其中,第一控制电路中的第四PMOS管可以作为第三PMOS管的电流镜,由第四PMOS管向第三PMOS管发送第一反馈信号,第一控制电路中的第四NMOS管可以作为第三NMOS管的电流镜,由第四NMOS管向第三NMOS管发送第二反馈信号。Among them, the fourth PMOS tube in the first control circuit can be used as the current mirror of the third PMOS tube, the fourth PMOS tube sends the first feedback signal to the third PMOS tube, and the fourth NMOS tube in the first control circuit can be used as The current mirror of the third NMOS tube sends the second feedback signal from the fourth NMOS tube to the third NMOS tube.
一方面,该调节信号经由第四NMOS管和第四PMOS管,可以向第三PMOS管发送第一反馈信号,以调节第三PMOS管的电流。On the one hand, the adjustment signal can send the first feedback signal to the third PMOS transistor via the fourth NMOS tube and the fourth PMOS tube to adjust the current of the third PMOS tube.
另一方面,该调节信号经由第四NMOS管,可以向第三NMOS管发送第二反馈信号,以调节第三NMOS管的电流,且在保证第三PMOS管的电流和第三NMOS管的电流相等的基础上,实现对流经变压电路的电流的调节。On the other hand, the adjustment signal can send a second feedback signal to the third NMOS tube through the fourth NMOS tube to adjust the current of the third NMOS tube, and to ensure the current of the third PMOS tube and the current of the third NMOS tube. On an equal basis, the adjustment of the current flowing through the transformer circuit is realized.
在一种可能的设计中,电平转换电路还包括:M个第一电流源、M个第二电流源、M个变压电路和第二控制电路,M为正整数。其中,M+1个第一电流源、M+1个第二电流源与M+1个变压电路一一对应耦合,第二控制电路的M+1个输入端与M+1个变压电路的输出端一一对应耦合,第二控制电路的M+1个第一输出端与M+1个第一电流源一一对应耦合,第二控制电路的M+1个第二输出端与M+1个第二电流源一一对应耦合。第二控制电路,用于从每个变压电路接收一个输出电压。第二控制电路,还用于在M+1个输出电压的幅值均值不为目标值时,向每个第一电流源发送第一反馈信号,并向每个第二电流源发送第二反馈信号。In a possible design, the level conversion circuit further includes: M first current sources, M second current sources, M transformer circuits, and second control circuits, where M is a positive integer. Among them, M+1 first current sources, M+1 second current sources and M+1 transformer circuits are coupled in a one-to-one correspondence, and M+1 input terminals of the second control circuit are coupled with M+1 transformer circuits. The output terminals of the circuit are coupled in one-to-one correspondence, the M+1 first output terminals of the second control circuit are coupled to the M+1 first current sources in one-to-one correspondence, and the M+1 second output terminals of the second control circuit are coupled with The M+1 second current sources are coupled in a one-to-one correspondence. The second control circuit is used to receive an output voltage from each transformer circuit. The second control circuit is also used to send a first feedback signal to each first current source and a second feedback to each second current source when the average value of the amplitude of the M+1 output voltages is not the target value signal.
本申请中,M+1个第一电流源和M+1个第二电流源可以调节流经与该第一电流源和第二电流源对应的变压电路的电流,使得M+1变压电路各自输出的输出电压的幅值均值为目标值,可以提高输出电压的准确度,使得电平转换过程效果更佳。In this application, the M+1 first current source and the M+1 second current source can adjust the current flowing through the transformer circuit corresponding to the first current source and the second current source, so that the M+1 transformer The average value of the amplitude of the output voltage output by each circuit is the target value, which can improve the accuracy of the output voltage and make the level conversion process more effective.
需要说明的是,电平转换电路不仅可以采用包含有一个第一电流源、一个第二电流源、一个变压电路和第一控制电路的结构,还可以采用将包含有M+1个第一电流源、M+1个第二电流源、M+1个变压电路和第二控制电路的结构。另外,一个电路(或者单元或者装置或者电子设备)中可以集成设置有如上述任意一种方式或者包含有两种上述方式的多个电平转换电路,可以将一个或者多个输入电压转换成不同幅值的输出电压,还可以同时实现升压和降压的过程,为电平转换过程提供各种可能性,提高了该电路的处理效 率。It should be noted that the level conversion circuit can not only adopt a structure including a first current source, a second current source, a transformer circuit, and a first control circuit, but also a structure that includes M+1 first The structure of the current source, M+1 second current source, M+1 transformer circuit, and second control circuit. In addition, a circuit (or unit or device or electronic device) can be integrated with multiple level conversion circuits such as any one of the above methods or including two of the above methods, which can convert one or more input voltages into different amplitudes. Value of the output voltage can also realize the process of step-up and step-down at the same time, providing various possibilities for the level conversion process and improving the processing efficiency of the circuit.
在一种可能的设计中,第二控制电路包括:处理器、带共模反馈的比较器或者带共模反馈和缓冲器的比较器中任意一种。进而,本申请提供的电平转换电路可以控制输出共模,通过同时调节两个电流源,可以减轻对信号源的驱动能力要求,还实现了共模反馈的过程,可以解决输入输出共模不匹配的问题,使得输出共模可控,消除了电平转换电路对前级电路的DC电流,减轻了对前级电路的影响。In a possible design, the second control circuit includes any one of a processor, a comparator with common mode feedback, or a comparator with common mode feedback and a buffer. Furthermore, the level conversion circuit provided by the present application can control the output common mode. By adjusting the two current sources at the same time, the driving capability requirements of the signal source can be reduced, and the process of common mode feedback can be realized. The matching problem makes the output common mode controllable, eliminates the DC current of the level conversion circuit to the previous circuit, and reduces the impact on the previous circuit.
在一种可能的设计中,第二控制电路中的晶体管与变压电路中的晶体管属于相同类型,可以减轻工艺-电压-温度对输出共模的影响。In a possible design, the transistors in the second control circuit are of the same type as the transistors in the transformer circuit, which can reduce the influence of process-voltage-temperature on the output common mode.
第三方面,本申请提供一种电子设备,包括:输入端电路、输出端电路及至少一个如上述第一方面和第一方面的各可能的实施方式和/或至少一个如上述第二方面和第二方面的各可能的实施方式的电平转换电路。其中,电平转换电路耦合至输入端电路,用于从输入端电路接收输入电压。电平转换电路耦合至输出端电路,用于向输出端电路发送输出电压。In a third aspect, the present application provides an electronic device, including: an input end circuit, an output end circuit, and at least one possible implementation manner as in the above first aspect and the first aspect and/or at least one as in the above second aspect and The level conversion circuit of each possible implementation of the second aspect. Wherein, the level conversion circuit is coupled to the input terminal circuit and is used to receive the input voltage from the input terminal circuit. The level conversion circuit is coupled to the output terminal circuit and used for sending the output voltage to the output terminal circuit.
上述第三方面以及上述第三方面的各可能的设计中所提供的电子设备,其有益效果可以参见上述第一方面和第一方面的各可能的实施方式和/或上述第二方面和第二方面的各可能的实施方式所带来的有益效果,在此不再赘述。For the electronic equipment provided in the above-mentioned third aspect and each possible design of the above-mentioned third aspect, the beneficial effects can be referred to the above-mentioned first aspect and each possible implementation manner of the first aspect and/or the above-mentioned second aspect and second aspect The beneficial effects brought by each possible implementation manner of the aspect are not repeated here.
附图说明Description of the drawings
图1a为本申请提供的一种电平转换电路的结构示意图;FIG. 1a is a schematic structural diagram of a level conversion circuit provided by this application;
图1b为本申请提供的一种电平转换电路的结构示意图;FIG. 1b is a schematic structural diagram of a level conversion circuit provided by this application;
图2为本申请提供的一种电平转换电路的电路示意图;2 is a schematic circuit diagram of a level conversion circuit provided by this application;
图3为本申请提供的一种电平转换电路的电路示意图;3 is a schematic circuit diagram of a level conversion circuit provided by this application;
图4为本申请提供的一种电平转换电路的电路示意图;4 is a schematic circuit diagram of a level conversion circuit provided by this application;
图5为本申请提供的一种电平转换电路的电路示意图;FIG. 5 is a schematic circuit diagram of a level conversion circuit provided by this application;
图6为本申请提供的一种电平转换电路的电路示意图;FIG. 6 is a schematic circuit diagram of a level conversion circuit provided by this application;
图7为本申请提供的一种电平转换电路的电路示意图;FIG. 7 is a schematic circuit diagram of a level conversion circuit provided by this application;
图8为本申请提供的一种电平转换电路的电路示意图;FIG. 8 is a schematic circuit diagram of a level conversion circuit provided by this application;
图9为本申请提供的一种电平转换电路的电路示意图;FIG. 9 is a schematic circuit diagram of a level conversion circuit provided by this application;
图10为本申请提供的一种电平转换电路的电路示意图;FIG. 10 is a schematic circuit diagram of a level conversion circuit provided by this application;
图11为本申请提供的一种电平转换电路的电路示意图;FIG. 11 is a schematic circuit diagram of a level conversion circuit provided by this application;
图12为本申请提供的一种电平转换电路的电路示意图;FIG. 12 is a schematic circuit diagram of a level conversion circuit provided by this application;
图13为本申请提供的一种电平转换电路的电路示意图;FIG. 13 is a schematic circuit diagram of a level conversion circuit provided by this application;
图14为本申请提供的一种电平转换电路的电路示意图;FIG. 14 is a schematic circuit diagram of a level conversion circuit provided by this application;
图15为本申请提供的一种电平转换电路的电路示意图;15 is a schematic circuit diagram of a level conversion circuit provided by this application;
图16为本申请提供的一种电平转换电路的电路示意图;16 is a schematic circuit diagram of a level conversion circuit provided by this application;
图17为本申请提供的一种电平转换电路的电路示意图;FIG. 17 is a schematic circuit diagram of a level conversion circuit provided by this application;
图18为本申请提供的一种电平转换电路的结构示意图;18 is a schematic structural diagram of a level conversion circuit provided by this application;
图19为本申请提供的一种电平转换电路的电路示意图;FIG. 19 is a schematic circuit diagram of a level conversion circuit provided by this application;
图20为本申请提供的一种电平转换电路的等效小信号模型示意图;FIG. 20 is a schematic diagram of an equivalent small signal model of a level conversion circuit provided by this application;
图21为本申请提供的一种电平转换电路中晶体管的电流-电压(I-V)曲线及其直流电阻和交流电阻曲线示意图;FIG. 21 is a schematic diagram of a current-voltage (I-V) curve and its DC resistance and AC resistance curves of a transistor in a level conversion circuit provided by this application;
图22为本申请提供的一种电平转换电路的结构示意图;FIG. 22 is a schematic structural diagram of a level conversion circuit provided by this application;
图23为本申请提供的一种电平转换电路的结构示意图;FIG. 23 is a schematic structural diagram of a level conversion circuit provided by this application;
图24为本申请提供的一种电平转换电路的结构示意图;FIG. 24 is a schematic structural diagram of a level conversion circuit provided by this application;
图25为本申请提供的一种电子设备的结构示意图。FIG. 25 is a schematic structural diagram of an electronic device provided by this application.
附图标记:Reference signs:
10—电平转换电路;11—第一电流源;12—第二电流源;10-level conversion circuit; 11-first current source; 12-second current source;
13—变压电路;14—第一控制电路;15—第二控制电路;13—Transformer circuit; 14—First control circuit; 15—Second control circuit;
20—输入端电路;30—输出端电路。20—input circuit; 30—output circuit.
具体实施方式Detailed ways
下面将结合本申请中的附图,对本申请中的技术方案进行描述。其中,在本申请的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。并且,在本申请的描述中,除非另有说明,“多个”是指两个或多于两个。另外,为了便于清楚描述本申请的技术方案,在本申请的实施例中,采用了“第一”、“第二”等字样对功能和作用基本相同的相同项或相似项进行区分。本领域技术人员可以理解“第一”、“第二”等字样并不对数量和执行次序进行限定,并且“第一”、“第二”等字样也并不限定一定不同。The technical solutions in this application will be described below in conjunction with the drawings in this application. Among them, in the description of this application, unless otherwise specified, "/" means or, for example, A/B can mean A or B; "and/or" in this document is only an association describing the associated object Relationship means that there can be three kinds of relationships. For example, A and/or B can mean that: A alone exists, A and B exist at the same time, and B exists alone. Also, in the description of this application, unless otherwise specified, "plurality" means two or more than two. In addition, in order to facilitate a clear description of the technical solutions of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish the same or similar items with basically the same function and effect. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and order of execution, and words such as "first" and "second" do not limit the difference.
本申请中,耦合可以为直接接触耦合,也可以为间接耦合,本申请对此不做限定。In this application, the coupling may be direct contact coupling or indirect coupling, which is not limited in this application.
图1a和图1b示出了本申请提供的电平转换电路的结构示意图。如图1a和图1b所示,本申请的电平转换电路10(level shifter,LS)可以包括:第一电流源11、第二电流源12和变压电路13。其中,电平转换电路10可以适用于但不限于抬升或者降低模拟信号中的直流电(direct current,DC)信号或者共模信号的各种场景。Figures 1a and 1b show schematic structural diagrams of the level conversion circuit provided by the present application. As shown in FIGS. 1a and 1b, the level shifter (LS) of the present application may include: a first current source 11, a second current source 12, and a transformer circuit 13. Among them, the level conversion circuit 10 can be applied to, but not limited to, various scenarios where a direct current (DC) signal or a common mode signal in an analog signal is raised or lowered.
本申请中,变压电路13可以包括:电阻和晶体管。图1a和图1b中,电阻采用字母“R”标识,电阻的第一端采用数字“1”标识,电阻的第二端采用数字“2”标识,晶体管采用字母“Q”标识。In this application, the transformer circuit 13 may include a resistor and a transistor. In Figures 1a and 1b, the resistor is identified by the letter "R", the first end of the resistor is identified by the number "1", the second end of the resistor is identified by the number "2", and the transistor is identified by the letter "Q".
通常,晶体管有三个电极,电阻与晶体管的至少一个电极可以串联连接,也可以并联连接,也可以串并联连接,本申请对此不做限定,只需耦合的电阻和晶体管共同实现电压转换即可。且本申请对电阻和晶体管的数量和类型皆不做限定。Generally, a transistor has three electrodes. The resistor and at least one electrode of the transistor can be connected in series, in parallel, or in series and parallel. This application does not limit this, as long as the coupled resistor and the transistor jointly realize voltage conversion . In addition, this application does not limit the number and types of resistors and transistors.
下面,结合图1a和图1b,对电阻和晶体管的耦合关系进行详细说明。Hereinafter, the coupling relationship between the resistor and the transistor will be described in detail with reference to FIGS. 1a and 1b.
图1a中,晶体管可以采用FET。例如,FET可以包括JFET、MOSFET和VMOSFET三种,MOSFET可以包括NMOS管和PMOS管两种。In Figure 1a, the transistor can be a FET. For example, FET may include three types of JFET, MOSFET, and VMOSFET, and MOSFET may include two types of NMOS tube and PMOS tube.
如图1a所示,晶体管的漏极耦合至电阻的第一端,电阻的第二端耦合至第一电流源11的第一端(图1a中以数字“1”标识),晶体管的源极耦合至第二电流源12的第一端(图1a中以数字“1”标识),晶体管的栅极耦合至电阻的第一端或电阻的第二端。As shown in Figure 1a, the drain of the transistor is coupled to the first end of the resistor, and the second end of the resistor is coupled to the first end of the first current source 11 (identified by the number "1" in Figure 1a). The source of the transistor is Coupled to the first terminal of the second current source 12 (identified by the number "1" in FIG. 1a), the gate of the transistor is coupled to the first terminal of the resistor or the second terminal of the resistor.
另外,图1b中,晶体管还可以采用晶体三极管,该晶体三极管可以包括PNP型三极管和NPN型三极管两种。In addition, in FIG. 1b, the transistor may also be a transistor, and the transistor may include two types: a PNP type transistor and an NPN type transistor.
如图1b所示,晶体管的集电极耦合至电阻的第一端,电阻的第二端耦合至第一电流源11的第一端(图1a中以数字“1”标识),晶体管的发射极耦合至第二电流源12的第一端(图1a中以数字“1”标识),晶体管的基极耦合至电阻的第一端或电阻的第二端。As shown in Figure 1b, the collector of the transistor is coupled to the first end of the resistor, and the second end of the resistor is coupled to the first end of the first current source 11 (identified by the number "1" in Figure 1a), and the emitter of the transistor Coupled to the first end of the second current source 12 (identified by the number "1" in FIG. 1a), the base of the transistor is coupled to the first end of the resistor or the second end of the resistor.
需要说明的是,上述图1a和图1b所示实施例仅是电阻和晶体管的耦合关系的部分示意。其中,当晶体管的数量和/或类型发生改变时,晶体管三个电极的名称对应发生改变,具体对应关系可以根据晶体管的工作原理进行确定。It should be noted that the embodiments shown in FIGS. 1a and 1b are only partial illustrations of the coupling relationship between the resistor and the transistor. Wherein, when the number and/or type of transistors are changed, the names of the three electrodes of the transistors correspondingly change, and the specific corresponding relationship can be determined according to the working principle of the transistors.
本申请中,第一电流源11和第二电流源12的实现方式可以采用可调电阻,也可以采用MOS管或者BJT,还可以为电阻和MOS管的组合,也可以为电阻和BJT的组合,也可以为电阻、MOS管和BJT的组合,本申请对此不做限定,只需满足第一电流源11和第二电流源12可以调节流经变压电路13的电流即可。In the present application, the implementation of the first current source 11 and the second current source 12 may adopt adjustable resistors, MOS transistors or BJTs, a combination of resistors and MOS transistors, or a combination of resistors and BJTs. It can also be a combination of resistors, MOS transistors and BJTs. This application is not limited to this, as long as the first current source 11 and the second current source 12 can adjust the current flowing through the transformer circuit 13.
本申请中,第一电流源11的供电端耦合有供电电压(该供电电压可根据实际情况进行设置),第一电流源11的第一端通过与变压电路13中的电阻和晶体管的耦合,第二电流源12的第一端通过与变压电路13中的电阻和晶体管的耦合,第二电流源12的接地端接地,这样,第一电流源11、变压电路13和第二电流源12可以构成一个回路,从而,第一电流源11和第二电流源12可以对流经变压电路13的电流进行调节。In this application, the power supply terminal of the first current source 11 is coupled with a power supply voltage (the power supply voltage can be set according to actual conditions), and the first terminal of the first current source 11 is coupled to the resistor and transistor in the transformer circuit 13 , The first terminal of the second current source 12 is coupled with the resistor and transistor in the transformer circuit 13, and the ground terminal of the second current source 12 is grounded. In this way, the first current source 11, the transformer circuit 13 and the second current The source 12 can form a loop, so that the first current source 11 and the second current source 12 can adjust the current flowing through the transformer circuit 13.
本申请中,第一电流源11和第二电流源12可以根据变压电路13输出的输出电压的幅值,对流经变压电路13的电流进行调节。通常,当输出电压的幅值大于目标值时,第一电流源11和第二电流源12可以将流经变压电路13的电流调小,使得输出电压的幅值变小,以调节至目标值。当输出电压的幅值小于目标值时,第一电流源11和第二电流源12可以将流经变压电路13的电流调大,使得输出电压的幅值变大,以调节至目标值。当输出电压的幅值等于目标值时,第一电流源11和第二电流源12可以无需调节流经变压电路13的电流,使得变压电路13可以输出幅值为目标值的输出电压。In the present application, the first current source 11 and the second current source 12 can adjust the current flowing through the transformer circuit 13 according to the amplitude of the output voltage output by the transformer circuit 13. Generally, when the amplitude of the output voltage is greater than the target value, the first current source 11 and the second current source 12 can reduce the current flowing through the transformer circuit 13 so that the amplitude of the output voltage becomes smaller to adjust to the target value. value. When the amplitude of the output voltage is smaller than the target value, the first current source 11 and the second current source 12 can increase the current flowing through the transformer circuit 13 so that the amplitude of the output voltage becomes larger to adjust to the target value. When the amplitude of the output voltage is equal to the target value, the first current source 11 and the second current source 12 may not need to adjust the current flowing through the transformer circuit 13 so that the transformer circuit 13 can output the output voltage with the amplitude of the target value.
本领域技术人员可以理解,当流经变压电路13的电流发生改变时,变压电路13接收到的输入电压的幅值保持不变,那么输出电压的幅值将会发生改变。并且,由于输出端电路所需电压的幅值通常为固定的(即目标值),因此,变压电路13需要将输入电压转换成幅值为目标值的输出电压。Those skilled in the art can understand that when the current flowing through the transformer circuit 13 changes, and the amplitude of the input voltage received by the transformer circuit 13 remains unchanged, the amplitude of the output voltage will change. Moreover, since the amplitude of the voltage required by the output circuit is usually fixed (ie, the target value), the transformer circuit 13 needs to convert the input voltage into an output voltage with the amplitude of the target value.
其中,输入电压和输出电压的具体幅值可以根据实际情况进行设置,本申请对此不做限定。Among them, the specific amplitudes of the input voltage and the output voltage can be set according to actual conditions, which are not limited in this application.
基于上述内容,一方面,第一电流源11和第二电流源12可以在输出电压的幅值为目标值时,保持流经变压电路13的电流不变,即无需调节流经变压电路13的电流,使得变压电路13可以直接输出幅值为目标值的输出电压。Based on the foregoing, on the one hand, the first current source 11 and the second current source 12 can keep the current flowing through the transformer circuit 13 unchanged when the amplitude of the output voltage is the target value, that is, there is no need to adjust the current flowing through the transformer circuit. The current of 13 allows the transformer circuit 13 to directly output an output voltage with a target value.
另一方面,第一电流源11和第二电流源12可以在输出电压的幅值不为目标值时,对流经变压电路13的电流进行调节,使得变压电路13可以输出幅值为目标值的输出电压。On the other hand, the first current source 11 and the second current source 12 can adjust the current flowing through the transformer circuit 13 when the amplitude of the output voltage is not the target value, so that the transformer circuit 13 can output the target amplitude. Value of the output voltage.
这样,完成了电平转换电路10的升压或者降压,且电平转换电路10可以输出输出端电路所需的电压(即幅值为目标值的输出电压),以方便输出端电路执行后续的 相应操作。In this way, the step-up or step-down of the level conversion circuit 10 is completed, and the level conversion circuit 10 can output the voltage required by the output circuit (that is, the output voltage whose amplitude is the target value), so as to facilitate the output circuit to perform subsequent steps. The corresponding operation.
本申请提供的电平转换电路,通过晶体管的漏极耦合至电阻的第一端,电阻的第二端耦合至第一电流源,晶体管的源极耦合至第二电流源,晶体管的栅极耦合至电阻的第一端或电阻的第二端,使得第一电流源、变压电路和第二电流源构成一个回路。从而,第一电流源和第二电流源可以调节流经变压电路的电流,使得变压电路可以将接收到的输入电压转换为输出电压。本申请中,由于变压电路包括耦合的电阻和晶体管,将现有的纯电阻结构替换成电阻和晶体管的结构,减小了电平转换电路的阻抗,优化了电平转换电路的噪声性能,降低了电平转换电路的线性度损失。In the level conversion circuit provided by the present application, the drain of the transistor is coupled to the first end of the resistor, the second end of the resistor is coupled to the first current source, the source of the transistor is coupled to the second current source, and the gate of the transistor is coupled To the first end of the resistor or the second end of the resistor, the first current source, the transformer circuit and the second current source form a loop. Thus, the first current source and the second current source can adjust the current flowing through the transformer circuit, so that the transformer circuit can convert the received input voltage into an output voltage. In this application, since the transformer circuit includes coupled resistors and transistors, the existing pure resistance structure is replaced with a resistor and transistor structure, which reduces the impedance of the level conversion circuit and optimizes the noise performance of the level conversion circuit. Reduce the linearity loss of the level conversion circuit.
本申请中,变压电路13中的晶体管可以为各种类型的晶体管。为了便于说明,图2-图17中,第一电流源11采用字母“I1”标识,第二电流源12采用字母“I2”标识,电阻采用字母“R”标识,输入电压采用字母“Vin”标识,输出电压采用字母“Vout”标识。In this application, the transistors in the transformer circuit 13 may be various types of transistors. For ease of description, in Figure 2-17, the first current source 11 is identified by the letter "I1", the second current source 12 is identified by the letter "I2", the resistance is identified by the letter "R", and the input voltage is identified by the letter "Vin" Mark, the output voltage is marked with the letter "Vout".
当晶体管为场效应管时,在图1a所示实施例的基础上,结合图2-图9,采用如下四种可行的实现方式对电平转换电路10的具体结构进行描述。When the transistor is a field effect tube, on the basis of the embodiment shown in FIG. 1a and in conjunction with FIG. 2 to FIG. 9, the following four feasible implementation manners are used to describe the specific structure of the level conversion circuit 10.
一种可行的实现方式中,如图2和图3所示,当晶体管为第一NMOS管时,第一NMOS管的栅极耦合至电阻的第二端。In a possible implementation manner, as shown in FIGS. 2 and 3, when the transistor is a first NMOS tube, the gate of the first NMOS tube is coupled to the second end of the resistor.
其中,本申请对第一NMOS管的具体个数不做限定。为了便于说明,图2和图3中,第一NMOS管为一个并以字母“M1”标识。Among them, this application does not limit the specific number of the first NMOS transistors. For ease of description, in FIG. 2 and FIG. 3, the first NMOS transistor is one and is identified by the letter "M1".
一方面,如图2所示,为了实现变压电路13的升压过程,第一NMOS管的源极为变压电路13的输入端,可以用于接收输入电压,第一NMOS管的栅极为变压电路13的输出端,可以用于输出输出电压。On the one hand, as shown in FIG. 2, in order to realize the boost process of the transformer circuit 13, the source of the first NMOS transistor is the input terminal of the transformer circuit 13, which can be used to receive the input voltage, and the gate of the first NMOS transistor is The output terminal of the voltage circuit 13 can be used to output an output voltage.
另一方面,如图3所示,为了实现变压电路13的降压过程,第一NMOS管的栅极为变压电路13的输入端,可以用于接收输入电压,第一NMOS管的源极为变压电路13的输出端,可以用于输出输出电压。On the other hand, as shown in FIG. 3, in order to achieve the step-down process of the transformer circuit 13, the gate of the first NMOS transistor is the input terminal of the transformer circuit 13, which can be used to receive the input voltage. The source of the first NMOS transistor The output terminal of the transformer circuit 13 can be used to output an output voltage.
本申请中,采用电阻和第一NMOS管的结构替换了现有的纯电阻结构,其中,电阻的两端分别耦合第一NMOS管的栅极和漏极,即Diode的耦合方式,第一电流源11和第二电流源12通过调整流经第一NMOS管的电流,使得第一NMOS管工作在线性区,这样,变压电路13将输入电压转换成幅值为目标值的输出电压的效果更佳。In this application, the structure of the resistor and the first NMOS tube is used to replace the existing pure resistance structure, wherein the two ends of the resistor are respectively coupled to the gate and drain of the first NMOS tube, that is, the Diode coupling method, the first current The source 11 and the second current source 12 adjust the current flowing through the first NMOS tube so that the first NMOS tube works in the linear region. In this way, the transformer circuit 13 converts the input voltage into an output voltage with a target value. Better.
另一种可行的实现方式中,如图4和图5所示,当晶体管为第二NMOS管时,第二NMOS管的栅极耦合至电阻的第一端。In another feasible implementation manner, as shown in FIGS. 4 and 5, when the transistor is a second NMOS tube, the gate of the second NMOS tube is coupled to the first end of the resistor.
其中,本申请对第二NMOS管的具体个数不做限定。为了便于说明,图4和图5中,第二NMOS管为一个并以字母“M2”标识。Among them, this application does not limit the specific number of the second NMOS transistors. For ease of description, in FIGS. 4 and 5, the second NMOS transistor is one and is identified by the letter "M2".
一方面,如图4所示,为了实现变压电路13的升压过程,第二NMOS管的源极为变压电路13的输入端,可以用于接收输入电压,电阻的第二端为变压电路13的输出端,可以用于输出输出电压。On the one hand, as shown in FIG. 4, in order to realize the step-up process of the transformer circuit 13, the source of the second NMOS tube is the input terminal of the transformer circuit 13, which can be used to receive the input voltage, and the second end of the resistor is the transformer. The output terminal of the circuit 13 can be used to output the output voltage.
另一方面,如图5所示,为了实现变压电路13的降压过程,电阻的第二端为变压电路13的输入端,可以用于接收输入电压,第二NMOS管的源极为变压电路13的输出端,可以用于输出输出电压。On the other hand, as shown in Figure 5, in order to achieve the step-down process of the transformer circuit 13, the second end of the resistor is the input terminal of the transformer circuit 13, which can be used to receive the input voltage. The source of the second NMOS transistor is changed. The output terminal of the voltage circuit 13 can be used to output an output voltage.
本申请中,采用电阻和第二NMOS管的结构替换了现有的纯电阻结构,其中,电 阻的两端分别耦合第二NMOS管的栅极和漏极,即Diode的耦合方式,第一电流源11和第二电流源12通过调整流经第二NMOS管的电流,使得第二NMOS管工作在饱和区或者亚阈值区,这样,变压电路13将输入电压转换成幅值为目标值的输出电压的效果更佳。In this application, the structure of the resistor and the second NMOS tube is used to replace the existing pure resistance structure, wherein the two ends of the resistor are respectively coupled to the gate and drain of the second NMOS tube, that is, the coupling method of Diode, the first current The source 11 and the second current source 12 adjust the current flowing through the second NMOS tube to make the second NMOS tube work in the saturation region or the sub-threshold region. In this way, the voltage transformer circuit 13 converts the input voltage into a target value. The output voltage effect is better.
另一种可行的实现方式中,如图6和图7所示,当晶体管为第一PMOS管时,第一PMOS管的栅极耦合至电阻的第二端。In another feasible implementation manner, as shown in FIGS. 6 and 7, when the transistor is a first PMOS tube, the gate of the first PMOS tube is coupled to the second end of the resistor.
其中,本申请对第一PMOS管的具体个数不做限定。为了便于说明,图6和图7中,第一PMOS管为一个并以字母“M3”标识。Among them, this application does not limit the specific number of the first PMOS transistors. For ease of description, in FIG. 6 and FIG. 7, the first PMOS transistor is one and is identified by the letter "M3".
一方面,如图6所示,为了实现变压电路13的升压过程,第一PMOS管的栅极为变压电路13的输入端,可以用于接收输入电压,第一PMOS管的源极为变压电路13的输出端,可以用于输出输出电压。On the one hand, as shown in FIG. 6, in order to realize the step-up process of the transformer circuit 13, the gate of the first PMOS tube is the input terminal of the transformer circuit 13, which can be used to receive the input voltage, and the source of the first PMOS tube is changed. The output terminal of the voltage circuit 13 can be used to output an output voltage.
另一方面,如图7所示,为了实现变压电路13的升压过程,第一PMOS管的源极为变压电路13的输入端,可以用于接收输入电压,第一PMOS管的栅极为变压电路13的输出端,可以用于输出输出电压。On the other hand, as shown in FIG. 7, in order to realize the boosting process of the transformer circuit 13, the source of the first PMOS tube is the input terminal of the transformer circuit 13, which can be used to receive the input voltage, and the gate of the first PMOS tube is The output terminal of the transformer circuit 13 can be used to output an output voltage.
本申请中,采用电阻和第一PMOS管的结构替换了现有的纯电阻结构,其中,电阻的两端分别耦合第一PMOS管的栅极和漏极,即Diode的耦合方式,第一电流源11和第二电流源12通过调整流经第一PMOS管的电流,使得第一PMOS管工作在线性区,这样,变压电路13将输入电压转换成幅值为目标值的输出电压的效果更佳。In this application, the structure of the resistor and the first PMOS tube is used to replace the existing pure resistance structure, wherein the two ends of the resistor are respectively coupled to the gate and drain of the first PMOS tube, that is, the coupling method of Diode, the first current The source 11 and the second current source 12 adjust the current flowing through the first PMOS tube to make the first PMOS tube work in the linear region. In this way, the transformer circuit 13 converts the input voltage into an output voltage with a target value. Better.
另一种可行的实现方式中,如图8和图9所示,当晶体管为第二PMOS管时,第二PMOS管的栅极耦合至电阻的第一端。In another feasible implementation manner, as shown in FIGS. 8 and 9, when the transistor is a second PMOS tube, the gate of the second PMOS tube is coupled to the first end of the resistor.
其中,本申请对第二PMOS管的具体个数不做限定。为了便于说明,图8和图9中,第二PMOS管为一个并以字母“M4”标识。Among them, this application does not limit the specific number of the second PMOS transistors. For ease of description, in FIGS. 8 and 9, there is one second PMOS transistor and is identified by the letter "M4".
一方面,如图8所示,为了实现变压电路13的升压过程,电阻的第二端为变压电路13的输入端,可以用于接收输入电压,第二PMOS管的源极为变压电路13的输出端,可以用于输出输出电压。On the one hand, as shown in FIG. 8, in order to realize the step-up process of the transformer circuit 13, the second end of the resistor is the input terminal of the transformer circuit 13, which can be used to receive the input voltage. The source of the second PMOS transistor is the transformer The output terminal of the circuit 13 can be used to output the output voltage.
另一方面,如图9所示,为了实现变压电路13的降压过程,第二PMOS管的源极为变压电路13的输入端,可以用于接收输入电压,电阻的第二端为变压电路13的输出端,可以用于输出输出电压。On the other hand, as shown in Figure 9, in order to achieve the step-down process of the transformer circuit 13, the source of the second PMOS tube is the input terminal of the transformer circuit 13, which can be used to receive the input voltage, and the second end of the resistor is the transformer. The output terminal of the voltage circuit 13 can be used to output an output voltage.
本申请中,采用电阻和第二PMOS的结构替换了现有的纯电阻结构,其中,电阻的两端分别耦合第二PMOS的栅极和漏极,即Diode的耦合方式,第一电流源11和第二电流源12通过调整流经第二PMOS的电流,使得第二PMOS工作在饱和区或者亚阈值区,这样,变压电路13将输入电压转换成幅值为目标值的输出电压的效果更佳。In this application, the resistor and the second PMOS structure are used to replace the existing pure resistor structure, wherein the two ends of the resistor are respectively coupled to the gate and the drain of the second PMOS, that is, the Diode coupling mode, the first current source 11 And the second current source 12 adjusts the current flowing through the second PMOS so that the second PMOS works in the saturation region or the sub-threshold region. In this way, the transformer circuit 13 converts the input voltage into an output voltage with a target value. Better.
当晶体管为晶体三极管时,在图1b所示实施例的基础上,结合图10-图17,采用如下四种可行的实现方式对电平转换电路10的具体结构进行描述。When the transistor is a transistor, on the basis of the embodiment shown in FIG. 1b and in conjunction with FIGS. 10-17, the following four feasible implementation modes are used to describe the specific structure of the level conversion circuit 10.
一种可行的实现方式中,如图10和图11所示,当晶体管为第一NPN时,第一NPN的基极耦合至电阻的第二端。In a feasible implementation manner, as shown in FIGS. 10 and 11, when the transistor is the first NPN, the base of the first NPN is coupled to the second end of the resistor.
其中,本申请对第一NPN的具体个数不做限定。为了便于说明,图10和图11中,第一NPN为一个并以字母“N1”标识。另外,第一NPN的基极通常耦合有电阻,图10和图11中未进行示意。Among them, this application does not limit the specific number of the first NPN. For ease of description, in FIGS. 10 and 11, the first NPN is one and is identified by the letter "N1". In addition, the base of the first NPN is usually coupled with a resistor, which is not shown in FIGS. 10 and 11.
一方面,如图10所示,为了实现变压电路13的升压过程,第一NPN的发射极为变压电路13的输入端,可以用于接收输入电压,第一NPN的基极为变压电路13的输出端,可以用于输出输出电压。On the one hand, as shown in FIG. 10, in order to realize the step-up process of the transformer circuit 13, the transmitter of the first NPN can be used to receive the input voltage of the transformer circuit 13, and the base of the first NPN is the transformer circuit The output terminal of 13 can be used to output the output voltage.
另一方面,如图11所示,为了实现变压电路13的降压过程,第一NPN的基极为变压电路13的输入端,可以用于接收输入电压,第一NPN的发射极为变压电路13的输出端,可以用于输出输出电压。On the other hand, as shown in FIG. 11, in order to realize the step-down process of the transformer circuit 13, the base of the first NPN is the input terminal of the transformer circuit 13, which can be used to receive the input voltage, and the transmitter of the first NPN is transformer. The output terminal of the circuit 13 can be used to output the output voltage.
本申请中,采用电阻和第一NPN的结构替换了现有的纯电阻结构,其中,电阻的两端分别耦合第一NPN的基极和集电极,即Diode的耦合方式,第一电流源11和第二电流源12通过调整流经第一NPN的电流,使得第一NPN工作在线性区,这样,变压电路13将输入电平转换成幅值为目标值的输出电压的效果更佳。In this application, the structure of the resistor and the first NPN is used to replace the existing pure resistance structure, wherein the two ends of the resistor are respectively coupled to the base and collector of the first NPN, that is, the coupling method of Diode, the first current source 11 And the second current source 12 adjusts the current flowing through the first NPN so that the first NPN works in the linear region. In this way, the transformer circuit 13 has a better effect of converting the input level into the output voltage with the amplitude of the target value.
另一种可行的实现方式中,如图12和图13所示,当晶体管为第二NPN时,第二NPN的基极耦合至电阻的第一端。In another feasible implementation manner, as shown in FIGS. 12 and 13, when the transistor is the second NPN, the base of the second NPN is coupled to the first end of the resistor.
其中,本申请对第二NPN的具体个数不做限定。为了便于说明,图12和图13中,第二NPN为一个并以字母“N2”标识。另外,第二NPN的基极通常耦合有电阻,图12和图13中未进行示意。Among them, this application does not limit the specific number of the second NPN. For ease of description, in FIGS. 12 and 13, the second NPN is one and is identified by the letter "N2". In addition, the base of the second NPN is usually coupled with a resistor, which is not shown in FIGS. 12 and 13.
一方面,如图12所示,为了实现变压电路13的升压过程,第二NPN的发射极为变压电路13的输入端,可以用于接收输入电压,电阻的第二端为变压电路13的输出端,可以用于输出输出电压。On the one hand, as shown in FIG. 12, in order to realize the step-up process of the transformer circuit 13, the transmitter of the second NPN is the input terminal of the transformer circuit 13, which can be used to receive the input voltage, and the second end of the resistor is the transformer circuit The output terminal of 13 can be used to output the output voltage.
另一方面,如图13所示,为了实现变压电路13的降压过程,电阻的第二端为变压电路13的输入端,可以用于接收输入电压,第二NPN的发射极为变压电路13的输出端,可以用于输出输出电压。On the other hand, as shown in Figure 13, in order to achieve the step-down process of the transformer circuit 13, the second end of the resistor is the input terminal of the transformer circuit 13, which can be used to receive the input voltage. The transmitter of the second NPN is extremely transformer The output terminal of the circuit 13 can be used to output the output voltage.
本申请中,采用电阻和第二NPN的结构替换了现有的纯电阻结构,其中,电阻的两端分别耦合第二NPN的基极和集电极,即Diode的耦合方式,第一电流源11和第二电流源12通过调整流经第二NPN的电流,使得第二NPN工作在饱和区或者亚阈值区,这样,变压电路13将输入电压转换成幅值为目标值的输出电压的效果更佳。In this application, the resistor and the second NPN structure are used to replace the existing pure resistance structure, wherein the two ends of the resistor are respectively coupled to the base and collector of the second NPN, that is, the coupling method of Diode, the first current source 11 And the second current source 12 adjusts the current flowing through the second NPN so that the second NPN works in the saturation region or the sub-threshold region. In this way, the transformer circuit 13 converts the input voltage into an output voltage with a target value. Better.
另一种可行的实现方式中,如图14和图15所示,当晶体管为第一PNP时,第一PNP的基极耦合至电阻的第二端。In another feasible implementation manner, as shown in FIGS. 14 and 15, when the transistor is a first PNP, the base of the first PNP is coupled to the second end of the resistor.
其中,本申请对第一PNP的具体个数不做限定。为了便于说明,图14和图15中,第一PNP为一个并以字母“N3”标识。另外,第一PNP的基极通常耦合有电阻,图14和图15中未进行示意。Among them, this application does not limit the specific number of the first PNP. For ease of description, in FIG. 14 and FIG. 15, the first PNP is one and is identified by the letter "N3". In addition, the base of the first PNP is usually coupled with a resistor, which is not shown in FIGS. 14 and 15.
一方面,如图14所示,为了实现变压电路13的升压过程,第一PNP的基极为变压电路13的输入端,可以用于接收输入电压,第一PNP的发射极为变压电路13的输出端,可以用于输出输出电压。On the one hand, as shown in FIG. 14, in order to realize the step-up process of the transformer circuit 13, the base of the first PNP is the input terminal of the transformer circuit 13, which can be used to receive the input voltage, and the transmitter of the first PNP is the transformer circuit The output terminal of 13 can be used to output the output voltage.
另一方面,如图15所示,为了实现变压电路13的升压过程,第一PNP的发射极为变压电路13的输入端,可以用于接收输入电压,第一PNP的基极为变压电路13的输出端,可以用于输出输出电压。On the other hand, as shown in Fig. 15, in order to realize the step-up process of the transformer circuit 13, the transmitter of the first PNP can be used to receive the input voltage. The base electrode of the first PNP can be used to transform the voltage. The output terminal of the circuit 13 can be used to output the output voltage.
本申请中,采用电阻和第一PNP的结构替换了现有的纯电阻结构,其中,电阻的两端分别耦合第一PNP的基极和集电极,即Diode的耦合方式,第一电流源11和第二电流源12通过调整流经第一PNP的电流,使得第一PNP工作在线性区,这样,变 压电路13将输入电压转换成幅值为目标值的输出电压的效果更佳。In this application, the structure of the resistor and the first PNP is used to replace the existing pure resistance structure, wherein the two ends of the resistor are respectively coupled to the base and collector of the first PNP, that is, the coupling method of Diode, the first current source 11 And the second current source 12 adjusts the current flowing through the first PNP so that the first PNP works in the linear region. In this way, the transformer circuit 13 has a better effect of converting the input voltage into the output voltage with the amplitude of the target value.
另一种可行的实现方式中,如图16和图17所示,当晶体管为第二PNP时,第二PNP的基极耦合至电阻的第一端。In another feasible implementation manner, as shown in FIGS. 16 and 17, when the transistor is a second PNP, the base of the second PNP is coupled to the first end of the resistor.
其中,本申请对第二PNP的具体个数不做限定。为了便于说明,图16和图17中,第二PNP为一个并以字母“N4”标识。另外第二PNP的基极通常耦合有电阻,图16和图17中未进行示意。Among them, this application does not limit the specific number of the second PNP. For ease of description, in FIG. 16 and FIG. 17, the second PNP is one and is identified by the letter "N4". In addition, the base of the second PNP is usually coupled with a resistor, which is not shown in FIGS. 16 and 17.
一方面,如图16所示,为了实现变压电路13的升压过程,电阻的第二端为变压电路13的输入端,可以用于接收输入电压,第二PNP的发射极为变压电路13的输出端,可以用于输出输出电压。On the one hand, as shown in FIG. 16, in order to realize the boost process of the transformer circuit 13, the second end of the resistor is the input terminal of the transformer circuit 13, which can be used to receive the input voltage. The transmitter of the second PNP is the transformer circuit The output terminal of 13 can be used to output the output voltage.
另一方面,如图17所示,为了实现变压电路13的降压过程,第二PNP的发射极为变压电路13的输入端,可以用于接收输入电压,电阻的第二端为变压电路13的输出端可以用于输出输出电压。On the other hand, as shown in Figure 17, in order to achieve the step-down process of the transformer circuit 13, the emitter of the second PNP is the input terminal of the transformer circuit 13, which can be used to receive the input voltage, and the second end of the resistor is the transformer. The output terminal of the circuit 13 can be used to output an output voltage.
本申请中,采用电阻和第二PNP的结构替换了现有的纯电阻结构,其中,电阻的两端分别耦合第二PNP的基极和集电极,即Diode的耦合方式,第一电流源11和第二电流源12通过调整流经第二PNP的电流,使得第二PNP工作在饱和区或者亚阈值区,这样,变压电路13将输入电平转换成幅值为目标值的输出电压的效果更佳。In this application, the existing pure resistance structure is replaced by the structure of the resistor and the second PNP. The two ends of the resistor are respectively coupled to the base and collector of the second PNP, that is, the coupling method of Diode, the first current source 11 And the second current source 12 adjusts the current flowing through the second PNP so that the second PNP works in the saturation region or the sub-threshold region. In this way, the transformer circuit 13 converts the input level into an output voltage whose amplitude is the target value. The effect is better.
需要说明的是,上述实施例仅是变压电路13的部分实现方式,本申请中的变压电路13还可以采用其他方式,只需满足变压电路13包括耦合的电阻和晶体管即可。It should be noted that the above-mentioned embodiments are only partial implementations of the transformer circuit 13, and the transformer circuit 13 in this application can also adopt other methods, as long as the transformer circuit 13 includes coupled resistors and transistors.
进一步地,在图2-图17所示实施例的基础上,变压电路13还可以包括:电容(图2-图17中电容以字母“C”标识),电容并联耦合在变压电路13的输入端与输出端之间,以获得更好的噪声性能和高频性能。Further, on the basis of the embodiment shown in FIGS. 2-17, the transformer circuit 13 may also include a capacitor (the capacitor is identified by the letter "C" in FIGS. 2-17), and the capacitor is coupled in parallel to the transformer circuit 13 Between the input end and the output end to obtain better noise performance and high frequency performance.
示例性的,在上述图1a、图1b-图17实施例的基础上,第一电流源11的第二端用于接收第一反馈信号,第二电流源12的第二端用于接收第二反馈信号。其中,第一反馈信号和第二反馈信号通常为不同幅值的电压。Exemplarily, on the basis of the above-mentioned embodiments in FIGS. 1a and 1b-17, the second end of the first current source 11 is used to receive the first feedback signal, and the second end of the second current source 12 is used to receive the first feedback signal. 2. Feedback signal. Wherein, the first feedback signal and the second feedback signal are usually voltages of different amplitudes.
本申请中,由于第一反馈信号和第二反馈信号用于表示输出电压的幅值不为目标值,因此,第一电流源11和第二电流源12可以分别调节自身的电流,实现对流经变压电路13的电流的调节。In this application, since the first feedback signal and the second feedback signal are used to indicate that the amplitude of the output voltage is not the target value, the first current source 11 and the second current source 12 can adjust their own currents respectively to achieve the Adjustment of the current of the transformer circuit 13.
可选地,第一电流源11根据第一反馈信号,调节第一电流源11的电流,使得第一电流源11的电流和第二电流源12的电流相等。第二电流源12根据第二反馈信号,调节第二电流源12的电流,使得第二电流源12的电流和第一电流源11的电流相等。其中,第一电流源11调节自身电流的过程,和第二电流源12调节自身电流的过程,可以同步进行,时间顺序上不分先后。Optionally, the first current source 11 adjusts the current of the first current source 11 according to the first feedback signal, so that the current of the first current source 11 and the current of the second current source 12 are equal. The second current source 12 adjusts the current of the second current source 12 according to the second feedback signal, so that the current of the second current source 12 is equal to the current of the first current source 11. The process of adjusting its own current by the first current source 11 and the process of adjusting its own current by the second current source 12 can be performed simultaneously, in no particular order in time sequence.
本申请提供的电平转换电路,通过第一电流源、变压电路中的电阻和晶体管与第二电流源可以构成一个回路,从而第一电流源和第二电流源可以调节流经变压电路的电流,使得变压电路可以将接收到的输入电压转换为输出电压。在输出电压的幅值为目标值时,第一电流源和第二电流源保持流经变压电路的电流,无需调整流经变压电路的电流,变压电路便可直接输出幅值为目标值的输出电压。在输出电压的幅值不为目标值时,第一电流源和第二电流源通过与电阻和晶体管的耦合,可以对流经变压电路的电流进行调整,使得变压电路可以输出幅值为目标值的输出电压,以实现电平转 换电路的升压或者降压。本申请中,由于变压电路包括耦合的电阻和晶体管,将现有的纯电阻结构替换成电阻和晶体管的结构,减小了电平转换电路的阻抗,优化了电平转换电路的噪声性能,降低了电平转换电路的线性度损失。The level conversion circuit provided by the present application can form a loop through the first current source, the resistors and transistors in the transformer circuit, and the second current source, so that the first current source and the second current source can adjust the flow through the transformer circuit The current, so that the transformer circuit can convert the received input voltage into an output voltage. When the amplitude of the output voltage is the target value, the first current source and the second current source maintain the current flowing through the transformer circuit, without adjusting the current flowing through the transformer circuit, the transformer circuit can directly output the amplitude to the target value Value of the output voltage. When the amplitude of the output voltage is not the target value, the first current source and the second current source can adjust the current flowing through the transformer circuit through the coupling with the resistor and the transistor, so that the transformer circuit can output the target amplitude Value of the output voltage to achieve the step-up or step-down of the level conversion circuit. In this application, since the transformer circuit includes coupled resistors and transistors, the existing pure resistance structure is replaced with a resistor and transistor structure, which reduces the impedance of the level conversion circuit and optimizes the noise performance of the level conversion circuit. Reduce the linearity loss of the level conversion circuit.
图18为在上述图1a所示结构的基础上对本申请电平转换电路10的示意图,如图18所示,电平转换电路10还可以包括:第一控制电路14。第一控制电路14的输入端耦合至变压电路13的输出端,变压电路13的输出端用于输出输出电压,第一控制电路14的第一输出端耦合至第一电流源11的第二端,第一控制电路14的第二输出端耦合至第二电流源12的第二端。FIG. 18 is a schematic diagram of the level conversion circuit 10 of the present application based on the structure shown in FIG. 1a. As shown in FIG. 18, the level conversion circuit 10 may further include: a first control circuit 14. The input terminal of the first control circuit 14 is coupled to the output terminal of the transformer circuit 13, the output terminal of the transformer circuit 13 is used to output an output voltage, and the first output terminal of the first control circuit 14 is coupled to the first current source 11 Two terminals, the second output terminal of the first control circuit 14 is coupled to the second terminal of the second current source 12.
为了便于说明,图18中,变压电路13的输出端采样数字“1”标识,第一电流源11的第二端采用数字“2”标识,第二电流源12的第二端采用数字“2”标识,第一控制电路14的输入端采用数字“1”标识,第一控制电路14的第一输出端采用数字“2”标识,第一控制电路14的第二输出端采用数字“3”标识。For ease of description, in FIG. 18, the output terminal of the transformer circuit 13 samples the number "1", the second terminal of the first current source 11 uses the number "2", and the second terminal of the second current source 12 uses the number " 2" identification, the input terminal of the first control circuit 14 adopts the number “1” identification, the first output terminal of the first control circuit 14 adopts the number “2” identification, and the second output terminal of the first control circuit 14 adopts the number “3” "Identification.
本申请中,第一控制电路14可以从变压电路13接收输出电压,再判断输出电压的当前幅值是否为目标值。进而,第一控制电路14在输出电压的当前幅值不为目标值时,可以向第一电流源11发送第一反馈信号,并向第二电流源12发送第二反馈信号,使得第一电流源11可以根据第一反馈信号调节自身的电流,与此同时,第二电流源12可以根据第二反馈信号调节自身的电路,使得第一电流源11的电流和第二电流源12的电流相同,从而共同实现对流经变压电路13的电流的调节,使得变压电路13可以输出幅值为目标值的输出电压。In this application, the first control circuit 14 may receive the output voltage from the transformer circuit 13, and then determine whether the current amplitude of the output voltage is the target value. Furthermore, when the current amplitude of the output voltage is not the target value, the first control circuit 14 may send a first feedback signal to the first current source 11 and a second feedback signal to the second current source 12, so that the first current The source 11 can adjust its own current according to the first feedback signal. At the same time, the second current source 12 can adjust its own circuit according to the second feedback signal, so that the current of the first current source 11 and the current of the second current source 12 are the same. In this way, the adjustment of the current flowing through the transformer circuit 13 is jointly realized, so that the transformer circuit 13 can output an output voltage whose amplitude is the target value.
另外,第一控制电路14在输出电压的当前幅值为目标值时,可以分别向第一电流源11和第二电流源12提供表示输出电压的幅值为目标值的第一反馈信号和第二反馈信号,使得第一电流源11和第二电流源12无需去调节流经变压电路13的电流,继续保持该电流即可,从而变压电路13可以直接输出幅值为目标值的输出电压,也可以分别不向第一电流源11和第二电流源12输出第一反馈信号和第二反馈信号,使得第一电流源11和第二电流源12在经过预设时长之后仍未接收到第一反馈信号和第二反馈信号时,可以保持流经变压电路13的电流,无需去调节该电流,从而使得变压电路13可以输出幅值为目标值的输出电压。其中,预设时长可以根据实际经验值进行设定,本申请对此不做限定。In addition, when the current amplitude of the output voltage is the target value, the first control circuit 14 may respectively provide the first current source 11 and the second current source 12 with the first feedback signal and the first feedback signal indicating that the amplitude of the output voltage is the target value. Two feedback signals, so that the first current source 11 and the second current source 12 do not need to adjust the current flowing through the transformer circuit 13 and continue to maintain the current, so that the transformer circuit 13 can directly output an output with a target amplitude Voltage, it is also possible not to output the first feedback signal and the second feedback signal to the first current source 11 and the second current source 12 respectively, so that the first current source 11 and the second current source 12 have not received the voltage after the preset time When the first feedback signal and the second feedback signal are reached, the current flowing through the transformer circuit 13 can be maintained without adjusting the current, so that the transformer circuit 13 can output an output voltage with a target amplitude. Among them, the preset duration can be set according to actual experience values, which is not limited in this application.
需要说明的是,本申请也可以结合图1b所示的结构与第一控制电路14共同构成本申请电平转换电路10,具体工作原理可参见图18所示的描述,此处不做赘述。It should be noted that the present application can also combine the structure shown in FIG. 1b and the first control circuit 14 to form the level conversion circuit 10 of the present application. For the specific working principle, refer to the description shown in FIG. 18, which will not be repeated here.
其中,在第一电流源11和第二电流源12采用晶体管时,第一电流源11、第二电流源12和第一控制电路14中的晶体管可以为相同类型,也可以为不同类型,可以为一个,也可以为多个,本申请对此不做限定。Wherein, when the first current source 11 and the second current source 12 adopt transistors, the transistors in the first current source 11, the second current source 12, and the first control circuit 14 may be of the same type, or may be of different types. It can be one or multiple, which is not limited in this application.
可选地,结合图19,采用电流镜的实现方式,对第一电流源11、第二电流源12和第一控制电路14进行实例性示意。如图19所示,第一电流源11包括:第三PMOS管,第二电流源12包括:第三NMOS管,第一控制电路14包括:电压反馈电路、第四PMOS管和第四NMOS管。其中,电压反馈电路可以为处理器等元器件,本申请对此不做限定。Optionally, in conjunction with FIG. 19, the first current source 11, the second current source 12, and the first control circuit 14 are exemplarily illustrated by using a current mirror implementation. As shown in FIG. 19, the first current source 11 includes: a third PMOS tube, the second current source 12 includes: a third NMOS tube, and the first control circuit 14 includes: a voltage feedback circuit, a fourth PMOS tube, and a fourth NMOS tube . Wherein, the voltage feedback circuit may be a component such as a processor, which is not limited in this application.
为了便于说明,图19中,变压电路13以图2所示结构为例进行示意,第三PMOS 管以一个PMOS管为例,采用字母“Q1”标识,第三NMOS管以一个NMOS管为例,采用字母“Q2”标识,第四PMOS管以一个PMOS管为例,采用字母“Q3”标识,第四NMOS管以一个NMOS管为例,采用字母“Q4”标识。For ease of description, in FIG. 19, the transformer circuit 13 is illustrated with the structure shown in FIG. 2 as an example. The third PMOS tube is a PMOS tube as an example, and the letter "Q1" is used to identify the third NMOS tube. For example, the letter "Q2" is used for identification, the fourth PMOS tube is identified by a PMOS tube with the letter "Q3", and the fourth NMOS tube is identified by an NMOS tube with the letter "Q4".
其中,第三PMOS管的源极耦合有供电电平,即第一电流源11的供电端上的供电电平,第三PMOS管的漏极耦合至电阻的第二端,第三PMOS管的栅极为第一电流源11的第二端,第三PMOS管的栅极耦合至第四PMOS管的栅极。Wherein, the source of the third PMOS tube is coupled with a power supply level, that is, the power supply level on the power supply terminal of the first current source 11, the drain of the third PMOS tube is coupled to the second end of the resistor, and the power supply level of the third PMOS tube is The gate is the second end of the first current source 11, and the gate of the third PMOS transistor is coupled to the gate of the fourth PMOS transistor.
第三NMOS管的漏极耦合至晶体管的源极,第三NMOS管的源极接地,第三NMOS管的栅极为第二电流源12的第二端,第三NMOS管的栅极耦合至第四NMOS管的栅极。The drain of the third NMOS transistor is coupled to the source of the transistor, the source of the third NMOS transistor is grounded, the gate of the third NMOS transistor is the second end of the second current source 12, and the gate of the third NMOS transistor is coupled to the The grid of four NMOS tubes.
第四PMOS管的源极耦合有供电电压(该供电电压与第三PMOS管的源极耦合有供电电压相同),第四PMOS管的栅极和漏极均耦合至第四NMOS管的漏极,第四NMOS管的源极接地,第四NMOS管的栅极还耦合至电压反馈电路的输出端,电压反馈电路的输入端为第一控制电路14的输入端,电压反馈电路的输入端耦合至变压电路13的输出端。The source of the fourth PMOS tube is coupled with a power supply voltage (the power supply voltage is the same as the power supply voltage coupled to the source of the third PMOS tube), and the gate and drain of the fourth PMOS tube are both coupled to the drain of the fourth NMOS tube , The source of the fourth NMOS tube is grounded, the gate of the fourth NMOS tube is also coupled to the output terminal of the voltage feedback circuit, the input terminal of the voltage feedback circuit is the input terminal of the first control circuit 14, and the input terminal of the voltage feedback circuit is coupled To the output terminal of the transformer circuit 13.
本申请中,电压反馈电路可以从变压电路13的输出端接收输出电压,再对输出电压的当前幅值是否为目标值进行判断。进而,电压反馈电路在输出电压的当前幅值不为目标值时,可以向第四NMOS管发送调节信号(图19中,采用字母“Vctrl”标识)。In this application, the voltage feedback circuit may receive the output voltage from the output terminal of the transformer circuit 13, and then determine whether the current amplitude of the output voltage is the target value. Furthermore, when the current amplitude of the output voltage is not the target value, the voltage feedback circuit can send an adjustment signal to the fourth NMOS tube (in Figure 19, the letter "Vctrl" is used for identification).
其中,第一控制电路14中的第四PMOS管可以作为第三PMOS管的电流镜,由第四PMOS管向第三PMOS管发送第一反馈信号,第一控制电路14中的第四NMOS管可以作为第三NMOS管的电流镜,由第四NMOS管向第三NMOS管发送第二反馈信号。Among them, the fourth PMOS tube in the first control circuit 14 can be used as the current mirror of the third PMOS tube, the fourth PMOS tube sends the first feedback signal to the third PMOS tube, and the fourth NMOS tube in the first control circuit 14 It can be used as a current mirror of the third NMOS tube, and the fourth NMOS tube sends the second feedback signal to the third NMOS tube.
一方面,该调节信号经由第四NMOS管和第四PMOS管,可以向第三PMOS管发送第一反馈信号,以调节第三PMOS管的电流。On the one hand, the adjustment signal can send the first feedback signal to the third PMOS transistor via the fourth NMOS tube and the fourth PMOS tube to adjust the current of the third PMOS tube.
另一方面,该调节信号经由第四NMOS管,可以向第三NMOS管发送第二反馈信号,以调节第三NMOS管的电流,且在保证第三PMOS管的电流和第三NMOS管的电流相等的基础上,实现对流经变压电路13的电流的调节。On the other hand, the adjustment signal can send a second feedback signal to the third NMOS tube through the fourth NMOS tube to adjust the current of the third NMOS tube, and to ensure the current of the third PMOS tube and the current of the third NMOS tube. On an equal basis, the adjustment of the current flowing through the transformer circuit 13 is realized.
其中,本申请对第四PMOS管和第四NMOS管的数量不做限定。且第四PMOS管和第四NMOS管可以与电压反馈电路集成设置,也可以与电压反馈电路分开设置,本申请对此不做限定。Among them, this application does not limit the number of fourth PMOS transistors and fourth NMOS transistors. In addition, the fourth PMOS tube and the fourth NMOS tube may be integrated with the voltage feedback circuit, or may be provided separately from the voltage feedback circuit, which is not limited in this application.
进一步地,为了分析本申请电平转换电路10的阻抗变小的过程,下面,结合图20和图21,对本申请电平转换电路10的阻抗与采用纯电阻结构的电平转换电路的阻抗进行比较分析。Further, in order to analyze the process of reducing the impedance of the level conversion circuit 10 of the present application, the impedance of the level conversion circuit 10 of the present application and the impedance of the level conversion circuit adopting a pure resistance structure are analyzed in conjunction with FIG. 20 and FIG. 21. comparative analysis.
图20示出了本申请电平转换电路10的等效小信号模型,为了便于说明,图20所示的本申请电平转换电路10中,第一电流源11、第二电流源12和变压电路13以图2所示结构为例进行示意。FIG. 20 shows an equivalent small signal model of the level conversion circuit 10 of the present application. For ease of description, in the level conversion circuit 10 of the present application shown in FIG. 20, the first current source 11, the second current source 12, and the transformer The voltage circuit 13 is illustrated by taking the structure shown in FIG. 2 as an example.
如图20所示,通过如下公式,计算本申请电平转换电路10的等效阻抗R eq(不包括电容和电流源)为: As shown in FIG. 20, the equivalent impedance R eq (excluding the capacitor and current source) of the level conversion circuit 10 of the present application is calculated by the following formula:
g mr ds≈1 g m r ds ≈1
Figure PCTCN2019088030-appb-000001
Figure PCTCN2019088030-appb-000001
其中,g m为M1的跨导,r ds为M1的小信号阻抗,R eq为等效阻抗(即交流阻抗)。 Among them, g m is the transconductance of M1, r ds is the small signal impedance of M1, and R eq is the equivalent impedance (ie, AC impedance).
通过如下公式,针对采用纯电阻结构的电平转换电路,计算产生幅值为目标值的输出电压转换所需要的电阻值R'为:According to the following formula, for the level conversion circuit adopting the pure resistance structure, the resistance value R'required to generate the output voltage conversion with the target value is calculated as:
I D=K(V GS-V TH)V DS=K(V GS-V TH)(V GS-I DR) I D =K(V GS -V TH ) V DS =K(V GS -V TH )(V GS -I D R)
Figure PCTCN2019088030-appb-000002
Figure PCTCN2019088030-appb-000002
其中,I D为流过采用纯电阻结构的电平转换电路的电流,K为常数,V GS为采用纯电阻结构的电平转换电路或者本申请电平转换电路10的电压差,V TH为本申请电平转换电路10中晶体管(晶体管以MOS管为例)的阈值电压,V DS为本申请电平转换电路10中MOS管的源漏极压差,R'为采用纯电阻结构的电平转换电路10的等效阻抗(即直流阻抗)。 Among them, I D is the current flowing through the level conversion circuit using a pure resistance structure, K is a constant, V GS is the voltage difference of the level conversion circuit using a pure resistance structure or the level conversion circuit 10 of the present application, and V TH is The threshold voltage of the transistor in the level shift circuit 10 of the present application (the transistor is a MOS transistor as an example), V DS is the voltage difference between the source and drain of the MOS transistor in the level shift circuit 10 of the present application, and R'is the voltage of the pure resistance structure. The equivalent impedance (ie, DC impedance) of the level conversion circuit 10.
从输入电压(即输入信号)到输出电压(输出信号)的传递函数为:The transfer function from the input voltage (that is, the input signal) to the output voltage (the output signal) is:
Figure PCTCN2019088030-appb-000003
Figure PCTCN2019088030-appb-000003
其中,v in为输入信号,v out为输出信号,R ls为本申请电平转换电路10的阻抗,R tail为电流源阻抗。由于电流源通常为MOS管,MOS管的阻抗R tail会随着信号的变化而变化,因此,R ls越小,线性度越好。 Among them, v in is the input signal, v out is the output signal, R ls is the impedance of the level conversion circuit 10 of the application, and R tail is the current source impedance. Since the current source is usually a MOS tube, the impedance R tail of the MOS tube will change with the change of the signal. Therefore, the smaller the R ls , the better the linearity.
基于上述内容,比较图20中本申请电平转换电路10的等效阻抗R eq和采用纯电阻结构的电平转换电路的电阻值R',R eq约为R'的一半,故本申请电平转换电路10的线性度更佳,同时较小的阻抗带来的噪声贡献也会更小。 Based on the above content, comparing the equivalent impedance R eq of the level conversion circuit 10 of the present application in FIG. 20 with the resistance value R'of the level conversion circuit adopting a pure resistance structure, R eq is about half of R', so the present application The linearity of the level conversion circuit 10 is better, and the noise contribution brought by the smaller impedance will be smaller.
图21示出了本申请电平转换电路10中晶体管的电流-电压曲线及其直流电阻和交流电阻曲线,该曲线的横坐标I DS为流过本申请电平转换电路10的电流,纵坐标V GS为本申请电平转换电路10的电压差。为了便于说明,图21所示的本申请电平转换电路10中,第一电流源11、第二电流源12和变压电路13以图4所示的结构为例,晶体管采用MOS管为例进行示意。 21 shows the current-voltage curve of the transistor in the level conversion circuit 10 of the present application and its DC resistance and AC resistance curves. The abscissa IDS of the curve is the current flowing through the level conversion circuit 10 of the present application, and the ordinate V GS is the voltage difference of the level conversion circuit 10 of this application. For ease of description, in the level conversion circuit 10 of the present application shown in FIG. 21, the first current source 11, the second current source 12, and the transformer circuit 13 take the structure shown in FIG. 4 as an example, and the transistor adopts a MOS tube as an example. Give a gesture.
通过如下公式,计算本申请电平转换电路10的等效阻抗R eq为: Using the following formula, the equivalent impedance R eq of the level conversion circuit 10 of the present application is calculated as:
Figure PCTCN2019088030-appb-000004
Figure PCTCN2019088030-appb-000004
基于上述内容,计算出采用纯电阻结构的电平转换电路的电阻值R'为:Based on the above content, the resistance value R'of the level conversion circuit with pure resistance structure is calculated as:
R'=R+r ds R'=R+r ds
如图21所示,由于MOS管工作在饱和区或者亚阈值区时,图4中第二NMOS管的IV曲线近似于指数曲线,明显地,第二MOS管的交流阻抗小于直流阻抗。又由于本申请电平转换电路10的等效阻抗R eq相等于MOS管的交流阻抗,采用纯电阻结构的电平转换电路的电阻值R'相等于第二MOS管的直流阻抗,故R eq小于R'。因此,相比于采用纯电阻结构的电平转换电路而言,本申请电平转换电路10的线性度更佳,噪声贡献更小。 As shown in FIG. 21, since the MOS tube is working in the saturation region or the sub-threshold region, the IV curve of the second NMOS tube in FIG. 4 is similar to an exponential curve. Obviously, the AC impedance of the second MOS tube is smaller than the DC impedance. Also, since the equivalent impedance R eq of the level conversion circuit 10 of the present application is equal to the AC impedance of the MOS tube, and the resistance value R′ of the level conversion circuit adopting a pure resistance structure is equal to the DC impedance of the second MOS tube, R eq Less than R'. Therefore, compared with a level conversion circuit adopting a pure resistance structure, the level conversion circuit 10 of the present application has better linearity and less noise contribution.
示例性的,在上述图1a或者图1b所示实施例的基础上,如图22所示,本申请电平转换电路10还可以包括:M个第一电流源11、M个第二电流源12、M个变压电路 13和第二控制电路15,M为正整数。为了便于说明,图22仅在图1a的基础上对电平转换电路10进行示意。Exemplarily, on the basis of the embodiment shown in FIG. 1a or FIG. 1b, as shown in FIG. 22, the level conversion circuit 10 of the present application may further include: M first current sources 11, M second current sources 12. M transformer circuits 13 and second control circuit 15, M is a positive integer. For ease of description, FIG. 22 only illustrates the level conversion circuit 10 on the basis of FIG. 1a.
本申请中,M+1第一电流源11、M+1个第二电流源12、M+1个变压电路13的任意一对中,第一电流源11、第二电流源12、和变压电路13的具体实现方式可以参见本申请中图1a、图1b-图21所示实施例的描述,此处不做赘述。In the present application, in any pair of M+1 first current source 11, M+1 second current source 12, and M+1 transformer circuit 13, the first current source 11, the second current source 12, and The specific implementation of the transformer circuit 13 can be referred to the description of the embodiments shown in FIG. 1a, FIG. 1b-FIG. 21 in this application, and will not be repeated here.
本申请中,第二控制电路15的M+1个输入端(图22中采用字母“IN(i)”标识,1≤i≤M,且i为正整数)通过与M+1个变压电路13的输出端(图22中采用字母“OUT”标识)一一对应耦合,可以从每个变压电路13接收一个输出电压,得到M+1输出电压,再判断M+1个输出电压的幅值均值是否为目标值。In this application, the M+1 input terminals of the second control circuit 15 (identified by the letter "IN(i)" in FIG. 22, 1≤i≤M, and i is a positive integer) pass through and M+1 transformers The output terminals of the circuit 13 (identified by the letter "OUT" in Figure 22) are coupled in a one-to-one correspondence, and can receive an output voltage from each transformer circuit 13 to obtain the M+1 output voltage, and then determine the M+1 output voltage Whether the mean amplitude is the target value.
其中,第二控制电路15可以对M+1个输出电压的幅值先求和,再取均值,得到M+1个输出电压的幅值均值,也可以采用其他算法(如取M+1个输出电压的幅值的算术平方根)计算M+1个输出电压的幅值均值,本申请对此不做限定。Among them, the second control circuit 15 can first sum the amplitudes of the M+1 output voltages, and then take the average value to obtain the average amplitude of the M+1 output voltages, or other algorithms (such as taking M+1 The arithmetic square root of the amplitude of the output voltage) calculates the mean value of the amplitude of the M+1 output voltages, which is not limited in this application.
通常,当输出电压的幅值均值大于目标值时,第二控制电路15可以通过第一电流源11和第二电流源12将流经变压电路13的电流调小,使得输出电压的幅值均值变小,以调节至目标值。当输出电压的幅值均值小于目标值时,第二控制电路15可以通过第一电流源11和第二电流源12将流经变压电路13的电流调大,使得输出电压的幅值均值变大,以调节至目标值。当输出电压的幅值均值等于目标值时,第二控制电路15可以通过第一电流源11和第二电流源12保持流经变压电路13的电流不变,使得变压电路13可以输出幅值均值为目标值的输出电压。Generally, when the average value of the amplitude of the output voltage is greater than the target value, the second control circuit 15 can reduce the current flowing through the transformer circuit 13 through the first current source 11 and the second current source 12, so that the amplitude of the output voltage is The average value becomes smaller to adjust to the target value. When the average amplitude of the output voltage is less than the target value, the second control circuit 15 can increase the current flowing through the transformer circuit 13 through the first current source 11 and the second current source 12, so that the average amplitude of the output voltage changes Large to adjust to the target value. When the average value of the output voltage amplitude is equal to the target value, the second control circuit 15 can maintain the current flowing through the transformer circuit 13 through the first current source 11 and the second current source 12, so that the transformer circuit 13 can output amplitude. The average value is the output voltage of the target value.
本申请中,第二控制电路15的M+1个第一输出端(图22中采用字母“OUT1(i)”标识,1≤i≤M,且i为正整数)通过与M+1个第一电流源11的第二端(图22中采用字母“ADJ”标识)一一对应耦合,第二控制电路15的M+1个第二输出端(图22中采用字母“OUT2(i)”标识,1≤i≤M,且i为正整数)通过与M+1个第二电流源12的第二端(图22中采用字母“ADJ”标识)一一对应耦合,在M+1个输出电压的幅值均值不为目标值时,可以向每个第一电流源11发送第一反馈信号,且向每个第二电流源12发送第二反馈信号,即M+1个第一电流源11均会接收到第一反馈信号,M+1个第二电流源12均会接收到第二反馈信号。In this application, the M+1 first output terminals of the second control circuit 15 (identified by the letter "OUT1(i)" in FIG. 22, 1≤i≤M, and i is a positive integer) pass through and M+1 The second terminal of the first current source 11 (identified by the letter "ADJ" in FIG. 22) is coupled in one-to-one correspondence, and the M+1 second output terminal of the second control circuit 15 (the letter "OUT2(i) in FIG. 22) ”Mark, 1≤i≤M, and i is a positive integer) through a one-to-one correspondence coupling with the second end of the M+1 second current source 12 (identified by the letter “ADJ” in Fig. 22), in M+1 When the average value of the output voltage is not the target value, the first feedback signal can be sent to each first current source 11, and the second feedback signal can be sent to each second current source 12, that is, M+1 first The current sources 11 will all receive the first feedback signal, and the M+1 second current sources 12 will all receive the second feedback signal.
其中,此处的第一反馈信号和第二反馈信号用于表示M+1输出电压的幅值均值不为目标值。Wherein, the first feedback signal and the second feedback signal here are used to indicate that the average value of the amplitude of the M+1 output voltage is not the target value.
本申请中,针对任意一对第一电流源11、第二电流源12和变压电路13,在该第一电流源11接收到第一反馈信号且该第二电流源12接收到第二反馈信号时,第一电流源11和第二电流源12可以对流经该变压电路13的电流进行调节,使得M+1个变压电路13各自输出的输出电压的幅值均值为目标值,以提高输出电压的准确度。In this application, for any pair of the first current source 11, the second current source 12, and the transformer circuit 13, the first current source 11 receives the first feedback signal and the second current source 12 receives the second feedback When signal is generated, the first current source 11 and the second current source 12 can adjust the current flowing through the transformer circuit 13, so that the average value of the output voltage output by the M+1 transformer circuits 13 is the target value, Improve the accuracy of output voltage.
其中,本申请对第二控制电路15的具体实现方式不做限定。可选地,第二控制电路15包括:处理器、带共模反馈的比较器或者带共模反馈和缓冲器的比较器中任意一种。Among them, the application does not limit the specific implementation of the second control circuit 15. Optionally, the second control circuit 15 includes any one of a processor, a comparator with common mode feedback, or a comparator with common mode feedback and a buffer.
下面,结合图23和图24对第二控制电路15分别采用带共模反馈的比较器(Sense Amplifier)和带共模反馈和缓冲器(buffer)的比较器的电平转换电路10进行实例性示意。为了便于说明,图23和图24中,第一电流源11、第二电流源12和变压电路 13以图2所示结构为例进行示意,第一电流源11、第二电流源12和变压电路13的个数M为2,其中,一个晶体管采用字母“Mp”标识,对应的,输入电压采用“Vinp”标识,输出电压采用“Voutp”标识,另一个晶体管采用字母“Mn”标识,对应的,输入电压采用“Vinn”标识,输出电压采用“Voutn”标识。Next, in conjunction with FIG. 23 and FIG. 24, the second control circuit 15 uses a comparator with common mode feedback (Sense Amplifier) and a level conversion circuit 10 with a comparator with common mode feedback and a buffer respectively to illustrate Gesture. For ease of description, in FIGS. 23 and 24, the first current source 11, the second current source 12, and the transformer circuit 13 are illustrated by taking the structure shown in FIG. 2 as an example. The first current source 11, the second current source 12 and The number M of the transformer circuit 13 is 2. Among them, one transistor is identified by the letter "Mp", correspondingly, the input voltage is identified by the "Vinp", the output voltage is identified by the "Voutp", and the other transistor is identified by the letter "Mn" , Correspondingly, the input voltage adopts the "Vinn" label, and the output voltage adopts the "Voutn" label.
当第二控制电路15为带共模反馈的比较器时,如图23所示,电平转换电路10为带共模反馈的差分LS,LS输出的输出电压(Voutp和Voutn)经由带共模反馈的比较器,该带共模反馈的比较器通过比较输出电压的幅值均值(如Voutp与Voutn的平均值)与参考电压(图23中采用字母“Vref”标识,幅值为目标值)的幅值大小,产生两对第一反馈信号和第二反馈信号,并向每个第一电流源11输出对应的第一反馈信号和向每个第二电流源12输出对应的第二反馈信号,使得任意一个第一电流源11和对应的第二电流源12调节对应的流经变压电路13的电流,实现共模反馈的目的。When the second control circuit 15 is a comparator with common mode feedback, as shown in FIG. 23, the level conversion circuit 10 is a differential LS with common mode feedback. The output voltages (Voutp and Voutn) output by LS are Feedback comparator, the comparator with common mode feedback compares the average value of the output voltage amplitude (such as the average value of Voutp and Voutn) with the reference voltage (marked by the letter "Vref" in Figure 23, the amplitude is the target value) Generate two pairs of first feedback signal and second feedback signal, and output the corresponding first feedback signal to each first current source 11 and output the corresponding second feedback signal to each second current source 12 , So that any one of the first current source 11 and the corresponding second current source 12 adjusts the corresponding current flowing through the transformer circuit 13 to achieve the purpose of common mode feedback.
当第二控制电路15为带共模反馈和缓冲器的比较器时,如图24所示,电平转换电路10为带共模反馈和buffer的差分LS,LS输出的输出电压(Voutp和Voutn)经由buffer,其中,Buffer可以采用源跟随器(source follower)结构,且Buffer中的MOS管与变压电路13中的MOS管通常采用相同类型,可以减轻工艺-电压-温度(Process-Voltage-Temperature,PVT)对输出共模的影响。When the second control circuit 15 is a comparator with common mode feedback and a buffer, as shown in FIG. 24, the level conversion circuit 10 is a differential LS with common mode feedback and a buffer. The output voltage (Voutp and Voutn ) Through the buffer, the buffer can adopt a source follower structure, and the MOS tube in the buffer and the MOS tube in the transformer circuit 13 usually adopt the same type, which can reduce the process-voltage-temperature (Process-Voltage- Temperature, PVT) influence on output common mode.
进一步地,Buffer将输出共模输出到带共模反馈的比较器,带共模反馈的比较器通过比较输出电压与参考电压(图24中采用字母“Vref”标识,幅值为目标值)的幅值大小,产生两对第一反馈信号和第二反馈信号,并向每个第一电流源11输出对应的第一反馈信号和向每个第二电流源12输出对应的第二反馈信号,使得任意一个第一电流源11和对应的每个第二电流源12调节对应的流经变压电路13的电流,从而实现共模反馈的目的,解决了Buffer输入/输出共模不匹配的问题,同时将LS带来的不利影响降到比较低的程度。Furthermore, the Buffer outputs the output common mode to the comparator with common mode feedback, and the comparator with common mode feedback compares the output voltage with the reference voltage (in Figure 24, it is marked with the letter "Vref" and the amplitude is the target value). The magnitude of the amplitude, two pairs of the first feedback signal and the second feedback signal are generated, and the corresponding first feedback signal is output to each first current source 11 and the corresponding second feedback signal is output to each second current source 12, Make any one of the first current source 11 and each corresponding second current source 12 adjust the corresponding current flowing through the transformer circuit 13, so as to achieve the purpose of common mode feedback and solve the problem of buffer input/output common mode mismatch , And at the same time reduce the adverse effects of LS to a relatively low level.
进一步地,图23和图24中的电平转换电路10,可以控制输出共模,通过同时调节两个电流源,可以减轻对信号源的驱动能力要求,还实现了共模反馈的过程,可以解决输入输出共模不匹配的问题,使得输出共模可控,消除了电平转换电路10对前级电路的DC电流,减轻了对前级电路的影响。Furthermore, the level conversion circuit 10 in Fig. 23 and Fig. 24 can control the output common mode. By adjusting the two current sources at the same time, the driving capability requirement of the signal source can be reduced, and the common mode feedback process can be realized. Solve the problem of input and output common mode mismatch, make the output common mode controllable, eliminate the DC current of the level conversion circuit 10 to the previous circuit, and reduce the impact on the previous circuit.
本申请中,电平转换电路10不仅可以采用如图1a或者图1b所示的包含有一个第一电流源11、一个第二电流源12、一个变压电路13和第一控制电路14的结构,还可以采用图22所示的包含有M+1个第一电流源11、M+1个第二电流源12、M+1个变压电路13和第二控制电路15的结构。另外,一个电路(或者单元或者装置或者电子设备)中可以集成设置有如上述任意一种方式或者包含有上述两种方式的多个电平转换电路10,可以将一个或者多个输入电压转换成不同幅值的输出电压,还可以同时实现升压和降压的过程,为电平转换过程提供各种可能性,提高了该电路的处理效率。In this application, the level conversion circuit 10 can not only adopt a structure including a first current source 11, a second current source 12, a transformer circuit 13 and a first control circuit 14 as shown in FIG. 1a or FIG. 1b. The structure shown in FIG. 22 including M+1 first current sources 11, M+1 second current sources 12, M+1 transformer circuits 13 and second control circuit 15 can also be adopted. In addition, a circuit (or unit or device or electronic device) can be integrated with multiple level conversion circuits 10 such as any one of the above methods or including the above two methods, which can convert one or more input voltages into different The amplitude of the output voltage can also realize the process of step-up and step-down at the same time, which provides various possibilities for the level conversion process and improves the processing efficiency of the circuit.
示例性的,在图1a、图1b-图24所示实施例的基础上,本申请还提供一种电子设备。图25为本申请提供的一种电子设备的结构示意图,如图25所示,电子设备可以包括:输入端电路20、输出端电路30及至少一个电平转换电路10。Exemplarily, on the basis of the embodiments shown in FIG. 1a and FIG. 1b-24, the present application also provides an electronic device. FIG. 25 is a schematic structural diagram of an electronic device provided by this application. As shown in FIG. 25, the electronic device may include: an input terminal circuit 20, an output terminal circuit 30, and at least one level conversion circuit 10.
其中,电平转换电路10耦合至输入端电路20,用于从输入端电路20接收输入电压。电平转换电路10耦合至输出端电路30,用于向输出端电路30发送输出电压。Wherein, the level conversion circuit 10 is coupled to the input terminal circuit 20 for receiving the input voltage from the input terminal circuit 20. The level conversion circuit 10 is coupled to the output terminal circuit 30 for sending an output voltage to the output terminal circuit 30.
其中,输入端电路和输出端电路可以包括多种形式,电平转换电路10的结构可参见上述实施例中的描述,此处不再赘述。Among them, the input terminal circuit and the output terminal circuit may include various forms, and the structure of the level conversion circuit 10 can refer to the description in the above-mentioned embodiment, which is not repeated here.
其中,电平转换电路10可以与输入端电路20集成设置,也可以与输出端电路30集成设置,还可以单独设置,本申请对此不做限定。Wherein, the level conversion circuit 10 can be integrated with the input circuit 20, can also be integrated with the output circuit 30, or can be separately provided, which is not limited in this application.
其中,电子设备可以包括但不限于:如手机、平板电脑、台式电脑、笔记本等终端设备、如逻辑运算芯片、高低压切换的带锁相环(Phase Locked Loop,PLL)的鉴相器以及差分信号的电平转换器等。Among them, electronic devices may include, but are not limited to: terminal devices such as mobile phones, tablet computers, desktop computers, notebooks, etc., logic operation chips, high and low voltage switching phase locked loop (Phase Locked Loop, PLL) phase detectors and differential Signal level converter, etc.
以上的实施方式、结构示意图或仿真示意图仅为示意性说明本申请的技术方案,其中的尺寸比例、仿真数值并不构成对该技术方案保护范围的限定,任何在上述实施方式的精神和原则之内所做的修改、等同替换和改进等,均应包含在该技术方案的保护范围之内。The above embodiments, structural diagrams or simulation diagrams are only for schematically illustrating the technical solutions of the present application, and the size ratios and simulation values therein do not constitute a limitation on the protection scope of the technical solutions. Anything in the spirit and principles of the above embodiments Modifications, equivalent replacements, improvements, etc., shall be included in the protection scope of the technical solution.

Claims (14)

  1. 一种电平转换电路,其特征在于,包括:第一电流源、第二电流源和变压电路;A level conversion circuit, which is characterized by comprising: a first current source, a second current source and a transformer circuit;
    所述变压电路包括电阻和晶体管,其中所述晶体管的漏极耦合至所述电阻的第一端,所述电阻的第二端耦合至所述第一电流源,所述晶体管的源极耦合至所述第二电流源,所述晶体管的栅极耦合至所述电阻的第一端或所述电阻的第二端。The transformer circuit includes a resistor and a transistor, wherein the drain of the transistor is coupled to the first end of the resistor, the second end of the resistor is coupled to the first current source, and the source of the transistor is coupled To the second current source, the gate of the transistor is coupled to the first end of the resistor or the second end of the resistor.
  2. 根据权利要求1所述的电路,其特征在于,所述晶体管为第一N型金属氧化物半导体NMOS管,所述第一NMOS管的栅极耦合至所述电阻的第二端;3. The circuit of claim 1, wherein the transistor is a first N-type metal oxide semiconductor NMOS tube, and the gate of the first NMOS tube is coupled to the second end of the resistor;
    其中所述第一NMOS管的源极为所述变压电路的输入端,所述第一NMOS管的栅极为所述变压电路的输出端;或者,所述第一NMOS管的栅极为所述变压电路的输入端,所述第一NMOS管的源极为所述变压电路的输出端。Wherein the source of the first NMOS tube is the input terminal of the transformer circuit, and the gate of the first NMOS tube is the output terminal of the transformer circuit; or, the gate of the first NMOS tube is the The input terminal of the transformer circuit, and the source of the first NMOS tube is the output terminal of the transformer circuit.
  3. 根据权利要求1所述的电路,其特征在于,所述晶体管为第二NMOS管,所述第二NMOS管的栅极耦合至所述电阻的第一端;4. The circuit of claim 1, wherein the transistor is a second NMOS tube, and the gate of the second NMOS tube is coupled to the first end of the resistor;
    其中所述第二NMOS管的源极为所述变压电路的输入端,所述电阻的第二端为变压电路的输出端;或者,所述电阻的第二端为所述变压电路的输入端,所述第二NMOS管的源极为所述变压电路的输出端。The source of the second NMOS tube is the input terminal of the transformer circuit, and the second terminal of the resistor is the output terminal of the transformer circuit; or, the second terminal of the resistor is the input terminal of the transformer circuit. The input terminal, the source of the second NMOS tube is the output terminal of the transformer circuit.
  4. 根据权利要求1所述的电路,其特征在于,所述晶体管为第一P型金属氧化物半导体PMOS管,所述第一PMOS管的栅极耦合至所述电阻的第二端;3. The circuit of claim 1, wherein the transistor is a first P-type metal oxide semiconductor PMOS tube, and the gate of the first PMOS tube is coupled to the second end of the resistor;
    其中所述第一PMOS管的栅极为所述变压电路的输入端,所述第一PMOS管的源极为所述变压电路的输出端;或者,所述第一PMOS管的源极为所述变压电路的输入端,所述第一PMOS管的栅极为所述变压电路的输出端。Wherein the gate of the first PMOS tube is the input terminal of the transformer circuit, and the source of the first PMOS tube is the output terminal of the transformer circuit; or, the source of the first PMOS tube is the The input terminal of the transformer circuit, and the gate of the first PMOS tube is the output terminal of the transformer circuit.
  5. 根据权利要求1所述的电路,其特征在于,所述晶体管为第二PMOS管,所述第二PMOS管的栅极耦合至所述电阻的第一端;The circuit according to claim 1, wherein the transistor is a second PMOS tube, and the gate of the second PMOS tube is coupled to the first end of the resistor;
    其中所述电阻的第二端为所述变压电路的输入端,所述第二PMOS管的源极为所述变压电路的输出端;或者,所述第二PMOS管的源极为所述变压电路的输入端,所述电阻的第二端为所述变压电路的输出端。The second end of the resistor is the input end of the transformer circuit, and the source of the second PMOS transistor is the output end of the transformer circuit; or, the source of the second PMOS transistor is the transformer. The input terminal of the voltage transformer circuit, and the second terminal of the resistor is the output terminal of the transformer circuit.
  6. 根据权利要求1-5任一项所述的电路,其特征在于,所述变压电路还包括:电容,所述电容并联耦合在所述变压电路的输入端和输出端之间。The circuit according to any one of claims 1-5, wherein the voltage transformation circuit further comprises: a capacitor, and the capacitor is coupled in parallel between the input terminal and the output terminal of the voltage transformation circuit.
  7. 根据权利要求1-6任一项所述的电路,其特征在于,The circuit according to any one of claims 1-6, wherein:
    所述第一电流源和所述第二电流源,用于分别调节所述第一电流源的电流和所述第二电流源的电流,使得所述第一电流源的电流和所述第二电流源的电流相等。The first current source and the second current source are used to adjust the current of the first current source and the current of the second current source respectively, so that the current of the first current source and the second current source The currents of the current sources are equal.
  8. 根据权利要求7所述的电路,其特征在于,The circuit according to claim 7, wherein:
    所述第一电流源,用于根据接收到的第一反馈信号,调节所述第一电流源的电流,所述第一反馈信号用于表示所述变压电路输出的输出电压的幅值不为目标值;The first current source is used to adjust the current of the first current source according to the received first feedback signal, and the first feedback signal is used to indicate that the amplitude of the output voltage output by the transformer circuit is different. Is the target value;
    所述第二电流源,用于根据接收到的第二反馈信号,调节所述第二电流源的电流,所述第二反馈信号用于表示所述输出电压的幅值不为目标值。The second current source is used to adjust the current of the second current source according to the received second feedback signal, and the second feedback signal is used to indicate that the amplitude of the output voltage is not a target value.
  9. 根据权利要求8所述的电路,其特征在于,所述电平转换电路还包括:第一控制电路;8. The circuit of claim 8, wherein the level conversion circuit further comprises: a first control circuit;
    所述第一控制电路的输入端耦合至所述变压电路的输出端,所述第一控制电路的第一输出端耦合至所述第一电流源,所述第一控制电路的第二输出端耦合至所述第二电流源;The input terminal of the first control circuit is coupled to the output terminal of the transformer circuit, the first output terminal of the first control circuit is coupled to the first current source, and the second output of the first control circuit is Terminal coupled to the second current source;
    所述第一控制电路,用于从所述变压电路接收输出电压;The first control circuit is configured to receive an output voltage from the transformer circuit;
    所述第一控制电路,还用于在确定所述输出电压的幅值不为目标值时,向所述第一电流源发送所述第一反馈信号,并向所述第二电流源发送所述第二反馈信号。The first control circuit is further configured to send the first feedback signal to the first current source and send all the signals to the second current source when it is determined that the amplitude of the output voltage is not a target value. The second feedback signal.
  10. 根据权利要求9所述的电路,其特征在于,所述第一电流源包括:第三PMOS管,所述第二电流源包括:第三NMOS管,所述第一控制电路包括:电压反馈电路、第四PMOS管和第四NMOS管;The circuit according to claim 9, wherein the first current source comprises: a third PMOS tube, the second current source comprises: a third NMOS tube, and the first control circuit comprises: a voltage feedback circuit , The fourth PMOS tube and the fourth NMOS tube;
    其中,所述第三PMOS管的源极耦合有供电电平,所述第三PMOS管的漏极耦合至所述电阻的第二端,所述第三PMOS管的栅极耦合至所述第四PMOS管的栅极;Wherein, the source of the third PMOS transistor is coupled with a power supply level, the drain of the third PMOS transistor is coupled to the second end of the resistor, and the gate of the third PMOS transistor is coupled to the second end of the resistor. The grid of four PMOS tubes;
    所述第三NMOS管的漏极耦合至所述晶体管的源极,所述第三NMOS管的源极接地,所述第三NMOS管的栅极耦合至所述第四NMOS管的栅极;The drain of the third NMOS tube is coupled to the source of the transistor, the source of the third NMOS tube is grounded, and the gate of the third NMOS tube is coupled to the gate of the fourth NMOS tube;
    所述第四PMOS管的源极耦合有所述供电电压,所述第四PMOS管的栅极和漏极均耦合至所述第四NMOS管的漏极,所述第四NMOS管的源极接地,所述第四NMOS管的栅极还耦合至所述电压反馈电路的输出端,所述电压反馈电路的输入端为所述第一控制电路的输入端,所述电压反馈电路的输入端耦合至所述变压电路的输出端;The source of the fourth PMOS tube is coupled with the supply voltage, the gate and drain of the fourth PMOS tube are both coupled to the drain of the fourth NMOS tube, and the source of the fourth NMOS tube is Grounded, the gate of the fourth NMOS tube is also coupled to the output terminal of the voltage feedback circuit, the input terminal of the voltage feedback circuit is the input terminal of the first control circuit, and the input terminal of the voltage feedback circuit Coupled to the output terminal of the transformer circuit;
    所述电压反馈电路,用于从所述变压电路接收所述输出电压;The voltage feedback circuit is configured to receive the output voltage from the transformer circuit;
    所述电压反馈电路,还用于在所述输出电压的幅值不为目标值时,向所述第四NMOS管发送调节信号,所述调节信号用于所述第四PMOS管向所述第三PMOS管发送所述第一反馈信号,及所述第四NMOS管向所述第三NMOS管发送所述第二反馈信号。The voltage feedback circuit is further configured to send an adjustment signal to the fourth NMOS tube when the amplitude of the output voltage is not a target value, and the adjustment signal is used for the fourth PMOS tube to send an adjustment signal to the first NMOS transistor. Three PMOS transistors send the first feedback signal, and the fourth NMOS transistor sends the second feedback signal to the third NMOS transistor.
  11. 根据权利要求1-7任一项所述的电路,其特征在于,所述电平转换电路还包括:M个第一电流源、M个第二电流源、M个变压电路和第二控制电路,M为正整数;The circuit according to any one of claims 1-7, wherein the level conversion circuit further comprises: M first current sources, M second current sources, M transformer circuits, and second control Circuit, M is a positive integer;
    其中,M+1个所述第一电流源、M+1个所述第二电流源与M+1个所述变压电路一一对应耦合,所述第二控制电路的M+1个输入端与所述M+1个变压电路的输出端一一对应耦合,所述第二控制电路的M+1个第一输出端与所述M+1个第一电流源一一对应耦合,所述第二控制电路的M+1个第二输出端与所述M+1个第二电流源一一对应耦合;Wherein, M+1 said first current sources, M+1 said second current sources and M+1 said transformer circuits are coupled in one-to-one correspondence, and M+1 inputs of said second control circuit Terminals are coupled to the output terminals of the M+1 transformer circuits in a one-to-one correspondence, and the M+1 first output terminals of the second control circuit are coupled in a one-to-one correspondence with the M+1 first current sources, The M+1 second output terminals of the second control circuit are coupled to the M+1 second current sources in a one-to-one correspondence;
    所述第二控制电路,用于从每个变压电路接收一个所述输出电压;The second control circuit is configured to receive one output voltage from each transformer circuit;
    所述第二控制电路,还用于在M+1个所述输出电压的幅值均值不为目标值时,向每个第一电流源发送第一反馈信号,并向每个第二电流发送第二反馈信号,所述第一反馈信号和所述第二反馈信号用于表示所述输出电压的幅值均值不为目标值。The second control circuit is further configured to send a first feedback signal to each first current source and to each second current source when the average value of the amplitude of the M+1 output voltages is not the target value A second feedback signal, where the first feedback signal and the second feedback signal are used to indicate that the average value of the amplitude of the output voltage is not a target value.
  12. 根据权利要求11所述的电路,其特征在于,所述第二控制电路包括:处理器、带共模反馈的比较器或者带共模反馈和缓冲器的比较器中任意一种。The circuit according to claim 11, wherein the second control circuit comprises any one of a processor, a comparator with common mode feedback, or a comparator with common mode feedback and a buffer.
  13. 根据权利要求12所述的电路,其特征在于,所述第二控制电路中的晶体管与所述变压电路中的晶体管属于相同类型。The circuit according to claim 12, wherein the transistors in the second control circuit and the transistors in the transformer circuit are of the same type.
  14. 一种电子设备,其特征在于,包括:输入端电路、输出端电路及至少一个如权利要求1-13任一项的电平转换电路;An electronic device, characterized by comprising: an input end circuit, an output end circuit and at least one level conversion circuit according to any one of claims 1-13;
    其中,所述电平转换电路耦合至所述输入端电路,用于从所述输入端电路接收输入电压;所述电平转换电路耦合至所述输出端电路,用于向所述输出端电路发送输出电压。Wherein, the level conversion circuit is coupled to the input end circuit and is used to receive the input voltage from the input end circuit; the level conversion circuit is coupled to the output end circuit and is used to transmit the input voltage to the output end circuit. Send output voltage.
PCT/CN2019/088030 2019-05-22 2019-05-22 Level shift circuit and electronic device WO2020232681A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2019/088030 WO2020232681A1 (en) 2019-05-22 2019-05-22 Level shift circuit and electronic device
CN201980095956.5A CN113767572B (en) 2019-05-22 2019-05-22 Level conversion circuit and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/088030 WO2020232681A1 (en) 2019-05-22 2019-05-22 Level shift circuit and electronic device

Publications (1)

Publication Number Publication Date
WO2020232681A1 true WO2020232681A1 (en) 2020-11-26

Family

ID=73458932

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/088030 WO2020232681A1 (en) 2019-05-22 2019-05-22 Level shift circuit and electronic device

Country Status (2)

Country Link
CN (1) CN113767572B (en)
WO (1) WO2020232681A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113595546A (en) * 2021-07-01 2021-11-02 深圳市汇芯通信技术有限公司 Broadband high-speed level switching circuit and high-speed clock chip

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729059A (en) * 2008-10-31 2010-06-09 恩益禧电子股份有限公司 Level shift circuit
CN204013475U (en) * 2014-07-29 2014-12-10 佛山市顺德区美的电热电器制造有限公司 Level shifting circuit and the electric equipment with it
WO2016153778A1 (en) * 2015-03-25 2016-09-29 Qualcomm Incorporated Driver using pull-up nmos transistor
CN206865435U (en) * 2017-04-20 2018-01-09 上海青橙实业有限公司 Bidirectional level conversion circuit

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI477067B (en) * 2010-12-24 2015-03-11 Hanergy Technologies Inc Differential amplifier and controlling method for the same
CN103532521B (en) * 2013-10-15 2016-05-25 无锡中感微电子股份有限公司 Modified low voltage oscillator

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729059A (en) * 2008-10-31 2010-06-09 恩益禧电子股份有限公司 Level shift circuit
CN204013475U (en) * 2014-07-29 2014-12-10 佛山市顺德区美的电热电器制造有限公司 Level shifting circuit and the electric equipment with it
WO2016153778A1 (en) * 2015-03-25 2016-09-29 Qualcomm Incorporated Driver using pull-up nmos transistor
CN206865435U (en) * 2017-04-20 2018-01-09 上海青橙实业有限公司 Bidirectional level conversion circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113595546A (en) * 2021-07-01 2021-11-02 深圳市汇芯通信技术有限公司 Broadband high-speed level switching circuit and high-speed clock chip

Also Published As

Publication number Publication date
CN113767572A (en) 2021-12-07
CN113767572B (en) 2024-04-12

Similar Documents

Publication Publication Date Title
JP6571071B2 (en) Envelope tracker with variable boost power supply voltage
US9634685B2 (en) Telescopic amplifier with improved common mode settling
CN101420208A (en) Variable gain amplifier including series-coupled cascode amplifiers
KR20160113350A (en) Power amplifier
US8638125B2 (en) Low voltage differential signal driver with reduced power consumption
CN109617533B (en) High response rate amplifier circuit and related clamping method
WO2020232681A1 (en) Level shift circuit and electronic device
US7872531B1 (en) Amplifier bias techniques
KR101783128B1 (en) High performance voltage-to-current converter for lte transmitter
US20110133837A1 (en) Variable gain amplifier
WO2017011045A1 (en) HIGH-SPEED, HIGH-VOLTAGE, GaN-BASED OPERATIONAL AMPLIFIER
JP6314725B2 (en) Receiver circuit
US8665019B2 (en) Power amplifier
US7368984B2 (en) Switching class A-B amplifier
CN211089632U (en) High-linearity wide-swing CMOS voltage follower
US8847634B1 (en) High-speed unity-gain input buffer having improved linearity and stability with a low supply voltage
Gupta et al. Design and Analysis of Flipped Voltage Follower for Different Aspect Ratio
CN206620105U (en) CMOS two-stage calculation amplifiers, the chip of gain-variable
CN111384940A (en) High-linearity wide-swing CMOS voltage follower
US9985589B2 (en) System and method for improving total harmonic distortion of an amplifier
US20180131359A1 (en) High-speed current comparator suitable for nano-power circuit design
CN210405325U (en) Power detector
WO2022141198A1 (en) Operational amplifier, drive circuit, interface chip, and electronic device
CN218499143U (en) Inverting circuit, modulation circuit, modulator, transmitting device and communication system
Visweswaran et al. A 1.2 V 110-MHz-UGB differential class-AB amplifier in 65nm CMOS

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19929970

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19929970

Country of ref document: EP

Kind code of ref document: A1