Reference voltage generation circuit and semiconductor integrated circuit

By using a variable resistor and a differential amplifier circuit in the reference voltage generation circuit, comparing the target voltage and the reference voltage, and adjusting the resistance value, the problem of low reference voltage adjustment accuracy in the existing technology is solved, and high-precision reference voltage adjustment is achieved. and circuit simplification.

CN118575409APending Publication Date: 2024-08-30SOCIONEXT INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202280089064.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2022-01-19
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

It is difficult for the existing reference voltage generating circuit to adjust the reference voltage with high precision. Especially when the driving capability of the reference voltage generating circuit is small, it is difficult for the measuring instrument to accurately measure and adjust the reference voltage.

Method used

Using a resistor circuit with a variable resistor and a differential amplifier circuit, a control signal is generated to adjust the resistance value of the variable resistor by comparing at least two target voltages with a reference voltage, thereby adjusting the reference voltage with high precision.

Benefits of technology

It achieves high-precision adjustment of the reference voltage, reduces the amount of drive current, reduces the number of terminals and pads on the semiconductor chip, and improves the accuracy and reliability of the circuit.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118575409A
    Figure CN118575409A
Patent Text Reader

Abstract

The present invention relates to a reference voltage generation circuit and a semiconductor integrated circuit, the reference voltage generation circuit comprising: a resistance circuit (117) having a variable resistor electrically connected between a first node and a second node and between the first node and a third node, the resistance value of the variable resistor changing according to a first control signal; a differential amplifier circuit (116) having one of the differential input pairs electrically connected to the second node and the other of the differential input pairs electrically connected to the third node, and generating a reference voltage at an output node; current source circuits (113-115) electrically connected between the second node and a fourth node and between the third node and the fourth node; and an adjustment circuit (301) which is electrically connected to the output node and generates the first control signal by comparing at least two target voltages with the reference voltage.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a reference voltage generating circuit and a semiconductor integrated circuit. Background Art

[0002] Patent document 1 describes a reference voltage generating circuit, which has: two bipolar transistors with different current densities; an amplifier circuit that amplifies the voltage of the difference between the base / emitter voltages of the two transistors; and a resistor to which the output of the amplifier circuit is applied. The voltage adding circuit adds the voltage generated in the above-mentioned resistor to the base / emitter voltage of one of the above-mentioned two transistors. The adjustment resistor is connected in series with the above-mentioned resistor to adjust the resistance value. The reference voltage adjustment unit adjusts the reference voltage taken from one end or the middle point of the above-mentioned adjustment resistor.

[0003] Patent document 2 describes a bandgap reference voltage generator including forward biased PN junction elements with different current densities. The bandgap reference voltage generator includes: a first PN junction element and a second PN junction element forward biased with different current densities, a voltage divider connected to the first PN junction element, and a switch element for selecting a voltage division ratio. A voltage error amplifier inputs the divided voltage and the voltage of the second PN junction element to generate a thermally corrected output voltage.

[0004] Patent document 3 describes a high-precision and low-power bandgap voltage reference circuit. The bandgap voltage reference circuit includes a high-power bandgap circuit, a low-power bandgap circuit, and a correction circuit. The correction circuit compares the bandgap voltage output by the high-power bandgap circuit with the bandgap voltage output by the low-power bandgap circuit, and outputs a correction signal to the low-power bandgap circuit.

[0005] Patent Document 1: Japanese Patent Application Publication No. 2005-182113;

[0006] Patent document 2: U.S. Patent Application Publication No. 2014 / 0070777;

[0007] Patent document 3: U.S. Patent No. 6,844,711.

[0008] The reference voltage generation circuit generates a reference voltage. The reference voltage generation circuit generates an error in the reference voltage. To adjust the error, the reference voltage needs to be accurately measured. However, it is difficult to accurately measure the reference voltage and adjust the reference voltage with high precision. Summary of the invention

[0009] An object of the present invention is to adjust a generated reference voltage with high accuracy.

[0010] The reference voltage generating circuit comprises: a resistance circuit having a variable resistor, the variable resistor being electrically connected between a first node and a second node and between the first node and a third node, and the resistance value of which varies according to a first control signal; a differential amplifier circuit, one of the differential input pairs being electrically connected at the second node and the other of the differential input pairs being electrically connected at the third node, and generating a reference voltage at an output node; a current source circuit being electrically connected between the second node and a fourth node and between the third node and the fourth node; and an adjustment circuit being electrically connected to the output node, and generating the first control signal by comparing at least two target voltages with the reference voltage.

[0011] The generated reference voltage can be adjusted with high accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 It is a diagram showing a configuration example of a reference voltage generating circuit according to a comparative example.

[0013] Figure 2 It is a diagram showing a configuration example of a semiconductor integrated circuit according to the first embodiment.

[0014] Figure 3 It is a diagram showing another configuration example of the semiconductor integrated circuit according to the first embodiment.

