Go Back   Pro/Forums > ProCooling Technical Discussions > Testing and Benchmarking
Password
Register FAQ Members List Calendar Chat

Testing and Benchmarking Discuss, design, and debate ways to evaluate the performace of he goods out there.

Reply
Thread Tools
Unread 07-16-2004, 09:31 AM   #1
Incoherent
Cooling Savant
 
Join Date: Sep 2003
Location: Vallentuna, Sweden
Posts: 410
Default Some EE opinions please

I'm building a 12bit multichannel thermometer/controller using thermistors and a MAX186 amongst other things.
I need opinions on the analog side. The MAX186 datasheet will not tell me the input impedance of the analog inputs.
I want to use a voltage divider with one precision resistor and a thermistor between Vref and ground.
It is advantageous to use higher resistance (100K-1M) thermistors because there is less selfheating, but that leads to the question.
Would I need to buffer the inputs to prevent the ADC itself affecting the reading?
Thinking of a LM339 as a voltage follower, is this a stable solution? i.e. will it oscillate?
I'd like to avoid avoid extra circuitry.



Cheers

Incoherent
Incoherent is offline   Reply With Quote
Unread 07-16-2004, 11:07 AM   #2
Groth
Cooling Savant
 
Join Date: Mar 2003
Location: MO
Posts: 781
Default

They don't give an input impedance because it doesn't have one in the traditional sense. It periodically charges a sample-and-hold capacitor: during a three clock tick sampling period, input impedance is very low ~5K; the rest of the time, impedance is effectivly infinite. So the net current drawn by the ADC inputs depends on the sample frequency, and the convertion accuracy depends the host clock and on higher current during the sampling period.

For your thermistors, bandwidth doesn't terribly matter. So the easiest with them would be to put a 10nF cap between the input and ground. The cap would supply the higher currents for the sampling phase, and the net current through your thermistor voltage divider could be kept low enough to not affect the results by cutting the sample rate to 10/s or less.

If you need to measure thing with high bandwidths, you'll need voltage followers on the ADC inputs.
Groth is offline   Reply With Quote
Unread 07-16-2004, 11:36 AM   #3
Incoherent
Cooling Savant
 
Join Date: Sep 2003
Location: Vallentuna, Sweden
Posts: 410
Default

Quote:
Originally Posted by Groth
They don't give an input impedance because it doesn't have one in the traditional sense. It periodically charges a sample-and-hold capacitor:
Ah. Thank you Groth, an long unused section of my brain suddenly kicked back to life. I think it would probably be safer to use a voltage follower. My intention is to only sample at 1s but that might increase later. It'd let me not worry about the thermistor current. Although low component count is a priority, accuracy is more important.
Incoherent is offline   Reply With Quote
Unread 07-16-2004, 12:00 PM   #4
Groth
Cooling Savant
 
Join Date: Mar 2003
Location: MO
Posts: 781
Default

Yeah, the voltage follower will allow the board as a whole to be more flexible, making it simpler to switch a channel to a different task.

Sounds like a interesting project.
Groth is offline   Reply With Quote
Unread 07-16-2004, 12:52 PM   #5
Incoherent
Cooling Savant
 
Join Date: Sep 2003
Location: Vallentuna, Sweden
Posts: 410
Default

Quote:
Originally Posted by Groth
Sounds like a interesting project.
I hope so. I am setting up a poor mans die simulator using thermistors and commenced circuit designing when I found almost exactly what I had drawn up.Here but a different ADC. I will use the software and elements of the design. 8 analog channels (thermistors, flowrate, pressure), 4 digital inputs, and 4 output bits to control power level flowrate etc.
I like thermistors, they are easy and more sensitive than thermocouples, RTDs etc so I hope the repeatability will be enough for a good calibration. Will keep me occupied.
Damn I need a time machine.
Incoherent is offline   Reply With Quote
Unread 07-16-2004, 01:48 PM   #6
Groth
Cooling Savant
 
