New ISTTOK slow control system
Intro
The new ISTTOK slow control system is designed to replace the former vaccum/power/slow timing system based is the EDWARDS controller
Team and responsabilities
- Horácio Fernandes (ISTTOK Leader)
- Bernardo Carvalho (Project Leader)
- Paulo Duarte (ISTTOK Session Leader, State Machine develpment)
- Tiago Pereira (dsPIC development, RS232 protocol/ Sensor Interface/ Wiring)
- Paulo F. Carvalho ( Epics Applications)
- Bruno Santos (Epics)
- Gonçalo Quintal (Epics, CSS Gui Panels)
System description
Gas injection system
Vacuum System
- 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.
Liquid Metal Limiter
State machine description
Hardware Platform
Supervisor/Central Node
One PC Controller
- Intel(R) Atom(TM) CPU 330 @ 1.60GHz, Dual Core, 1 Gbyte RAM, 4 RAM
- 4 Serial Ports
- IP addr:192.168.1.152 ( ISTTOK private network)
- Scientific Linux CERN 6 (SLC6) with MRG Realtime extensions
- Kernel 3.2.33-rt50.66.el6rt.x86_64
- NTP time conected to IPFN Gps NTP/PPS server IP:10.136.236.255
Local Control
One or more dsPic board running an embedded firmware
-
Protocol for communication between dspics and PC in ISTTOK slow control
- all bytes are readable ASCII
- all messages all terminated with two bytes: \r\n (13 10)
- messages have variable length
- framing character for fields inside message is space (32)
- individual fields inside each message have variable length
- the last three characters before the terminator are the ASCII representation of the checksum of all other bytes, excluding the terminator
Examples:
PIC -> PC
VL01_1 VL02_1 VL03_0 TE01_150.9 TE02_80.1 UP_7200 PR01_1.3e-4 CKS\r\n
PC -> PIC
VL01_1 CKS\r\n
Table of words:
VL - Valve
TE - Temperature
UP - Uptime
PR - Pressure
-
The slow system control consists of: