Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
saro_k_82 said:Remove R6 and R7, Use the loop to generate only PTAT. Add another diode arm (use 1+7+1) similar to M0, Q0 (lets call it Q2, M3) and another amp equate Q2, M3 arm to M0, Q0 arm. Now add resistor in parallel with Q2 to make M3's current bandgap. Mirror it to get your output voltage. You are effectively doing the same thing with an added amp.
If you take a closer look, you really dont need a seperate amp. You could include a third arm in the existing amp and have two second stage. This will help reduce mismatch and noise. There will be two loops one for PTAT and other for CTAT. Well this is just one of the many possibilities to get out of this problem.
surianova said:ok, good! i agree if for Pmos, you put a cap between gate and source will improve PSRR at high frequency. Basically if short at high frequency , the Vsg become zero and the transistor is off.
how about for Nmos, can i put a cap between gate and source?
so that it will short at high frequency and increase PSRR? Will it help?
.
saro_k_82 said:surianova said:ok, good! i agree if for Pmos, you put a cap between gate and source will improve PSRR at high frequency. Basically if short at high frequency , the Vsg become zero and the transistor is off.
how about for Nmos, can i put a cap between gate and source?
so that it will short at high frequency and increase PSRR? Will it help?
.
Yes that will help for PSRR but may not be good in general. As long as you keep the low impedances low and high impedances high at high frequencies your PSRR will be better. But in this circuit doing so will hamper the stability of the loop. Caps need to be added for 3 purposes., Stability, PSRR and noise. Including them at different places give you different bargains for the three., but including the cap the way that I have indicated will improve all three....again just for this circuit.
surianova said:just to confirm, If stability not the issue, then put a cap between gate and source for nmos will help Psrr at high frequency?
ytliang said:to improve PSRR+ (supply rejection to the positive supply VDD), we want the impedance from the output node to VDD to be high.
If you add a capacitor between the gate and source of the pmos, wouldnt that turn the pmos off at high frequency? Doesnt that make the PSRR at high frequency worse because your circuit would be off? :?
How does the BGR circuit function if the pmos is off?surianova said:yes, we want to Pmos to be off at high frequecny, so that the noise from VDD won't be able to amplifly to the output.
ytliang said:How does the BGR circuit function if the pmos is off?
Thanks, looks like I was confused with small signal and dc.saro_k_82 said:Simple answer is that BGR's signals are close to dc., whereas the noise that we want to attenuate are high frequency.
When he says that the PMOS is off, he onlt means that there is an ac short between it's gate and source so the PMOS is blind towards high frequency supply noise.
Miller capacitor does not turn the transistor OFF. It just shorts the drain and gate. It drops the impedance of a high impedance node and it results in poor Supply rejection.
You are right in saying that the impedance from the supply to the out node be high (This is true here and not in general., try speaking of GND rejection with cap connected from OUT to GND). The cap is not connected to the output node., by connecting the cap there the output is coupled more to ground than to supply which improves PSRR.
saro_k_82 said:There are two ways to see the mismatch problem in the Circuit
1. Without R6 and R7, the loop's stability is ensured due to R0 (Exponential I-V vs Linear I-V). As you know there are both positive and negative feedback loops here and R0 arm provide just that additional feedback factor to keep the circuit stable. If you include R6 and R7, you are reducing the gap between positive and neg beta and this reduces stability., so with small offset at sensitive spots, the circuit stops working.
You may say that R6 and R7 are very high compared to the R0, but R0 is sitting upon a VBE while R6 sees a much larger voltage. The more the current divides in to R6 more the problem is.
To test it, just insert a voltage source with small offset (about 3mV to 5mV) from inp to the R6, R0 end and dc sweep. The problem will be more severe at low temp because the diode voltage will be high and the current thro it will be low (It's PTAT., isn't it). The offset between the M1 and M0 will be even more critical. I suspect whether this loop can take even 500uV offset there. After you do this just remove R6 and R7...and you'll see that the circuit can take offset voltages more than 10mV easily...higher offsets only degrade the performance (the offset's tempco cause more curvature) but the circuit is very much performing.
Note that, I referred to the offset arising out of the mismatch in the input devices of the amp and the current mirrors (internal and external) and this is dc. When the stability is under question because of this dc offset, I don't know whether it is valid to speak of dynamic offsets. The systematic offsets are not likely to affect the circuit., which is why it is hard to detect the flaw unless you run monte-carlo sims.
2. There are two stable points for any bandgap and a startup is required to avoid the zero state. Without R6 and R7, the circuit definitely has only two stable points where the two voltage will be equal and the two currents be equal. But with R6 and R7 inserted, with small offsets, the circuit can find a stable operating point that is different from the 2 expected operating regions. Again this is seen more in the low temp region. Even though this can be abated with a strong startup circuit, it cannot be avoided and it costs the design in other parameters.
The first problem can be fixed with some trick., but solving for the second one is tricky. ..
saro_k_82 said:A solution is,
Remove R6 and R7, Use the loop to generate only PTAT. Add another diode arm (use 1+7+1) similar to M0, Q0 (lets call it Q2, M3) and another amp equate Q2, M3 arm to M0, Q0 arm. Now add resistor in parallel with Q2 to make M3's current bandgap. Mirror it to get your output voltage. You are effectively doing the same thing with an added amp.
If you take a closer look, you really dont need a seperate amp. You could include a third arm in the existing amp and have two second stage. This will help reduce mismatch and noise. There will be two loops one for PTAT and other for CTAT. Well this is just one of the many possibilities to get out of this problem.
I have attached the images. It is only to instruct about the architecture., so don't get carried away with the device sizes. I din't include the startup too..
Could you please post other ways as well, if it's possible? If you can't publish them all, it would be great, if you can at least guide me to the Literature on them?saro_k_82 said:Well this is just one of the many possibilities to get out of this problem.
saro_k_82 said:Even though the circuit finding a stable operating point that is different from the ‘2’ expected operating regions can be abated with a strong startup circuit, it cannot be avoided and it costs the design in other parameters.
ipsc said:If I understand correctly, what this achieves is: It removes the Area & Power overhead of one more Diff-Pair & Area overhead of one more compensation Cap. Am I correct? Or are there any additional benefits with this?
But on the flip side, this will have more systematic offset & may be more Random offset even because Opamp is biased by Q0 or Q1’s current not by 'Q2' branch's current & hence sizes of M14-M15 & M11-M13 might be different in Practical case.
ipsc
ipsc said:But on the flip side, this will have more systematic offset & may be more Random offset even because Opamp is biased by Q0 or Q1’s current not by 'Q2' branch's current & hence sizes of M14-M15 & M11-M13 might be different in Practical case.
ipsc
ipsc said:One more thing, that isn't completely clear to me is the logic behind craving out the Third diff-pair branch out of Opamp's overall -ve Input & not +ve Input. I think this will weaken -ve feedback & hence stability. What's your take?
ipsc
There is a huge chunk of literature about alternative methods., it would be hard to point to one. If you want to keep it simple, just have the core PTAT generator with one amp and drop the PTAT current in two separate branches to a resistor and a diode. Insert a balancing resistor between the two branches to get the bandgap voltage.ipsc said:Could you please post other ways as well, if it's possible? If you can't publish them all, it would be great, if you can at least guide me to the Literature on them?
ipsc
ipsc said:Can you please elaborate this point a bit more? -- May be with a drawing of that strong start-up circuit & description of the parameters it will cost.
ipsc
Yeah, this will be a risky Architecture.saro_k_82 said:There are a few caveats about this implementation as well. The opamp could find a stable operating point where both the arms are dominated by the MOS voltages where the pn diodes are carrying very low current., which can be avoided by turning on the shunt elements after the bandgap stabilizes with the pn diode voltages. Other advanced implementations of the same idea can avoid this.
Thanks for the clarification. The caps will be on F1 & F2 nets to the GND, right?saro_k_82 said:It reduces the area, power and random mismatch., but not the compensation cap. Well in principle you can work with one compensation cap for the two loops but it will either call for a very huge cap or complex network. With this simple scheme, you need two caps and they can be moscaps.
I am afraid.... this might be somewhat workable only if the design is for a single process corner because even with temperature M1 current varies a lot while M2 current is relatively constant.saro_k_82 said:This wont cause systematic offset as long as you understand this and size M2 as an array of transistors of M1's size. If M1 were carrying 25uA and M2 carries 100uA, M2 has to 4 transistors M1 transistors in parallel. I know this is not possible always, but you can reduce the systematic error by a great deal this way.
I am afraid.... Even this might help only a bit if the design spreads in several process corners.saro_k_82 said:If you want to reduce furthur, you can incude a nmos diode in the S1 arm and use that VGS to another matched nmos transistor in the S2 arm. This is basically cascoding to reduce the difference in VDS that M11 and M13 sees.
Actually I was talking about single opamp based architecture (1st diagram) not the 2nd one. Any way, I was thinking that the ratio will be 2:1:1. If it's 1:1:1 probably that should be fine.saro_k_82 said:In the present architecture diagram that I had uploaded, The diode-only arm is loaded with the input cap of the opamp and the other arm is left free, which reduces the impedance level of that arm around the loop's UGB which is good for stability.
After all the nodes of the first loop are stabilized, it hardly matters where you are going to tap (ofcourse the input cap matters)
Also if I had tapped it from +, I need a 3 stage amp in order to use this architecture.
All the 3 arms of the first stage should have same currents (1:1:1).
I know there is huge literature. But it would be great if you can point me to one good paper/book from where I can proceed further (i.e. probably a good paper/book that has one or more references to other good ones.)saro_k_82 said:There is a huge chunk of literature about alternative methods., it would be hard to point to one.
Do you mean something like the attached image?saro_k_82 said:If you want to keep it simple, just have the core PTAT generator with one amp and drop the PTAT current in two separate branches to a resistor and a diode. Insert a balancing resistor between the two branches to get the bandgap voltage.
If I correctly understand the problems with current architecture, this might need too high resistors of the order Mega ohms. Any way, let me see if it’s workable in my area limitations.saro_k_82 said:If you have to use the shunt resistor, you could use high enough resistors so that all these problems are avoided.
Yesipsc said:Thanks for the clarification. The caps will be on F1 & F2 nets to the GND, right?
You are right. The process variation will be handled well, but there will be temperature induced systematic offset. This can only be reduced by maximizing the gm of M11, M13, M12, M4, M3 and the three input transistors and minimizing the gm of M14, M15, etc. Moreover if the input transistors are well in to weak inversion, the offset will look like a diode induced CTAT (In BJT process, designers purposely invite offset as it is again dVBE and use it as signal) which can be corrected and the systematic error will not cause any trouble.ipsc said:I am afraid.... this might be somewhat workable only if the design is for a single process corner because even with temperature M1 current varies a lot while M2 current is relatively constant.
The current form P2 and P3 are PTAT. The diode will give a CTAT voltage and R1 will show a PTAT voltage(without R2). The R2 resistor sends in just the amount of CTAT current to make the voltage at R1 independent of temperature.ipsc said:Pardon me; I can’t understand how did it will give me the bandgap voltage. Can you please explain its function a bit or point to its source?
saro_k_82 said:I have attached the images. It is only to instruct about the architecture., so don't get carried away with the device sizes. I din't include the startup too..
snafflekid said:Can someone explain how this is zero TC? I get VBG= Vt ln 7 + Vbe