This application is based upon and claims the benefit of priority of the prior Japanese Patent Application No. 2011-036712, filed on Feb. 23, 2011, the entire contents of which are incorporated herein by reference.
The embodiments discussed herein are related to a reference voltage circuit and a semiconductor integrated circuit.
In analog integrated circuits, when a reference voltage not dependent on the temperature and power source voltage was used, a reference voltage circuit called a “bandgap circuit” was used. Mounting together with digital circuits is easy, so even in important CMOS analog integrated circuits, bandgap circuits are being widely used as stable reference voltage circuits.
In a related bandgap circuit, the potential of a forward-biased PN junction and a voltage proportional to the absolute temperature (T) (in general, called PTAT) are added to obtain a reference voltage not dependent on the temperature. Various types of such circuits are provided.
It is known that, if approximating the potential of the PN junction by a linear equation or within the range able to be approximated by a linear equation, the potential of the forward-biased PN junction is the complementary-to-absolute temperature (CTAT). Further, it is known that by adding a suitable PTAT voltage to the potential of this forward-biased PN junction, a reference voltage substantially not dependent on temperature is obtained.
Incidentally, in the past, various techniques are proposed for adjusting the value of the VBGR.
Patent Document 1: Japanese National Publication of International Patent Application No. 2004-514230
Patent Document 2: Japanese Laid-open Patent Publication No. H08-018353
Patent Document 3: Japanese Laid-open Patent Publication No. 2005-182113
Patent Document 4 U.S. Pat. No. 5,325,045
According to an aspect of the embodiment, a reference voltage circuit includes a first amplifier, a first load device and a first PN junction device, second and third load devices and a second PN junction device, an offset voltage reduction circuit, a coupling node potential takeout circuit, and an area adjustment circuit.
The first amplifier included first and second input terminals, which is coupled to a first power source line and a second power source line, and is configured to output a reference voltage. The first load device and the first PN junction device are coupled in series between a reference voltage line to which the reference voltage is applied and the second power source line.
The second and third load devices and the second PN junction device are coupled in series between the reference voltage line and the second power source line. The first input terminal is coupled to a first coupling node which connects the first load device and the first PN junction device, and the second input terminal is coupled to a second coupling node which connects the second load device and the third load device.
The offset voltage reduction circuit is configured to reduce an offset voltage between the first and second input terminals at the first amplifier, and the coupling node potential takeout circuit is configured to take out potentials of the first and second coupling nodes. The area adjustment circuit is configured to adjust an area of the second PN junction device in accordance with the potentials of the first and second coupling nodes which are taken out by the coupling node potential takeout circuit.
The object and advantages of the embodiments will be realized and attained by the elements and combinations particularly pointed out in the claims.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the embodiments, as claimed.
Before describing in detail the embodiments of a reference voltage circuit and a semiconductor integrated circuit, examples of a bandgap circuit (reference voltage circuit) will be described with reference to
In
Furthermore, reference notation AMP1 indicates an operating amplifier circuit (CMOS operating amplifier), GND indicates a GND terminal (first power source line: 0V), while VBGR indicates an output reference potential (reference voltage). Further, reference notations VBE2, IM, and IP indicate internal nodes.
In
Furthermore, in
The operation of the bandgap circuit illustrated in
VBE=Veg−aT formula (1)
Here, VBE indicates the forward direction voltage of the PN junction, Veg indicates the bandgap voltage of silicon (about 1.2V), a indicates the temperature dependency of VBE (about 2 mV/° C.), and T indicates the absolute temperature. Note that, the value of a differs based on the bias current, but in the practical region is known to be about 2 mV/° C. or so.
Further, it is known that the relationship between the emitter current IE and the voltage VBE of BJT generally becomes the following formula (2):
IE=I0exp(qVBE/kT) formula (2)
Here, IE indicates the emitter current of the BJT or the current of the diode, I0 indicates a constant (proportional to the area), q indicates a charge of electrons, and, further, k indicates Boltzmann's constant. When, due to the negative feedback by the operating amplifier AMP1, the voltage gain of the AMP1 is sufficiently large, the potentials of the first input IP and second input IM of the AMP1 become (substantially) equal and the circuit stabilizes.
At this time, as illustrated in
Here, the current flowing through the transistor Q1 is expressed by 10I, while the current flowing through the transistor Q2 is expressed by I. Note that, in
Assume that the emitter area of the transistor Q2 is 10 times the emitter area of the transistor Q1. Note that, the x1 and x10 attached to the transistors Q1 and Q2 of
Further, if expressing the base-emitter voltage of the transistor Q1 by VBE1 and expressing the base-emitter voltage of the transistor Q2 by VBE2,
it is learned, from the formula (2), that there are the relationships of the following formula (3) and formula (4):
10×I=I0exp(qVBE1/kT) formula (3)
I=I0×I0exp(qVBE2/kT) formula (4)
If calculating the two sides and expressing the result by VBE1-VBE2=ΔVBE, the following formula (5) and formula (6) are obtained:
100=exp(qVBE1/kT−qVBE2/kT) formula (5)
ΔVBE=(kT/q)ln(100) formula (6)
That is, the difference ΔVBE of the base-emitter voltage of the transistors Q1 and Q2 is expressed by the log of the current density ratio 100 of the transistors Q1 and Q2 (ln(100)) and thermal voltage (kT/q). This ΔVBE is equal to the potential difference across the two ends of the resistor R3, so the resistors R2 and R3 include a current of ΔVBE/R3 flowing through them.
Therefore, the potential difference VR2 of the two ends of the resistor R2 is expressed by the following formula (7):
VR2=ΔVBE(R2/R3) formula (7)
Further, the potential of IP and the potential of IM are equal at VBE1, so the potential of the reference voltage VBGR is expressed by the following formula (8):
VBGR=VBE1+ΔBE(R2/R3) formula (8)
The forward direction voltage VBE1 includes a negative temperature dependency where it falls along with a rise of the temperature (VBE=Veg-aT formula (1)), while ΔVBE, as illustrated in formula (6), increases in proportion to the temperature.
Therefore, by suitably selecting the constants, it is possible to design the circuit so that the value of the reference voltage VBGR is not dependent on temperature. The value of VBGR at this time becomes about 1.2V (1200 mV) corresponding to the bandgap voltage of silicon.
In this way, in the bandgap circuit of
However, the bandgap circuit of this
In
Reference notation IAMP1 indicates an ideal operating amplifier circuit, GND indicates a GND terminal, VBGR indicates an output reference potential, and, further, IM and IP indicate internal nodes. Furthermore, VOFF indicates an equivalent voltage source expressing the offset voltage of the operating amplifier, while IIM indicates a minus-side input terminal of the ideal operating amplifier IAMP1.
Note that the values attached to the resistors indicate examples of resistance values, while values attached to the BJT indicate relative ratios of areas of the BJT. Note that, unless otherwise specified, corresponding devices and nodes in the figures are assigned the same names and overlapping explanations are avoided.
To explain the problems in the bandgap circuit of
At the CMOS circuit, when forming a bandgap circuit (reference voltage circuit), in particular a circuit such as illustrated in
However, in an actual integrated circuit (LSI), the characteristics of the devices making up the amplifiers will never completely match, so whether the output potential of the AMP1 becomes, for example, a potential of about ½ of the power source voltage differs depending on the individual amplifiers. Further, the differential potential of the input potential at this time is called the offset voltage (VOFF). It is known that the typical offset voltage is, for example, about ±10 mV.
To explain what kind of effects the actual characteristics of an amplifier include on the output potential of the bandgap circuit, in
In the ideal circuit of
VR3=ΔVBE formula (9)
The potential difference VR3′ applied to the resistor R3 of
VR3′=ΔVBE+VOFF formula (10)
Further, the potential difference VR2′ across the resistor R2 is expressed by the following formula (11):
VR2′=(ΔVBE+VOFF)R2/R3 formula (11)
Therefore, the reference voltage VBGR is expressed by the following formula (12):
VBGR=VBE1+VOFF+(ΔVBE+VOFF)R2/R3 formula (12)
As illustrated in
The circuits of
Due to this, for example, the potential difference across R3, as illustrated in the following formula (13), may be made a relatively large value of 120 mV:
ΔVBE=(kT/q)ln(100)=26 mV×4.6=120 mV formula (13)
That is, it is possible to keep the effect of the offset voltage VOFF relatively small. However, in this case as well, to obtain a 1200 mV bandgap voltage comprised of the about 600 mV VBE (VBE1) plus the PTAT voltage, it is preferable to increase the value of the formula (13) by 5 and add it to VBE1.
For this reason, when there is the offset voltage VOFF, the effect of the offset voltage VOFF is amplified by {1+(R2/R3)}=(1+5)=6 fold or so. This includes a large effect on the reference voltage VBGR. Note that, the formula of the VBGR output illustrated in
That is, the circuit of
In the past, for the purpose of solving the problem of the offset voltage of the CMOS operating amplifier limiting the precision of the output voltage of the CMOS bandgap circuit, a circuit for trimming several output voltages (reference voltages) are proposed.
In
In the circuit of
In the circuit of
Specifically, if turning the switch SWU1 ON and turning the switches SWU2 to SWU4 OFF, only the transistor QU1 turns ON, while the transistors QU2 to QU4 may be turned OFF.
Due to this, the current density of the transistor Q2 becomes smaller, so the VBE difference ΔVBE of Q1 and Q2 becomes larger. Further, if ΔVBE becomes larger, the voltage which is amplified by R2/R3 and added to VBE1 becomes larger, so the potential of VBGR may be increased. This is clear from the above-mentioned formula (8) VBGR=VBE1+ΔVBE(R2/R3).
Here, for example, it is possible to binarily weight the transistors QU1 to QU4 and control the switches SWU1 to SWU4 by 4-bit digital data so as to change the increase in area of the transistor Q2 from an area the same as the transistor Q1 to a value of 15 times the Q1.
Further, for example, when the value of the VBGR in the circuit of
Due to this, the current density of the transistor Q1 becomes smaller, so the VBE difference ΔVBE between Q1 and Q2 becomes smaller. Further, if ΔVBE becomes smaller, the voltage amplified by R2/R3 and added to VBE1 becomes smaller, so it is possible to reduce the potential of the VBGR.
In this way, the bandgap circuit illustrated in
Furthermore, reference notation VDP5 indicates a 5V power source terminal, VBGR indicates an output reference potential, IM and IP indicate internal nodes, and, further, PM1, PM2, and PM3 indicate pMOS transistors. Note that, in
Further, in
Next, the operation of the bandgap circuit illustrated in
At this time, as explained with reference to
Note that, the I×10 and I added below the transistors Q1 and Q2 indicate the correspondence of the currents. Similarly, in the other figures as well, the I×10 and the I etc. added to the BJT indicate the correspondence of the currents carried.
As one example, the emitter area of the transistor Q2 is made 10 times the emitter area of the transistor Q1. Note that, in
Furthermore, if expressing the base-emitter voltage of the transistor Q1 as VBE1 and, further, expressing the base-emitter voltage of the transistor Q2 as VBE2, it is learned that, from the above-mentioned formula (2), there are the relationships of the formula (3) and formula (4). Note that, the formula (3) to formula (6) described below are similar to those explained earlier.
10×I=I0exp(qVBE1/kT) formula (3)
I=10×I0exp(qVBE2/kT) formula (4)
If dividing the two sides and expressing VBE1−VBE2=ΔVBE, the formula (5) and formula (6) are obtained:
100=exp(qVBE1/kT−qVBE2/kT) formula (5)
ΔVBE=(kT/q)ln(100) formula (6)
That is, the difference ΔVBE of the base-emitter voltage of the transistors Q1 and Q2 is expressed by the log (ln(100)) of the current density ratio 100 of the transistors Q1 and Q2 and the thermal voltage (kT/q). This ΔVBE is equal to the potential difference across the resistor R3, so the resistor R3 includes the current of ΔVBE/R3 running through it.
Further, the transistors PM1, PM2, and PM3 become current mirrors, so the transistor PM1 includes a current of 10 times the transistor PM2 running through it and therefore the current flowing through the transistor PM3 and the current flowing through the transistor PM1 become equal.
Furthermore, the emitter area of the transistor Q3 and the emitter area of the transistor Q1 become equal and the currents of the transistors PM1 and PM3 become equal, so the base-emitter voltage VBE of the transistor Q1 and the VBE of the transistor Q3 become equal at VBE1.
Therefore, the potential of the reference voltage VBGR is expressed by the next formula (14):
VBGR=VBE1+ΔVBE(10×R4/R3) formula (14)
In this way, in the bandgap circuit of
In
Further, reference notation VBGR indicates the output reference potential, IM and IP indicate internal nodes, PM1, PM2, PM3′, and PMT1 to PMT4 indicate p-channel type MOS transistors (pMOS transistors), and, further, SWT1 to SWT4 indicate switches. Note that, in
Further, in
The differences between the bandgap circuit of
Therefore, first, the differences in the circuits of
In the bandgap circuit of
Even in the bandgap circuit of
In the bandgap circuit of
The transistors PMT1 to PMT4 are binarily weighted. By selectively turning the switches SWT1 to SWT4 ON, it is possible to realize a gate width W corresponding to x1 to corresponding to x15. By adding the gate width W of the constantly ON transistor PM3′, it is possible to increase or decrease the current flowing through the transistor Q3.
When the potential of the reference voltage VBGR is lower than the target value, the gate width W turned on by the switches SWT1 to SWT4 is increased. On the other hand, when the potential of the reference voltage VBGR is higher than the target value, the gates width W turned ON by the switches SWT1 to SWT4 is decreased. Due to this, it is possible to adjust the reference output potential (reference voltage) of the bandgap circuit.
Furthermore, in the bandgap circuit of
In
For this reason, in
When the switches SWR5A to SWR5C are all OFF, the resistance between the node NDR5C and VBGR becomes the total resistance of R5A, R5B, and R5C. Further, by turning any one of the switches SWR5A to SWR5C ON or turning all of them OFF, the resistance between the node NDR5C and the VBGR may be selected from the total resistance of R5A to R5C, the total resistance of R5B and R5C, the resistance of R5C, and zero.
That is, the bandgap circuit of
That is, when the potential of the VBGR is higher than a target value, it is possible to reduce the resistance between the node NDR5C and the VBGR and lower the potential of the VBGR so as to make the value of the VBGR close to the target value. Further, when the potential of the VBGR is low, it is possible to increase the resistance between the node NDR5C and the VBGR to make the potential of the VBGR close to the target value. In this way, in the bandgap circuit of
As explained with reference to
The circuit of
The circuit of
However, if trying to increase the amount of adjustment of the bandgap voltage to adjust the bandgap voltage VBGR by the number of PNP transistors used, there are the problems that the number of the PNP transistors becomes greater and the area increases.
Further, by inserting the switches (SWD1 and SWU1 to SWU4) to the bases of the PNP transistors used and turning the switches ON, the number of the PNP transistors is adjusted, so the base current flows to the control switches (SWD1 and SWU1 to SWU4).
The product of the ON resistance of the switch and the flowing current becomes a voltage drop at the switch. The base potential is made to fluctuate. Further, if the base potential fluctuates, the bandgap voltage VBGR also changes. For this reason, to make the error due to the insertion of a switch as small as possible, it is prefereble to make the base current smaller or make the ON resistance of the switch smaller.
If the current amplification rate of a PNP transistor is not sufficiently large, the value of the base current is small and, further, the effect of the ON resistance of the switch is small. However, the substrate PNP transistor generally used in the CMOS process (vertical direction transistor using source and drain diffusion layer of pMOS transistor as emitter, N-well as base, and P-substrate as collector) usually includes a small current amplification rate.
For this reason, when produced by a standard CMOS process, it is preferable to make the ON resistance of a switch as small as possible. That is, to avoid the output voltage from fluctuating at the switch itself due to adjustment of the VBGR potential, the ON resistance of the switch may be made smaller. This also invites an increase in the area of the switch.
The circuit of
However, in the circuit of
Further, to improve the relative precision, it is prefereble to produce MOS transistors by a certain size or more. This may also lead to an increase in area of the bandgap circuit.
The circuit of
However, in the circuit of
That is, in the circuit of
Below, embodiments of the reference voltage circuit (bandgap circuit) and semiconductor integrated circuit will be explained in detail with reference to the attached drawings.
Further, reference notation PMBn (n is an integer) indicates a pMOS transistor, NMBn (n is an integer) indicates a n-channel type MOS transistor (nMOS transistor), and, further, CB1 indicates a capacitor.
Furthermore, reference notation AMPBM1 indicates a main amplifier acting in the same way as the AMP1 of
Further, reference notations SWTA and SWTB indicate switches (selectors) which generate potential for offset adjustment, CSELA and CSELB indicate control signals of selectors for outputting SELAO and SELBO, and, further, RTRIM1 indicates a resistor for trimming.
Furthermore, reference notation VTRIMG1 indicates an offset adjustment voltage generation circuit which generates SELAO and SELBO, PB indicates a bias potential, and, further, VBE2, NDNGB, NDNGA, IP (first coupling node), and IM (second coupling node) indicate internal nodes.
Further, reference notation REG1 indicates a regulator circuit (coupling node potential takeout circuit), SW1 (third switch), SW2 (first switch), and SW3 (second switch) indicate switches for selecting the reference voltage of a regulator, REFIN indicates a reference voltage of a regulator circuit, and VDD indicates internal voltage which is output from the regulator circuit (for example, 1.8V).
Further, reference notation EAMP1 indicates an error amplifier, RR1 and RR2 indicate resistors forming a voltage division circuit, ENDIV indicates an enable signal of a voltage division circuit, PM01 indicates an output transistor of a regulator, and, further, SW4 (fourth switch) indicates a switch which is used for enabling operation as a voltage follower.
Furthermore, reference notation ENVF indicates an enable signal of a voltage follower, NME1 and NME2 indicate nMOS transistors inside a regulator, VDIV1 indicates a voltage division circuit output which is input to an error amplifier, and RVF indicates a resistor which is used for enabling operation as a voltage follower.
In the other drawings as well, Qn (n is an integer etc.), Rn (n is an integer etc.), etc. indicate the same content unless particularly indicated otherwise. The suffixes added to BJT (bipolar transistor) indicate the ratio of a relative area of the BJT (example of area ratio). In the other figures as well, similar content is illustrated.
Note that, the circuit devices and nodes etc. corresponding to the related circuits such as
Next, the operation of the bandgap circuit of the first embodiment illustrated in
There is no difference between the related circuit of
Further, in the first embodiment which is illustrated in
Furthermore, in the first embodiment which is illustrated in
While partially overlapping with the explanation of
Note that, the transistors Q1 and Q2 are drawn as PNP transistors, but if PN junction devices having PN junctions (first and second PN junction devices), they need not be PNP transistors. Further, the resistors R1, R2, and R3 are drawn as resistance devices, but they need not be resistors if load devices.
Due to feedback control of the main amplifier AMPBM1, the potentials of IM and IP match, so by setting the value of R1 and the value of R2 to, for example, 1:3.3, it is possible to design the current flowing through Q1 and the current flowing through Q2 to, for example, 1:3.3.
That is, for example, by making the current flowing through Q1 3.3 times the current flowing through Q2 and making the emitter area of Q2 20 times the emitter area of Q1, the difference ΔVBE of the VBE's of Q1 and Q2 is, for example, expressed by the following formula (15). At 300 k (ohms), i becomes 120 mV or so.
ΔVBE=(kT/q)ln(99)=26 mV×4.5951=119.47 mV formula (15)
Further, the potential difference across the two ends of R3 becomes ΔVBE, so it is possible to amplify ΔVBE by (R2/R3) and add the result to VBE1 so as to generate the bandgap voltage VBGR (1.2V) like in the following formula (16) in the same way as the circuit of
VBGR=VBE1+ΔVBE(R2/R3) formula (16)
The main amplifier AMPBM1, for example, is comprised of the pMOS transistors PMB1, PMB2, PMB3, and PMB4, nMOS transistors NMB1, NMB2, and NMB3, and capacitor CB1.
The main amplifier AMPBM1 which is illustrated in
PMB4 acts as a current source operating as a second-stage load of the two-stage amplifier AMPBM1, while NMB3 acts as a second-stage source ground amplification transistor and further CB1 acts as a phase compensation capacitor. Note that, PB is assumed to indicate the bias potential of the current source.
When the input conversion offset voltage of the main amplifier AMPBM1 is zero mV and there is no auxiliary amplifier AMPBS1, the potentials of the nodes IM and IP become equal. However, in an actual integrated circuit, the input conversion offset voltage of the main amplifier AMPBM1, for example, includes a value of about +10 mV to −10 mV and becomes a value different for each specimen.
Consider the case where when the offset voltage of the main amplifier AMPBM1 is a potential where the potential of IM is, for example, +10 mV higher than the potential of IP, the feedback circuit of the main amplifier AMPBM1 is stable.
Here, first, assume that NMB1 and NMB2 include exactly the same characteristics and (the absolute value of) the threshold voltage Vth of PMB3 is a value 10 mV higher than (the absolute value of) the threshold voltage Vth of the PMB2.
Considered by the main amplifier AMPBM1 alone, when VBGR becomes 1.2V (in potential), the current flowing through the PMB4 and the current flowing through the NMB3 may be values of the same extent. Here, the bias potential PB of the PMB4 is generally set to an extent so that (the absolute value of) the gate-source voltage of the PMB4 slightly exceeds the threshold voltage Vth of the pMOS transistor, so here the explanation will be proceeded with assuming this.
The current flowing through the NMB3 becomes a value of about the same extent as the current flowing through the PMB4, so the potential of the gate voltage NDNGA of the NMB3 also may be of an extent slightly over the threshold voltage Vth of the nMOS transistor.
Assuming that (the absolute value) of the threshold voltage Vth of PMB3 is a value of 10 mV higher than (the absolute value) of the threshold voltage Vth of PMB2, when the potential of IM is a potential +10 mV higher than the potential of IP, the currents flowing through the PMB2 and PMB3 become equal.
To simplify the explanation, if assuming that NMB1 and NMB2 include exactly the same characteristics, the currents flowing through the NMB1 and NMB2 are the same, so the gate voltages and drain voltages become the same. That is, when the potential of IM is a potential +10 mV higher than the potential of IP, the potential of NDNGA and the potential of NDNGB become the same potential of an extent slightly exceeding the threshold voltage Vth of the nMOS transistor.
Next, the action of the offset adjustment-use auxiliary amplifier AMPBS1 will be explained. The auxiliary amplifier AMPBS1 is comprised of the pMOS transistors PMB5, PMB6, and PMB7. The drains of the PMB6 and PMB7 forming a differential circuit are coupled to the internal nodes NDNGB and NDNGA of the main amplifier AMPBM1.
PMB5 acts as the tail current source of the differential circuits PMB6 and PMB7. To facilitate the explanation, the explanation will be given assuming the threshold voltages Vth of the PMB6 and PMB7 are the same.
The auxiliary amplifier AMPBS1 is provided as a circuit for adjusting the gate voltages SELBO and SELAO of the PMB6 and PMB7 and canceling out the offset voltage of the main amplifier AMPBM1.
When the potentials of SELBO and SELAO are equal, the currents flowing through the PMB6 and PMB7 are equal, so there is no effect on the conditions for making the potential of the NDNGA and the potential of the NDNGB with the main amplifier AMPBM1 alone.
That is, if (the absolute value of) the threshold voltage Vth of the PMB3 becomes a value 10 mV higher than (the absolute value of) the threshold voltage Vth of the PMB2, the potential of IM becomes a voltage +10 mV higher than the potential of IP.
Here, assume that the current of the PMB5 and the current of the PMB1 are equal and further that the sizes (W) of the PMB2, PMB3, PMB6, PMB7 are equal. (The absolute value of) the threshold voltage Vth of the PMB3 is larger than (the absolute value of) the threshold voltage Vth of PMB2 and it is hard for current to flow to the PMB3, so with the main amplifier AMPBM1 alone, in the state where the potential of IP is lower than IM, the potentials of NDNGB and NDNGA become equal.
With the main amplifier AMPBM1 alone, it is hard for the current to flow to the PMB3, so consider making the gate potential SELAO of the PMB7 of the auxiliary amplifier AMPBS1 a potential 10 mW lower than the gate potential SELBO of the PMB6.
When the differential voltage of the gate potential of PMB7 and the gate potential of PMB6 is 10 mV, the current flowing through the PMB7 becomes one-half of the tail current IPMB5 of PMB5 plus a certain increase ΔI (IPMB5/2)+ΔI. The current flowing through the PMB6 becomes (IPMB5/2)−ΔI.
If making the gate potential SELAO of the PMB7 of the auxiliary amplifier AMPBS1 a potential 10 mV lower than the gate potential SELBO of the PMB6, the current of the PMB7 increases and the current of PMB6 decreases.
Due to this, conditions where the currents flowing through the NMB1 and NMB2 become equal and the potentials of the NDNGB and NDNGA become equal are better than when considered by the main amplifier AMPBM1 alone in that the current flowing through the PMB3 becomes smaller than the current flowing through the PMB2 by ΔI.
When the current of PMB5 and the current of PMB1 are equal and, further the sizes (W) of the PMB2, PMB3, PMB6, and PMB7 are equal, the condition whereby the current flowing through the PMB3 becomes smaller than the current flowing through the PMB2 by ΔI becomes the point of (the absolute value of) the effective gate voltage of the PMB3 becoming 10 mV larger than (the absolute value of) the effective gate voltage of the PMB2.
(The absolute value of) the threshold voltage Vth of the PMB3 becomes a value 10 mV higher than (the absolute value of) the threshold voltage Vth of the PMB2, so when the potential of IM and the potential of IP become equal, the potentials of NDNGB and NDNGA become equal and VBGR becomes 1.2V (or so in potential).
That is, when in a situation where there is an input conversion offset and it is difficult for current to flow to either of the PMB2 or PMB3, it is possible to supply currents for compensating for this from the PMB6 and PMB7 so as to cancel out the offset voltage of the main amplifier AMPBM1 so that the circuit balances when the potential of IM and the potential of IP are equal.
To control the currents of the PMB6 and the PMB7 so as to compensate for the unbalance of currents of PMB2 and PMB3, it is sufficient to make the gate potentials of the PMB6 and PMB7 different potentials and to make the gate potential of the transistor for carrying more current a potential lower than the other.
By this framework, it is possible to use the auxiliary amplifier AMPBS1 to cancel out the offset voltage of the main amplifier AMPBM1.
In the above explanation, the operation of the circuit was explained assuming that there is a difference of the threshold voltages Vth at just PMB2 and PMB3 and that the threshold voltages Vth of NMB1 and NMB2 completely match, but in an actual circuit, the causes of offset voltage include mismatch of NMB1 and NMB2 in addition to mismatch of PMB2 and PMB3.
The case where the threshold voltages Vth of the PMB2 and PMB3 match and the threshold voltage Vth of the NMB1 is larger than the threshold voltage Vth of the NMB2 will be explained.
By just the main amplifier AMPBM1, when the potential of the IM and the potential of the IP are equal, the currents which PMB2 and PMB3 try to carry are equal. If the threshold voltage Vth of the NMB2 is smaller, the current which the NMB2 tries to carry is larger than the current which the NMB1 tries to carry.
For this reason, the potential of the node NDNGA becomes lower. The current of the NMB3 becomes smaller, so the potential of VBGR rises. If the potential of the VBGR rises, the change of the potential of IP is small, so the potential of IM becomes higher than the potential of IP.
In this way, even if the threshold voltages Vth of NMB1 and NMB2 do not match, an input conversion offset occurs. A current easily runs through the NMB2, so it is preferable to run a larger current to the PMB3. The potential of IP becomes lower than the potential of IM in the operation.
In such a case as well, in the final analysis, it is possible to increase the current of PMB7 to supply a current which excessively flows to the NMB2 and thereby cancel out the input conversion offset as seen from the IP and IM nodes.
As explained above, there are various factors causing offset of the main amplifier AMPBM1, but it is possible to supply currents which correct the unbalance occurring at NDNGB and NDNGA from the PMB6 and PMB7 of the auxiliary amplifier AMPBS1 so as to make the input conversion offset of the main amplifier AMPBM1 approach zero. Due to this, the advantageous effect is obtained of enabling improvement of the precision of the potential of the VBGR.
Next, the method of generation of the gate voltage of the auxiliary amplifier AMPBS1 will be explained. First, the offset voltage of the main amplifier AMPBM1 is hopefully a value of from +10 mV to −10 mV or so as already explained.
In this regard, it is learned from the circuit configuration that there is an offset voltage in the auxiliary amplifier AMPBS1 itself. That is, this is because, for example, if the PMB6 and PMB7 are mismatched in threshold voltages Vth, even if the gate potentials SELBO and SELAO of the PMB6 and PMB7 are the same potentials, the currents flowing through the PMB6 and PMB7 become different values.
Therefore, it is sufficient to give the SELBO and SELAO a potential difference so that the input conversion offset of the main amplifier AMPBPM1, as seen from the IP and IM nodes, including the offset voltage of the auxiliary amplifier AMPBS1 generated at PMB6 and PMB7, becomes zero.
For example, if configuring the circuit so as to enable the potential difference of SELBO and SELAO to be adjusted by 1 mV increments from −20 mV to +20 mV, it is possible to adjust the offset voltage of the main amplifier AMPBM1 to about zero. However, if making the increments for voltage adjustment and resolution 1 mV, residual offset of about 1 mV remains.
The temperature dependency and power source voltage dependency of the offset voltage are hard to predict and further may take various forms. For example, there are cases where the offset voltage becomes larger if the temperature rises and cases where the offset voltage becomes smaller if the temperature rises.
Furthermore, the relationship between the power source voltage and the offset voltage may also be positive or negative. Under such conditions, to effectively cancel out the offset voltage as much as possible, it is preferable to assume an intermediate case of positive and negative dependency where the offset is not dependent on the temperature or power source voltage and generate the gate voltages SELBO and SELAO for canceling out the offset voltage.
In the bandgap circuit of the present first embodiment, as a method of generation of a gate voltage not dependent much on the power source voltage or temperature along with this object, the method of dividing the bandgap circuit output VBGR for use is employed.
That is, the potentials of IP and IM are about 0.6V, so to match the operating conditions of PMB2, PMB3, PMB6, and PMB7 as much as possible, the potential of VBGR is divided into about ½ for use as the potential. The VTRIMG1 of
The potential of VBGR is divided by the resistor RTRIM1, the divided voltage is selected from the plurality of divided voltages by the switches SWTA and SWTB, and the selected outputs SELAO and SELBO are supplied as gate potentials of the PMB6 and PMB7 of the auxiliary amplifier AMPBS1. Here, CSELA and CSELB indicate control signals of selectors for outputting SELAO and SELBO. These CSELA and CSELB are used to determine the selected potential.
The circuit of the configuration such as VTRIMG1 of
Next, the control signals CSELA and CSELB and the control of the potentials of the gate voltages SELAO and SELBO right after turning on the power will be briefly explained. The operations of these parts will be explained in detail later.
The bandgap circuit is, for example, used as a circuit for generating the reference voltage of the regulator circuit, so may be operated from right after turning on the 5V power source VDP5.
In this regard, when starting the bandgap circuit of
Note that, assume that the settings of the gate voltages SELBO and SELAO for canceling out the offset voltage of the main amplifier AMPBM1, for example, as illustrated in the later explained
Right after turning on the power source VDP5, the internal voltage VDD is 0V, so the logic circuit which operates by the internal voltage also operates as a memory (FLASH1). For this reason, right after turning on the power source, the offset adjustment-use auxiliary amplifier AMPBS1 may not be given a gate voltage for canceling out the offset voltage of the main amplifier AMPBM1.
Even under this state, for example, if configuring the circuit so that the potentials of SELBO and SELAO right after input of VDP5 become equal, the potential includes error due to the offset voltage, but it is possible to design the potential of VBGR to become a potential of about 1.2V.
In the state including error due to the offset voltage of the main amplifier AMPBM1, the potential of VBGR stabilizes. If the potential of the internal voltage VDD becomes a voltage of about 1.8V due to the regulator circuit, the state becomes one in which the flash memory FLASH1 may be accessed.
When reading out the flash memory FLASH1, the settings of the gate voltages SELBO and SELAO for canceling out the offset voltage of the main amplifier are read out from the FLASH1 and the offset voltage of the main amplifier AMPBM1 is cancelled. Due to this, the potential of the VBGR changes to a potential closer to the ideal value. Furthermore, the potential of the VDD also changes to a value closer to the given design value.
As illustrated in the later explained
After this, by reading out the gate voltage settings for canceling the prestored offset voltage from the nonvolatile memory and by canceling the offset voltage of the main amplifier, it becomes possible to request operation right after turning on the power and improve the precision of the bandgap voltage after startup.
Next, the switches SW1, SW2, SW3, and SW4 will be explained. First, the selectors (switches) SWTA and SWTB are used to adjust the gate voltages of PMB6 and PMB7 to adjust the offset voltage of the main amplifier (operational amplifier) AMPBM1 to substantially zero. At this time, the potential of IP (first coupling node) and the potential of IM (second coupling node) become substantially equal, the circuit balances, and the potential of VBGR becomes substantially the bandgap potential as explained above.
SW1 to SW4 are used in the process of adjusting this offset voltage to zero. That is, for example, even if monitoring the potential of VBGR, it is not possible to directly learn if the offset voltage of the main amplifier AMPBM1 becomes zero. Therefore, the switches SW1 to SW4 are used to confirm that the potentials of the nodes IP and IM are equal potentials.
First, at the time of normal operation, only SW1 becomes ON. SW2, SW3, and SW4 are OFF. Further, ENVF is the low level “L”, while ENDIV is the high level “H”.
If SW1 is ON, the potential of the reference voltage REFIN of the regulator REG1 becomes the bandgap potential VBGR. Here, if SW4 is OFF and ENVF is “L”, RVF includes no effect on the operation.
Further, if ENDIV is “H”, the nMOS transistor NME1 is ON, so the potential of VDIV1 becomes the potential of VDD divided by RR1 and RR2. Further, due to the error amplifier EAMP1, the potential of REFIN and the potential of VDIV1 become equal and the circuit stabilizes.
Specifically, for example, if making the ratio of the resistance values of RR1 and RR2 1:2, the potential of VDIV1 becomes a potential equal to the bandgap voltage 1.2V, so it is possible to control the potential of VDD to 1.8V.
The auxiliary amplifier AMPBS1 and the switches SW1 and SW2 are used to adjust the offset voltage of the main amplifier AMPBM1 to zero. SW1 is turned OFF, SW4 is turned ON, the potential of VDD is made the potentials of IP and IM, it is confirmed that the potentials of IP and IM are equal potentials, and the potentials SELAO and SELBO of SWTA and SWTB are adjusted.
First, the operation in the case of taking out the potential of the node IP as the potential of VDD will be explained. SW1 is turned OFF, SW2 is turned ON, and, furthermore, SW3 is turned OFF. Due to this, the potential of REFIN becomes the potential of the node IP.
Furthermore, SW4 is turned ON, ENVF is made “H”, and ENDIV is made “L”. That is, SW4 is ON and ENDIV is “L”, so the potential of VDIV1 becomes the potential of VDD. Further, since ENVF is “H”, it is possible to prevent the potential of VDD from overly rising by flowing a current through the RVF.
Here, the regulator REG1 functions as the voltage follower, and the potential of VDD becomes the potential of REFIN. Further, due to the switch SW2, the potential of REFIN becomes the potential of IP, so the potential of VDD also becomes the potential of IP.
Next, the operation when taking out the potential of the node IM as the potential of VDD will be explained. SW1 is turned OFF, SW3 is turned ON, and, furthermore, SW2 is turned OFF. Due to this, the potential of REFIN becomes the potential of the node IM.
Furthermore, the SW4 is turned ON, ENVF is made “H”, and, further, ENDIV is made “L”. That is, SW4 is ON and ENDIV is “L”, so the potential of VDIV1 becomes the potential of VDD. Further, since ENVF is “H”, it is possible to prevent the potential of VDD from overly rising by flowing a current through the RVF.
Here, the regulator REG1 functions as a voltage follower. The potential of VDD becomes equal to the potential of REFIN. Further, due to the switch SW3, the potential of REFIN becomes the potential of IM, so the potential of VDD also becomes the potential of IM.
Here, the resistors R1, R2, and R3, for example, are often designed to high resistance values exceeding 100 kohms, so if directly taking out the potentials of IP and IM to the outside of the chip for measurement, it is not possible to measure the correct voltage.
Further, if a protective device of the input/output (I/O part etc. is coupled for leading the potential to the outside of the chip, the leakage currents of these devices sometimes influence the operation, so it is preferable to measure the potentials of IP and IM through the buffer amplifier.
In this regard, as illustrated in
That is, in the state where the potentials of SELAO and SELBO are equal, SW2 is turned ON, the potential of IP is taken out to VDD, and the potential of IP is measured. Next, SW3 is turned ON, the potential of IM is taken out to VDD, and the potential of IM is measured.
Here, when the potential of IM is higher than the potential of IP by, for example, +10 mV, the gate potential SELAO of PMB7 of the auxiliary amplifier AMPBS1 is made a potential 10 mV lower than the gate potential SELBO of the PMB6.
That is, the settings of SWTA and SWTB at the offset adjustment voltage generation circuit VTRIMG1 are adjusted around the anticipated optimum gate voltage, and settings giving the smallest potential difference of IP and IM are adopted as the settings of the offset adjustment.
Note that, the regulator REG1 also includes an offset voltage, but the potentials of IP and IM are taken out and monitored by the same REG1, so the error due to REG1 does not include any effect on the conditions where IP and IM become equal potentials.
As explained in detail above, due to the switches SW1, SW2, SW3, and SW4 and the enable signals ENDIV and ENVF at the regulator REG1, it is possible to take out the potentials of the node IP and IM at the VDD. Further, by adopting the method of adjusting the offset to zero, even if the impedances of IP and IM are high, it becomes possible to measure the potentials of IP and IM by an external measuring device. Due to AMPBS1, the effect is obtained that it is possible to accurately adjust the offset to zero.
Next, a circuit using the control signals CAREA and CAREA to make the emitter area of the transistor Q2 variable will be explained.
First, the selectors (switches) SWTA and SWTB at the offset adjustment voltage generation circuit VTRIMG1 adjust the gate voltages of the PMB6 and PMB7 at the offset adjustment-use auxiliary amplifier AMPBS1 to adjust the offset voltage of the main amplifier AMPBM1 to zero.
When adjusting this offset voltage to zero, it was explained that it is possible to use SW1 to SW4 and the ENDIV and ENVF signals, take out the potentials of IP and IM at VDD, and adjust the offset voltage of AMPBM1 to zero so that the potential of IP and the potential of IM become equal.
However, even if the settings of SWTA and SWTB are finalized and the offset voltage of the main amplifier AMPBM1 become zero, causes remain for the potential of VBGR being off from the ideal design value. That is, the absolute values of resistors often fluctuate by about ±10% due to variations at the time of manufacture. Further, the absolute values of the forward direction voltage VBE of the PNP transistors also fluctuate by several mV.
Furthermore, if the resistance value is off, the current flowing through the circuit changes, so the value of VBE changes. As a result, the bandgap voltage (bandgap potential VBGR) fluctuates. Further, this bandgap voltage fluctuates even if the absolute value of VBE of the PNP transistor changes.
The amount by which the bandgap voltage deviates from the ideal value due to factors other than the offset voltage of the operational amplifier is corrected by CAREA and PNPB1. In
Here, due to feedback control of the main amplifier AMPBM1, the potentials of IM and IP match, so by designing the value of R1 and the value of R2 to, for example, 1:3.3, it is possible to design the current flowing through Q1 and the current flowing through Q2 to 3.3:1.
That is, for example, by making the current flowing through Q1 3.3 times the current flowing through Q2 and making the emitter area of Q2 30 times the emitter area of Q1, the difference ΔVBE of VBE of Q1 and Q2 is expressed for example by the following formula (15) and, at 300 k(ohms), becomes about 120 mV.
ΔVBE=(kT/q)ln(99)=26 mV×4.5951=119.47 mV formula (15)
Further, the potential difference across the two ends of R3 becomes ΔVBE, so ΔVBE is amplified to (R2/R3) times and the result added to VBE1 to generate the bandgap voltage (VBGR). That is, VBGR is expressed by the following formula (16).
VBGR=VBE1+ΔVBE(R2/R3) formula (16)
Here, for example, if making the emitter area of Q2 29 times the emitter area of Q1, the difference ΔVBE of VBE of Q1 and Q2 is expressed by the following formula (17).
ΔVBE=(kT/q)ln(95.7)=26 mV×4.5612=118.59 mV formula (17)
Further, for example, if making the emitter area of Q2 31 times the emitter area of Q1, the difference ΔVBE of VBE of Q1 and Q2 is expressed by the following formula (18).
ΔVBE=(kT/q)ln(102.3)=26 mV×4.6279=120.33 mV formula (18)
Furthermore, for example, if making the emitter area of Q2 32 times the emitter area of Q1, the difference ΔVBE of VBE of Q1 and Q2 is expressed by the following formula (19).
ΔVBE=(kT/q)ln(105.6)=26 mV×4.6597=121.15 mV formula (19)
Further, by increasing the ΔVBE expressed by formula (15), formula (17), formula (18), and formula (19) (case of this example) about 5 times and adding the result to VBE1, a bandgap voltage is generated, so the area of Q2 is selected from, for example, 29 times, 30 times, 31 times, and 32 times the area. Due to this, it becomes possible to adjust ΔVBE in increments of about 1 mV. Furthermore, it is possible to change the bandgap voltage by about 5 mV.
In this way, by changing the area of Q2 by CAREA, it becomes possible to adjust the offset voltage of the main amplifier AMPBM1 to zero, then correct the remaining deviation of VBGR from the ideal value.
In this way, the areas of the PNP transistors are made variable to adjust the potential of VBGR. After adjusting the offset voltage of the operational amplifier to zero, it is sufficient to correct the deviation of the VBGR due to the deviation of absolute values of the resistors or correct deviation of VBGR due to deviation of VBE of the PNP transistors, so the range of adjustment may be made very narrow. Therefore, there is no need to greatly increase the number of the PNP transistors or change the area of the Q1 side.
When making the areas of the PNP's variable by combination with the offset adjustment mechanism of the operational amplifier like in
Above, the offset adjustment by the AMPBS1, the action of SW1, SW2, SW3, and SW4 in taking out the potentials of IP and IM at VDD, and the method of further adjustment of the potential of VBGR by CAREA after offset adjustment was explained. Next, details of the circuit configuration of the components will be explained in order.
In
Furthermore, the reference notations SELAO and SELBO illustrate the voltage outputs for adjusting the offset voltage of the main amplifier to zero, GND illustrate the GND terminal (0V), and CSELA and CSELB illustrate control signals of selectors (switches SWTA and SWTB) for outputting the gate voltages SELAO and SELBO.
The suffixes attached to the resistors illustrate examples of the resistance values of the resistors (ohms). The circuit devices and nodes etc. corresponding to the circuit of
Next, the operation of the circuit of
The switches SWTA0 to SWTA7 (first switch group) act as selectors for obtaining the output SELAO. Further, the switches SWTB0 to SWTB7 (second switch group) act as selectors for obtaining SELBO.
The selected output voltages SELAO and SELBO are supplied as gate potentials of the transistors PMB6 and PMB7 of the auxiliary amplifier AMPBS1 of
The 1200 mV (or so) VBGR voltage is divided by the total 1200 kohm resistance array. At this time, the potential difference across the two ends of the 1 kohm resistor becomes 1 mV. Further, the point where the 600 mV potential is obtained becomes the potential of the node selected by SWTA3 and SWTB3.
That is, the potential selected by SWTA becomes 596 mV, that is, a potential higher in 1 mV increments toward SWTA0. Further, for example, by using the 3-bit signal CSELA so as to turn ON just one switch among SWTA0 to SWTA7, it is possible to generate a potential from 596 mV to 603 mV in 1 mV increments. Note that, the same is true for the potential selected by SWTB0 to SWTB7.
In this way, a circuit such as illustrated in
By employing a configuration such as in
From this, the ON resistances of SWTA0 to SWTA7 and SWTB0 to SWTB7 do not affect the adjustment operation of the offset voltage of the main amplifier. It is possible to avoid the undesirable phenomenon such as seen in the relative circuit where the ON resistance of the switch affects the output voltage.
As explained above, by combining the auxiliary amplifier of offset adjustment having the gate electrode of the MOS transistor as the input and the offset adjustment voltage generation circuit by the resistance voltage division circuit such as in
In
Referring to
First, if SWBJ1A is OFF and SWBJ2A is ON, the base potential of Q2A becomes GND. That is, Q2A is ON. On the other hand, as illustrated in
In this way, in addition to Q2D which is constantly ON, it is possible to select whether to turn Q2A, Q2B, and Q2C ON or OFF. Due to this, it becomes possible to select 29 times, 30 times, 31 times, and 32 times the emitter area by the control signal CAREA. Therefore, it is possible to use the variable PNP area circuit PNPB1 of
In the circuit of
As clear from a comparison of
In the first embodiment which is illustrated in
Note that, so long as the amplifier AMPBMS1 is an operational amplifier which may adjust the offset by COFFSET, various ones may be used. Further, the potentials of IP and IM are taken out at VDD and the offset voltage of the AMPBMS1 is adjusted to zero by COFFSET by control of SW1, SW2, SW3, SW4, ENVF, and ENDIV.
Furthermore, the point of adjusting the offset voltage of the amplifier AMPBMS1 to zero, then adjusting the area of Q2 by CAREA to further correct the potential of VBGR is similar to the above-explained first embodiment.
That is, in the second embodiment of
That is, according to the bandgap circuit of the second embodiment, it becomes possible to adjust to zero the offset of the amplifier while monitoring the potentials of IP and IM. It is possible to adjust the offset of the amplifier to zero, then adjust the PNP area so further correct the VBGR potential.
That is, in the same way as the above-mentioned second embodiment, in the bandgap circuit of the third embodiment, the offset voltage of the amplifier AMPBMS1 is adjusted by the potentials SELAO and SELBO obtained by dividing VBGR by the resistor RTRIM1.
Therefore, as the amplifier AMPBMS1 illustrated in
As illustrated in
That is, it is possible to change the position for taking out the resistor RTRIM2 by SWTC and change the value of part of the resistance of RTRIM2 which is coupled between the resistor R2′ and node IM. By using SWTC to change the position for taking out the potential of IM from the RTRIM2, the value of part of the resistance of the RTRIM2 which is coupled with the IM which is in series with the resistor R3′ also changes.
Next, referring to
Further, the resistors RTRIM2A, RTRIM2B, RTRIM2C, and RTRIM2D in
Further, by turning any of SWTCA to SWTCD ON, it is possible to determine the effective resistors R2 and R3 in
In the bandgap circuit of the fourth embodiment as well, in the same way as the first embodiment of
VBGR=VBE1+ΔVBE(R2/R3) formula (16)
In this regard, if using the selector SWTC like in
Furthermore, if selecting SWTCC, R2/R3 becomes 302 kohm/64 kohms=4.7188. Further, if selecting SWTCC, R2/R3 becomes 304 kiohms/6 kohms=4.9032.
Therefore, if normalizing the value using the R2/R2 when selecting SWTCA as “1”, if selecting SWTCA, the normalized R2/R3 becomes the “1”. Further, if selecting SWTCB, the normalized R2/R3 becomes 1.037.
Furthermore, if selecting SWTCC, the normalized R2/R3 becomes 1.077. Further, if selecting SWTCC, the normalized R2/R3 becomes 1.119. That is, in the case of this example, it becomes possible to change R2/R3 in 3.7% increments.
Here, if trying to obtain a resolution of 4 bits by just SWTC for example, the number of switches becomes 16. On the other hand, if changing the number of PNP transistors by the above-mentioned control signal CAREA so as to, in the same way as the case of changing the area of Q2, obtain a 4-bit resolution by just this, the number of switches becomes 16 sets or 15 sets.
As opposed to this, as illustrated in
That is, it is learned that even if totaling the switches of the two, it is possible to cut the total number of switches compared with the case of obtaining a resolution of 4 bits by one of CAREA or SWTC. This is a layered effect obtained by combining different methods of adjustment of CAREA and SWTC.
In this way, if, like in the fourth embodiment illustrated in
That is, in the fourth embodiment of
Furthermore, this is similar to the fourth embodiment of
In this way, in the bandgap circuit of the fifth embodiment, by adjusting the offset voltage of AMPBMNS1 by COFFSET and combining the switching operations of SW1 to SW4, REG1, PNPB1, etc. like in the second embodiment of
That is, in the same way as the fifth embodiment, in the bandgap circuit of the sixth embodiment, the offset voltage of the amplifier AMPBMS1 is adjusted by the potentials SELAO and SELBO obtained by dividing VBGR by the resistor RTRIM1.
Therefore, as the amplifier AMPBMS1 illustrated in
Furthermore, in the bandgap circuit of the sixth embodiment, it is possible to adjust the offset of the amplifier to zero, then adjust the area of the PNP transistor Q2 and the R2/R3 ratio so as to further correct the potential of VBGR. Effects similar to the fourth embodiment of
Further, in the seventh embodiment, the regulator REG2 which outputs the VDD may not include the function of taking out the potentials of IP and IM to the outside, so, for example, the switch SW4 (fourth switch), resistor RVF, and transistor NME2 in the REG1 of the fifth embodiment of
In the bandgap circuit of the seventh embodiment, first, in the same way as the above-mentioned fifth embodiment of
Furthermore, the offset voltage of AMPBMS1 is adjusted to zero, then the area of Q2 is adjusted by CAREA and, further, the ratio of R2 and R3 is adjusted by SWTC to further correct the potential of VBGR.
Here, in the bandgap circuit of the seventh embodiment, only SW2 (first switch) and SW3 (second switch) are provided. Further, at the time of ordinary operation, SW1 and SW2 are OFF. When taking out the potential of the IP node, SW2 is turned ON and SW3 is turned OFF. Further, when taking out the potential of the IM node, SW is turned OFF and SW3 is turned ON. Note that, VDD is output from the regulator REG2 without relation to the processing for taking out the potentials of IP and IM to the outside.
Due to this, the plus side input REFIN2 of the BUFAMP1 is coupled to the IP or IM, while the potential is taken out to the outside as the output voltage VMEASURE. Note that, the processing after taking out the potentials of IP and IM to the outside performs similar processing as the case when taking out the potentials of IP and IM to the outside as the output voltage VDD of the regulator REG1. That is, the area of Q2 is adjusted by CAREA, the ratio of R2 and R3 is adjusted by SWTC, and the potential of VBGR is further corrected.
Note that, a configuration like the seventh embodiment where the potentials of IP and IM are taken out to the outside through the BUFAMP1 instead of REG1 may of course be applied to not only the fifth embodiment of
Here,
In
Furthermore, the characteristic which is indicated by reference notation WTCC illustrates the relationship between the bandgap voltage and the temperature when selecting the switch SWTCC by
Here, at SWTCA to SWTCD, four VBGR-temperature characteristics are included. These illustrate the VB-temperature characteristics in the case where the areas of the PNP transistor Q2 are 29 times larger, 30 times larger, 31 times larger, and 32 times larger the area in the order, from the bottom, of the suffixes ×29, ×30, ×31, and ×32. That is,
Note that, the relationships between the characteristic curves and selection of switches of
As illustrated in
Further, it is learned that by changing the switch from SWTCA to SWTCB, SWTCC, and SWTCD, the effective ratio of R2/R3 becomes larger, so the bandgap voltage becomes larger.
Here, in
Further, in
That is, as illustrated in
Conversely, as illustrated in
In this way, as illustrated in the fourth to seventh embodiments explained by
Furthermore, by combining the method of adjusting to zero the offset value of the operational amplifier according to the embodiments which are explained with reference to
In
Further, reference notation VDD indicates, for example, a 1.8V power source voltage generated at the regulator circuit, LVDL1 indicates a low voltage detection circuit for monitoring the potential of VDD, LOGIC1 indicates a logic circuit which operates using VDD as the power source, and, further, MCU1 indicates a microcontroller.
Further, reference notation CO1 indicates a VDD stabilization capacitor, RL1 and RL2 indicate resistors forming a voltage division circuit for dividing the voltage of VDP5, VDIV2 indicate divided outputs obtained by voltage division by the RL1 and RL2, and, further, RL3 and RL4 indicate resistors forming a voltage division circuit for dividing the voltage of VDD.
Furthermore, VDIV3 indicates a divided output obtained by voltage division by the RL3 and the RL4, CMP1 and CMP2 indicate comparator circuits, LVDHOX1 indicates an output of LVDH1, LVDLOX1 indicates an output of the LVDL1, and, further, FLASH1 indicates a flash memory. Further, CSEL indicates setting data for offset adjustment which is read from the flash memory.
Note that, unless specifically indicated to the contrary, device names starting with “R” indicate resistors, device names starting with “PM” indicate pMOS transistors, and, further, device names starting with “C” indicate capacitors.
Below, the operations of the different parts of the circuit will be briefly explained. The regulator circuit REG1 supplies the logic circuit LOGIC1 inside of the microcontroller MCU1 with, for example, a 1.8V power source voltage. Note that, CO1 acts as a capacitor provided outside of the chip for stabilization of the potential of VDD. If the precision of the potential of the VBGR is improved, the precision of the output potential VDD of the regulator circuit is also improved.
The LVDL1 of
When, due to some sort of situation, the potential of the VDD becomes smaller than a prescribed value, this is detected and, for example, this is often used for an interrupt or reset.
Specifically, for example, if designing RL3 and RL4 to 1:3, the potential of the VDIV3 becomes ¾ of the VDD, so by making the VBGR the reference potential and determining the level of the potential of the VDIV3, it is possible to determine if the VDD is higher or lower than 1.6V.
That is, for example, when the potential of the VDIV3 is lower than VBGR, LVDLOX1 becomes “L”. This is used as a signal meaning that VDD is lower than 1.6V. If the precision of the potential of the VBGR is improved, the precision of the potential which is judged at LVDLOX1 is also improved.
The LVDH1 of
The RL1 and RL2 are used to divide the potential of the VDP5, the divided voltage is compared with the reference voltage VBGR, and it is detected if the VDP5 is lower than or higher than a given voltage. When, due to some sort of situation, the potential of the VDP5 becomes smaller than a prescribed value, this is detected and, for example, an interrupt or reset becomes possible.
Specifically, for example, if designing RL1 and RL2 as 2:1, the potential of VDIV2 becomes ⅓ of the potential of VDP5, so by deeming VBGR as the reference potential and determining the high/low level of the potential of VDIV2, it is possible to learn if VDP5 is higher than or lower than 3.6V.
That is, for example, when the potential of the VDIV2 is lower than VBGR, LVDLOX1 becomes “L”. This is used as a signal meaning that VDP5 is lower than 3.6V. Note that, when judging if the potential of VDP5 is higher or lower than 3.6V, it is often desirable for the reference voltage for judging 3.6V that the precision of the reference voltage be high.
Here, for example, 5% of 3V becomes 150 mV and 5% of 4V becomes 200 mV. When the absolute value of the voltage to be judged is large, if the error of the reference voltage is large, there is a possibility that the absolute value of the error will become so large that it may not be allowed.
The precision of the voltage division of the voltage division circuits RL1 and RL2 is assumed to be sufficiently good (this may actually be assumed in many cases). At this time, the precision of judgment of the voltage of VDP5 is mainly determined by the precision of the reference voltage.
When dividing the potential of VDP5 into ⅓ and judging the potential of VDP5 compared with VBGR, for example, when the error of VBGR is 1.2V±5%, that is, 1.2V±60 mV, the precision in the case of judging 3.6V becomes 3.6V±5%, that is, 3.6V±180 mV.
Due to this reason, in the low voltage detection circuit, by adopting the configuration such as illustrated in
To use the BGR circuit (bandgap circuit) of
Assume that the error of the BGR circuit of the first embodiment of
That is, when the precision of the low voltage detection circuit is poor and using the BGR circuit of
By using the VBGR of the fourth embodiment of
Above, as explained, for example, it is possible to use the VBGR of
Further, as illustrated in
After that, starting from the time when the flash memory may be read out from (WAIT1 of
Further, by canceling out the offset voltage of the main amplifier by the settings of SELAO and SELBO (SEQ2 of
Here, in the microcontroller of
In
Further, reference notation VDD indicates a, for example, 1.8V power source voltage generated by the regulator circuit, LOGIC1 indicates a logic circuit which operates using VDD as a power source, MCU2 indicates a microcontroller, and CO1 indicates a stabilization capacitor of VDD.
Further, reference notation VREF indicates a reference voltage of the AD conversion circuit, REG2 indicates a regulator circuit generating a VREF potential, CO2 indicates a stabilization capacitor of VREF, and RR3 and RR4 indicate resistors forming a voltage division circuit dividing the voltage of the VREF.
Further, reference notation VDIV4 indicates divided output obtained by dividing the voltage by RR3 and RR4, PMO2 indicates the PMOS output transistor of REG2, EAMP2 indicates an error amplifier, ADC1 indicates an AD conversion circuit, and Vin indicates an analog input signals.
Furthermore, reference notation ADCO indicates the results of AD conversion, FLASH1 indicates a flash memory, and CSEL indicates setting data for offset adjustment which is read out from the flash memory.
Note that, unless otherwise indicated, device names starting with “R” indicate resistors, device names starting with “PM” indicate pMOS transistors, while device names starting with “C” indicate capacitors.
By making the BGR1 of
Note that, the microcontroller of the
The circuit of
All examples and conditional language recited herein are intended for pedagogical purposes to aid the reader in understanding the invention and the concepts contributed by the inventor to furthering the art, and are to be construed as being without limitation to such specifically recited examples and conditions, nor does the organization of such examples in the specification relate to a illustrating of the superiority and inferiority of the invention. Although the embodiments of the present invention have been described in detail, it should be understood that the various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2011-036712 | Feb 2011 | JP | national |