• No results found

CM_1988_C_13.pdf (485.6Kb)

N/A
N/A
Protected

Academic year: 2022

Share "CM_1988_C_13.pdf (485.6Kb)"

Copied!
6
0
0

Laster.... (Se fulltekst nå)

Fulltekst

(1)

International council for the

Exploration of the Sea ~ .. ~/(;Jvf

Hydrography Commiuee

AUTOMATIC CALIBRATION OF THE SENSORS USED IN A MINIATURE STD· INSTRUMENl

TRYGVE GYTRE INST. OF 1v1ARil\TE RESEARCH P.O .. BOX 1870 .5024 BERGEN

ABSTRACT.

The p aper descri bes a system for simplified c ali bration of a new S TD instrtunent.

When measuring, the raw data from the instrument conducti vi ty, temperatue and pressure sensors are fed into a microprocessor inside the instrument. The

microprocessor computes the cali brated primary data by inserting the raw data into anequationofthe form Y= A +B.Y: +C.Xexp2 where A,B and C are calibration coefficients.

The new instrument auto!natically computes and inserts these calibration

coefficients itself when exposed to a temperature bath} a conductivity bath and a pressure reference with afew known values.

l NTRODUCT l ON

All excact sciences are dependent on q uantative measurements.

In order to determine the precicion of these measurements, the instrmnents that are used must be calibrated against a known standard or reference.

Many scientific instruments are calibrated too seldom because it is too difficult or too costly to calibrate them.Sirr1ple calibration is therefore important component of in modern i:nstrtunent design.

This paper describes an automatic calibration strategy which has been designed into a new miniature STD- instrument in order to simplify the calibration procedure.

ANA TOMY OF A MODERN INSTRUlvfENT

A modern scientific instrwnent generally consists of o ne or several sensors,~ an electronic interfacing which standardizes the electric signals from the sensor to a common volt8.ooe or currentrangB, a signal digitizer whichmakes the information available for digital processing and a microprocessor .

Fig. l sho~rs the basic structure of a modern instrument. The central component in a modern instrument is the microprocessor.

The microprocessor controls the measurement process 1 makes necessary calculations and controls the recording, display or transmission of the results.

To do this the rnicroprocessor must be able to fetch instructions from a program that is stored in an adressable memo ry and be able to deliver the results of the processing to an output device or to a data memo ry.

Although the microprocessor is credited for its universal flUlCtions) it is important

(2)

to realize iliat the the microprocesor itself is just a slave of its ovn programs. Since the microprocessor now plays a major role in most measurementfunctions)

modern instrtunentation is increasingly becoming dependent on microprocessor pro gramr:rung.

Fig.2 sho~?s a block diagram for the hmctions of the new instrtunent

C ond ucti vi ty., temperatur a and pr es sure are detsctsd by individ ua1 sensors. The sensor signals are digitized and sequentially scanned by a microprocessor. Each sensor signal is processed according to an individual calibration equation. Each calibration equation has coefficients which have been adapted to the sensor by rneans of an auwmated calibration routine.

Finally the measured. temperaturesJ pressures and cond.uctivities are i:nserted into the "U~TESCO"-formula which is resident in the program memory. When the conductivity} temperature and pressure have been calculated according to individual calibration data}

the microprocessor immediatel y computes the sal i ni ty, the temperature and the vater depthJ Then it records the resul ts in the data memo ry} displays the data in engineering uni ts} or it transmi ts the data to a re mote terminal via RS-232.

Fig. 3 shows the mechanical design of the ne~r instrument .

The instrtunent is basically a molded polyurethane cylinder 1?ith protruding sensors for temperature }pressure and conductivity and with a RS-232-plug for

corrununication to the external world.

The specific instrwnent functions are determined from one of 12 possi ble sub programs which are selected when the user temporarily connects a programming unit to the RS-232- plugand holds amagnetoutside a "START"- positionon the instrmnent.

9 of the possible sub-programs are time interval programs that makes the instrument to measure} process,record, transmit and display one STD-set at repetition rates from o ne measurement per 5 seconds to o ne measurement per 3 hours.

One sub pro gram mak es the instrtunent to display tmprocessed raw data, o ne sub program prepares it for slave or master functions when several instrtunents are vor king together in a chain, and o ne sub program is devoted to automatic cali bration.

CALIBRP. TION STRA TEGY

The raw data for the instrument are detected. by an inductive type conductivity cell,a thermistor and a solid state pressure sensor.

Each time a measurement is made, the data from the sensors are seq uentiall y co.nverted into 3 equivalent numbers Nc,Nt and Np ancl then loaded into the m1croprocessor.

The microprocessor is a 8 bit N-MOS type with a 16 K address space for both external RAM and external ROM.

After the raw data have been loaded into the processor, the processor consults the data memo ry

w

recei ve cali bra ti on instructions.

To simplify the cali bra ti on process) the primary variables C, T and P are all defined by an eq uation of the form

(3)

Y =aO +a l. X +a2 .Xexp2 ( 1)

This is the general equation for a parabola of second order. Specific curves are obtained by dedicating individ ul values to the general coefficients aDJ al and a2.

To determine these coefficients experimentally -which in fact is the nature of cali bration- o ne good. way is to collect aset of points (

X l J Y l

t

(X2, Y2) ... (Xi,~ Y i) and use non -linear regression to find the coefficients for the curve that fits best possible to the observed points.

In the new instrtunent the least square parabola approximation has been chosen.

If aset aset with n points of (X) Y) observations are made, the following equations may be generated:

~Y= a0.n+a15!-X +~exp2 (2)

zX.Y = a~+ al?Xexp2 +a2ZXexp3 (3) 2 Xexp2. Y= a~exp2 +al~exp3 +a2zXexp4 (4)

Where~)<i:YJ~.Y andZXexp2.Y are the respective smnmed and summed ,mu1tiplied values of X and Y in the chosen data points.

To find aO,al and a2, the microprocessor contains a program that solves equations 2-4 general! y by matrix algebra.

In order to use the general solution of equations 2-4) to calibrate

temperatur a} conductivi ty and pressureJ these variables are all have been descri bed by 3 coefficient -equations:

The temperature T in degrees K is determined from:

1/T =A+B.lnNt+C.(lnNt)exp3 (5)

Rt is the temperature dependent resistance of the thermistor at the moment of measurement.

A1B, and C are the thermistor calibration coeffisients.

The pressure is defined by the equation P=D + E.Np +F.(Np)exp2 (6)

D,E and F are the pressure calibrationconstants.

The conductivity is defined by:

C= G+H.Nc + I.(Nc)exp2 (7)

G,H and I are conductivity calibration constants

A calibration of these variables obviously means a determination of the constants A-I.

In most instrtunents similar constants must be calci ulated externall y and inserted by the user. Normally via a terminal. In earlier instrumentation which is still in use the insertion of calibration data must be done by turning potensiometers with a

screwdriver. In this new instrwnent the catibrationis controlled and executed by the instrument itself.

Fig. 4 shows the instrument setup during calibration.

The user must have acess to at l east 3 known pressures, temperatures and conductivities.

He mustalso have a terminal (f. inst. a PC witha terminal program) whichis

(4)

connected to the RS-232-plug via a cable.

TEMPERA TURE CALIBRA TION

After havingset the instrumentinto "sensor calibration" mode ,the microprocessor inside the instrwnent prints the followingmesssage on the terminal display:

TEMP CALIBRATION:Y/N

"FORMAT: T=+00.000 Tl=?

The user must hold the sensor part of the instrtunent in a tank of stirred water with a known but arbitary temperature Tl. When the reading is stable, he simply keys in the correct bath temperature in the specified format after whichhe presses the

"RETURN" key. The instrumentimmediatelybothnotes Tl and measures the resistance of the thermistor Rtl. Then it asks for more data.

The user now changes the temperature in his temperature bath and keys in the new temperature.

After having received a wanted ntunber of measurementsJ the instrument loads the received data sets (Ti,Nti) into equations (2)-(4 ). Then the microprocessor