[0015] Figure 4 3 is a diagram showing a comparison result signal when the reference voltage is lower than the two target voltages.

[0016] Figure 5 3 is a diagram showing a comparison result signal when the reference voltage is a voltage between two target voltages.

[0017] Figure 6 3 is a diagram showing a comparison result signal when the reference voltage is higher than the two target voltages.

[0018] Figure 7 It is a diagram showing a structural example of a variable resistor.

[0019] Figure 8 It is used for Figure 3 A flowchart for explaining the operation of the reference voltage generating circuit.

[0020] Fig. 9 It is a diagram showing a configuration example of a semiconductor integrated circuit according to a second embodiment.

[0021] Fig.10 It is a diagram showing a configuration example of a switching circuit.

[0022] Fig.11 It is used for Fig. 9A flowchart for explaining the operation of the reference voltage generating circuit. DETAILED DESCRIPTION

[0023] (First Embodiment)

[0024] Figure 1 1 is a diagram showing a configuration example of a reference voltage generating circuit 101 of a comparative example. The reference voltage generating circuit 101 is a bandgap reference voltage generating circuit, and includes a resistor circuit 117, a resistor 113, pnp bipolar transistors 114 and 115, and a differential amplifier circuit 116. The reference voltage generating circuit 101 is, for example, a circuit constituting a part of a semiconductor chip, and includes a terminal VDD, a terminal TRIM, a terminal VSS, and a terminal BGRO. The terminal VDD inputs a power supply voltage. The terminal TRIM inputs a trimming code. The terminal VSS inputs a ground potential. The terminal BGRO outputs a reference voltage Vr.

[0025] The resistor circuit 117 includes a variable resistor 111 and a variable resistor 112. The variable resistor 111 is connected between a node N21 and a node N22. The variable resistor 112 is connected between a node N21 and a node N23. The resistance value of the variable resistor 111 and the resistance value of the variable resistor 112 are set to the same value.

[0026] The emitter of the pnp bipolar transistor 115 is connected to the node N22, and the base and collector are connected to the node of the terminal VSS. The node of the terminal VSS is a ground potential node. The pnp bipolar transistor 115 is diode-connected and connected between the node N22 and the node of the terminal VSS.

[0027] The resistor 113 is connected between the node N23 and the emitter of the pnp bipolar transistor 114. The base and collector of the pnp bipolar transistor 114 are connected to the node of the terminal VSS. The pnp bipolar transistor 114 is diode-connected. A series connection circuit of the resistor 113 and the pnp bipolar transistor 114 is connected between the node N23 and the terminal VSS.

[0028] The differential amplifier circuit 116 is connected to a node of the terminal VDD and a node of the terminal VSS. The node of the terminal VDD is a power supply voltage node. The differential amplifier circuit 116 is electrically connected to a + input node of a differential input pair at a node N22, and is electrically connected to the other - input node of the differential input pair at a node N23, and generates a reference voltage Vr at an output node. The output node of the differential amplifier circuit 116 is electrically connected to a node N21. The node N21 is electrically connected to the terminal BGRO.

[0029] The reference voltage generating circuit 101 can generate a reference voltage Vr that does not depend on the power supply voltage and temperature. In order to improve the accuracy of the reference voltage Vr, the reference voltage Vr of the terminal BGRO is measured by the measuring device 102. Based on the measured reference voltage Vr, a trimming code is input to the terminal TRIM so that the reference voltage Vr becomes a target voltage. The resistance values ​​of the variable resistors 111 and 112 are adjusted to values ​​corresponding to the trimming code of the terminal TRIM. As a result, the reference voltage Vr is adjusted to the target voltage.

[0030] However, when the current of the reference voltage generating circuit 101 is small, that is, when the driving capability of the reference voltage generating circuit 101 is small, the measuring device 102 becomes a load on the reference voltage generating circuit 101. As a result, it is difficult for the measuring device 102 to accurately measure the reference voltage Vr generated by the reference voltage generating circuit 101. Therefore, it is difficult to adjust the reference voltage Vr with high accuracy by trimming the code. An embodiment for solving this problem is described below.

[0031] Figure 2 2 is a diagram showing a configuration example of a semiconductor integrated circuit 200 according to the first embodiment. The semiconductor integrated circuit 200 includes a reference voltage generating circuit 201 and a subsequent circuit 206. The subsequent circuit 206 is connected to a terminal VREF of the reference voltage generating circuit 201. The reference voltage generating circuit 201 is a circuit for generating a reference voltage. Figure 1 The reference voltage generating circuit 101 is provided with an adjustment circuit 205 added thereto. The reference voltage generating circuit 201 is a circuit constituting a part of a semiconductor chip, for example, and has a terminal VDE, a terminal VDD, a terminal VSS, and a terminal VREF.

