Insertion Devices Control Development at SRRC

1 downloads 0 Views 86KB Size Report
undulator U10 prototype and experimental one meter length adjusted polarizing undulator. The new system provides several features which are not available in.
INSERTION DEVICES CONTROL DEVELOPMENT AT SRRC K. T. Pan, Jenny Chen, J. S. Chen, C. J. Wang, C. S. Chen, K. H. Hu, Chaorn Wang, C. H. Chang, C. S. Hwang, T. C. Fan, K. T. Hsu Synchrotron Radiation Research Center, Hsinchu, Taiwan controller.

Abstract

Beamline ID Access Program

Main Control Programs

Insertion devices are the most important gadget of the third generation Taiwan Light Source at SRRC. These insertion devices include the turn-key systems and inhouse developed systems in SRRC. The corresponding control configurations are different due to historical reason. However precision, fastness, simplicity, and uniformity in insertion devices control are the most desirable from practical viewpoint. The proposed uniform control systems are first applied successfully to undulator U10 prototype and experimental one meter length adjusted polarizing undulator. The new system provides several features which are not available in existed insertion device control system. The residual field compensation procedure can be done with 100 times per second. The compensation table is updated from the server of the control system. The software design supports the beamline users to adjust gap after granting permission from the control room operator. The detailed descriptions about the features and performances will be presented in this report. 1.

INTRODUCTION

There are three installed insertion devices systems, wiggler (W20), undulator (U5, U10P). Two of them are turn-key systems (W20, U5). The undulator U10P is homemade. There are two insertion devices in development phase in house, elliptically polarizing undulator (1 m EPU prototype and 4 m EPU). The undulator U9 has contracted with vendor. The control system of the U10P is built to achieve the simplicity, minimum man power and good performance that are prospects of insertion devices control at SRRC. 2. SYSTEM CONFIGURATION The VME crate controller is the core of the control system configuration for all insertion devices. The W20 [1] and the U5 [2] are similar configuration. The VME crate controller connects with personal computer (PC) through GPIB bus, using the PC as local controller to control motion controller and motor drivers and to monitor encoders via GPIB bus or RS232. The control system of the undulator U9 will be similar to the undulator U10Pofthe SRRC. It integrates the intelligent motion controller in the VME crate controller without PC. Figure: 1 represents the software structure on U10P

0-7803-4376-X/98/$10.00  1998 IEEE

Console Computer

Local Controller Setting Service Program

ID Service Program

DDB Upload Program

Dynamic Database

General Reading Program

Motor Information Update & Corrector Follow Gap Control

Digital Output

Analog Output

Power Supplies

Motion Controller

Motor Drivers

Digital Input

Analog Input

Tilt sensors ....etc

Figure: 1 Software structure on U10P controller 3. ISSUES OF INSERTION DEVICES CONTROL 3.1 Motion control The motion control is a key point in insertion device control. It needs the requirements of the high precision, good reproducibility and multiple axes synchronization as well as fast control response. 3.2 Residual field compensation mechanism The residual field compensation mechanism provides a easy operation and maintenance for machine physicist. The compensation table which the setting of the end-pole correction power supplies follows the corresponding gap value is a text file and saves on a NFS (network file system) server. The machine physicist needs to edit a table file on server and issues an updating event via graphic user interface on main control system. The new compensation table will be rebuilt and the compensation procedure can be done 10 ms per step [3][4][5]. For the W20 system, the residual field compensation table is stored on the PC. The gap and phase information will be included in the table for the EPU system. 3.3 Homing When the power which provides to the incremental encoder is lost, the incremental encoder information will be lost. There is an optional method which saves the

3539

information on non-volatile RAM or harddisk to avoid information lost. If the position information is lost by accident, the homing procedure is necessary to recover the information. The U10P control system is with four incremental linear encoders. The encoder inform- ation is stored in the user accessible area of the non-volatile RAM. Whereas, the encoder information is saved on harddisk for the W20 control system. For the system of the U9 and the 4 m EPU, the absolute linear encoder will be used to measure the gap information. Hence, no homing procedure is needed.

