The 11th Symposium on Accelerator Science and Technology, Harima Science Garden City, 1997

Status of Control System for the JAERI Tandem Accelerator
Susumu HANASHIMAAccelerators Division, Japan Atomic Energy Research Institute,Tokai, lbaragi, 319-11 ,JAPANAbstract
We have made several improvements on a control
system for the JAERI tandem accelerator. They are
installation of the second control console, replacement ofCAMAC serial highway drivers, an improvement ofvaluators on the control console, replacement of processor
modules of the central multi processor etc. The reliability ofthe system and efficiency of the accelerator operation wasimproved by the modifications.

mode. In our case, it was difficult because the control
systems of the booster have been made independently from thecontrol system of the tandem. As the second choice, we madea satellite console of the tandem control in the RF control
room of the booster.
Not only the installation, but also several improvements
were made on the control system. Figure 1 shows present
configuration of the system.

2 Installation of the second control console

1 Introduction
The control system of the JAERI tandem accelerator is aconcurrent processing system using several transputers[1,2].
The system has been in operation since 1992. We made many
improvement to the system. The system started as dedicatedcontrol system for the JAERI tandem accelerator. But wehave a post accelerating super conducting booster today.
There is a need to improve efficiency of operation of two
accelerators in the connected mode. It is the best choice tobuild a unified control system for both accelerators, forsmooth operation of the two accelerators in the connected

Figure 2 shows a front view of the console. It has awindow display, eight assignable meter units and four
assignable shaft encoders(valuators). We can control thetandem from the console in the same way as from the mainconsole. The window display is controlled by an engineering
workstation. The other part of the console is controlled by atransputer. Both processors are linked to the central processorof the control system through optical fibers. Adding to thefiber link, the workstation has connection to an Ethernet of thecontrol system.

EtherNetr---------------'--~~----~----------_,~--------~~------~--------~----------:

IIIIIIIIIIIIII
I

Bending magnets
on booster beam line
1---. ..
Accelerator devices

Fig.l Configuration of control system for JAERI tandem accelerator.
T: transputer, SD:Serial highway driver,
DVC : Device controller. Dashed lines denote present expansion.

-519-BM 84-1

The 11th Symposium on Accelerator Science and Technology, Harima Science Garden City, 1997

In having two control consoles, we must consider how tohandle flows of control signals !o a same data point from thedeferent consoles. We have selected the scheme that allows