[0032] The adjustment circuit 205 includes resistors 202 and 203 and a comparison circuit 204. The power supply voltage is input to the terminal VDE. The node of the terminal VDE is a node of the power supply voltage and is a node independent of the node of the terminal VDD. That is, the power supply voltage of the terminal VDE is a stable power supply voltage, and the stable power supply voltage is hardly affected by the noise of the power supply voltage of the terminal VDD accompanying the operation of the reference voltage generation circuit 201.

[0033] A series connection circuit of the resistor 202 and the resistor 203 is connected between the terminal VDE and the terminal VSS. The target voltage V0 is a voltage at a connection point between the resistor 202 and the resistor 203 .

[0034] The comparison circuit 204 is connected to a node of the terminal VDD and a node of the terminal VSS. The comparison circuit 204 compares the reference voltage Vr with the target voltage V0. The adjustment circuit 205 controls the resistance values ​​of the variable resistors 111 and 112 so that the reference voltage Vr is equal to the target voltage V0. The adjustment circuit 205 maintains the resistance values ​​of the variable resistors 111 and 112 when the reference voltage Vr is equal to the target voltage V0.

[0035] When the reference voltage Vr is lower than the target voltage V0, the adjustment circuit 205 increases the resistance values ​​of the variable resistors 111 and 112. As a result, the reference voltage Vr increases and approaches the target voltage V0.

[0036] When the reference voltage Vr is higher than the target voltage V0, the adjustment circuit 205 reduces the resistance values ​​of the variable resistors 111 and 112. Thus, the reference voltage Vr is reduced and approaches the target voltage V0.

[0037] As described above, the adjustment circuit 205 can accurately measure the reference voltage Vr and adjust the reference voltage Vr with high precision so that the reference voltage Vr becomes the same as the target voltage V0.

[0038] The terminal VREF is connected to the node N21 and outputs the reference voltage Vr. The subsequent circuit 206 operates by receiving the supply of the reference voltage Vr from the terminal VREF of the reference voltage generating circuit 201 .

[0039] The reference voltage generating circuit 201 can perform fine adjustment for improving the accuracy of the reference voltage Vr with high accuracy while reducing the amount of driving current flowing through the reference voltage generating circuit 201. Figure 1 As shown, the reference voltage generating circuit 201 does not need to be provided with a terminal BGRO for connecting the external measuring device 102 for fine adjustment and the output node of the differential amplifier circuit 116, and the number of terminals of the reference voltage generating circuit 201 can be reduced. In addition, it is not necessary to provide a pad for connecting to the external measuring device 102 on the semiconductor chip provided with the reference voltage generating circuit 201, and the number of pads of the semiconductor chip can be reduced.

[0040] Figure 3 2 is a diagram showing another configuration example of the semiconductor integrated circuit 200 according to the first embodiment. The semiconductor integrated circuit 200 includes a reference voltage generating circuit 201 and a subsequent stage circuit 206. The subsequent stage circuit 206 is connected to a terminal VREF of the reference voltage generating circuit 201. Figure 3 The reference voltage generating circuit 201 is Figure 2 A circuit is obtained by adding an adjustment circuit 301 to the reference voltage generating circuit 101 instead of the adjustment circuit 205 .

[0041] The reference voltage generating circuit 201 is a bandgap reference voltage generating circuit, and includes a resistor circuit 117, a resistor 113, pnp bipolar transistors 114 and 115, a differential amplifier circuit 116, and an adjustment circuit 301. The reference voltage generating circuit 201 is, for example, a circuit constituting a part of a semiconductor chip, and includes a terminal VDE, a terminal VDD, a terminal VSS, and a terminal VREF.

[0042] Terminals VDD and VDE input power supply voltages that are independent of each other. The node of terminal VDE is a node of power supply voltage and is a node independent of the node of terminal VDD. That is, the power supply voltage of terminal VDE is a stable power supply voltage that is hardly affected by the noise of the power supply voltage of terminal VDD accompanying the operation of reference voltage generating circuit 201. Terminal VSS inputs a ground potential. Terminal VREF outputs reference voltage Vr.

[0043] The resistor circuit 117 includes a variable resistor 111 and a variable resistor 112. The variable resistor 111 is connected between the node N21 and the node N22. The variable resistor 112 is connected between the node N21 and the node N23. The resistance value of the variable resistor 111 and the resistance value of the variable resistor 112 are set to the same value.

[0044] The emitter of the pnp bipolar transistor 115 is connected to the node N22, and the base and collector are connected to the node of the terminal VSS. The node of the terminal VSS is a ground potential node. The pnp bipolar transistor 115 is diode-connected and connected between the node N22 and the node of the terminal VSS.

[0045] The resistor 113 is connected between the node N23 and the emitter of the pnp bipolar transistor 114. The base and collector of the pnp bipolar transistor 114 are connected to the node of the terminal VSS. The pnp bipolar transistor 114 is diode-connected. A series connection circuit of the resistor 113 and the pnp bipolar transistor 114 is connected between the node N23 and the terminal VSS.

