The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Sep 10th, 2024, 10:16pm
Pages: 1 2 3 
Send Topic Print
Converting differential voltage to digital (Read 4964 times)
mixed_signal
Senior Member
****
Offline



Posts: 183

Re: Converting differential voltage to digital
Reply #15 - Feb 01st, 2012, 6:53pm
 
Hi,

I am designing a smart temperature sensor with following specs:
1. On current 3uA (sensor+ADC)
2. Inaccuracy with no calibration 1C
3. Resolution 0.1c
4. Range -20C to 30C
5. Sampling rate 1 sample/minute. (too slow!!)

I am using bipolar core. I have the following questions:


1. What is the typical value of the bias current of the BJTs? i have power constraint. So planning to use 100nA.

2. Two BJTs can be kept at different current densities by different current ratio or emitter area ratio? Why in temperature sensors usually current ratio is preferred and emitter area is kept constant.

3.  What type of opamp is best suitable for bandgaps/ temp sensors?
What is the typical gain, UGB etc. of the op amp? May I use opamp in subthreshold? Moreover, the op amp offset causes lot of inaccuracy. So, I need to use auto zero or chopper. It also should have high PSRR.


Thanks! Smiley
Back to top
 
 
View Profile   IP Logged
loose-electron
Senior Fellow
******
Offline

Best Design Tool =
Capable Designers

Posts: 1638
San Diego California
Re: Converting differential voltage to digital
Reply #16 - Feb 1st, 2012, 9:26pm
 
the current density thing is due to the math involved.

I did one of these about 10 years ago, and if you do differential current of different junction sizes a lot of the process varaibles fall out of the equation making the math simpler and less process dependent.

search the literatuire for stuff on temp sensors using PN diode junctions. Thees a bunch of publications in the area.
Back to top
 
 

Jerry Twomey
www.effectiveelectrons.com
Read My Electronic Design Column Here
Contract IC-PCB-System Design - Analog, Mixed Signal, RF & Medical
View Profile WWW   IP Logged
mixed_signal
Senior Member
****
Offline



Posts: 183

Re: Converting differential voltage to digital
Reply #17 - Feb 2nd, 2012, 7:05am
 
Thank you loose electron!
Back to top
 
 
View Profile   IP Logged
RobG
Community Fellow
*****
Offline



Posts: 570
Bozeman, MT
Re: Converting differential voltage to digital
Reply #18 - Feb 2nd, 2012, 10:29am
 
mixed_signal wrote on Feb 1st, 2012, 6:53pm:
Hi,

I am designing a smart temperature sensor with following specs:
1. On current 3uA (sensor+ADC)
2. Inaccuracy with no calibration 1C
3. Resolution 0.1c
4. Range -20C to 30C
5. Sampling rate 1 sample/minute. (too slow!!)

I assume that you have a bandgap reference provided. The bandgap value will likely be the largest source of the error so hopefully for you it is someone else's issue.

Quote:
1. What is the typical value of the bias current of the BJTs? i have power constraint. So planning to use 100nA.

It depends on the BJT area so you'll want to use a pretty small device - ~2x2 um^2. As I hope you know, if you operate two bipolars at two different current densities (say the ratio is M) then the difference between the emitters is kT/q*ln(M). That has no process dependence so you'll be in great shape.

Except that is only true at a proper bias.

To make sure you are in a good operating region, sweep the current and measure the voltage difference and note where it falls off at the high current and low current. Obviously you want to operate somewhere in the middle. Try this at hot/cold

Mismatch of your mirrors will have to be managed. BJTs match very well.

Quote:
2. Two BJTs can be kept at different current densities by different current ratio or emitter area ratio? Why in temperature sensors usually current ratio is preferred and emitter area is kept constant.

Probably because that is how the guy before did it. I don't think there is any inherent advantage, but the bipolars can be relatively large so it can save area. You can also double sample the same BJT at two difference current densities to get the delta Vbe using only one BJT and a two value current source. I should have charged you for that one, but I won't tell you how to do it w/ a single current source   Wink

If you can do it, put "N" BJTs in series or in Darlington configuration so that your differential voltage is N*kT/q*ln(M) instead of using an opamp to gain up the kT/q*ln(M) signal. Guess I'm in a "give it away" mood today.
Quote:
3.  What type of opamp is best suitable for bandgaps/ temp sensors?
What is the typical gain, UGB etc. of the op amp? May I use opamp in subthreshold? Moreover, the op amp offset causes lot of inaccuracy. So, I need to use auto zero or chopper. It also should have high PSRR.