the resolution of the encoder is 5m, the two axes tracking performance is shown in Figure: 3(b). If the resolution of the encoder is 1 m, it will be achieved to several microns for the two axes tracking. The control response is hoped to achieve mechanical limitation. So far the response time of the U10P is about 1.2 sec per 0.1 mm. Table. Performance of the insertion devices for SRRC insertion device

item

U5

encoder resolution

1 um

1m EPU

5 um

gap/phase resolution

_

reproducibility

+/- 6 um

+/- 1 um

+/- 5 um

+/- 30 um

+/-30 um

+/- 10 um

two axes tracking

3.4 Protection and interlock

U10P

0.5 um

_

~ 2 um

Table 1. Performance of the insertion devices U10P Gap Reproducibility 18

The safety of the system is the one of the important considerations. For the U10P system, there are the tilt and slip detection, software limits protection, maximum and minimum limit switches. If one of the these interlocks is active, the four motors would be immediately stop. The controller supports error recovery functions used by the operator to eliminate errors. For the W20, U5, U9 and EPU are similar to the U10P.

upstream gap downstream gap

16

Accumulate Counts

14 12 10 8 6 4 2 24.99

24.995

25 Gap (mm)

25.005

25.01

(a) U5 Gap Reproducibility 5 upstream gap downstream gap

Accumulate Counts

4

4. CONTROL ROOM OPERATOR INTERFACE The operator interface is a graphic mode interface. Normal operation page includes the setting and reading of the gap position and end-pole corrector power supplies, the monitoring of the tilt sensors, limit switches and drivers status and motors stop function. For the critical functions such as errors recovery, reset motor controller, homing procedure and updating the residual field compensation table are hidden in another page.

3

2

1

0 24.99

24.995

25 Gap (mm)

25.005

25.01

(b) Figure: 2 Gap setting from different gap position to 25 mm (a) reproducibility of the U10P (b) reproducibility of the U5 U10P Two Axes Tracking (gap: 3080 mm) 0.04 up beam low beam

Encoder Difference (mm)

0.03

5. PERFORMANCE ISSUES

0.02 0.01 0 -0.01 -0.02 -0.03 -0.04 0

100

200

300

400 500 Time (x 100ms)

600

700

800

900

(a) 1m EPU Two Axes Tracking (upstream direction move 10 mm) 0.01 Kp=50,Ki=1,Kd=360 0.008 Encoder Difference (mm)

There are several control performance issues about insertion devices of the SRRC such as gap or phase resolution, reproducibility, two axes tracking. Table: 1 lists the performance of the U5, U10P and 1 m EPU [6]. The output signals of motion controller for the U10P are TTL pulse counts which represent the corresponding target position only. Thus the position errors are corrected at target position by using the encoder tracking function of the motion controller. It possesses a good reproducibility (shown in Figure: 2 (a)) but has not a good dynamic tracking on synchronous moving in multiple axes (shown in Figure: 3 (a)). For the U5 system, the reproducibility is worse than the U10P (shown in Figure: 2 (b)). For the 1 m EPU, the output signals of motion controller to motor drivers are analog voltages corresponding to the position error. It needs to optimize the proportional, integral and derivative parameters on feedback control system. Although it is more complexity than the U10P control, it offers the advantage of the good dynamic tracking. According to

0.006 0.004 0.002 0 -0.002 -0.004 -0.006 -0.008 -0.01 0

50

100

150

200 250 Time (x 10ms)

300

350

400

450

(b) Figure: 3 (a) Two axes tracking (upper beam and lower beam) of the U10P (b) Two axes tracking of 1 m EPU for phase only 6. BEAMLINE USER INTERFACE The U10P controller possesses to accept the capability of issue commands from end-station computer to change gap directly via Ethernet. To execute the requests coming from the end-station, the controller should be granted by control room operator. Then the end-station

3540

user can send a command to U10P controller and monochromator system simultaneously. For the U5 control system, RS422 is used to communicate with the end-station (shown in Figure: 4). Figure: 5 is the simulation of the beamline request gap change scenario for the operation of U10P. PC-Based machine status broadcast system

VAXstation 4000 - 60

VAXstation 3100 - 76

VAX System 4000 - 500

