• Non ci sono risultati.

Digital Data Acquisition Today

N/A
N/A
Protected

Academic year: 2021

Condividi "Digital Data Acquisition Today"

Copied!
26
0
0

Testo completo

(1)

Today

Digital Data Acquisition

Theory & Practice

(2)

Terminology pinpoint

“probe”:

external part of sensor or transducer, usually handheld

“sensor”:

element of the transducer directly affected by the measurand

“transducer”:

device that provides an output quantity having a relationship with the quantity of the measurand

“measurement instrument”:

device intended to be used to make measurements, standalone or in conjunction with any other device

“measurement system”:

complete set of measuring instruments and any other equipment needed to carry out specified measurement

“measurement chain”:

series of element of measuring systems that constitutes the path from the input to the output

(3)

Why digital?

Low noise sensitivity

High accuracy at low cost

Automatic computation made easier

Lossless data manipulation, recording, transmissition and reproduction possible

Digital Data Acquisition

(4)

The big issue with digital conversion:

a continuous value is made discrete

In amplitude (Y axis issues)

Resolution

Saturation

In time (X axis issues)

Aliasing

Leakage

Frequency resolution

Digital Data Acquisition

(5)

Analog Digital conversion:

-

quantization:

-A continuous value is compared with a series of fixed, discrete intervals (states)

-

encoding:

-The interval mean value is converted into a digital, usually binary, chain of elements

Digital Data Acquisition

(6)

Binary representation:

Data type length = N bit

Binary encoding = O / 1

Having only two states possible per element allows for very robust handling and trasmission systems since the diffence between states can be high and electronics is simple and cheap.

Digital Data Acquisition

(7)

DIGITAL RESOLUTION

Having N bit data length 2N different states 3 bit  23 =8 different states (1 byte = 8 bit)

Digital Data Acquisition

8 bit  28 =256 states 10 bit  210 =1024 states 12 bit  212 =4096 states 14 bit  214 =16384 states 16 bit  216 =65536 states

(8)

AD converter transfer function is not linear: output = 2N states

input = continuous value

Digital Data Acquisition

input

output

(9)

Resolution = minimum variation of the input quantity that can be detected by the AD converter.

It is equal to the value of the least significant bit (the smallest one)

LSB=“least significant bit”

1 LSB = FS / 2

N

Digital Data Acquisition

(10)

Resolution depends on both the full scale input of DAQ converter and bit length of data field

Es: FS=10 V N=3 bit LSB=1.25 V FS=10 V N=8 bit LSB=39 mV FS=10 V N=12 bit LSB=2.44mV

n

FS resolution FS

2

min max

Digital Data Acquisition

(11)

Digital Data Acquisition

Signal 3 bit 5 bit

(12)

Resolution is an uncertainty contributor:

with a uniform distribution of LSB/2 half width

If signal amplitude is A « FS

relative uncertainty goes up 

eg: FS = 10 V A=0.9 V N=8 bit u(V)=39 mV

Workaround:

amplify A to reduce relative uncertainty

Digital Data Acquisition

(13)

Input amplification: used to amplify input signal, usually with and adjustable gain G before the AD conversion to adapt the converter full scale input to the signal expected from the transducer

Relative uncertainty coming from resolution is minimized in this way

A(t)

T G A/D

Digital Data Acquisition

(14)

SIGNAL SAMPLING

FREQUENCY ISSUES (X axis issues)

Digital Data Acquisition

(15)

SAMPLING:

Conversion of a time continuous value into a chain of values

V

(ti , Vi) i=1,... N t

t V

Digital Data Acquisition

(16)

Both V amplitude and it’s time coordinates are discrete values depending on ADC capabilities and configuration SAMPLING TIME tC = ti - ti-1

SAMPLING FREQUENCY fC = 1 / tC

t V

ti-1 ti ti+1

Digital Data Acquisition

(17)

With sampling frequency can be used to represent a signal without altering it?

t V

t V

both OK, but somehow different

Digital Data Acquisition

(18)

If sampling frequency is too low a problem with frequency representation can occurr: we have “aliasing”

t V

Sampling signal is no longer recognizible, ad its frequency seems lower than the original one.

Digital Data Acquisition

(19)

The issue of aliasing is related to the ratio between sampling frequency fS and signal frequency fA

fS < 2 fA “aliasing” occurs

fS > 2 fA

fS = 2 fA

fS < 2 fA

Digital Data Acquisition

(20)

fC = fS

Singular condition

It’s easier to look at the issue by considering the frequency domain...

f original signal

f apparent signal

fC

fC/2 2fC

45°

Digital Data Acquisition

(21)

Nyquist-Shannon theorem:

if a continuous signal with a top limited bandwith contains only

components with frequency up to f

Amax

therefore a coherent

representation could be achieved bu a sampling frequency f

S

> 2 f

Amax

Digital Data Acquisition

(22)

f

S

= 1 / t

S

f

A

= 1 / T

A

being f

S

> 2f

A

t

S

< T

A

/ 2

We require at least two samples for each half period...

Digital Data Acquisition

(23)

Aliasing can be interpreted as a leftward translation in the frequency domain,

therefore can lead to misinterpretations

Digital Data Acquisition

(24)

To avoid aliasing:

- a higher sampling frequency can be required - a lowpass filter can be inserted before ADC anti-aliasing filter:

a lowpass filter has a cutoff frequency equal to nyquist frequency

f fS / 2

Digital Data Acquisition

(25)

DAQ Boards are defined by:

Maximum sampling frequency (or minimum s.time)

Input channels available (number and setup)

ADC resolution (in bit)

Input range (Full scale input and minimum value)

Eg: NI USB-6009

48 kS/s

4 Differential / 8 Single-Ended

14 bit differential / 13 single-ended

±20V, ±10V, ±5V, ±4V, ±2.5V, ±1.25V, ±1V

Digital Data Acquisition

(26)

Acquisition task itself has different properties:

Sampling frequency

Observation time

Input range Eg:

150 Hz

5 s

±4V

Digital Data Acquisition

All other relevant properties are connected with these and ADC resolution

Riferimenti

Documenti correlati

This paper describes a general investigation for evidence of physics beyond the standard model (SM) using the dilepton (dimuon and dielectron) invariant mass spectra obtained.. from √

Lo sviluppo delle credenze vampiriche, dunque, sarebbe frutto di un fraintendimento e di una misconoscenza dei meccanismi della putrefazione (che del resto, in genere sono celati

A sinusoidal signal with an amplitude of 1V peak-to-peak and a frequency equal to, approximately, the critical frequency 14.7 kHz has been injected in series with the converter DC

Precise knowledge of the energy response of the detectors is crucial in the oscillation analysis as it determines uncertainties of event selection efficiencies and uncertainties

This example assumes that TESTFILE is a file with a few lines of data written to it using the Write # statement; that is, each line contains a string in quotations and a

In this work, an already existing versatile experimental apparatus for investigation of non- conformal lubricated contacts, able to measure film thickness using the

Nel gruppo dei pazienti classificati nella forma “secondaria o otogenica”, nel totale 20, erano presenti n° 7 (35%) pazienti in cui la DPPP era stata attivata da pregressi ma

Nel confronto interregionale, però, gli studenti dei Licei e degli Istituti tecnici piemontesi conseguono punteggi che non sono significativamente differenti da quelli dei