This page is Outdated. Please follow new code in IPFN GIT Server Git https://git.ipfn.tecnico.ulisboa.pt/tree/ISTTOK.git
New ISTTOK EPICS Slow Control documentation moved to Markdown Format in README.md
TOC
Other pages:
The new ISTTOK slow control system is designed to replace the former vaccum/power/slow timing system based is the EDWARDS controller.
The new system uses the EPICS framework and the Control System Studio, below there is a detailed description of the used software. In the next figure is depicted the system structure.
At the present all the software are installed in two IOC servers with the exception of the Control System Studio that is also used for the GUI management.
Presently there are two instances of EPICS IOC Server implemented. One responsible for the Temperature /Vacuum Node. And a second one, installed in a Raspberry Pi, implemented in the new control unit launched at ISTTOK for the remote control of the vacuum pumps, named Central Node.
- Pfeiffer pressure gauges
The dsPic acquires the pressure value from the Pfeiffer gauge, with the Pfeiffer protocol working on RS485, and sends the pressure to a high level PC application.
Process Value in the IOC Server for this system.
PV Name | PV Type | Archive |
ISTTOK:vacuum:Uptime | longin | no |
ISTTOK:vacuum:Diff_Uptime | calc | no |
ISTTOK:vacuum:Last_Uptime | calc | no |
ISTTOK:vacuum:Pressure_Chamber1 | ai | yes |
ISTTOK:vacuum:Pressure_Primary1 | ai | yes |
PV Name | PV Type | Archive |
ISTTOK:temperature:Uptime | longin | no |
ISTTOK:temperature:Diff_Uptime | calc | no |
ISTTOK:temperature:Last_Uptime | calc | no |
ISTTOK:temperature:RawTemperature_0 | ai | yes |
ISTTOK:temperature:Temperature_0 | calc | yes |
ISTTOK:temperature:RawTemperature_1 | ai | no |
ISTTOK:temperature:Temperature_1 | calc | no |
ISTTOK:temperature:RawTemperature_2 | ai | no |
ISTTOK:temperature:Temperature_2 | calc | no |
ISTTOK:temperature:RawTemperature_3 | ai | no |
ISTTOK:temperature:Temperature_3 | calc | no |
ISTTOK:temperature:RawCapbank_Voltage | ai | no |
ISTTOK:temperature:Capbank_Voltage | calc | no |
PV Name | PV Type | Archive |
ISTTOK:central:RotatoryPump | bo | - |
ISTTOK:central:RotatoryValve | bo | - |
ISTTOK:central:TMPControllerOn | bo | - |
ISTTOK:central:TMPControllerOnInv | calcout | - |
ISTTOK:central:TMPControllerOff | bo | - |
ISTTOK:central:TMPControllerOffInv | calcout | - |
ISTTOK:central:TMPMotorOn | bo | - |
ISTTOK:central:TMPMotorOnInv | calcout | - |
ISTTOK:central:TMPMotorOff | bo | - |
ISTTOK:central:TMPMotorOffInv | calcout | - |
ISTTOK:central:Turbo_PW_Ind | bi | - |
ISTTOK:central:Turbo_Emergency | bi | - |
ISTTOK:central:Turbo_Acceleration | bi | - |
ISTTOK:central:Turbo_NormalOperation | bi | - |
ISTTOK:central:TMPManualValve | bo | - |
The developed state machine for EPICS uses the State Notation Language and Sequencer module.
In the next Figure is depicted the state machine flow,
And the Process Value in the IOC Server for this system,
PV Name | PV Type | Archive |
ISTTOK:central:AUTHORISATION | bo | - |
ISTTOK:central:OPREQ | bo | - |
ISTTOK:central:PROCESS-MODE | bo | - |
ISTTOK:central:PROCESS-REQ | bo | - |
ISTTOK:central:COUNTER | calc | - |
ISTTOK:central:OPCALCSTATE | calc | - |
ISTTOK:central:COUNTDOWN | mbbi | - |
ISTTOK:central:PULSE-NUMBER | longout | - |
ISTTOK:central:OPSTATE | longout | - |
ISTTOK:central:CurrentTime | stringin | - |
ISTTOK:central:TraceMessage | stringout | - |
ISTTOK:central:STARTINGSTATE | mbbi | - |
ISTTOK:central:STOPPINGSTATE | mbbi | - |
One PC Controller
One or more dsPic board running an embedded firmware
-
It also has a USB RS485 port for monitoring pressure (to be connected soon)
connected to raspberry Pi through I2C interface;
8 isolated output connected to the relays (6 relays installed for the rotatory control, 2 in use);
4 isolated outputs connected to SEIKO unit controller;
4 isolated inputs connected to SEIKO unit controller;
All software stored in IPFN SVN server: http://metis.ipfn.ist.utl.pt/svn/cdaq/ISTTOK/
EPICS v. 3.14.12.3 including modules:
CS-STUDIO
Apache Tomcat
Installed Scripts
Linux Raspian "Stretch" (user :pi):
EPICS v. base-3.15.5 (in /usr/local/epics) including modules:
For installation EPICS in Rpi see:
configure
directory, then the src
tree, and finally the test
and examples
trees. A failure in the latter two will not impact your ability to write SNL programs.echo $EPICS_CA_ADDR_LIST, it should say localhost.
VL01_1 VL02_1 VL03_0 TE01_150.9 TE02_80.1 UP_7200 PR01_1.3e-4 CKS\r\n
VL01_1 CKS\r\n
Main folder: /home/bernardo/css/
"EPICS IOC module development and implementation for the ISTTOK machine subsystem operation and control"
Paulo Carvalho, André Duarte, Tiago Pereira, Bernardo Carvalho, Jorge Sousa, Horácio Fernandes, Carlos Correia, Bruno Gonçalves, Carlos Varandas
Fusion Engineering and Design 86 (2011) 1085–1090
File | Size | Date | Attached by | |||
---|---|---|---|---|---|---|
FiniteStateMachine.png Installed state machine in the new slow control unit Rpi IOC Server | 75.87 kB | 11:34, 2 Feb 2018 | fmourao | Actions | ||
firmware.rar DsPic embedded firmware | 188.54 kB | 15:58, 27 May 2011 | tpereira | Actions | ||
front_panel_vb.rar GUI in visual basic | 23.25 kB | 17:06, 29 Jun 2011 | tpereira | Actions | ||
ISTTOK_protocol.ods Protocol between dsPic embedded firmware and high level application | 16.25 kB | 15:58, 27 May 2011 | tpereira | Actions | ||
systemdraw.png New slow control schematic | 92.39 kB | 11:29, 4 Nov 2014 | gquintal | Actions |
Images 2 | ||
---|---|---|
Installed state machine in the new slow control unit Rpi IOC ServerFiniteStateMachine.png | New slow control schematicsystemdraw.png |