The disclosure relates to the technical field of electronic circuits, and in particular to a power supply circuit and a chip to which the power supply circuit is applied.
In chip design, an output voltage of a power supply circuit is usually set to be a constant voltage. In an occasion where the circuit needs to be controlled according to temperature or characteristics of a transistor, a detection circuit is separately designed to perform detection and outputs a control signal according to the detection result. In this way, circuit structures are usually complicated.
Nowadays, with the increasing demand on reduction of chip volume, simplifying design of circuits in the chip has become an urgent problem to be solved in the field.
It should be noted that information disclosed in the above background section is only intended to enhance understanding of the background of the disclosure, and thus may include information which does not constitute related art known by those of ordinary skill in the art.
An object of the disclosure is to provide a power supply circuit and a chip, to generate a power supply voltage related to characteristics of a transistor and temperature of the chip.
According to a first aspect of the disclosure, there is provided a power supply circuit, including a constant current generation circuit and a voltage generation circuit. The constant current generation circuit is configured to generate a first current with a positive temperature coefficient and a second current with a negative temperature coefficient, and generate a constant current according to the first current and the second current. The voltage generation circuit includes a transistor, which is coupled to the constant current generation circuit, and configured to generate a temperature-dependent voltage according to the constant current and characteristics of the transistor.
According to a second aspect of the disclosure, there is provided a chip, including the power supply circuit as described in any one of the above paragraphs. It should be understood that the above general descriptions and the following detailed descriptions are exemplary and explanatory only, and are not intended to limit the disclosure.
Here, the drawings are incorporated into the description and constitute a part of the description, show embodiments complying with the disclosure, and are used to explain principles of the disclosure together with the description. It is apparent that the drawings in the following descriptions are only some embodiments of the disclosure, and those of ordinary skill in the art may also obtain other drawings according to these drawings without paying any creative work.
Exemplary implementations will now be described more fully with reference to the drawings. However, the exemplary implementations may be implemented in various forms and should not be construed as being limited to examples set forth here. Rather, these implementations are provided so that the disclosure will be more comprehensive and complete, and conceptions of the exemplary implementations will be fully conveyed to those skilled in the art. The described features, structures or characteristics may be combined in one or more implementations in any suitable way. In the following descriptions, many specific details are provided to give a full understanding of the implementations of the disclosure. However, it will be appreciated by those skilled in the art that technical solutions of the disclosure may be practiced without one or more of the specific details, or practiced by other methods, components, devices, steps, or the like. In other cases, well-known technical solutions are not shown or described in detail, to avoid reversing roles of host and guest and obscuring aspects of the disclosure.
Furthermore, the drawings are only schematic illustrations of the disclosure, and the same reference numeral in the drawings denotes the same or similar parts, and thus repeated descriptions thereof will be omitted. Some block diagrams shown in the drawings are functional entities which do not necessarily correspond to physically or logically independent entities. These functional entities may be implemented in form of software, or in one or more hardware modules or integrated circuits (ICs), or in different networks and/or processor devices and/or microcontroller devices.
The exemplary implementations of the disclosure will be described in detail below with reference to the drawings.
With reference to
The constant current generation circuit 1 is configured to generate a first current I1 with a positive temperature coefficient and a second current I2 with a negative temperature coefficient, and generate a constant current I according to the first current I1 and the second current I2.
The voltage generation circuit 2 includes a transistor, is coupled to the constant current generation circuit 1, and configured to generate a temperature-dependent voltage V according to the constant current I and characteristics of the transistor.
The voltage V generated in the embodiment shown in
According to the switching speed, the process corner of transistor may be divided into fast (F), slow (S) and standard (T), here, the standard process corner is determined according to an average value of a driving current of the transistor. A P-type transistor and an N-type transistor in the same region may correspond to the same process corner, or may correspond to different process corners. Transistors with different process corners have different threshold voltages. An absolute value of the threshold voltage of the transistor with the F process corner is lowest, an absolute value of the threshold voltage of the transistor with the T process corner is a median, and an absolute value of the threshold voltage of the transistor with the S process corner is highest. Therefore, the switching speed of the transistor with the F process corner is fastest, the switching speed of the transistor with the T process corner is a median, and the switching speed of the transistor with the S process corner is slowest.
The threshold voltage of the transistor is also related to temperature. The threshold voltage of the N-type transistor decreases with the increase of temperature, and an absolute value of the threshold voltage of the P-type transistor decreases with the increase of temperature. Since the threshold voltage of the P-type transistor is a negative value, the threshold voltage of the P-type transistor decreases with the increase of temperature. Therefore, when the constant current I is input to the transistor in the voltage generation circuit 2, the threshold voltage Vth of the transistor varies with temperature, and the voltage output by the transistor finally is irrelevant to current and is related to temperature only.
Therefore, in the embodiment of the disclosure, the voltage V output by the voltage generation circuit 2 includes an output voltage according to characteristics of the N-type transistor and/or an output voltage according to characteristics of the P-type transistor.
With reference to
The positive temperature coefficient current generation sub-circuit 11 is configured to generate the first current I1.
The negative temperature coefficient current generation sub-circuit 12 is connected to the positive temperature coefficient current generation sub-circuit 11 and configured to generate the second current I2.
The first current I1 and the second current I2 form the constant current I together.
The voltage generation circuit 2 may include a negative temperature coefficient voltage output sub-circuit 21 and a positive temperature coefficient voltage output sub-circuit 22.
The negative temperature coefficient voltage output sub-circuit 21 is connected to the constant current generation circuit 1, includes a monitoring circuit for an N-type transistor, and is configured to output a negative temperature coefficient voltage Vn according to the constant current I and a state of the N-type transistor. The positive temperature coefficient voltage output sub-circuit 22 is connected to the constant current generation circuit 1, includes a monitoring circuit for a P-type transistor, and is configured to output a positive temperature coefficient voltage Vp according to the constant current I and a state of the P-type transistor.
For example, the negative temperature coefficient voltage Vn is a voltage output according to characteristics of the N-type transistor, and for example, the positive temperature coefficient voltage Vp is a voltage output according to characteristics of the P-type transistor, and the two voltages constitute the voltage V generated by the voltage generation circuit 2 together.
With reference to
The first feedback transistor MB1 is provided with a source connected to a power supply voltage VDD, a gate connected to an output end of the first amplifier AMP1, and a drain connected to a first node N1.
The first bridge arm 111 includes a first resistor R1 and multiple parallel-connected first PN junction sub-circuits J1, the first resistor R1 and the first PN junction sub-circuits J1 are connected in series, the first resistor R1 is provided with a first end connected to the first node N1, and a second end connected to an inverted input end of the first amplifier AMP1 and a positive electrode of each of the first PN junction sub-circuits J1, and a negative electrode of each of the first PN junction sub-circuits J1 is grounded.
The second bridge arm 112 includes a second resistor R2, a third resistor R3 and second PN junction sub-circuits J2, the second resistor R2, the third resistor R3 and the second PN junction sub-circuits J2 are connected in series, the second resistor R2 is provided with a first end connected to the first node N1 and a second end connected to an in-phase input end of the first amplifier AMP1, the third resistor R3 is provided with a first end connected to the in-phase input end of the first amplifier AMP1 and a second end connected to a positive electrode of each of the second PN junction sub-circuits J2, a negative electrode of each of the second PN junction sub-circuits J2 is grounded.
The first output transistor MO1 is provided with a source connected to the power supply voltage VDD, a gate connected to the output end of the first amplifier AMP1, and a drain configured to output the first current I1.
Each of the first feedback transistor MB1 and the first output transistor MO1 may be a P-type transistor.
The second PN junction sub-circuits J2 may include multiple second PN junction sub-circuits in number. Multiple second PN junction sub-circuits J2 are connected in parallel, the positive electrode of each of the second PN junction sub-circuits is connected to the second end of the third resistor R3, and the negative electrode of each of the second PN junction sub-circuits is grounded. In an embodiment, the number of the second PN junction sub-circuits may be N=(M+2)2−M2, and the first PN junction sub-circuits includes M2 first PN junction sub-circuits in number, M is an integer greater than or equal to 1. Such arrangement enables the second PN junction sub-circuits J2 to surround the first PN junction sub-circuits J1 during manufacturing, to form a (M+2)*(M+2) PN junction sub-circuit array.
For example, when M=1, N=3, the number of the first PN junction sub-circuits J1 is 1, the number of the second PN junction sub-circuits J2 is 3*3−1=8, and the first PN junction sub-circuits J1 and the second PN junction sub-circuits J2 are arranged in a 3*3 array.
When M=2, N=4, the number of the first PN junction sub-circuits J1 is 4, the number of the second PN junction sub-circuits J2 is 4*4−4=12, and the first PN junction sub-circuits J1 and the second PN junction sub-circuits J2 are arranged in a 4*4 array.
When M=3, N=5, the number of the first PN junction sub-circuits J1 is 9, the number of the second PN junction sub-circuits J2 is 5*5−9=16, and the first PN junction sub-circuits J1 and the second PN junction sub-circuits J2 are arranged in a 5*5 array. The rest may be deduced by analogy.
In the embodiment shown in
In the embodiment shown in
Inference is continued, the voltage difference between the first node N1 and the inverted input end of the first amplifier AMP1 is equal to the voltage difference between the first node N1 and the in-phase input end of the first amplifier AMP1, and the voltage difference between the first node N1 and the inverted input end of the first amplifier AMP1 is equal to a PN junction voltage VBE1 of the first PN junction sub-circuit J1, then voltage at the first end of the third resistor R3 is VBE1. Let voltage at the second end of the third resistor R3, that is, at the positive electrode of the second PN junction sub-circuit J2 is VBE2. According to a V-I characteristic expression of PN junction, there is:
I
D
=I
S(eV
ID is a current of the PN junction sub-circuit, IS is a reverse saturation current of the PN junction sub-circuit (it is related to temperature and is constant when the temperature is determined), VT is a thermal voltage and VT=kT/q, K is Boltzmann constant, q is charge on an electron, k=1.38×10−23 J/K (Joule/Kelvin), q=1.6×10−19 C (Coulomb), T is an absolute temperature in Kelvin. VT is also referred to as a voltage equivalent value of temperature, and refers to a potential difference caused by a temperature difference between two points in a closed circuit. When T=300K (normal atmospheric temperature),
n is an emission coefficient, related to size and material of the PN junction and a current passing through it, and is between 1 and 2.
Since the current on the first bridge arm 111 is the same as the current on the second bridge arm 112, currents on eight parallel-connected second PN junction sub-circuits J2 are equal to current on the first PN junction sub-circuit J1. It is assumed that the current on each of the second PN junction sub-circuits J2 is I0, then the current on the first PN junction sub-circuit J1 is 8I0.
When the number of the first PN junction sub-circuits J1 and the number of the second PN junction sub-circuits J2 are other values, it is assumed that the current on each of the second PN junction sub-circuits J2 is I0, the current on the first PN junction sub-circuit J1 is Z I0. Z is a number ratio of the second PN junction sub-circuits J2 to the first PN junction sub-circuits J1.
When VBE is much greater than VT, 1 within the parentheses in formula (1) may be ignored. Let n=1, then there is:
8I0=IS(eV
Therefore:
Similarly, a formula of VBE2 is obtained:
I
D
=I
S(eV
According to the same assumptions and deduction, we obtain:
Therefore, a voltage VBE1−VBE2 on the third resistor R3 is:
Therefore, a current I112 on the second bridge arm 112 is:
R3 is a resistance value of the third resistor R3. Since when N is determined, VBE1−VBE2 is proportional to VT and VT is proportional to temperature T, the current I112 on the second bridge arm 112 is proportional to temperature T and is a positive temperature coefficient current.
In the above formulas, when the number of the first PN junction sub-circuits J1
and the number of the second PN junction sub-circuits J2 are other values, the number 8 in formulas (2)˜(7) may be replaced by the number ratio Z of the second PN junction sub-circuits J2 to the first PN junction sub-circuits J1.
Since the current on the first bridge arm 111 is the same as the current on the second bridge arm 112, a current of the first feedback transistor MB1 is equal to twice the current on the second bridge arm 112, i.e., 2VTlnN/R3.
The first feedback transistor MB1 and the first output transistor MO1 constitute a current mirror. In an embodiment, a width-to-length ratio of a channel of each of the first feedback transistor MB1 and the first output transistor MO1 has a value of 2:1. Therefore, the first current I1 output by the drain of the first output transistor MO1 is equal to half of the current on the first feedback transistor MB1, and equal to the current I112 on the second bridge arm 112.
It may be seen that the current I1 output by the drain of the first output transistor MO1 is negatively correlated with the resistance value of the third resistor R3. Therefore, the third resistor R3 may be set as an adjustable resistor to adjust value of the first current I1.
In the embodiment shown in
With continuous reference to the embodiment shown in
The second amplifier AMP2 is provided with an inverted input end connected to the inverted input end of the first amplifier AMP1.
The second feedback transistor MB2 is provided with a source connected to the power supply voltage VDD, a gate connected to an output end of the second amplifier AMP2, and a drain connected to an in-phase input end of the second amplifier AMP2.
The fourth resistor R4 is provided with an end connected to the in-phase input end of the second amplifier AMP2, and another end grounded.
The second output transistor MO2 is provided with a source connected to the power supply voltage VDD, a gate connected to the output end of the second amplifier AMP2, and a drain configured to output the second current I2.
It may be known from analysis that the second output transistor MO2 and the second feedback transistor MB2 constitute a current mirror. Voltage at the in-phase input end of the second amplifier AMP2 is equal to voltage at the inverted input end of the second amplifier AMP2, and voltage on the fourth resistor R4 is equal to the junction voltage VBE1 of the first PN junction sub-circuit J1, therefore current on the second feedback transistor MB2 is equal to VBE1/R4. It is assumed that a width-to-length ratio of a channel of each of the second feedback transistor MB2 and the second output transistor MO2 has a value of 1:1, the second current I2 output by the drain of the second output transistor MO2 is:
I2=VBE1/R4 (8)
According to formula (6), we obtain:
V
BE1
=V
BE2
+V
T
ln8 (9)
Therefore:
Voltage drop produced by the PN junction when current flows through it, is related to forward current and temperature. The greater the current, the greater the voltage drop, and the higher the temperature, the smaller the voltage drop. That is, the PN junction has a negative temperature coefficient voltage. Therefore, VBE2 is a negative temperature coefficient voltage, and I2 is a negative temperature coefficient current.
Furthermore, the finally output constant current I=I1+I2, a formula for obtaining the constant current I is:
I1 is a positive temperature coefficient current, I2 is a negative temperature coefficient current, and both VT and VBE2 are values related to temperature T. The resistance values of the third resistor R3 and the fourth resistor R4 are adjusted, and the constant current I is a zero temperature coefficient current when a derivative of formula (11) on temperature T is zero.
In an exemplary embodiment of the disclosure, the adjustable resistor is implemented by a resistor string including multiple sub-resistors connected in series and multiple switching elements, multiple sub-resistors connected in series have multiple connection points of which two are connected to both ends of a respective one of the switching elements respectively, and connection points to which different switching elements are connected are not exactly the same.
With reference to
In the embodiment shown in
It is assumed that a resistance value of each of the sub-resistors R01, R02, R03, R04, R05, R06 is R, a resistance value of the resistor string 401 and turn-on states of the switching elements Con1, Con2, Con3 are shown in Table 1.
The above resistance table is different according to different number of resistors bridged by the switching elements Con1, Con2, Con3. Those skilled in the art may adjust the number and resistance values of the sub-resistors, the number of the switching elements, and connection relationships between the switching elements and the sub-resistors according to the principle shown in
With reference to
First and second ends of the switching element Con1 are connected to first and second ends of the sub-resistor R01 respectively; first and second ends of the switching element Con2 are connected to the first end of the resistor string 402 and the second end of the sub-resistor R02 respectively; first and second ends of the switching element Con3 are connected to the first end of the resistor string 402 and the second end of the sub-resistor R03 respectively.
It is assumed that a resistance value of each of the sub-resistors R01, R02, R03, R04 is R, then a resistance value of the resistor string 402 and turn-on states of the switching elements Con1, Con2, Con3 are shown in Table 2.
It may be known from Table 2 that in the embodiment shown in
In the embodiment shown in
The first N-type transistor MN1 is provided with a drain and a gate each connected to a second node N2, and a source grounded, the second node N2 is connected to the drain of the first output transistor MO1 and the drain of the second output transistor MO2, and configured to output the negative temperature coefficient voltage Vn.
The positive temperature coefficient voltage output sub-circuit 22 may include a second N-type transistor MN2 and a first P-type transistor MP1.
The second N-type transistor MN2 is provided with a gate connected to the drain of the first output transistor MO1 and the drain of the second output transistor MO2, a source grounded, and a drain connected to a third node N3.
The first P-type transistor MP1 is provided with a source connected to a power supply voltage VDD, a gate and a drain each connected to the third node N3, and the third node N3 is configured to output the positive temperature coefficient voltage Vp.
With the embodiment shown in
Since the negative temperature coefficient voltage Vn is only affected by the constant current I and characteristics of the first N-type transistor MN1, and the constant current I is irrelevant to temperature, the negative temperature coefficient voltage Vn is only related to the characteristics of the first N-type transistor MN1.
According to the foregoing descriptions, the threshold voltage (Vth) of the first N-type transistor MN1 decreases with the increase of temperature, and current flowing through the first N-type transistor MN1 is the constant current I which is proportional to a difference between a gate-source voltage (Vgs) and the threshold voltage (Vth) of the first N-type transistor MN1. Therefore, when the constant current I is not changed, a source voltage of the first N-type transistor MN1 is not changed and the threshold voltage (Vth) decreases, a gate voltage, i.e., Vn, of the first N-type transistor MN1 decreases. Therefore, Vn is a negative temperature coefficient voltage, that is, the higher the temperature, the smaller the voltage of the negative temperature coefficient voltage Vn. Furthermore, the faster the turn-on speed of the first N-type transistor MN1, the smaller the threshold voltage Vth, that is, the smaller the voltage of the negative temperature coefficient voltage Vn.
In summary, the negative temperature coefficient voltage output sub-circuit 21 shown in
In the positive temperature coefficient voltage output sub-circuit 22 shown in
The positive temperature coefficient voltage Vp is only affected by the constant current I and characteristics of the first P-type transistor MP1, and the constant current I is irrelevant to temperature, therefore the positive temperature coefficient voltage Vp is only related to the characteristics of the first P-type transistor MP1.
In contrast to the N-type transistor, the threshold voltage of the P-type transistor increases with the increase of temperature, and current on the first P-type transistor MP1 is the constant current I which is proportional to a difference between a gate-source voltage (Vgs, it is a negative value when the transistor is turned on) and the threshold voltage (Vth, it is a negative value) of the first P-type transistor MP1. Therefore, when the threshold voltage of the first P-type transistor MP1 increases with the increase of temperature, the difference between the gate-source voltage (Vgs) and the threshold voltage (Vth) of the first P-type transistor MP1 is not changed, and the gate-source voltage (Vgs) of the first P-type transistor MP1 increases with the increase of temperature. In case that a source voltage of the first P-type transistor MP1 is not changed, a gate voltage, i.e., Vp, of the first P-type transistor MP1 increases with the increase of temperature, and Vp is a positive temperature coefficient voltage.
Furthermore, the faster the turn-on speed of the first P-type transistor MP1, the smaller the absolute value of the threshold voltage, the higher the threshold voltage. When the current of the first P-type transistor MP1 is the constant current I, the gate-source voltage (Vgs), i.e., the positive temperature coefficient voltage Vp, of the first P-type transistor MP1 increases with the increase of the turn-on speed of the first P-type transistor MP1.
In summary, the positive temperature coefficient voltage output sub-circuit 22 shown in
Both the negative temperature coefficient voltage output sub-circuit 21 and the positive temperature coefficient voltage output sub-circuit 22 are provided in
According to a second aspect of the disclosure, there is provided a chip, including the power supply circuit as described in any one of the foregoing embodiments.
An object of the disclosure is to provide a power supply circuit and a chip, to generate a power supply voltage related to characteristics of a transistor and temperature of the chip, thereby simplifying configuration of a control circuit in the circuit and reducing chip volume.
According to the embodiments of the disclosure, the constant current is generated by using the first current with a positive temperature coefficient and the second current with a negative temperature coefficient, and then the voltage related to temperature and characteristics of the transistor is generated according to the constant current and the transistor, so that arrangement of a detection circuit in the chip is reduced, the detection circuit and the power supply circuit are directly combined into one circuit, improving control efficiency and reducing chip volume.
It should be noted that although several circuits or sub-circuits of a device for performing actions are mentioned in the above detailed descriptions, this division is not mandatory. Indeed, according to implementations of the disclosure, features and functions of two or more circuits or sub-circuits as described above may be concretized in one circuit or sub-circuit. On the contrary, features and functions of one circuit or sub-circuit as described above may be further divided into multiple circuits or sub-circuits to be concretized. Other implementations of the disclosure will be easily conceived by those skilled in the art after considering the specification and practicing inventions disclosed here. The disclosure is intended to cover any variants, usages or adaptive variations of the disclosure, and these variants, usages or adaptive variations follow general principles of the disclosure, and include common knowledge or conventional technical means in the technical field which are not disclosed in the disclosure. The specification and embodiments are considered as exemplary only, and the true scope and concept of the disclosure is indicated by the claims.
According to the embodiments of the disclosure, the constant current is generated by using the first current with a positive temperature coefficient and the second current with a negative temperature coefficient, and then the voltage related to temperature and characteristics of the transistor is generated according to the constant current and the transistor, so that arrangement of a detection circuit in the chip may be reduced, the detection circuit and the power supply circuit are directly combined into one circuit, improving control efficiency and reducing chip volume.
Number | Date | Country | Kind |
---|---|---|---|
202210977602.7 | Aug 2022 | CN | national |
This application is a continuation of International Application No. PCT/CN2022/126370, filed on Oct. 20, 2022, which claims priority to Chinese Patent application No. 202210977602.7, filed on Aug. 15, 2022 and entitled “POWER SUPPLY CIRCUIT AND CHIP”. The contents of International Application No. PCT/CN2022/126370 and Chinese Patent application No. 202210977602.7 are hereby incorporated by reference in their entireties.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2022/126370 | Oct 2022 | US |
Child | 18454841 | US |