c. Response time The response time of the U5 system is longer than the U10P system. Because the U5 need spend time on communication between personal computer and VME controller whereas the U10P need not. For the 1 m EPU, it adjusts the control parameters to achieve the optimum response. The fast response will be foreseeable. d. Protection, error reporting and recovery

ID Control (Existed Solution) Authorized by Operator

I/O

I/O I/O

I/O

VME crate

CPU

I/O

I/O I/O

I/O

VME crate

CPU

I/O I/O

I/O

I/O

CPU

Control System Ethernet VME crate

Setting/Acknowledge: 20-30 msec

For the W20 system, according to the transmission structure was failed to result in the beam tilt. However it could not supply the tilt information to control system. The tilt sensors will be provided to increase the judgment of the W20 system working well or not. In the future, the information of the system status during the movement will be saved in the intelligent motion controller. If the error occurred, these information would be dumped as error analysis reference. And there will be a error reporting to suggest troubleshooting method.

Router or Switching Network Decices

Update : 100 msec ID Control (Future Options, Multi-Client Design at VMEcrate) Authorized by Operator

I/O I/O

I/O

I/O

CPU

U5/U10/EPUs

Beamline

Endstation

VME crate

Experimental Area Ethernet

Optional Ethernet to IEEE-488 Adapter Peripheral Hardware for U-5, U10, and EPU

RS-422 Link (Gaps information, U5)

IEEE-488 RS-232 Direct I/O

Dynamic Data Access Request and Reply : 100-200 msec CAMAC

Endstation Computer

Monochromator Controller Vacuum Subsystem Diagnostics (Io, ...) Interlock ... etc

Interlock SR

Setting Request and Receive Acknowledge : 20-30 msec

Beamline Control Computer PC, VME, ... etc.

Optional IEEE-488/RS-232

Global Interlock (Accelerator, ...etc.) Vacuum, Optics, ..etc.

Endstation Equipments

Monochromator

Figure: 4 Relation between main control system, U10P controller and the beamline end-station

8. ACKNOWLEDGMENTS

U10P Gap Resolution 30

Thanks are extended to Elizabeth R. Moog of APS, the staff of the instrumentation and control group and the magnetic construction and measurement group. The help of top management at SRRC are also highly appreciated.

step = 6 um 29.99

Gap(mm)

29.98

29.97 29.96

29.95

REFERENCES

29.94

29.93 0

500

1000

1500 2000 Time (x 100ms)

2500

3000

3500

Figure: 5 Simulate beamline request gap change scenario for U10P 7. DISCUSSION

[1]

The effects of stepper mode and servo mode for the SRRC insertion devices control are as the follow :

[2] [3]

a. Dynamic tracking For the stepper mode, the output signal is pulse with constant motion profile that follows the acceleration, deceleration, velocity and target position counts. The position errors with varying time can not be corrected during moving. The feedback correction occurs only at target position. For the servo mode, output signal is a analog voltage, it can be changed following the position errors. It possesses a good dynamic tracking function.

[4]

[5] [6]

b. Overshoot Using the servo mode control on servo motor such as 1 m EPU prototype, it can improve the overshoot by adjusting the control parameters to critical damping region.

3541

D. C. Quimby, K. E. Robinson, D. R. Jander, “Personal-Computer-Based Control System for a 1.8 T Hybrid Wiggler”, Rev. Sci. Instrum. 66, 1949(1995). “Detail design report of undulator U5 system” , designed by Danfysik in Jyllinge, Denmark (1995). P. Walker, B. Diviacco, “Initial operation of insertion devices in ELETTRA”, Rev. Sci. Instrum. 66, 2708 (1995). Brgl, et al., “Controller Area Network (CAN) - a Field Bus Gives Access to the Bulk of BESSY II Devices”, Proceedings of the ICALEPCS’95. J. Chavanne, P. Elleaume, ”Insertion devices at the ESRF”, Rev. Sci. Instrum. 66, 1868 (1995). Bahrdt, A. Gaupp, G. Ingold, M. Scheer, “Status of the Insertion Devices for BESSY II”, Rev. EPAC96, 2535

Suggest Documents