Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
24 views12 pages

$qdorj DWD F XLVLWLRQ

The document discusses data acquisition systems and components. It describes how instrumentation systems are increasingly using PCs for flexibility and data handling. It then discusses the main components of data acquisition cards, including FIFO buffers, programmable amplifiers, and input multiplexers. Finally, it introduces some software for data acquisition, such as the DAQ toolbox in MATLAB and the graphical programming environment LabVIEW.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views12 pages

$qdorj DWD F XLVLWLRQ

The document discusses data acquisition systems and components. It describes how instrumentation systems are increasingly using PCs for flexibility and data handling. It then discusses the main components of data acquisition cards, including FIFO buffers, programmable amplifiers, and input multiplexers. Finally, it introduces some software for data acquisition, such as the DAQ toolbox in MATLAB and the graphical programming environment LabVIEW.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

$QDORJ'DWD$F4XLVLWLRQ

■ General considerations
■ Fare clic per modificare gli stili del testo dello schema
■ A typical National Instrument card
■ Secondo livello
■ A “good” sound card
■ Terzo livello
■ The DAQ toolbox in MATLAB
■ Quarto Livello
■ LabView
■ Quinto livello

SMpA - RM3 - G. Ulivi 1


*HQHUDOFRQVLGHUDWLRQV
■ Instrumentation systems are moving from dedicated units to the PC
• Flexibility
• Archivial / Retrival / Comparison / Exchange of data
■ The design and implementation of algos has moved
from instrumentation firms to software houses
■ This is stressing the user’s responsibilities
• design of the system (hardware and algorithms)
• understanding of ready made algos (quality is generally decreased)

■ Kinds of systems that can be interfaced


• external racks with a lot of cards for huge data logging (>20 channels)
• internal cards (<16 channels each), perhaps with external conditioning boxes

SMpA - RM3 - G. Ulivi 2


6WUXFWXUH RID '$4FDUG

SMpA - RM3 - G. Ulivi 3


0DLQ)HDWXUHV
■ FIFO buffer
• decouples the acquisition and the transfer processes
■ Programmable amplifier
• to adapt the input levels
■ Input multiplexer
• to select teh chanel AND to select between differential and single ended input

■ The maximum sampling grequency is achieved with ONE channel


• otherwise it is divided by the number of used channels
■ For control purposes, FIFO is useless
■ Typically there are much less D/A than A/D

SMpA - RM3 - G. Ulivi 4


'LIIHUHQWLDO ,QSXWVWDJH

c The best solution as for noise rejection


c Requires TWO inputs per channel
c The sources must have balanced
outputs
c Sometimes banned by grounding
requirements

SMpA - RM3 - G. Ulivi 5


6LQJOH (QGHG ,QSXW6WDJH
• “Non referenced ground SE”
• A good compromise
• Reduces the ground noise
• Use it, when provided

• “referenced ground SE” or “SE”


• The common choice
• Worst for coupling noise
• Acceptable for high levels (1V)

SMpA - RM3 - G. Ulivi 6


6RXQG &DUGV
■ The cheapest way to acquire (and to generate) analog signals
■ Good resolution (16 bits)
■ Generally a satisfactory signal/noise ratio
■ Two channels on the line input (about 1Veff),
only ONE on the microphone one (about 2mVeff)!
■ Most environments have the software drivers for them

■ Fixed set of sampling times


■ Perhaps one poor antialias filter for the highest sampling frequency
■ Low frequency limited to some Hertz

SMpA - RM3 - G. Ulivi 7


7KH0/'$4 7RROER[
■ Drives all the NI cards, sound cards and a few other systems
■ The acquisition process is fully integrated in the software
■ The cards are fully controlled by ML scripts
• gain selection
• acquisition can be triggered (pre- post-trigger allowed)
• timers can start/stop the acquisition
■ Can’t be used for control purposes (it is highly buffered)

SMpA - RM3 - G. Ulivi 8


$ 3URJUDPPLQJ([DPSOH
function [data,time]=acq(N,Fs,L); set(ai, 'SamplesPerTrigger', ActualRate*duration);
set(ai, 'TriggerChannel', chan(1));
set(ai, 'TriggerType', 'Software');
ai=analoginput('nidaq',1); %set(ai, 'TriggerCondition', 'Rising');
set(ai, 'TriggerCondition', 'Falling');
%set(ai, 'InputType', 'Differential');
%set(ai, 'InputType',... set(ai, 'TriggerConditionValue', -1);
'NonreferencedSingleEnded'); set(ai, 'TriggerDelayUnits', 'Samples');
set(ai, 'InputType', 'SingleEnded'); set(ai, 'TriggerDelay', -100);
%set(ai, 'DriveAISenseToGround', 'Off')

chan=addchannel(ai,0:1); start(ai);
while strcmp(ai.Running, 'On'); end
set(ai, 'SampleRate', Fs); [data, time] = getdata(ai, N);

duration = L; %L seconds acquisition remsamp = num2str(ai.SamplesAvailable);


ActualRate = get(ai, 'SampleRate'); disp(['Number of remaining samples: ', remsamp]);

set(chan, 'InputRange', [-5 5]); get(ai)

delete(ai)

SMpA - RM3 - G. Ulivi 9


/DE9LHZ
■ One of the first software environments for data acquisition and control
■ It is a “de facto” industry standard
■ Several channels of communication (serial, TCP/IP)
• even WEB-based remote user interface
■ Dedicated modules
• vision
• motion control
• PLC systems
■ Good, reliable, fast algorithms
■ Based of graphic programming (but the user can write C-lang. modules)
• easy for simple systems
• requires a very careful top-down design for large ones
• One’s scheme is very difficult to be read by an other designer

SMpA - RM3 - G. Ulivi 10


/DE9LHZ &RQWURO3DQHO
S p e c t ru m U n it Es t Po we r pe a k Es t Fre q pe a k
de v ic e
2 .6 4 2 6 1 1 8 9 .3 1 0 7
1
dBVrms Vrms ^2 Hz
0 .3

c ha nne l (0 ) -1 0 . 0
0
-2 0 . 0

-3 0 . 0
numbe r o f
s a mple s -4 0 . 0

1024 -5 0 . 0

-6 0 . 0
s a mple ra te -7 0 . 0
2 0 0 0 0 .0 0
-8 0 . 0

Windo w -9 0 . 0
Hann
-1 0 0 . 0

Dis pla y Unit -1 1 0 . 0


V rm s
-1 2 0 . 0

Lo g / Line a r Hz
-1 3 6 . 1
dB
0 .0 5 0 0 .0 1 0 0 0 .0 1 5 0 0 .0 2 0 0 0 .0 2 5 0 0 .0 3 0 0 0 .0 3 5 0 0 .0 4 0 0 0 .0 4 5 0 0 .0 5 0 0 0 .0

SMpA - RM3 - G. Ulivi 11


/DE9LHZ'LDJUDP

0 .0

L o g / L in e a r S p e c t ru m U n it
D is p la y U n it
d e v ic e

W in d o w
E s t F re q p e a k
c h a n n e l (0 )

d e lt a -f
Est P ow er pe a k
n u m b e r o f s a m p le s
d e lt a -t

w in d o w c o n s t a n t s

s a m p le ra t e

SMpA - RM3 - G. Ulivi 12

You might also like