You'll want the lowest noise/highest gain possible, which is IMO a two stage Miller type opamp (except compensate it by putting the compensation between the gate/source of the output device for good AC PSRR).

Chop it. Barrel shift your mirror elements if they give you issues. Use as much current as you need and shut it down for 59 seconds. There, I just cut your power by a factor of 60 and solved your mismatch problems.   Smiley If you give me a VPN account and some money I can probably do it for 300nA on average.   Shocked
Back to top
 
 
View Profile   IP Logged
loose-electron
Senior Fellow
******
Offline

Best Design Tool =
Capable Designers

Posts: 1638
San Diego California
Re: Converting differential voltage to digital
Reply #19 - Feb 2nd, 2012, 2:25pm
 
Rob - good analysis.

Its been a while, but I seem to remember it was 2 different
currents, on 2 different size junctiuons, and a lot of the
process variables fell out of the equation.

Its in the literature, Intel people did one of the early designs on
this and it went into the Pentium 1 for temp monitor and fan control.
Back to top
 
 

Jerry Twomey
www.effectiveelectrons.com
Read My Electronic Design Column Here
Contract IC-PCB-System Design - Analog, Mixed Signal, RF & Medical
View Profile WWW   IP Logged
Dan Clement
Community Member
***
Offline



Posts: 95
Salt Lake City, Utah, USA
Re: Converting differential voltage to digital
Reply #20 - Feb 2nd, 2012, 6:17pm
 
Hitting an uncalibrated accuracy spec of one degree is not trivial.

You will have to do chopping of all opamps. You will also have to do dynamic element matching.

Even with all these tricks you may not make it.

If you are in an advanced process the problems only get worse since the bipolar transistor betas drop terribly.

Check out the papers by Pertjis and Makinwa in IEEE JSSC.
Back to top
 
 
View Profile   IP Logged
Dan Clement
Community Member
***
Offline



Posts: 95
Salt Lake City, Utah, USA
Re: Converting differential voltage to digital
Reply #21 - Feb 2nd, 2012, 6:27pm
 
You also have to be careful if you are only using a current difference into the same unit sized bipolar transistors. The beta curves are a function of current and if your ratio is too large you will have problems.

Also you certainly don't need one second or the measurement. With a first order sigma delta you will only need a few hundred milliseconds. I would recommend a second order if you can handle the more complex decimation filter.
Back to top
 
 
View Profile   IP Logged
RobG
Community Fellow
*****
Offline



Posts: 570
Bozeman, MT
Re: Converting differential voltage to digital
Reply #22 - Feb 2nd, 2012, 6:44pm
 
Dan Clement wrote on Feb 2nd, 2012, 6:27pm:
Also you certainly don't need one second or the measurement. With a first order sigma delta you will only need a few hundred milliseconds. I would recommend a second order if you can handle the more complex decimation filter.


Dan - if you know a simple way to chop out the offsets from a second order let me know... I'm trying to understand that right now!
rg
Back to top
 
 
View Profile   IP Logged
Dan Clement
Community Member
***
Offline



Posts: 95
Salt Lake City, Utah, USA
Re: Converting differential voltage to digital
Reply #23 - Feb 3rd, 2012, 5:03am
 
Rob,

If you don't have a solution I'm not hopeful I would have one... Smiley

The last circuit I did was a second order modulator temp sensor that used charge balancing. This circuit setup is similar to the papers mentioned above by Perrtjiis, Makinwa, and Huijsing (sp?).

In this setup I did CDS for the first integrator.  On phi1 the feedback cap is shorted and the integrator is in unity gain. On phi2 it's reconnected to make it an integrator again. The inputs are swapped every integration cycle. I hope this makes sense, it's early in the AM!

I did not do anything about the offset in the second integrator as its effect is supposed to be attenuated by the open loop gain of the first stage. At least that's what the smart guys like you have figured out.

In the literature mentioned above it is also possible to do nested chopping where at the system level another chop is done but at a very slow frequency.

Not sure if this will help or not...

Have fun!
Back to top
 
 
View Profile   IP Logged
RobG
Community Fellow
*****
Offline



Posts: 570
Bozeman, MT
Re: Converting differential voltage to digital
Reply #24 - Feb 3rd, 2012, 1:02pm
 
Dan - Don. T was talking at lunch today about some CDS + chopping that Makinwa was doing so that must be the same thing. Quiquempoix (JSSCC july '06) did fractal chopper sequencing, but he has a patent on it Angry .

I started writing equations for the output of the 2nd integrator with 1st stage chopping this morning. I can now see how the offset grows as Nsamp*Vos compared to Nsamp^2*Vin so it should help, but I don't know. I guess you also have to be careful of aliasing things back down.

So that is why I was thinking 1st order with so much time. Then you can chop and all you have to do is add up the result at the end!

rg
Back to top
 
 
View Profile   IP Logged
loose-electron
Senior Fellow
******
Offline

Best Design Tool =
Capable Designers

Posts: 1638
San Diego California
Re: Converting differential voltage to digital
Reply #25 - Feb 4th, 2012, 11:04am
 
I know sigma delta is sexy right now but
have you considered a VCO counter approach?

Its simple, and with a differential system most
of the offsets and whatnot cancel each other out.
Back to top
 
 

Jerry Twomey
www.effectiveelectrons.com
Read My Electronic Design Column Here
Contract IC-PCB-System Design - Analog, Mixed Signal, RF & Medical
View Profile WWW   IP Logged
Dan Clement
Community Member
***
Offline



Posts: 95
Salt Lake City, Utah, USA
Re: Converting differential voltage to digital
Reply #26 - Feb 6th, 2012, 5:32am
 
Jerry,

I have never seen this topology.  Do you have any reference material?  It sounds interesting.

Thanks,
Dan
Back to top
 
 
View Profile   IP Logged
mixed_signal
Senior Member
****
Offline



Posts: 183

Re: Converting differential voltage to digital
Reply #27 - Feb 6th, 2012, 8:29am
 
Thank you all for the valuable information!
I have to design the voltage reference as well for the sensor.

I am using a process where the max voltage Vdd  is 1.2v and the bandgap voltage is slightly <1.14V. Is it advisable to  go for voltage mode band gap reference where I will have vref=1.2v with few mV overdrive for my PMOS.

Will current mode bandgap be a better option? Is it suitable for sensor with uncalibrated accuracy? Since resistors in current mode is large I am wondering about the offsets and the inaccuracy.

Thanks!


Back to top
 
 
View Profile   IP Logged
loose-electron
Senior Fellow
******
Offline

Best Design Tool =
Capable Designers

Posts: 1638
San Diego California
Re: Converting differential voltage to digital
Reply #28 - Feb 6th, 2012, 9:23pm
 
Dan Clement wrote on Feb 6th, 2012, 5:32am:
Jerry,

I have never seen this topology.  Do you have any reference material?  It sounds interesting.

Thanks,
Dan



Its really not that well written on because the concept has been around so long.

In concept:

1. Build a VCO that is linear, frequency out is proportional to voltage in..

2. Connect VCO input to a reference voltage.

3. Count number of clock cycles that occur in a fixed time period.

4. Connect VCO to ground.

5. Count number of clock cycles that occur in a fixed time period.

6. Take the difference between the two numbers. (think line slope)

7. Use the DC = 0 value as the offset number.

8. The two numbers represent a conversion line now, you have an AX + B
transfer function.

The linearity of the ADC is a direct function of the linearity of the VCO
transfer. Using an op-amp  V to I converter into a capacitor, some comparators and switches
make for a simple but very linear oscillator.

Absolute value is dependent on the voltage reference.

Pretty simple works well, slow to convert, but capable to get it done.
Be careful of flicker noise, that bit me on one of these --  there
was no flicker in the models used.
Back to top
 
 

Jerry Twomey
www.effectiveelectrons.com
Read My Electronic Design Column Here
Contract IC-PCB-System Design - Analog, Mixed Signal, RF & Medical
View Profile WWW   IP Logged
Dan Clement
Community Member
***
Offline



Posts: 95
Salt Lake City, Utah, USA
Re: Converting differential voltage to digital
Reply #29 - Feb 7th, 2012, 5:08am
 
Thanks Jerry, that sounds like an efficient topology.
Back to top
 
 
View Profile   IP Logged
Pages: 1 2 3 
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.