10/2/2016 DataAcquisitionSystemDesign
Thisisthehtmlversionofthefile
http://paginas.fisica.uson.mx/horacio.munguia/aula_virtual/Cursos/Instrumentacion%20II/Documentos/Tutorial%20DAQ.ppt.
Googleautomaticallygenerateshtmlversionsofdocumentsaswecrawltheweb.
DataAcquisition
RisanuriHidayat
PCbasedDataAcquisition
SystemOverview
Inthelastfewyears,industrialPCI/Ointerface
productshavebecomeincreasinglyreliable,ccurate
andaffordable.PCbaseddataacquisitionandcontrol
systemsarewidelyusedinindustrialandlaboratory
applicationslikemonitoring,control,dataacquisition
andautomatedtesting.
SelectingandbuildingaDA&C(DataAcquisition
andControl)systemthatactuallydoeswhatyouwant
ittodorequiressomeknowledgeofelectricaland
computerengineering.
Transducersandactuators
Signalconditioning
Dataacquisitionandcontrolhardware
Computersystemssoftware
DataAcquisitionSystem
IntroductionI
Adataacquisitionsystem
http://webcache.googleusercontent.com/search?q=cache:http://paginas.fisica.uson.mx/horacio.munguia/aula_virtual/Cursos/Instrumentacion%2520II/Docu 1/11
10/2/2016 DataAcquisitionSystemDesign
consistsofmanycomponentsthat
areintegratedto:
Sensephysicalvariables(useof
transducers)
Conditiontheelectricalsignalto
makeitreadablebyanA/D
board
DataAcquisitionSystem
IntroductionII
Convertthesignalintoadigital
formatacceptablebya
computer
Process,analyze,store,and
displaytheacquireddatawith
thehelpofsoftware
DataAcquisitionSystem
BlockDiagram
http://webcache.googleusercontent.com/search?q=cache:http://paginas.fisica.uson.mx/horacio.munguia/aula_virtual/Cursos/Instrumentacion%2520II/Docu 2/11
10/2/2016 DataAcquisitionSystemDesign
Transducers
Sensephysicalphenomenaand
translateitintoelectricsignal.
Displacement
Level
Electricsignals
ON/OFFswitch
Temperature
Pressure
Light
Force
TransducersandActuators
Atransducerconvertstemperature,pressure,level,
length,position,etc.intovoltage,current,frequency,
pulsesorothersignals.
Anactuatorisadevicethatactivatesprocesscontrol
equipmentbyusingpneumatic,hydraulicor
electricalpower.Forexample,avalveactuatoropens
http://webcache.googleusercontent.com/search?q=cache:http://paginas.fisica.uson.mx/horacio.munguia/aula_virtual/Cursos/Instrumentacion%2520II/Docu 3/11
10/2/2016 DataAcquisitionSystemDesign
andclosesavalvetocontrolfluidrate.
SignalConditioning
Signalconditioningcircuitsimprovethequalityof
signalsgeneratedbytransducersbeforetheyare
convertedintodigitalsignalsbythePC'sdata
acquisitionhardware.
Examplesofsignalconditioningaresignalscaling,
amplification,linearization,coldjunction
compensation,filtering,attenuation,excitation,
commonmoderejection,andsoon.
SignalConditioning
Oneofthemostcommonsignalconditioning
functionsisamplification.
Formaximumresolution,thevoltagerangeofthe
inputsignalsshouldbeapproximatelyequaltothe
maximuminputrangeoftheA/Dconverter.
Amplificationexpandstherangeofthetransducer
signalssothattheymatchtheinputrangeoftheA/D
converter.Forexample,ax10amplifiermaps
transducersignalswhichrangefrom0to1Vintothe
range0to10VbeforetheygointotheA/D
converter.
SignalConditioning
Electricalsignalsare
http://webcache.googleusercontent.com/search?q=cache:http://paginas.fisica.uson.mx/horacio.munguia/aula_virtual/Cursos/Instrumentacion%2520II/Docu 4/11
10/2/2016 DataAcquisitionSystemDesign
conditionedsotheycanbeused
byananaloginputboard.The
followingfeaturesmaybe
available:
Amplification
Isolation
Filtering
Linearization
DataAcquisition
Dataacquisitionandcontrol
hardwaregenerallyperformsoneor
moreofthefollowingfunctions:
analoginput,
analogoutput,
digitalinput,
digitaloutputand
counter/timerfunctions.
AnalogInputs(A/D)
http://webcache.googleusercontent.com/search?q=cache:http://paginas.fisica.uson.mx/horacio.munguia/aula_virtual/Cursos/Instrumentacion%2520II/Docu 5/11
10/2/2016 DataAcquisitionSystemDesign
Analogtodigital(A/D)conversionchangesanalog
voltageorcurrentlevelsintodigitalinformation.The
conversionisnecessarytoenablethecomputerto
processorstorethesignals.
AnalogInputs(A/D)
ThemostsignificantcriteriawhenselectingA/D
hardwareare:
1.Numberofinputchannels
2.Singleendedordifferentialinputsignals
3.Samplingrate(insamplespersecond)
4.Resolution(usuallymeasuredinbitsof
resolution)
5.Inputrange(specifiedinfullscalevolts)
6.Noiseandnonlinearity
AnalogtoDigital(A/D)Converter
Inputsignal
Samplingrate
Throughput
Resolution
Range
Gain
http://webcache.googleusercontent.com/search?q=cache:http://paginas.fisica.uson.mx/horacio.munguia/aula_virtual/Cursos/Instrumentacion%2520II/Docu 6/11
10/2/2016 DataAcquisitionSystemDesign
A/DConverter:
InputSignal
Analog
Signaliscontinuous
Example:straingage.Mostof
transducersproduceanalog
signals
Digital
SignaliseitherONorOFF
Example:lightswitch.
A/DConverter:
SamplingRate
Determineshowoftenconversionstakeplace.
Thehigherthesamplingrate,thebetter.
Analog
Input
4Samples/cycle
http://webcache.googleusercontent.com/search?q=cache:http://paginas.fisica.uson.mx/horacio.munguia/aula_virtual/Cursos/Instrumentacion%2520II/Docu 7/11
10/2/2016 DataAcquisitionSystemDesign
8Samples/cycle
16Samples/cycle
A/DConverter:
SamplingRate
Aliasing.
Acquiredsignalgetsdistorted
ifsamplingrateistoosmall.
A/DConverter:
Throughput
Effectiverateofeachindividual
channelisinverselyproportional
tothenumberofchannels
sampled.
Example:
100KHzmaximum.
16channels.
100KHz/16=6.25KHzper
http://webcache.googleusercontent.com/search?q=cache:http://paginas.fisica.uson.mx/horacio.munguia/aula_virtual/Cursos/Instrumentacion%2520II/Docu 8/11
10/2/2016 DataAcquisitionSystemDesign
channel.
A/DConverter:
Range
Minimumandmaximumvoltage
levelsthattheA/Dconverter
canquantize
Rangesareselectable
(eitherhardwareor
software)toaccurately
measurethesignal
A/DConverter:
Resolution
AnalogOutputs(D/A)
Theoppositeofanalogtodigitalconversionisdigital
toanalog(D/A)conversion.Thisoperationconverts
digitalinformationintoanalogvoltageorcurrent.
D/Adevicesallowthecomputertocontrolrealworld
events.
Analogoutputsignalsmaydirectlycontrolprocess
http://webcache.googleusercontent.com/search?q=cache:http://paginas.fisica.uson.mx/horacio.munguia/aula_virtual/Cursos/Instrumentacion%2520II/Docu 9/11
10/2/2016 DataAcquisitionSystemDesign
equipment.Theprocesscangivefeedbackinthe
formofanaloginputsignals.Thisisreferredtoasa
closedloopcontrolsystemwithPIDcontrol.
Analogoutputscanalsobeusedtogenerate
waveforms.Inthiscase,thedevicebehavesasa
functiongenerator.
AnalogOutputs(D/A)
DataAcquisitionSoftware
Itcanbethemostcriticalfactorinobtaining
reliable,highperformanceoperation.
TransformsthePCandDAQhardwareintoa
completeDAQ,analysis,anddisplaysystem.
Differentalternatives:
Programmablesoftware.
Dataacquisitionsoftwarepackages.
ProgrammableSoftware
Involvestheuseofaprogramminglanguage,
suchas:
C++,visualC++
BASIC,VisualBasic+Addontools(suchas
VisuaLabwithVTX)
Fortran
Pascal
Advantage:flexibility
http://webcache.googleusercontent.com/search?q=cache:http://paginas.fisica.uson.mx/horacio.munguia/aula_virtual/Cursos/Instrumentacion%2520II/Doc 10/11
10/2/2016 DataAcquisitionSystemDesign
Disadvantages:complexityandsteeplearning
curve
DataAcquisitionSoftware
Doesnotrequireprogramming.
Enablesdeveloperstodesign
thecustominstrumentbest
suitedtotheirapplication.
Examples:TestPoint,
SnapMaster,LabView,DADISP,
DASYLAB,etc.
DesigningaDAS:Factors
toConsider
Isitafixedoramobileapplication?
Typeofinput/outputsignal:digitaloranalog?
Frequencyofinputsignal?
Resolution,range,andgain?
Continuousoperation?
Compatibilitybetweenhardwareandsoftware.
Arethedriversavailable?
Overallprice.
http://webcache.googleusercontent.com/search?q=cache:http://paginas.fisica.uson.mx/horacio.munguia/aula_virtual/Cursos/Instrumentacion%2520II/Doc 11/11