[0046] The differential amplifier circuit 116 is connected to a node of a terminal VDD and a node of a terminal VSS. The node of the terminal VDD is a power supply voltage node. The differential amplifier circuit 116 is electrically connected to a + input node of a differential input pair at a node N22, and is electrically connected to another - input node of the differential input pair at a node N23, and generates a reference voltage Vr at an output node. The output node of the differential amplifier circuit 116 is connected to a node N21. The node N21 is connected to a terminal VREF. The reference voltage generation circuit 201 can generate a reference voltage Vr that does not depend on the power supply voltage and temperature.

[0047] The adjustment circuit 301 includes resistors 302 to 304, comparison circuits 305 and 306, and a logic circuit 307. The series connection circuit of resistors 302 to 304 is connected between the terminal VDE and the terminal VSS, and the power supply voltage of the terminal VDE is divided by resistors to generate target voltages V1 and V2. The target voltage V1 is the voltage at the interconnection point of the resistors 303 and 304. The target voltage V2 is the voltage at the interconnection point of the resistors 302 and 303, which is higher than the target voltage V1.

[0048] The comparison circuit 306 compares the reference voltage Vr with the target voltage V1 and outputs a comparison result signal C1. The comparison circuit 305 compares the reference voltage Vr with the target voltage V2 and outputs a comparison result signal C2.

[0049] Figure 4 306 outputs a comparison result signal C1 of 0 (low level) when the reference voltage Vr is lower than the target voltage V1. The comparison circuit 305 outputs a comparison result signal C2 of 0 (low level) when the reference voltage Vr is lower than the target voltage V2.

[0050] Figure 5 306 outputs a comparison result signal C1 of 1 (high level) when the reference voltage Vr is higher than the target voltage V1. The comparison circuit 305 outputs a comparison result signal C2 of 0 (low level) when the reference voltage Vr is lower than the target voltage V2.

[0051] Figure 6 306 outputs a comparison result signal C1 of 1 (high level) when the reference voltage Vr is higher than the target voltage V1. The comparison circuit 305 outputs a comparison result signal C2 of 1 (high level) when the reference voltage Vr is higher than the target voltage V2.

[0052] The logic circuit 307 outputs, for example, 3-bit trimming codes T[0] to T[2] to the variable resistors 111 and 112 based on the comparison result signals C1 and C2.

[0053] Figure 7 1 is a diagram showing a configuration example of each of the variable resistors 111 and 112. The variable resistors 111 and 112 have the same configuration as each other. The variable resistors 111 and 112 include n-channel field effect transistors 701 to 703 and resistors 711 to 715, respectively.

[0054] The resistor 711 is connected between the nodes N1 and N2. The resistor 712 is connected between the nodes N2 and N3. The resistor 713 is connected between the nodes N3 and N4. The resistor 714 is connected between the nodes N4 and N5. The resistor 715 is connected between the nodes N5 and N6.

[0055] In the case of the variable resistor 111, the node N1 is Figure 3 The node N22 is connected to the node N6. Figure 3 In the case of the variable resistor 112, the node N1 is connected to the node N21. Figure 3 Node N23 is connected to node N6. Figure 3 The node N21 is connected.

[0056] The n-channel field effect transistor 701 connects the node N2 to the node N3 when the trimming code T[0] is 1, and disconnects the node N2 from the node N3 when the trimming code T[0] is 0.

[0057] The n-channel field effect transistor 702 connects the node N3 to the node N4 when the trimming code T[1] is 1, and disconnects the node N2 from the node N4 when the trimming code T[1] is 0.

[0058] The n-channel field effect transistor 703 connects the node N4 to the node N5 when the trimming code T[2] is 1, and disconnects the node N4 from the node N5 when the trimming code T[2] is 0.

[0059] Figure 8 It is used for Figure 3 Flowchart for explaining the operation of the reference voltage generating circuit 201. In step S801, the logic circuit 307 proceeds to any one of steps S802, S805, and S808 based on the comparison result signals C1 and C2.

[0060] When the comparison result signals C1 and C2 are 0, the logic circuit 307 Figure 4 As shown, the reference voltage Vr is lower than the target voltages V1 and V2, and therefore the process proceeds to step S802.

[0061] In addition, when the comparison result signal C1 is 1 and the comparison result signal C2 is 0, the logic circuit 307 Figure 5 As shown, the reference voltage Vr is a voltage between the target voltage V1 and the target voltage V2, so the process proceeds to step S805.

[0062] In addition, when the comparison result signals C1 and C2 are 1, the logic circuit 307 Figure 6As shown, the reference voltage Vr is higher than the target voltages V1 and V2, so the process proceeds to step S808.

[0063] In step S802, the logic circuit 307 decreases the trimming codes T[0] to T[2] by 1 unit. Specifically, the logic circuit 307 decreases the total number of bits of 1 in the trimming codes T[0] to T[2] by 1. For example, when the current trimming codes T[0] to T[2] are 111, the logic circuit 307 changes the trimming codes T[0] to T[2] to 110.

[0064] Next, in step S803, when the trimming codes T[0] to T[2] decrease, the resistance values ​​of the variable resistors 111 and 112 increase. For example, the resistance values ​​of the variable resistors 111 and 112 when the trimming codes T[0] to T[2] are 110 are greater than the resistance values ​​of the variable resistors 111 and 112 when the trimming codes T[0] to T[2] are 111. The resistance values ​​of the variable resistors 111 and 112 are the same.

[0065] Next, in step S804, when the resistance values ​​of the variable resistors 111 and 112 increase, the reference voltage Vr outputted from the differential amplifier circuit 116 increases and approaches the target voltages V1 and V2. Then, the process of the reference voltage generation circuit 201 returns to step S801.

[0066] In step S805 , the logic circuit 307 maintains the current trimming codes T[ 0 ] to T[ 2 ].

[0067] Next, in step S806 , the variable resistors 111 and 112 maintain the trimming codes T[0] to T[2], and thus maintain the resistance values. The resistance values ​​of the variable resistors 111 and 112 are the same as each other.

[0068] Next, in step S807, if the resistance values ​​of the variable resistors 111 and 112 are maintained, the reference voltage Vr outputted by the differential amplifier circuit 116 is maintained. Then, the process of the reference voltage generation circuit 201 returns to step S801.

[0069] In step S808, the logic circuit 307 increases the trimming codes T[0] to T[2] by 1 unit. Specifically, the logic circuit 307 increases the total number of bits of 1 in the trimming codes T[0] to T[2] by 1. For example, when the current trimming codes T[0] to T[2] are 000, the logic circuit 307 changes the trimming codes T[0] to T[2] to 001.

[0070] Next, in step S809, when the trimming code T[0] to T[2] increases, the resistance values ​​of the variable resistors 111 and 112 decrease. For example, the resistance values ​​of the variable resistors 111 and 112 when the trimming code T[0] to T[2] is 001 are smaller than the resistance values ​​of the variable resistors 111 and 112 when the trimming code T[0] to T[2] is 000. The resistance values ​​of the variable resistors 111 and 112 are the same.

[0071] Next, in step S810, when the resistance values ​​of the variable resistors 111 and 112 decrease, the reference voltage Vr outputted from the differential amplifier circuit 116 decreases and approaches the target voltages V1 and V2. Then, the process of the reference voltage generation circuit 201 returns to step S801.

[0072] By repeatedly performing the reference voltage generation circuit 201 Figure 8 The reference voltage Vr converges to a voltage between the target voltages V1 and V2 by performing the processing of the flowchart. During the period when the power supply voltage is supplied to the reference voltage generating circuit 201, the Figure 8 In addition, Figure 8 The process of the flowchart may be performed when the reference voltage generating circuit 201 is shipped from the factory, or may be performed as an initialization process when supply of the power supply voltage to the reference voltage generating circuit 201 is started.

[0073] The resistor circuit 117 is not limited to the case where it includes the variable resistors 111 and 112. The resistor circuit 117 may include a variable resistor electrically connected between the node N21 and the node N22 and between the node N21 and the node N23 and whose resistance value changes according to the trimming code (control signal) T[0] to T2].

[0074] In addition, the resistor 113 and the pnp bipolar transistors 114 and 115 may share a single current source, and any current source circuit may be electrically connected between the node N22 and the terminal VSS and between the node N23 and the terminal VSS.

[0075] In addition, the case of two target voltages V1 and V2 is described as an example, but the number of target voltages may be three or more. Similarly, the case of two comparison circuits 305 and 306 is described as an example, but the number of comparison circuits may be three or more. Similarly, the case of 3-bit trimming codes T[0] to T[2] is described as an example, but the trimming code may be 4 or more bits.

[0076] The adjustment circuit 301 includes a series-connected circuit of resistors 302 to 304 for generating at least two target voltages by performing resistance division on the power supply voltage at the terminal VDE.

[0077] The adjustment circuit 301 is electrically connected to the output node of the differential amplifier circuit 116 , and generates trimming codes T[ 0 ] to T[ 2 ] by comparing at least two target voltages V1 and V2 with a reference voltage Vr.

[0078] picture Figure 4 In this way, when the reference voltage Vr is lower than the target voltage V1 and the target voltage V2, the resistance circuit 117 increases the resistance value between the node N21 and the node N22 and the resistance value between the node N21 and the node N23.

[0079] picture Figure 5 In this way, when the reference voltage Vr is a voltage between the target voltage V1 and the target voltage V2 , the resistance circuit 117 maintains the resistance value between the node N21 and the node N22 and the resistance value between the node N21 and the node N23 .

[0080] picture Figure 6 In this way, when the reference voltage Vr is higher than the target voltage V1 and the target voltage V2, the resistance circuit 117 reduces the resistance value between the node N21 and the node N22 and the resistance value between the node N21 and the node N23.