Join Date: Mar 2003
Location: MO
Posts: 781
Default

That's a neat little kit they've got. Seems their pdf's are broken though (or my reader is).

Time machine?
Groth is offline   Reply With Quote
Unread 07-17-2004, 03:21 AM   #7
Incoherent
Cooling Savant
 
Join Date: Sep 2003
Location: Vallentuna, Sweden
Posts: 410
Default

Quote:
Originally Posted by Groth
That's a neat little kit they've got. Seems their pdf's are broken though (or my reader is).

Time machine?
Simply that it'd allow me to do what I need to do simultaneously with what I want to do. Currently I am too busy so this little project needs to be on hold for a few weeks.

The PDFs are working for me.
Incoherent is offline   Reply With Quote
Unread 07-17-2004, 10:02 AM   #8
firtol88
Cooling Savant
 
Join Date: Jun 2004
Location: BRLA
Posts: 151
Default

Quote:
Originally Posted by Incoherent
...Here...
Nice find.
__________________
-
-
In this corner representing the democrats... Flipper
firtol88 is offline   Reply With Quote
Unread 07-18-2004, 01:21 PM   #9
dnkroz
Cooling Neophyte
 
Join Date: Jan 2003
Location: Spain
Posts: 25
Default

Hi.

Incoherent, you can also use integrated circuits like the LM35 or similars. It has a very linear answer and it is not necessary to have voltage stable.

The adaptation is relatively simple. I have a similar ADC almost finished.
dnkroz is offline   Reply With Quote
Unread 07-18-2004, 05:34 PM   #10
Incoherent
Cooling Savant
 
Join Date: Sep 2003
Location: Vallentuna, Sweden
Posts: 410
Default

Quote:
Originally Posted by dnkroz
Hi.

Incoherent, you can also use integrated circuits like the LM35 or similars. It has a very linear answer and it is not necessary to have voltage stable.

The adaptation is relatively simple. I have a similar ADC almost finished.
Hi dnkroz
Thanks for the suggestion, I have considered it. The only problem with the LM35 type sensors is their size and shape. I want to insert the sensor into a small (~1mm) hole. Thermistors are available in a very small package.
Incoherent is offline   Reply With Quote
Unread 07-29-2004, 04:46 AM   #11
DeadEye
Cooling Neophyte
 
Join Date: Apr 2004
Location: Nr Oxford, UK
Posts: 41
Default

Quote:
Originally Posted by Incoherent
Hi dnkroz
Thanks for the suggestion, I have considered it. The only problem with the LM35 type sensors is their size and shape. I want to insert the sensor into a small (~1mm) hole. Thermistors are available in a very small package.
A few points that may/may not be useful:

You mention accuracy is important, the MAX186's internal reference depending on version can be as bad as +/- 80ppm. If using this chip ensure you get the best version. Much better external references are available.

Incorporating switchable gain instrumentation amplifiers into the design will allow various ranges to be monitored at better resolution.

Linearisation has to be incorporated in the software to handle the thermistor, if working over a shortish range then dependant on accuracy you are trying to achieve a small PRT, could be used which is almost linear over limited ranges.

Consider setting up a small current source (100uA) for powering of sensors, PRT, thermistors or as a resistor measuring device.

Hope this helps.
DeadEye is offline   Reply With Quote
Unread 07-29-2004, 07:53 AM   #12
Incoherent
Cooling Savant
 
Join Date: Sep 2003
Location: Vallentuna, Sweden
Posts: 410
Default

Quote:
Originally Posted by DeadEye
A few points that may/may not be useful:

You mention accuracy is important, the MAX186's internal reference depending on version can be as bad as +/- 80ppm. If using this chip ensure you get the best version. Much better external references are available.

Incorporating switchable gain instrumentation amplifiers into the design will allow various ranges to be monitored at better resolution.

Linearisation has to be incorporated in the software to handle the thermistor, if working over a shortish range then dependant on accuracy you are trying to achieve a small PRT, could be used which is almost linear over limited ranges.