DAss i nab I e Meter
8units(4•2Jand performance. Figure 4.a and 4.b shows the block diagramof the driver. The new drivers are separated into two parts,
a control processor and one or more serial highway interfaces.
The interfaces do much of which· have been done by thesoftware in the old driver. These functions are generation andanalysis of message packets and displaying highway error
status on the front panels. The control processor controls theinterfaces through a simple field bus. We can install several
interfaces on the bus. The driver can control byte serialtransfer, which our old drivers could not control. The majorparts of the logic circuits are implemented in an FPGA(fieldprogrammable gate array).
/Centarl Syste,

CommOOication
links .

CAMAC Serial Highway CAMAC Serial Highway

Fig. 4.a Serial highway driver of Accell system.

Fig. 2 Front view of the second console.

ILED displays I

Control for
FinaOJTIEney:Ef
dEf

IClock checker!

~CAMAC Serial Highway

Control for
M~X

Fig. 4.b Internal block diagram ofSHWD 1/F board.

uw~

4 Modification of valuators on the main control console

Control foro.m_::::-v

MQ04-1 X dX

Accelerator devices

Fig. 3 Signal flows controlling data points.

us to assign plural valuators to the same data point in the sametime. Figure 3 shows signal flows of controlling data points.
Requests to change values on the valuators are detected as
amounts of changes and sent to the processes which maintaincurrent values ofthe data points. The mechanism works in thesame manner, even when the plural valuators are assigned tothe same data point. That is, the actions of operators tochange value of the same data point are mixed: There is noneed to control the collisions. This mechanism has been
introduced with a linked control mechanism through virtual
data points. In the mechanism, independent controls standwith the linked control in the same time.
3 Replacement of the CAMAC serial highway drivers
The serial highway drivers[3] are located at the front endsof the control processors to CAMAC serial highway system.
We have developed a new type of driver to improve reliability

The valuators on the control console are modified toaccept a change in values crossing zero. A setting value of thevaluator follows linearly to the rotation of the dial in the newspecification. This modification enables natural control ofbeam steerers on a beam line of the accelerator. The old ones
had an exponential control and could not allow crossing zero.
The modification also improves matching of shaft encoders toa function of linked control of the control system.
5 Replacement of processor modules of the central
multi processor
The central multi processor is the main engine of real timeprocessing of the control system. Four transputer modules areconnected together to construct the multi processor. Newmodules were made using almost same transputers(T805) asthe previous modules, but their reliability on signalconnections was greatly improved. The modules are installedon the same case of the device controller. Figure 5 shows themodules installed with the new serial highway drivers.

-520-

The 11th Symposium on Accelerator Science and Technology, Harima Science Garden City, 1997/""" -·""\ '." "''"'"' . "/;j I""" I '" .,. . .
. ...
:-"·
"-" "~., _,,~"'""
om~""_,~ " ' ' 'Dev1ce' hi.OO• ' ' ' " ' ""' "'"""'
controller for h1ghway#3

Serja! bjgbw al£ driver tar hjghytay#4

Sari a I bigbwall dr i~arfar bigbwaldt3............

T~-~
00........ ·.·.·.·.·. ·..·.·.·.·.·.•.· ·.·.·.····:-:-: ·.··:·:·:·:-: ·:·:·:·:···:····t:··········

I:-.. li ~ ~is;i. ~'Ct.

!.

0

9*9 Ql , e
5 ~

9 9

©'' 005b@"

~-r.
00

9 9? 9Ql00, e 55 n b

©'' 0

©'

@'l Q

©' Q~~ ~~©'Q©r,, Q©''lfr' IS' rs:rllAlA-:-:-:-:-:-:-: -:· :-:-:-:-:-· : -:·:-:-:.:.:·:·: ·:·:·:·:·:·:!:i..,!ll I~.

!lAT~-r.

"'-,,·~!. ~~·@@Ql_ 0 0 Ql 0 ,0 e 0599
Ql_ 5 n b©~ ? 9©. ©' 0 ~Ql_ ©'Q~©. @! Q ©.
©. ©' ©.

'""' ""'~~

lr- Power control panel:-:-:-:-·-:-:·:1:-:-:-·-·.·.·

,@

@

..

~0"'
~='""'

Fig.5 Front view of the central processor modules
and serial highway drivers.
6 Addition of control for two bending magnets
Controls of two bending magnets on the booster beam line
have been included in the control system. They are controlled
through device controllers using transputers. We intend to
introduce local feed back control of magnetic fields using thecontrollers.

booster for smooth operation of the two accelerators. The
replacement of CAMAC serial highway drivers and processor
modules of the central processor were made to ·improvereliability and performance.
Introduction of devices
controlled by the device controllers using transputers weremade. These modifications improve reliability of the systemand efficiency of the operation of the accelerators.

7 SoftwareReferences

According to the change of the hardware configuration ofthe system, software of the system was modified at several
points. They are an address scheme of data points of devices
around the accelerator, protocols between the central systemand the front end processors, programs of serial highway
drivers etc. The programs were expanded to accept twocontrol consoles and data points directly controlled bytransputers.

[l]S.Hanashima, JAERI TANDEM & V.D.G. Annual Report
1993 pp7-8.
[2]S.Hanashima et al., Transputer/Occam Japan 5 lOS Press,
1993. pp69-81.
[3]S.Hanashima, JAERI TANDEM & V.D.G. Annual Report
1995 pp7.

8 Conclusion
Recent improvement of the control system for the JAERI
tandem accelerator was reported. The second control console
was installed in the RF control room of the post accelerating-521-