[0081] The resistance value between the node N21 and the node N22 of the resistance circuit 117 and the resistance value between the node N21 and the node N23 are the same as each other.

[0082] Comparison circuits 305 and 306 operate by receiving a power supply voltage from a node of terminal VDD that is independent of a node of the power supply voltage of terminal VDE. That is, the power supply voltage of terminal VDE is a stable power supply voltage that is hardly affected by the power supply voltage noise of terminal VDD accompanying the operation of reference voltage generating circuit 201.

[0083] The logic circuit 307 generates trimming codes T[0] to T[2] based on the comparison result signal (output signal) C1 of the comparison circuit 306 and the comparison result signal (output signal) C2 of the comparison circuit 305 .

[0084] As described above, the reference voltage generating circuit 201 can reduce the amount of driving current flowing through the reference voltage generating circuit 201 while performing fine adjustment for improving the accuracy of the reference voltage Vr with high accuracy. Figure 1In this way, it is not necessary to provide a terminal BGRO for connecting the external measuring device 102 for fine adjustment to the output node of the differential amplifier circuit 116, and the number of terminals of the reference voltage generating circuit 201 can be reduced. In addition, it is not necessary to provide a pad for connecting to the external measuring device 102 on the semiconductor chip provided with the reference voltage generating circuit 201, and the number of pads of the semiconductor chip can be reduced.

[0085] (Second Embodiment)

[0086] Figure 3 The adjustment circuit 301 automatically adjusts the reference voltage Vr. Therefore, even when the reference voltage Vr is not a voltage between the target voltages V1 and V2, the reference voltage Vr is supplied to the subsequent circuit 206, which may cause malfunction of the subsequent circuit 206. This problem is a new problem that occurs as a result of the adjustment circuit 301 automatically adjusting the reference voltage Vr. In order for the adjustment circuit 301 to automatically adjust the reference voltage Vr, it is necessary to have a structure that supplies the reference voltage Vr to the subsequent circuit 206 after determining that the reference voltage Vr is a voltage between the target voltages V1 and V2. A second embodiment for solving this problem is described below.

[0087] Fig. 9 FIG. 2 is a diagram showing a configuration example of a semiconductor integrated circuit 200 according to the second embodiment. Fig. 9 The semiconductor integrated circuit 200 is a Figure 3 The semiconductor integrated circuit 200 is provided with a switch circuit 901 added thereto. Fig. 9 and Figure 3 Different points are explained.

[0088] The reference voltage generating circuit 201 has a switch circuit 901. The switch circuit 901 is connected between the node N21 and the terminal VREF, and connects the node N21 to the terminal VREF according to the control signal CTL. The terminal VREF is a reference voltage node for outputting a reference voltage. The adjustment circuit 301 generates the control signal CTL according to the result of comparing at least two target voltages V1 and V2 with the reference voltage Vr.

[0089] Fig.10 Yes means Fig. 9 FIG. 9 is a diagram showing a configuration example of a switch circuit 901 . The switch circuit 901 includes an n-channel field effect transistor 1001 , a p-channel field effect transistor 1002 , an n-channel field effect transistor 1003 , and an inverter 1004 .

[0090] Node N11 and Fig. 9 The node N21 is connected to the reference voltage Vr. The node N12 inputs Fig. 9 The control signal CTL of the logic circuit 307 is provided. The node N13 is connected to Fig. 9 The inverter 1004 outputs a logic inversion signal of the control signal CTL.

[0091] The source of the n-channel field effect transistor 1001 is connected to the node N11, the gate is connected to the node N12, and the drain is connected to the node N13. The source of the p-channel field effect transistor 1002 is connected to the node N11, the gate is connected to the output node of the inverter 1004, and the drain is connected to the node N13. The drain of the n-channel field effect transistor 1003 is connected to the node N13, the gate is connected to the output node of the inverter 1004, and the source is connected to the terminal VSS.

[0092] Fig.11 It is used for Fig. 9 A flowchart for explaining the operation of the reference voltage generating circuit 201 is provided. Fig.11 The flowchart is Figure 8 The flowchart of FIG. 1 is obtained by adding steps S1101 to S1103. Fig.11 and Figure 8 Different points are explained.

[0093] In step S801 , the logic circuit 307 proceeds to any one of steps S1101 to S1103 according to the comparison result signals C1 and C2 .

[0094] When the comparison result signals C1 and C2 are 0, the logic circuit 307 Figure 4 As shown, the reference voltage Vr is lower than the target voltages V1 and V2, and therefore the process proceeds to step S1101.

[0095] In addition, when the comparison result signal C1 is 1 and the comparison result signal C2 is 0, the logic circuit 307 Figure 5 As shown, the reference voltage Vr is a voltage between the target voltage V1 and the target voltage V2, so the process proceeds to step S1102.

[0096] In addition, when the comparison result signals C1 and C2 are 1, the logic circuit 307 Figure 6 As shown, the reference voltage Vr is higher than the target voltages V1 and V2, and therefore the process proceeds to step S1103.