Consider setting up a small current source (100uA) for powering of sensors, PRT, thermistors or as a resistor measuring device.

Hope this helps.
Appreciate the input Deadeye.
I was planning to use a MAX6241 voltage reference via a OP484 type voltage follower buffer to feed both the ADC and the thermistors. Settling on 100K thermistors and 80K 0.1% precision resistors to minimise self heating and lead resistance effects, buffered by said OP484 voltage followers. You sound like you might be able to say if this is a reasonable approach or not.
Linearisation and calibration will be in software (Excel, heh)
Tell me more about these intrumentation amplifiers, I've been looking at the AMP02 but am not sure if I need/can even extract from noise the extra resolution. Plus I want to keep the single rail if possible.
I'm over 15 years beyond studying this stuff.
Incoherent is offline   Reply With Quote
Unread 07-31-2004, 03:42 AM   #13
DeadEye
Cooling Neophyte
 
Join Date: Apr 2004
Location: Nr Oxford, UK
Posts: 41
Default

The approach you are looking at seems fine to me, you didnt explain what the whole design is for. If you are just making a basic temperature monitoring sytem covering a limited range only, then I would stick with what you have now. If you are designing a more flexible system for doing other things then generally you need to add optional gain to the circuit.
I know you realise that 4096mV is 1mv per step resolution, so it is easy to work out what you get on your thermistor in this application, however if great ranges are required then instrumentation amps start to offer the benefits. I preffered the Burr Brown (now TI) range due to their low power requirements.
Instrumentation amps offer benefits in precise gain, common mode rejection and ability to run from dual/single supplies. It is also possible to get the inputs/outputs to go to within 100mV of the rail supply.
Just one other comment, I take it you are running fairly short cables for the thermistor ?
If running longish cables then consider the use of constant current supply rather than a voltage divider.
DeadEye is offline   Reply With Quote
Unread 07-31-2004, 09:48 AM   #14
dnkroz
Cooling Neophyte
 
Join Date: Jan 2003
Location: Spain
Posts: 25
Default

I´am using the OP177 to amplify the Vout of the LM35. The obtained resolution is very near to 0.01ºC (0.0001V) with a ADC of 10Bit, 0-2.5V. Without the amplification the resolution is pproximately 0.06ºC

In the measurement of CPU temperature is a relativity problem because the measurement scale is reduced to 40ºC, but for the rest of measures (11 channels) of the system it would be sufficient.

The solution would be obvious to reduce the resolution in this channel (smaller amplification) or to reduce a fixed tension. For example -150mV (15ºC), it would increase the scale of measurement.

Here some images can be seen about my system, and this link NTC NTC2 if possible that interesting for you.

Still I have left tests to do. Sorry my bad english
dnkroz is offline   Reply With Quote
Unread 09-06-2004, 02:11 PM   #15
Incoherent
Cooling Savant
 
Join Date: Sep 2003
Location: Vallentuna, Sweden
Posts: 410
Default

Can anyone suggest a stable, simple 12v>5v voltage regulator circuit.
Currently I am leaning towards simply a LM317 with precision resistors. I am uncertain of the temperature stability of this and would like to lock it to the 4.096v voltage reference I am using as reference for ADC and thermistors.
I am anticipating that the 12v in will not be particularly stable, it will probably be powered from a hard drive connector initially. Any thoughts on whether power supply stability is even necessary in this case.

The whole circuit is based heavily on this but with a higher end analog side. I am intending to use the same software or a variant.

dnkroz, Deadeye, a belated thanks for your inputs, this thread dropped off my radar over the holidays.
I have decided not to use instrumentation amps at this point, the accuracy I can reasonably expect is going to make the 0.025 deg C resolution I am expecting quite adequate.
Incoherent is offline   Reply With Quote
Unread 09-06-2004, 03:10 PM   #16
bigben2k
Responsible for 2%
of all the posts here.
 
bigben2k's Avatar
 
Join Date: May 2002
Location: Texas, U.S.A.
Posts: 8,302
Default

How about this:
http://www.analog.com/Analog_Root/pr...AD1584,00.html

or do you need some power to go with it?

Do you need it lower to cover the 317's voltage drop?
bigben2k is offline   Reply With Quote
Unread 09-06-2004, 03:31 PM   #17
Incoherent
Cooling Savant
 
Join Date: Sep 2003
Location: Vallentuna, Sweden
Posts: 410
Default

Quote:
Originally Posted by bigben2k
How about this:
http://www.analog.com/Analog_Root/pr...AD1584,00.html

or do you need some power to go with it?

Do you need it lower to cover the 317's voltage drop?
Simpler than that Ben. I already have a Voltage reference, (MAX6241) what I need is a regulator circuit for the power supplies. I want this to be very stable, and I was wondering if it was possible to feed the voltage reference to the V adj pin of the 3TR in some manner where it was still regulating properly but was locked to the reference voltage. i.e if the reference drifts, so does the rest of the circuits power supplies, (to amps, sensors and ADC) thus cancelling any error this would generate. I realise the ADC will do it's thing relative to its ref V but I want to reduce the uncertainty.
Is this necessary? The voltage followers would (should) not be affected by Vcc fluctuations either but I am integrating a shunt with an amp for measuring current which might be.
Incoherent is offline   Reply With Quote
Unread 09-06-2004, 04:27 PM   #18
bigben2k
Responsible for 2%
of all the posts here.
 
bigben2k's Avatar
 
Join Date: May 2002
Location: Texas, U.S.A.
Posts: 8,302
Default

Last I checked, a DAC's Vref should come from a seperate source.

I think you're trying to steady the supply voltages for the whole circuit, if I read you correctly. The diagram seems to have the 317 dictating output voltages which feeds Vsupply for all the other chips.

Last I checked, all these components work within a certain voltage range, i.e. 4.5 to 5.5 v. So you'd be looking to eliminate the transients. You can do that simply by adding caps right at the Vsupply and GND pins of each IC. An oscilloscope would give you a detailed picture. A standard PSU would have transients in the 1kHz to 10 kHz range (from the switching), and might have some around 60 Hz (from AC).

Does that help?
bigben2k is offline   Reply With Quote
Unread 09-07-2004, 04:29 AM   #19
Groth
Cooling Savant
 
Join Date: Mar 2003
Location: MO
Posts: 781
Default

The LM317 will be sufficient. Add a 10 uF tantalum cap parallel to R8, a protection diode anti-parallel R7, another diode from LM317 terminal 2 -|>|- 3, make C3 a 0.1 uF ceramic, and make C4 a 1000 uF aluminum.

Couple that with good bypassing of the ADC's V+ (a 22 uF tant and a 2 nF ceramic in parallel, as close to V+ as possible) and you'll be fine.

Have you thought about feeding your thermistors with a larger voltage? Doesn't seem that you'll be getting the full benefit of your 12 bits/4.096 range.

I'd also add protect diodes to your MAX6241, pin 6 -|>|- 2 and 3 -|>|- 2.
Groth is offline   Reply With Quote
Unread 09-07-2004, 05:11 AM   #20
Incoherent
Cooling Savant
 
Join Date: Sep 2003
Location: Vallentuna, Sweden
Posts: 410
Default

Thanks for the bypassing/protection suggestions Groth. Gives me solid numbers for values. I will stick with the LM317.


Quote:
Originally Posted by Groth

Have you thought about feeding your thermistors with a larger voltage? Doesn't seem that you'll be getting the full benefit of your 12 bits/4.096 range.
Yes I have. Two problems I see.
1. I would need a -ve supply to counterbalance the higher voltage and keep the operating level within the 0-4.096 range, if I wanted to keep the circuit as it is.
2. I'd like to keep the thermistor voltage tied to the same reference as the ADC, both the higher V+ and the V- would not be if I wanted to minimise component count.