immediatel y calculates and prints out the coefficients A, B and C.

The new calibration coefficients are stored in the program memory.

PRESSURE CALIBRP~ TION

The instrwnent asks for pressure calibration data by printing:

FORMAT :P=+00.000 Pl=? , and the user applies aknownpressure to the instrmnent

pressme transducer and keys in its value in bar.

The pressure is measured with an absolute pressure transducer. This means that the atmospheric pressure vill alvays add itself to the measured pressure vhen the instrument is in the water.

The instrument pressure transducer must be exposed to a ntunber of different pressures in the actual pressure range, after which the instrumentimmediately calculates and loads in the pressure cali bration coefficients D, E and F.

The known pressures are preferrably generated from a "dead weight " tester.

When the instrument is later used for "real" measurements ,it vill calculate the best possible "correct" vater depth by measuring the ambient atmospheric pressme each time the instrument is started . This .. zero" -presstu'e is later subtracted from all successive presstu'e measurements Wltil next "ST ART".

CONDUCTIVITY CALIBRA TION

Conductivityis calibrated in the same vayas the pressure and the temperature. The instrument asks for C l, C2, C 3 etc. After having recei ved a convenient ntunber of

"points" ( typicall y 5-6) the microprocessor immediatel y calculates and stores the calibrationconstants G,H.and I.

TIME NEEDED FOR CALIBRATION

The instrument itself performs all necessary operations within a few seconds. The time needed for calibrationis basicallyused to move the instrument beteween different baths or to keythe informationinto the terminal.

If several buckets of water vith different temperatme and conductivity are

prepared inadvance and if good pressme reference, thermometer and conductivity meter are available, acomplete CTD-calibrationcan be made in less than 1/2 hom.

(5)

Fig 6 shows a printout from the terminal showing the actual dialogue betveen instrument and user when the user makes a 3 point calibration of the conductivity . . RESULTS.

At the time ofwriting an extensive testing of the instrument functions is being carried out. The tests include both the instrument functions and the calibration system.

The automatic calibration procedure which has been presented seems to vork satisfactorily within the restrictions that have been designed into it.

Over the temperature range -2-+40 degrees C preliminary testings indicate that the temperature errors are within +1- 1/100 degree.

In the c ond ucti vi ty range l 0-47 mmho the errors are vithin +l- l/l 00 mmho.

In the pressure range 0-500 meters the errors are vithin +1- 3 cm of vater depth.

If necessary the calibration equations may be extended to equations of higher order than those presently used.

CONCLUSION

The new instrument vhich has been descri bed represents an excample of a modern trend in oceanographic instrumentation ..

The instruments are becoming smaller and more intelligent .

This instrument veighs only 2 kg. It can handle complex mathemathical operations by itself,and it can communicate vith external computers.

'\Vben automatic calibration routines like those described here have become more common, future intercali bration problems beveen groups in different parts of the world maybe simplysolved by justmailingcalibrated reference instruments to each other prior to the exoeriments.

SENS A

B

c

c

T

p

ORS

D ---

MICRO- ~ RAM IN-

INTER-f - PROCES-

OUT __, ...

FACE SOR ... Ill"

! - - ROM

FIG. 1 . ANATOMY OF A MODERN INSTRUMENT

f - - READ DISPLAY

l

START

STEP

MICRO- DATA MEMORY

INTER t - -

f - PROCES- f - - - PROGRAM- FACE

MEMORY SOR

1--- CALIBRA TION MEMORY

J

IN-OUT

...

..

INTERFACE BATTERIES

- -

t

PROGRAM SELECT

FIG.2 FUNCTIONAL BLOCK DIAGRAM FOR NEW INSTRUMENT

(6)

PROGRAM SELECTOR

o

~~ ~--- ---

SUSPEHS l ON BAR ---··· ~ CONDUCTIVITY SENSOR

TEMP SENSOR

_. ••••••••••••• PRESSURE SENSOR CABLE <D-2000 METER>

PR l tiTER TERMitR..

PROGRAMMING UNIT COMPUTER

SUSPENSION

o

-

I- N (O (O

~ tt">

tn

as o

i

I: ~

~ L!.l

(l) ~---~ 0::

l l

l l

DISPLAY

BATTERIES

FIG. 3 MECHANICAL INSTRUMENT DESIGN

.•.• :::::p:?:. ' '- - .-·

,"''

' ~.

~

_./1

TERMINAL

D D D

TEMP BATH COND.BATH PRESSUPE REF FIG.4 INSTRUMENT SETUP FOR CALIBRATION

PER l PHERFl. DEU l CE

~EHJBR OA~~BRAl~BM

.. -fiEt1P I:::!A~ I·BRAT' l'Bt~ i• ··,~ ... t~ 2>~ Yl· ,.-(~t:,:t.: ...

. PRES!:~!I.:IRE OA~ I·BP.AT J·Ot~ ~· '·,~ ... t~ E::~ li 2· .. :~tj.:.-

OBtfEII.:.IOT' I·'.f YF"~ Of!~ I·BRr-rfi J·Ot~ ~· '·,~ ... t-f E::·~ I·T' , . .;;t::;

H"'.S•ERT' ODNBI.:Ie"P I·'o:ol I· l;·.,~ C' ~·['2 ~ ... ,~!8 I·t~ t·1t·1H FORt·1RT' ,.IJ:m+ O tt ~·O t' tt

r:! 1· :m+44 ~·o o o

~~!2:u+2 o ~·o o o

[!]:a+ o~· (l o o ')

t·1DRE PEl I·HT':9 ,. '·,~ ... ,~ ~ C!Ot"'III.:IOT' I·'.f I·T''·,_. OOEFF I· C• I·ENr:~! ~· 1 13 t~FHi O O (H)E-' O tt

H HAHB8?0e-oa

'r

, I· t"' At"' O O O O E + (H) _ JT'R~~E AH~ ~E~ lO 8El MEHY t·1Eti'·f ,.

JET' REA~-T'fME 0~08~

:S!ET' ODE FF I· O l'EHr EID :S!El:!F-l'E~!T'

8EN80R 8A~~BRA1'~0H

ERA~E ST'ORAGE MEMOR~ fE

B~JP~AY BArE ~ r~ME fB

Etl.:.lt•1P BAr A .;•Il(! 1•::m'S!T'AR1' B0:3:u:~!T'OP t::t:øt·1Etf·,-' .. :~F

JE~EOT' MAJT'ER~JT'ANDAR MODE

~ l':S!T' 13Al:! ~·[!OEPF I·(! I·Etil'~!

~l':~! l PPE:S!S!I.:IRE t·1A1'HEt·1 ~·E!Eit·1P _··t:•EJEPF •.

E>~ I·r

F IQ. 6 TYP ICAL CALIBRATION DIAL~~,JE BETWEEN INSTRUMENT AND USER VIA TERI'11NAL

.. :~I·

Referanser

RELATERTE DOKUMENTER

When the time slider is used to create an animation, on each sequential frame the time window moves and so the tempo- ral uncertainty may change for all data sets.. The data for

Before each measurement series, the spectrophotometer was calibrated by using a white reference background (Lambertian surface). The reflectance data presented in this paper is

Lineage-based data governance and access control, over a big data ecosystem with many different components, facilitated through the combination of Apache Atlas (Apache

3 The definition of total defence reads: “The modernised total defence concept encompasses mutual support and cooperation between the Norwegian Armed Forces and civil society in

A COLLECTION OF OCEANOGRAPHIC AND GEOACOUSTIC DATA IN VESTFJORDEN - OBTAINED FROM THE MILOC SURVEY ROCKY ROAD..

Pakistani officials explain the shielding of Khan with the national security risk direct interviews with someone intimately involved in the nuclear weapons programme would

In its eight years of life, HTAi has greatly contributed to the spread of HTA around the world; through its Policy Forum, it has also provided guidance on and helped to evaluate

There had been an innovative report prepared by Lord Dawson in 1920 for the Minister of Health’s Consultative Council on Medical and Allied Services, in which he used his