[0097] In step S1101, the logic circuit 307 outputs a control signal CTL of 0 to the switch circuit 901. Fig.10As shown in FIG. 1 , the n-channel field effect transistor 1001 and the p-channel field effect transistor 1002 are turned off, and the n-channel field effect transistor 1003 is turned on. The node N11 (node ​​N21) is disconnected from the node N13 (terminal VREF). The node N13 (terminal VREF) is connected to the terminal VSS (ground potential node). The terminal VREF does not become the reference voltage Vr but becomes the ground potential. The terminal VREF of the reference voltage generating circuit 201 does not supply the reference voltage Vr to the subsequent circuit 206. Then, the processing of the reference voltage generating circuit 201 enters the same Figure 8 Same steps S802 to S804.

[0098] In step S1102, the logic circuit 307 outputs a control signal CTL of 1 to the switch circuit 901. Fig.10 As shown in FIG. 1 , the n-channel field effect transistor 1001 and the p-channel field effect transistor 1002 are turned on, and the n-channel field effect transistor 1003 is turned off. The node N11 (node ​​N21) is connected to the node N13 (terminal VREF). The node N13 (terminal VREF) is disconnected from the terminal VSS (ground potential node). The terminal VREF is the reference voltage Vr. The terminal VREF of the reference voltage generating circuit 201 supplies the reference voltage Vr to the subsequent circuit 206. Then, the processing of the reference voltage generating circuit 201 enters the same Figure 8 Same steps S805~S807.

[0099] In step S1103, the logic circuit 307 outputs a control signal CTL of 0 to the switch circuit 901. Fig.10 As shown in FIG. 1 , the n-channel field effect transistor 1001 and the p-channel field effect transistor 1002 are turned off, and the n-channel field effect transistor 1003 is turned on. The node N11 (node ​​N21) is disconnected from the node N13 (terminal VREF). The node N13 (terminal VREF) is connected to the terminal VSS (ground potential node). The terminal VREF does not become the reference voltage Vr but becomes the ground potential. The terminal VREF of the reference voltage generating circuit 201 does not supply the reference voltage Vr to the subsequent circuit 206. Then, the processing of the reference voltage generating circuit 201 enters the same Figure 8 Same steps S808~S810.

[0100] As described above, in step S1102 , when the reference voltage Vr is a voltage between the target voltage V1 and the target voltage V2 , the switch circuit 901 connects the node N21 to the terminal VREF.

[0101] In steps S1101 and S1103, the switch circuit 901 disconnects the node N21 from the terminal VREF when the reference voltage Vr is not between the target voltage V1 and the target voltage V2. When disconnecting the node N21 from the terminal VREF, the switch circuit 901 connects the terminal VREF to the terminal VSS (ground potential node).

[0102] According to the present embodiment, when the reference voltage Vr is not a voltage between the target voltage V1 and the target voltage V2, the switch circuit 901 is turned off and the reference voltage Vr is not supplied to the subsequent circuit 206. This prevents malfunction of the subsequent circuit 206.

[0103] In addition, the above-mentioned embodiments are merely examples of specific implementation of the present invention, and the technical scope of the present invention is not limited to them. That is, the present invention can be implemented in various forms without departing from its technical concept or its main features.

[0104] Industrial Applicability

[0105] The generated reference voltage can be adjusted with high accuracy.

Claims

1. A reference voltage generating circuit, wherein: have: a resistance circuit having a variable resistor electrically connected between a first node and a second node and between the first node and a third node, wherein a resistance value of the variable resistor changes according to a first control signal; A differential amplifier circuit, wherein one of the differential input pair is electrically connected to the second node, the other of the differential input pair is electrically connected to the third node, and a reference voltage is generated at an output node; a current source circuit electrically connected between the second node and the fourth node and between the third node and the fourth node; as well as The adjustment circuit is electrically connected to the output node and generates the first control signal by comparing at least two target voltages with the reference voltage.

2. The reference voltage generating circuit according to claim 1, wherein: The device further comprises a switch circuit, wherein the switch circuit connects the output node to a reference voltage node for outputting the reference voltage according to a second control signal, The adjustment circuit generates the second control signal according to a result of comparing the at least two target voltages with the reference voltage.

3. The reference voltage generating circuit according to claim 2, wherein: The switch circuit connects the reference voltage node to a ground potential node when disconnecting the output node from the reference voltage node.

4. The reference voltage generating circuit according to claim 2 or 3, wherein: The at least two target voltages include a first target voltage and a second target voltage, The switching circuit connects the output node to the reference voltage node when the reference voltage is a voltage between the first target voltage and the second target voltage, and disconnects the output node from the reference voltage node when the reference voltage is not a voltage between the first target voltage and the second target voltage.

5. The reference voltage generating circuit according to any one of claims 1 to 4, wherein: The resistance circuit has: a first variable resistor connected between the first node and the second node; and The second variable resistor is connected between the first node and the third node.

