Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What's the need of the Dissipation factor (mW/°C) #3

Open
pierrot10 opened this issue Feb 19, 2021 · 2 comments
Open

What's the need of the Dissipation factor (mW/°C) #3

pierrot10 opened this issue Feb 19, 2021 · 2 comments

Comments

@pierrot10
Copy link

Dear findie

First, thanks for that nice library.
I need to make working the SF-110 sensor from Apogee and I observed on page 10, they do not use a dissipation factor.

I wonder why you consider that here
and if you can clarify me this section.
I have some difficulties to understand the role of the K and the following calculation with the consideration of the voltage

getTempKelvin = TempKelvin - voltage * voltage / (K * _resistance)

You support will be greatly appreciate.

Thanks

@fiendie
Copy link
Owner

fiendie commented Feb 21, 2021 via email

@cwgstreet
Copy link

Andy, I appreciate your SH library as I'm adapting it for my project; thanks.

In the spirit of constructive feedback, and perhaps I am just dense, but I can't see that self-heating correction approach you apply in the library is valid in concept nor approach.

  1. First, and most importantly, the dissipation factor, or k-factor (typically mW/ deg C), is not constant across a measured temperature range which is why many datasheets more correctly refer to this as a dissipation factor (vs constant). Note the stated datasheet value is also a function of the measurement, typically in air (or occasionally an oil bath) at ambient temperature. Some datasheets actually state "for information only" when they provide the dissipation factor, further indicating that it isn't for compensation purposes. Personally, I just use the dissipation factor as a NTC selection criteria to see if self-heating may be an issue for my required measurement accuracy and, if it is, take steps like reducing current (perhaps by simply lowering supply voltage) to mitigate self heating.
  2. Secondly, even if the dissipation factor, k, was constant (or assumed constant over your measurement range), your coding approach to correct the temperature using the K factor does not appear dimensionally correct:

return steinhartHart(resistance) - voltage * voltage / (K * _resistance);

dimensionally: degK - [watts / (mW/degC]

As I see it, The main problem is that K is in mW/deg C yet the SHH equation is returning deg Kelvin so you are subtracting a correction in deg C from a deg K value. Also, V^2/R comes out in W, yet the dissipation factor is mW/degC.

If I've completely mis-understood this, please correct me. Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants