Comments (4)
This is a serious issue. I, not being aware of the need for additional data correction, even contacted Maxim Integrated tech support. I measured the readings of max31855 and compared them with the expected ones. As you can see from the table below, the error is significant.
t ref | mV theor. | mV measured | t max31855 |
---|---|---|---|
26 | 0 | 0 | 27 |
100 | 2.09 | 2.0 | 84 |
200 | 5.23 | 5.5 | 177 |
300 | 8.66 | 8.6 | 261 |
350 | 10.45 | 10.4 | 326 |
The response from tech support was following:
While the MAX31855 does perform automatic cold-junction compensation, it does not perform any linearization calculations. Linearizing the thermocouple results needs to be performed externally using the NIST calculations and coefficients: http://srdata.nist.gov/its90/main/
As an alternative, the MAX31856 performs on board linearization for all supported thermocouple types.
from pidkiln.
Well, to be honest I had no idea if this is significant. Previously I've used modified Adafruit MAX31856 library that had additional linearization (not by default - also mod)
double Adafruit_MAX31855::linearizeCelcius(double internalTemp, double rawTemp) {
//////////////////////////////////////////////////////////////////////////
// Function: Takes the thermocouple temperature measurement and
// corrects the linearity errors.
// Input:
// double internalTemp = value from readInternal()
// double rawTemp = value from readCelsius()
//
// Returns:
// double = Corrected Celsius thermocouple temperature
//////////////////////////////////////////////////////////////////////////
// Adapted from https://github.com/heypete/MAX31855-Linearization
// Equations and coefficients from: https://srdata.nist.gov/its90/main/its90_main_page.html
// Retrieved 2018-09-01
But this library was less reliable and trow different errors - also it introduced, at some point, some additional dependent libraries (Adafruit) that I thought are too much and complicated everything beyond usefulness.
from pidkiln.
As far as I can see the library you are using now doesn't has any linearization. IMHO, that's significant, because you don't want your kiln to read 950 degrees when it's actually 1050. At temperatures below 300 degrees, that might be not a big deal
from pidkiln.
It should be relatively easy to add it to library - it's just math - but since author still haven't accept my last commit, I've asked if we can add it.
from pidkiln.
Related Issues (20)
- Alternative LCD's HOT 8
- Error when trying to compile very new to this
- here i go again having trouble compiling code i get this error message? HOT 1
- Compilation error with v1.3 HOT 5
- Problems with temperatures above 1100 degC HOT 2
- Door switch
- Please consider porting to PlatformIO ( Can provide assistance) HOT 9
- Wroom and wrover
- "File not found" when connected HOT 2
- Temperature readings are far out and unstable HOT 5
- after sketch upload, program starts and constantly restarting HOT 10
- overshoot and used power calculation HOT 2
- Just wanted to say thanks! HOT 1
- Are there still issues with filesystem? Chart not showing HOT 2
- Changing PIN for MAX31855 HOT 1
- Guru Meditation Error: Core 1 panic'ed (StoreProhibited) HOT 1
- Adding programs HOT 1
- Q; Control 2 heaters using just one PIDKiln? HOT 3
- Cannot compile: redefinition of 'class IPv6Address HOT 2
- Programme does not start from webpage HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pidkiln.