Transcript ht-7 asipp
ASIPP
HT-7
The Data Acquisition System
Based on VXI and PCI Bus
• H.Z. Wang, G. Li, J.R. LUO, Z.S. Ji, G.M. Li
• (E-mail: [email protected])
ASIPP
HT-7
Outline:
1.Introduce the distributed data
acquisition system on HT-7
2. Hardware based on PCI/VXI
control
3. Transmitting data from the bus
controller to data server
4. Cooperating with the whole
distribute data acquisition system
ASIPP
HT-7
The HT-7 data acquisition system
is designed as distributed and it
is mainly based on four buses:
(1) CAMAC bus (2) EISA bus
(3) VXI bus
(4) PCI bus.
ASIPP
HT-7
Chart one: basic data acquisition network structure
ASIPP
PCI board hardware
HT-7
ASIPP
HT-7
• PCI BUS control
62.5/125/250/500k
PCI BUS
eight channels ; 12 bits
2*256KB Ram
Outer clock&trigger
The sampling data after A/D complete will
be written to the two buffer storages by
ping-pong method under the controlling of
the logic control circuit.
ASIPP
HT-7
• PCI BUS control
We can design kernel software by let VxD to
achieve IRQ in real time so as to realize the
real time data acquisition in Windows
operation system. VxD is a kind of binary
system kernel code used to manage the
Windows hardware resources in real time. We
install VxD and VMM together, and them
both can cooperate and share modules of
system to get certain IRQ.
ASIPP
HT-7
• VXI BUS control
High speed(1MSPS)
Four channels ; 12 bits
VISA database (Virtual Instrument
Software Architecture)
IEEE1394
Outer clock&trigger
ASIPP
HT-7
• VXI BUS control
Because the VXI equipment is to be the
VPP(VXI Plug & Play) hardware layer, we
need not direct visit the VXI hardware but
use VISA(Virtual Instrument Software
Architecture) database to achieve its control
and so on. HP Corp VISA database provides
VISA DLL、LIB document and some C
program head file and those all can be
direct used by Visual C++ to reduce
program difficulty.
ASIPP
HT-7
• VXI BUS control
IEEE1394 is a serial interface standard which
has a vide frequency transfer speed and it is
established by IEEE standardization
organization. As a computer exterior bus
standard, IEEE1394 Universal connect between
different equipments. has such merit:
(1) Multimedia applied real time data transfer;
(2) Data transfer ration is 100/200/400Mbits/s;
(3) Never lose data in real time connect or
disconnect;
(4) Plug and play automatism configure;
(5) Broad band real time applied; .
ASIPP
HT-7
• Transmitting data from the bus
controller to data server
• During the both bus(VXI/PCI) data
transmitting course within the data
acquisition network, we used TCP/IP Net
protocol to realize the data transfer to the
data servers.
HT-7
ASIPP
Parallel Multi-threads
Work-proces
t1
t2
t3
t1
t2
t3
t1
T = n*t1+max(t2,t3)+x
t2
t3
ASIPP
HT-7
• Cooperating with the whole distribute
data acquisition system
• The shot number is the key index for us to
search for certain data in the data servers,
so those data that have the same shot
number will be saved together and
represents the same discharge.
ASIPP
HT-7
• Conclusion
• Both PCI and VXI bus data acquisition
subsystem are important for the whole
distribute data acquisition system in HT-7
and improve the data precision and capacity
greatly. As a kind of attempt, these work
provide important scientific base for us to
design the distribute data acquisition system
in HT-7U.
ASIPP
THANKS
HT-7