Slow control

  • You do not have permissions to view this page - please try logging in.

Version as of 12:40, 20 Aug 2025

to this version.

Return to Version archive.

View current version

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

The slow system control consists of:

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
  • Linux 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
-

Software Platform

All software stored in IPFN SVN server: http://metis.ipfn.ist.utl.pt/svn/cdaq/ISTTOK/

Central Node

EPICS v. 3.14.12.3 including modules:

CS-STUDIO

Installed Scripts

  • epicsenv.sh             directory: /etc/profile.d/epicsenv.sh
  • epicsCaRepeater     directory: /etc/init.c/epicsCaRepeater
  • service-startup         directory: /opt/epics/bin/services/service-startup
  • epicsIocLogServer   directory: /etc/init.c/epicsIocLogServer
  • epicsenv                  directory: /usr/bin/epicsenv
Local Control

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

References

"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

Powered by MindTouch Core