A possible solution is this. I back track and DO use intrumentation amps.

Would this or a variation work?
Attached Images
File Type: jpg input.jpg (19.2 KB, 22 views)
Incoherent is offline   Reply With Quote
Unread 09-07-2004, 05:38 AM   #21
Groth
Cooling Savant
 
Join Date: Mar 2003
Location: MO
Posts: 781
Default

Yeah, that variation would work. You'd definitely want intrumentation amps to avoid input bias current errors. Maybe use a single voltage divider with a voltage follower amp to supply all your channels.

If you want to stick to your present amps and have the thermistor feed voltages dependent on the Vref -- bring in a -12V line, then use an inverting amp with a bit of gain to derive an appropriate negative voltage from Vref, and a non-inverting with a bit of gain to get the postive.
Groth is offline   Reply With Quote
Unread 09-07-2004, 09:38 AM   #22
Incoherent
Cooling Savant
 
Join Date: Sep 2003
Location: Vallentuna, Sweden
Posts: 410
Default

Quote:
Originally Posted by Groth
Yeah, that variation would work. You'd definitely want intrumentation amps to avoid input bias current errors. Maybe use a single voltage divider with a voltage follower amp to supply all your channels.

Good idea, I think I'll go with this.

Quote:
Originally Posted by Groth
If you want to stick to your present amps and have the thermistor feed voltages dependent on the Vref -- bring in a -12V line, then use an inverting amp with a bit of gain to derive an appropriate negative voltage from Vref, and a non-inverting with a bit of gain to get the postive.
Another good, simple idea, you really are full of them aren't you. I like not having to use another supply though so...
Incoherent is offline   Reply With Quote
Unread 09-07-2004, 10:03 AM   #23
Groth
Cooling Savant
 
Join Date: Mar 2003
Location: MO
Posts: 781
Default

Well. if you want to stick to single supply, you could use a charge pump to generate the small amounts of negative voltages you would need...

But, I do like the first variation and the instrumentation amps will give you better signal-to-noise, common-mode-rejection, etc. If you can, pick a low power single supply amp and run it off your Vref (may require a beefier voltage follower); that way the ADC inputs are guaranteed be to be with bounds.

Usually when someone calls me full of it, they're talking about something else.
Groth is offline   Reply With Quote
Unread 09-07-2004, 04:41 PM   #24
Incoherent
Cooling Savant
 
Join Date: Sep 2003
Location: Vallentuna, Sweden
Posts: 410
Default

Quote:
Originally Posted by Groth
If you can, pick a low power single supply amp and run it off your Vref (may require a beefier voltage follower); that way the ADC inputs are guaranteed be to be with bounds.
Something like this is what it is turning into. A bit of a Hydra. Cut out one component, two others grow back.

Two high resolution (<0.005 deg) low range channels for water In/Out, 4 low resolution (<0.025 deg) for three sensor fluxblock and die. One ammeter channel and one voltmeter channel. I think I am going to skip the digital in/outs but we'll see.

What a mess. Now to see if I can transfer this onto a PCB.

Opinions/corrections please.

Last edited by Incoherent; 09-07-2004 at 04:46 PM.
Incoherent is offline   Reply With Quote
Unread 09-08-2004, 03:59 AM   #25
Groth
Cooling Savant
 
Join Date: Mar 2003
Location: MO
Posts: 781
Default

Hah, looks like you're designing a plate of spaghetti! What software are you doing the schematics with? They look great.

Generally looks good to me. What sort of the currents are you running through your heater? Might be better to move your current sensing shunt off board.

If you don't do the digital ins and outs yet, how about leaving yourself solder pads or a header that gives access to +5/ground/p-port lines. That way you could attach a daughter card later.

Groth is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 03:08 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
(C) 2005 ProCooling.com
If we in some way offend you, insult you or your people, screw your mom, beat up your dad, or poop on your porch... we're sorry... we were probably really drunk...
Oh and dont steal our content bitches! Don't give us a reason to pee in your open car window this summer...