why do i always see “jtower” and “big ass” in the same sentence?
Calibrating sensors to your Traqmate
jlevie wrote:
That’s pretty much what the manual says, except recommending twice that much for a resister between Vsource and analog in. The problem is that it gives you a miniscule voltage delta. What I never understood is why it also turned out to be so difficult to calibrate. Calibration shouldn’t take 6 iterations of trial and error. It should take, at most 2. And their should be an obvious relationship between the resistance measured at the TM, and the resultant graphs. Except there wasn’t. So trial and error.
$30 for an independent 15V source, and the result is about 4V of Vdelta at analog in. And then everything starts behaving predictably.
There shouldn’t be any trial & error iterations in calibrating a sensor. for a linear sensor you compute the Vout at two points (usually at zero and full scale) and plug that into the data logger. For a non-linear sensor you need Vout a set of points on the curve.
jlevie wrote:
Hence my surprise that it took successive iterations of comparing session notes with data to ultimately succeed. Each calibration change I made took the values farther away from what they should have been. At endstate I had calibration values that made no sense, but I had good data.
Tenacity always wins in the end.
My bad. I have to read every new thread because I can’t stand having (1 new) in orange next to the topic. So I assumed that you had at least scanned over my iq3 thread a few weeks ago. The usm is simply the box that I plug my signal wires into and supplies a 5v out. The bridge circuit is what I found while searching one of my books for an answer to your problem of needing another 5v signal for your tm. I’m sure its more relevant to my electrical confusion than yours.
Ranger wrote:
[quote]jlevie wrote:
Hence my surprise that it took successive iterations of comparing session notes with data to ultimately succeed. Each calibration change I made took the values farther away from what they should have been. At endstate I had calibration values that made no sense, but I had good data.[/quote]
I don’t know what you did, but things to consider are that a computed zero (or max depending on the slope of the sensor) may not be zero volts at the logger input. You have to take zero bias into account for the other data points. And understand that when using a current limiting resistor the Vout is:
Vout = Rs*Vref/(Rs+Rr)
where:
Vout is the input to the logger
Rs is sensor resistance at that cal point
Rr is current limit resistor
Vref is the reference voltage
jlevie wrote:
[quote]Ranger wrote:
[quote]jlevie wrote:
Hence my surprise that it took successive iterations of comparing session notes with data to ultimately succeed. Each calibration change I made took the values farther away from what they should have been. At endstate I had calibration values that made no sense, but I had good data.[/quote]
I don’t know what you did, but things to consider are that a computed zero (or max depending on the slope of the sensor) may not be zero volts at the logger input. You have to take zero bias into account for the other data points. And understand that when using a current limiting resistor the Vout is:
Vout = Rs*Vref/(Rs+Rr)
where:
Vout is the input to the logger
Rs is sensor resistance at that cal point
Rr is current limit resistor
Vref is the reference voltage[/quote]
No offense, but I’m an engineer, not a poet. Maybe you’re explaining the details for those non-technical types that might stumble across this thread in years hence?
[quote]Ranger wrote:
No offense, but I’m an engineer, not a poet. Maybe you’re explaining the details for those non-technical types that might stumble across this thread in years hence?[/quote]
No offense, but if I had a dollar for every engineering mistake I’ve encountered I could retire and investigate the affect of enforced idleness on the human condition.
What you need to straighten things out is a physicist/mathematician.
I don’t like bumping old threads but I figure it’s better to keep my post grouped with the other relevant posts.
So I think I’m going to follow Ranger’s suggestion of buying a DC-DC converter. I’m thinking of going with the 12 VDC just because 15 VDC is too much for my DAQ (0-5V).
I did some maths and decided to use a 500 ohm resistor for the voltage divider. Doing some more maths shows me that when the sensor is at 240 ohms the signal voltage will be 3.89V and when the sensor is at 33 ohms the signal voltage will be 0.74V. This is a reasonable range since my DAQ is 0-5V with an ADC resolution of 1024 divisions which results in a resolution of around 0.12 psi which is very reasonable for measuring things like oil pressure where a resolution of around 0.25-0.50 psi would be sufficient.
My next problem and this is where I need help. Calculating V^2/R for the resistor at both extremes (240 and 33 ohms for the sensor) and I find that the 500 ohm resistor is drawing 0.13 W and 0.25 W but calculating it from the DC-DC converter datasheet which shows an output current of 1250 mA I*R results in 62 W being absorbed which is quite a lot.
Which one is correct? Also, I can’t send a lot of current into my DAQ. I’m not sure what the limit is but it’s pretty low.
Your an engineer. Why did you get a traqmate? Traqmate is for the nontechnical people. I thought you were going to build an arduino logger dash and I was very interested in your progress.
I am. I’m trying to figure out how to wire the sensors up to it without destroying it. The wiring of the sensors is pretty much universal regardless of whether it’s a Motec datalogger, a Traqmate, or my homebrewed setup.
[quote=“MrDomino” post=64429]I don’t like bumping old threads but I figure it’s better to keep my post grouped with the other relevant posts.
So I think I’m going to follow Ranger’s suggestion of buying a DC-DC converter. I’m thinking of going with the 12 VDC just because 15 VDC is too much for my DAQ (0-5V).
I did some maths and decided to use a 500 ohm resistor for the voltage divider. Doing some more maths shows me that when the sensor is at 240 ohms the signal voltage will be 3.89V and when the sensor is at 33 ohms the signal voltage will be 0.74V. This is a reasonable range since my DAQ is 0-5V with an ADC resolution of 1024 divisions which results in a resolution of around 0.12 psi which is very reasonable for measuring things like oil pressure where a resolution of around 0.25-0.50 psi would be sufficient.
My next problem and this is where I need help. Calculating V^2/R for the resistor at both extremes (240 and 33 ohms for the sensor) and I find that the 500 ohm resistor is drawing 0.13 W and 0.25 W but calculating it from the DC-DC converter datasheet which shows an output current of 1250 mA I*R results in 62 W being absorbed which is quite a lot.
Which one is correct? Also, I can’t send a lot of current into my DAQ. I’m not sure what the limit is but it’s pretty low.[/quote]
The idea of “sending current into the DAQ” is wrong. There’s a misunderstanding of electricity there. The DAQ senses voltage, that’s it.
The most current your bridge will pass is 15V/(500+33) so ~ 30mA. 30mA thru 500 Ohms is 15W so I’d get a 25W resister and fasten it to a piece of AL as a heatsink.
Get a chip that is rated at 500mA@15V so it will be nice and stable. Then fasten it to a piece of AL also.
I’m just learning about this sh%% this semester. I’m a 27yo born again freshman. Your the only one who can figure it out. If your still in college ask your professor. If not just PM me and I’ll ask one of mine. I’m at Milwaukee School of Engineering right now. I think I can find someone who knows the answer.
As to the power through the current limit resistor, Scott has the right answer.
I’d sacrifice resolution and use a larger limiting resistance. I can’t think of any reason that you need better than 1-2psi resolution for oil or fuel pressure. The allows for the use of a lower power resistor.
Since the DAC input is limited to 5v, I would drive the measurements with a 5v regulated source. That would eliminate any risk to the DAC should the resistor get shorted. That is how the analog inputs to my IQ3 are set up.
[quote=“jlevie” post=64444]
Since the DAC input is limited to 5v, I would drive the measurements with a 5v regulated source. That would eliminate any risk to the DAC should the resistor get shorted. That is how the analog inputs to my IQ3 are set up.[/quote]
I respectfully disagree with the 5V source. You’re on the right track Chris, a 5V source would give you some tiny measurement input range of 1.5V or so. Something that is designed to work with each other and the sensor has it’s own ground can work ok with a 5V reference source but to be reliably accurate and keep the calibration ya gotta start with a higher reference V.
IMO the power resister shorting out isn’t the most likely way to hit the DAC with too much V. If the input gets hit by too much V some day it will probably be a wire to the car’s battery brushed it or it got killed by welding.
[quote=“Ranger” post=64434]
Get a chip that is rated at 500mA@15V so it will be nice and stable. Then fasten it to a piece of AL also.[/quote]
When you say chip do you mean the DC-DC converter, the resistor, or something else?
So what are you using anyway. I would guess some kind of usb powered system that has built in 5v outs. I would go the 5v route. I don’t think the supply voltage matters as much as the consistency of it, as long as you don’t burn it out.
The 5V out doesn’t give me that great of resolution and based on Ranger’s experience it sounds like it doesn’t exactly provide stable measurement. Ranger’s solution allows me to keep the sensor power in the engine bay and then just run the signal wires back to the DAQ while likely achieving a better signal quality from them. I’d prefer to not waste time reinventing the wheel and Ranger has spent considerable time working this out already.
[quote=“MrDomino” post=64464][quote=“Ranger” post=64434]
Get a chip that is rated at 500mA@15V so it will be nice and stable. Then fasten it to a piece of AL also.[/quote]
When you say chip do you mean the DC-DC converter, the resistor, or something else?[/quote]
Well, I suppose you could call it a DC-DC converter, but what it’s really called is a regulated power supply. Something like 15V out and 12-24V in. That is to say that it will tolerate a wide range if input V but can be depended upon to maintain output V at 15V.