Sie sind auf Seite 1von 7

7/2/2016

TwoPointCalibration|CalibratingSensors|AdafruitLearningSystem

0 SearchAdafruit SHOP BLOG LEARN FORUMS VIDEOS SIGNIN

0

SearchAdafruit0 SHOP BLOG LEARN FORUMS VIDEOS SIGNIN CLOSEMENU 0Items SignIn

CLOSEMENU0 SearchAdafruit SHOP BLOG LEARN FORUMS VIDEOS SIGNIN 0Items SignIn SHOP BLOG LEARN FORUMS VIDEOS

SHOP BLOG LEARN FORUMS VIDEOS SIGNIN CLOSEMENU 0Items SignIn SHOP BLOG LEARN FORUMS VIDEOS CalibratingSensors
SIGNIN CLOSEMENU 0Items SignIn SHOP BLOG LEARN FORUMS VIDEOS CalibratingSensors Getpeakperformancefromall yoursensors. Wh

Contributors

7/2/2016

TwoPointCalibration|CalibratingSensors|AdafruitLearningSystem

TwoPointCalibration

ATwoPointCalibrationisalittlemorecomplex. Butitcanbeappliedtoeitherraworscaledsensoroutputs.ATwoPointcalibrationessentiallyre­scalestheoutputand iscapableofcorrectingbothslopeandoffseterrors. Twopointcalibrationcanbeusedincaseswherethesensoroutputisknowntobereasonablylinearoverthe measurementrange.

measurementrange. Howtodoit: Toperformatwopointcalibration: 1.

Howtodoit:

Toperformatwopointcalibration:

1. Taketwomeasurementwithyoursensor: Onenearthelowendofthemeasurementrangeandonenearthehighendofthemeasurementrange. Recordthese readingsas"RawLow"and"RawHigh"

2. Repeatthesemeasurementswithyourreferenceinstrument. Recordthesereadingsas"ReferenceLow"and"ReferenceHigh"

3. Calculate"RawRange"asRawHigh–RawLow.

4. Calculate"ReferenceRange"asReferenceHigh–ReferenceLow

5. Inyourcode,calculatethe"CorrectedValue"usingtheformulabelow:

CorrectedValue=(((RawValue–RawLow)*ReferenceRange)/RawRange)+ReferenceLow

Example

Acommonexampleofatwo­pointcalibrationistocalibrateatemperaturesensorusinganice­waterbathandboilingwaterforthetworeferences. Thermocouplesand othertemperaturesensorsarequitelinearwithinthistemperaturerange,sotwopointcalibrationshouldproducegoodresuts.

Sincethesearephysicalstandards,weknowthatatnormalsea­levelatmosphericpressure,waterboilsat100°Candthe"triplepoint"is0.01°C. Wecanusetheseknown valuesasourreferencevalues:

ReferenceLow=0.01°C

ReferenceHigh=100°C

ReferenceRange=99.99

Herewe'llshowatwopointcalibrationofalaboratorythermometer. Butthesameprinciplesapplytoanytemperaturesensor:

7/2/2016

TwoPointCalibration|CalibratingSensors|AdafruitLearningSystem

PhasediagrambyMatthieumarechalvia WikimediaCommons

PhasediagrambyMatthieumarechalviaWikimediaCommons

PhasediagrambyMatthieumarechalvia WikimediaCommons BoilingWater
PhasediagrambyMatthieumarechalvia WikimediaCommons BoilingWater
PhasediagrambyMatthieumarechalvia WikimediaCommons BoilingWater

BoilingWater

Asyoucanseethislabthermometerisoffby­4degreesatthe

boilingpointofwater.

7/2/2016

TwoPointCalibration|CalibratingSensors|AdafruitLearningSystem

Sothe"Raw"readingsare: RawLow=­0.5°C

Sothe"Raw"readingsare:

RawLow=­0.5°C

RawHigh=96.0°C

RawRange=96.5°C

"TriplePoint"Ice­WaterBath

Thesamethermometerregistersalittlelessthanzerodegrees

intheice­waterbath.

So,ifwegetarawreadingof37°Cwiththisthermometer,wecanplugthenumbersintotheequationtogetthecorrectedreading:

(((37+0.5)*99.99)/96.5)+0.01=38.9°C

Lastupdatedon2015­06­05at07.13.00AMPublishedon2015­05­18at05.01.25PM

10KPrecisionEpoxyThermistor $4.00 AddToCart

10KPrecisionEpoxyThermistor

$4.00AddToCart

10KPrecisionEpoxyThermistor $4.00 AddToCart ThermocoupleAmplifierMAX31855breakoutboard(MAX6675upgrade)

ThermocoupleAmplifierMAX31855breakoutboard(MAX6675upgrade)

$14.95AddToCart

7/2/2016

TwoPointCalibration|CalibratingSensors|AdafruitLearningSystem

ThermocoupleAmplifierwith1­WireBreakoutBoard­MAX31850K

ThermocoupleAmplifierwith1­WireBreakoutBoard­MAX31850K

$14.95AddToCart

$14.95 AddToCart ThermocoupleType­KGlassBraidInsulated $9.95 AddToCart

ThermocoupleType­KGlassBraidInsulated

$9.95AddToCart

ThermocoupleType­KGlassBraidInsulated $9.95 AddToCart Sensorpack900 $35.00 AddToCart ADDALLTOCART RELATEDGUIDES

Sensorpack900

$35.00AddToCart

ADDALLTOCART

RELATEDGUIDES

by TonyDiCola

7/2/2016

TwoPointCalibration|CalibratingSensors|AdafruitLearningSystem

7/2/2016 TwoPointCalibration|CalibratingSensors|AdafruitLearningSystem