USB接口
AbStract
Title:DATA
ACQUISITIONSYSTEM
BASEDONUSBINTERFACE
DESIGN
Major:Technology&Instrumentation
Name:Chao
ofTestingandMeasuring
Wu
SignatureSignature
Supervisor:Prof.ZonghaiGao
#
fieldsofmodem
industrialwithUSB
and
Abstract
With
theincreasing
demands
on
dataacquisitionin
the
productions
and
scientificresearches,thesuperiorityofdata
acquisitionplatforms
obviousinsome
(Universal
Serial
Bus)interface
hasbecomemoreandmore
hi曲speed
lli曲precision
measurementsystemssuchastransientsignaldetectingandimageprocessing
a
systems.TheusageofUSB—baseddataacquisitioncardhasalreadybecome
present.
Thisthesisaimstoconstruct
dataacquisitioncard
a
prevalenceat
dataacquisition
platformbasedonUSBinterface.Firstly,a
MAX1166and
the
user
based
is
Oll
USBinterfacechipPDIUSBD12,A/Dchip
layers
microcontroller
corresponding
89C52
developed.Secondly,three
ofprograms,namely
MCUprogram
forcard,PCbuttomdriversforUSBinterface,andPC
applicationprogram
underVC++developmentenvironment
arc
developed,whichWindows
realize
bidirectionalcommunicationfromlowlayer
MCU
on
toPCbaesdOil
XPoperating
system.Finally,adataacquisitionplatformbased
Themainpartsofthisthesis
USBinterfaceisbuiltsucessfully.
comprisetwoimportant
contents,namely
based
on
hardware
and
software
design.The
based
hardwaredesignintroducestheclockcircuit
on
89C52,power
supplycircuit,A/Dacquisitioncircuitbasedinterfacecircuit
on
MAXl
166,keystrokeresetcircuit,USB
PDIUSBD12andserial
circuit.
The
software
design
introducesfirmwareXP
program
013
design
based
on
KEILdevelopment
environment,WINDOWS
This
thesislays
a
WDM
driverbasedMICROSOFT
DDK
and
on
debugusingVC.
SOFTICEtoolforthedriver.Finally,userapplication
design
isintrducedbased
solidfoundationforthefuturestudyand
projects
on
dataacquisition
systembasedonUSBinterface,whichachievesthepurposeofsubjectresearch.
Key
Words:USB,DataAcquisition,SoftwareandHardwareDesign
2