6. The reference voltage generating circuit according to any one of claims 1 to 5, wherein: The at least two target voltages include a first target voltage and a second target voltage, The resistance circuit increases the resistance value between the first node and the second node and the resistance value between the first node and the third node when the reference voltage is lower than the first target voltage and the second target voltage. When the reference voltage is a voltage between the first target voltage and the second target voltage, the resistance value between the first node and the second node and the resistance value between the first node and the third node are maintained, When the reference voltage is higher than the first target voltage and the second target voltage, the resistance value between the first node and the second node and the resistance value between the first node and the third node are reduced.

7. The reference voltage generating circuit according to any one of claims 1 to 6, wherein: In the resistance circuit, a resistance value between the first node and the second node and a resistance value between the first node and the third node are the same as each other.

8. The reference voltage generating circuit according to any one of claims 1 to 7, wherein: The current source circuit has: a first transistor connected between the second node and the fourth node; and A first resistor and a second transistor are connected between the third node and the fourth node. The first transistor and the second transistor are diode-connected respectively.

9. The reference voltage generating circuit according to any one of claims 1 to 8, wherein: The fourth node is a ground potential node.

10. The reference voltage generating circuit according to any one of claims 1 to 9, wherein: The output node is electrically connected to the first node.

11. The reference voltage generating circuit according to any one of claims 1 to 10, wherein: The at least two target voltages include a first target voltage and a second target voltage, The adjustment circuit has: a first comparison circuit, for comparing the reference voltage with the first target voltage; as well as The second comparison circuit compares the reference voltage with the second target voltage.

12. The reference voltage generating circuit according to any one of claims 1 to 11, wherein: The adjustment circuit includes a resistor series connection circuit that generates the at least two target voltages by performing resistor division on a first power supply voltage.

13. The reference voltage generating circuit according to claim 11, wherein: The adjustment circuit includes a resistor series connection circuit for generating the at least two target voltages by performing resistor division on the first power supply voltage. The first comparison circuit and the second comparison circuit operate by receiving a second power supply voltage from a node independent of a node of the first power supply voltage.

14. The reference voltage generating circuit according to claim 11 or 13, wherein: The adjustment circuit includes a logic circuit that generates the first control signal based on an output signal of the first comparison circuit and an output signal of the second comparison circuit.

15. A semiconductor integrated circuit, wherein: have: A reference voltage generating circuit; as well as A first circuit is connected to the reference voltage generating circuit. The reference voltage generating circuit comprises: a resistance circuit having a variable resistor electrically connected between a first node and a second node and between the first node and a third node, wherein a resistance value of the variable resistor changes according to a first control signal; A differential amplifier circuit, wherein one of the differential input pair is electrically connected to the second node, the other of the differential input pair is electrically connected to the third node, and a reference voltage is generated at an output node; a current source circuit electrically connected between the second node and the fourth node and between the third node and the fourth node; as well as an adjustment circuit, electrically connected to the output node, for generating the first control signal by comparing at least two target voltages with the reference voltage, The first circuit operates by receiving the reference voltage from the reference voltage generating circuit.

16. The semiconductor integrated circuit according to claim 15, wherein: The reference voltage generating circuit further comprises a switch circuit, which connects the output node to a reference voltage node for outputting the reference voltage according to a second control signal. The adjustment circuit generates the second control signal according to a result of comparing the at least two target voltages with the reference voltage.

17. The semiconductor integrated circuit according to claim 16, wherein: The at least two target voltages include a first target voltage and a second target voltage, The switching circuit connects the output node to the reference voltage node when the reference voltage is a voltage between the first target voltage and the second target voltage, and disconnects the output node from the reference voltage node when the reference voltage is not a voltage between the first target voltage and the second target voltage.

18. The semiconductor integrated circuit according to any one of claims 15 to 17, wherein: The at least two target voltages include a first target voltage and a second target voltage, The resistance circuit increases the resistance value between the first node and the second node and the resistance value between the first node and the third node when the reference voltage is lower than the first target voltage and the second target voltage. When the reference voltage is a voltage between the first target voltage and the second target voltage, the resistance value between the first node and the second node and the resistance value between the first node and the third node are maintained, When the reference voltage is higher than the first target voltage and the second target voltage, the resistance value between the first node and the second node and the resistance value between the first node and the third node are reduced.

19. The semiconductor integrated circuit according to any one of claims 15 to 18, wherein: The at least two target voltages include a first target voltage and a second target voltage, The adjustment circuit has: a first comparison circuit, for comparing the reference voltage with the first target voltage; as well as The second comparison circuit compares the reference voltage with the second target voltage.

20. The semiconductor integrated circuit according to claim 19, wherein: The adjustment circuit includes a resistor series connection circuit for generating the at least two target voltages by performing resistor division on the first power supply voltage. The first comparison circuit and the second comparison circuit operate by receiving a second power supply voltage from a node independent of a node of the first power supply voltage.