dzero controls: daq tutorial
DESCRIPTION
DZero Controls: DAQ Tutorial. Geoff Savage Tuesday 25 May 2004. Control System. Built on Experimental Physics and Industrial Control System (EPICS) www.aps.anl.gov/epics Main development at Argonne and Los Alamos Controls group added support for DZero specific hardware Field bus – MIL1553B - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: DZero Controls: DAQ Tutorial](https://reader035.vdocuments.net/reader035/viewer/2022062422/56814049550346895dabbc11/html5/thumbnails/1.jpg)
DZero Controls: DAQ Tutorial
Geoff SavageTuesday 25 May 2004
![Page 2: DZero Controls: DAQ Tutorial](https://reader035.vdocuments.net/reader035/viewer/2022062422/56814049550346895dabbc11/html5/thumbnails/2.jpg)
25 May 2004 Controls DAQ Tutorial 2
Control System
Built on Experimental Physics and Industrial Control System (EPICS)• www.aps.anl.gov/epics• Main development at Argonne and Los Alamos
Controls group added support for DZero specific hardware• Field bus – MIL1553B• High voltage• Sequencers• Rack monitor – multi-purpose I/O
![Page 3: DZero Controls: DAQ Tutorial](https://reader035.vdocuments.net/reader035/viewer/2022062422/56814049550346895dabbc11/html5/thumbnails/3.jpg)
25 May 2004 Controls DAQ Tutorial 3
EPICS ArchitectureIOC
(Server)
LAN
HOST(Client)
Each IOC contains a computer on which EPICS runs and serves values upon request.
EPICS clients run on hosts or other IOCs and request values from IOCs.
Servers and clients communicate with the Channel Access (CA) protocol.
![Page 4: DZero Controls: DAQ Tutorial](https://reader035.vdocuments.net/reader035/viewer/2022062422/56814049550346895dabbc11/html5/thumbnails/4.jpg)
25 May 2004 Controls DAQ Tutorial 4
IOC Contents
When the IOC boots it reads an EPICS database file that specifies the data available
In EPICS each process variable (PV)( data point) is called a record
Each PV has a unique name Clients request information by name so all PV
names in the system are unique There is a different database file for each IOC
that matches the hardware configuration
![Page 5: DZero Controls: DAQ Tutorial](https://reader035.vdocuments.net/reader035/viewer/2022062422/56814049550346895dabbc11/html5/thumbnails/5.jpg)
25 May 2004 Controls DAQ Tutorial 5
IOC Monitoring
Processor in IOC• setup d0online• start_daq ioc• /online/config/ctl/d0.ioc
Rack environment• setup d0online• start_daq pfmrm – platform• Configuration file: /online/config/ctl/pfm.rmi• start_daq mchrmi – movable counting house• Configuration file: /online/config/ctl/mch.rmi
![Page 6: DZero Controls: DAQ Tutorial](https://reader035.vdocuments.net/reader035/viewer/2022062422/56814049550346895dabbc11/html5/thumbnails/6.jpg)
25 May 2004 Controls DAQ Tutorial 6
Left click each tab tomove between displays.
Look for statusinformation.
IOC Resource Monitor Display
Processor name.
Each box is a PV
![Page 7: DZero Controls: DAQ Tutorial](https://reader035.vdocuments.net/reader035/viewer/2022062422/56814049550346895dabbc11/html5/thumbnails/7.jpg)
25 May 2004 Controls DAQ Tutorial 7
GSId = global sector ID CPU % = percentage of
cpu used for the last 10 seconds
Mem % = percentage of memory usage for the last 10 seconds
FD % = percentage of file descriptor usage for the last 10 seconds
Each client connected uses a file descriptor
![Page 8: DZero Controls: DAQ Tutorial](https://reader035.vdocuments.net/reader035/viewer/2022062422/56814049550346895dabbc11/html5/thumbnails/8.jpg)
25 May 2004 Controls DAQ Tutorial 8
Reboot each processorindividually.
Reboot all processorson this page.
Create new connectionsto obtain the IOC info.
![Page 9: DZero Controls: DAQ Tutorial](https://reader035.vdocuments.net/reader035/viewer/2022062422/56814049550346895dabbc11/html5/thumbnails/9.jpg)
25 May 2004 Controls DAQ Tutorial 9
Green identifies values that are in range.
Yellow identifies values that should be monitored.
Red identifies values that require attention.
Purples identifies values that are invalid.
All alarm conditions, yellow, red, and purple, appear in the alarm display.
![Page 10: DZero Controls: DAQ Tutorial](https://reader035.vdocuments.net/reader035/viewer/2022062422/56814049550346895dabbc11/html5/thumbnails/10.jpg)
25 May 2004 Controls DAQ Tutorial 10
Undef indicates no PV present in an IOC.
The muon group has removed all the PVs for monitoring their IOCs so everything Undef is expected for now.
![Page 11: DZero Controls: DAQ Tutorial](https://reader035.vdocuments.net/reader035/viewer/2022062422/56814049550346895dabbc11/html5/thumbnails/11.jpg)
25 May 2004 Controls DAQ Tutorial 11
![Page 12: DZero Controls: DAQ Tutorial](https://reader035.vdocuments.net/reader035/viewer/2022062422/56814049550346895dabbc11/html5/thumbnails/12.jpg)
25 May 2004 Controls DAQ Tutorial 12
When monitoring is turned on the CPU usage is yellow at about 80%.
During zero bias running the cpu usage is green.
![Page 13: DZero Controls: DAQ Tutorial](https://reader035.vdocuments.net/reader035/viewer/2022062422/56814049550346895dabbc11/html5/thumbnails/13.jpg)
25 May 2004 Controls DAQ Tutorial 13
![Page 14: DZero Controls: DAQ Tutorial](https://reader035.vdocuments.net/reader035/viewer/2022062422/56814049550346895dabbc11/html5/thumbnails/14.jpg)
25 May 2004 Controls DAQ Tutorial 14
![Page 15: DZero Controls: DAQ Tutorial](https://reader035.vdocuments.net/reader035/viewer/2022062422/56814049550346895dabbc11/html5/thumbnails/15.jpg)
25 May 2004 Controls DAQ Tutorial 15
Rack Monitoring
Rack MonitorInterface
(RMI)
Rack Monitor (RM)64 ADC channels
4 Digital I/O channels
Water leak
Air flow
Water flow
Smoke
Reset RMI
Mil 1553 bus
Status
(RM DSTAT)
![Page 16: DZero Controls: DAQ Tutorial](https://reader035.vdocuments.net/reader035/viewer/2022062422/56814049550346895dabbc11/html5/thumbnails/16.jpg)
25 May 2004 Controls DAQ Tutorial 16
Platform Rack Monitoring
• Status = state of the rack• RM DSTAT = was the readback successfull.
Look for statusinformation.
Reset the rack monitorInterface.
![Page 17: DZero Controls: DAQ Tutorial](https://reader035.vdocuments.net/reader035/viewer/2022062422/56814049550346895dabbc11/html5/thumbnails/17.jpg)
25 May 2004 Controls DAQ Tutorial 17
Left click a status box to see details.