The Conceptual Design of the BEPCII control System by 5T50Mu5c

VIEWS: 1 PAGES: 32

									Performance of the Control System

              C.H. Wang
             Control Group
               2007.5.10


 10/1/2012           1       IMAC   2007.5.10
                   Outline
            System Overview
            System Performance
              Computer&Network
              Oracle Database
            PS Control System
              Ramping
            Problems
            Improvement
            Summary

10/1/2012                  2      IMAC   2007.5.10
            Control System Overview
                                                                                                 Public Network



                                                                                                Firwall
                                                                                                                  File Servers
            Console   Console   Console              Console     Console     Console




                                          Ethernet




  VME                  VME                VME                     VME
  IOC                  IOC                                                             PC             PC
                                          IOC                     IOC
                        CABLE
    CABLE




                                           CABLE




                                                                    CABLE




                                                                                                          CABLE
                                                                                        CABLE
     PS               Vacuum          Cryogenic
Controllers…          AB PLCs                                     RF               Interlock          PPS
                                      AB PLCs                  Controllers                            PLCs
                       RS232                                                         PLCs




10/1/2012                                                          3                    IMAC        2007.5.10
         Control System Overview
 Subsystems were put into operation on time
  before the beam commissioning.
  PS control system
  Vacuum/Temp. Monitor
  Cryogenic control
  Timing system
  Safety&Interlock systems
  Computer system
  Network
  Oracle database
 operation&running are going well.

 10/1/2012                    4       IMAC   2007.5.10
            Computer Performance
 Sun File Server : 2-node fail over
     CPU:8*1.2GHz UltraSPARC® III
     Memory:32GB SDRAM Disk:6*73GB
     CPU Load:10%~13%
     Memory Load:19%~20%
 Sun Workstation/Solaris running SAD
     CPU:2*1.2GHz UltraSPARC® III
     Memory:4GB SDRAM Disk:2*73GB
     CPU Load:15%~18% Memory Load:24%~30%
 HP PC/Linux running EDM
     CPU:Pentium IV-3.2GHz
     Memory:1GB DDR Disk:160GB SATA
     CPU Load:40%~49%
     Memory Load;34%~52%
10/1/2012                    5         IMAC   2007.5.10
             Computer Performance
HP PC/Linux: Archiving ~6,000channel
  CPU:Pentium IV-3.6GHz
  Memory:2GB DDR Disk: 250GB、500GB SATA
  CPU Load:40%~49% Memory Load:34%~52%
Oracle Server: ~4000 channel
  2 x Intel Xoen 3.0GHz
  Memory: 2GB Disk: 2 x 146GB
  CPU Load:40%~49% Memory Load:34%~52%
VME IOC(~30): MVME5100/VxWorks5.4.2
  CPU: 450MHz Memory: 512M RAM
  Max. CPU load: ~50%

 10/1/2012               6      IMAC   2007.5.10
             Control Network
Core Switch:Catalyst 4506 (redundant)
Edge Switch: Catalyst 3550/2950
Two separate VLAN
Network running ok(most case)
Network problem: slow (sometimes)
Occasionally, VME IOCs crash by network
 trouble
  Loosing CA link between OPI and IOCs is a
   candidate of the cause

 10/1/2012                7       IMAC   2007.5.10
            Control Network




10/1/2012            8        IMAC   2007.5.10
            Typical Network Traffic




10/1/2012                 9    IMAC   2007.5.10
                         Oracle Server
 Stores magnet measurement parameters
 Stores real-time signal historical data over long
  period
            PS
            Vacuum
            Temperature Measurement
            Beam Instrumentations
            Timing
            Physics
 Signals:~4000 Sample rate:1min. /time



 10/1/2012                             10   IMAC   2007.5.10
            Web User Interface




10/1/2012              11    IMAC   2007.5.10
                  Query Results
2006/12/21 15:36:45 to 2006/1228 15:36:45
Beam Current within a week,max.201.2(mA)




 10/1/2012                    12       IMAC   2007.5.10
                  Query Results
Vertical direction display
E+ beam current lifetime within a day




10/1/2012                        13     IMAC   2007.5.10
            Oracle DB Problems
 Too much data saved
 Disk(120GB)/RAM data storage space small
 Disk usage
      600MB-700MB/24hours
      10GB/16x24hours
      300GB/year
 Archived data not imported into Oracle
 Upgrade Oracle Computer Configuration in future




10/1/2012                 14        IMAC   2007.5.10
                                  PS Control System


                                                                              Signal:
                                                                                ~10000个,11VME IOC

                                                                              Basic Function:
                                                                                ON/OFF/Status monitor
                                                                                ON/OFF Command interlock with the
                                                                                setpoint
                                                                                Alarm interlock with the setpoint




              Table 1. PS families for BEPCII rings
                                            Other SC
Name     Dipolar Quadrupole Sextupole skQ                Kicker Correctors
                                            Q     magnet
Number 4          116       36       9      19    16     4      140
Stability
I I R   50       100       100      100    100   100     100    100
[ppm]    10/1/2012                                                       15            IMAC       2007.5.10
                                     PS Control Calibration
        Control System                                             Power Supply
                          setpoint                             PS
                                                                                              Before commissioning, Q、S PS
                                           setpoint                              DCCT1
                                     DAC                                 PS
                          digital          analog          inetreface

                                                                                              calibration
       P           P      Setpoint                Setpoint              DCCT2     DVM         Calibration: y=kx+b
                          readback                readback
       S           S       digital
                                   ADC
                                                  analog                                          K:slope; b: Intercept
       C           I       Current
                          readback
                                                   Current
                                                  readback
                                                                                                  Y: DCCT; x:PSC code(Hex.)
                                     ADC                                 V/I

                                                                                              10 points:
                           digital                 analog


                                                                                 Local
                                                                                                  Linear fit data
PSC码       Setpoint(A)   DCCT(A)                                                                  Precision: 100ppm
                                                  550
3277       30            29.68548329              500             校正前
5461       50            49.71212267              450             校正后
                                                  400
12015      110           109.8288941              350
18568      170           169.9209619              300
                                            电流A




                                                  250
25122      230           230.0341344              200
31675      290           290.1392699              150
                                                  100
38229      350           350.255475                50
44782      410           410.3700734                0
                                                      77

                                                             61

                                                                   5

                                                                   8

                                                                   2

                                                                   5

                                                                   9

                                                                   2

                                                                   6

                                                                   0


51336      470           470.4890251
                                                                 01

                                                                 56

                                                                 12

                                                                 67

                                                                 22

                                                                 78

                                                                 33

                                                                 52
                                                    32

                                                           54
                                                               12

                                                               18

                                                               25

                                                               31

                                                               38

                                                               44

                                                               51

                                                               53




53520      490           490.5238247                                      PSC码



            10/1/2012                                                                    16              IMAC          2007.5.10
                        PS OPI
BSR、BER、BPR 3rings
 4 panels per ring (BSR/BER/BPR):
         B、Q、S Monitor
         B、Q、S ON/OFF
         Corrector Monitor
         Corrector ON/OFF




 10/1/2012                    17   IMAC   2007.5.10
             BPR PS Monitor
 Left: region 2、3,Right: region 1、4
 8row info,
  Magnet/Knob/Status/Arlam/DESIMON/Setpoint/C
  urrent
 Ramping/STDZ/Execution Status Monitor




 10/1/2012               18      IMAC   2007.5.10
    PS Control Commissioning
 Device commissioning started region by region
 On one hand magnets were installed, on the
  other hand magnet PS remote controls were
  tested
 Short time for All PS control online testing
 PS ramping region by region put into operation
  at the beginning of the beam commissioning
 After the commissioning, start to develop the
  ramping program of the entire ring BSR
 Short testing time for ramping program


 10/1/2012                 19       IMAC   2007.5.10
                             PS Ramping
 SR Running: 2006.12.25 –2007.2.2
 Important Issue: Energy Ramping in BSR
 Requirements:
   All PS in BSR are ramped to the desired value synchronously
   (from 1.89GeV to 2.5GeV)
 Implementation:
   PS Control distributed(11 VME IOC)
   Ramping program in every IOC
             • EPICS event to trigger every ramping program
             • Real-time DB processing slow(60Hz clock) , different CPU load,
               synchronization problem
   Ramping program in a independent VME IOC
         Change EPICS clock from 60Hz to 600Hz
             • Real-time database processing fast
         write setpoint to setpoint DB of the all IOCs step by step
         Ramping procedure is getting fast



 10/1/2012                                     20              IMAC       2007.5.10
 B、Q、S PS Control Distribution
                                                                   B: 4
             :
         R14Q 58            :
                       R23Q 58
                                          R1234S: 45          1A/ 1B/
                                                             Q Q I SPB: 3
          DC: 6          DC: 6
                                            PSC: 8                +Q 3:
                                                             160Q 2+Q 16
         PSC: 11        PSC: 11
                                                                  PSC: 4

           Ecr
         VM at e1       Ecr
                      VM at e2             Ecr
                                         VM at e3               Ecr
                                                              VM at e4



          SCPS: 16
                     Cor r ect or : 48   Cor r ect or : 48   Cor r ect or : 48
           PAI
          Q C: 1
                          PSC: 8              PSC: 8              PSC: 8
           PSC: 3


            Ecr
          VM at e5      Ecr
                      VM at e6               Ecr
                                           VM at e7              Ecr
                                                               VM at e8


 PS distribution is different, B PS independent, Q/S PS+ DC PS
 1 DC power to 10 choppers,for example :5 OQ and 5 IQ
 Different PSC number in each VME crate:
    PVs Num. Different ,Different CPU load
 EPICS default clock : 60Hz PVs processing slow
 Ramping Program in each IOC: not synchronously
  10/1/2012                                             21                 IMAC   2007.5.10
              Three Stage Testing
Stage 1(first half of Dec. 2006)
         A ramping program in every IOC
         EPICS IOC clock 60Hz
Stage 2(second half of Dec. 2006)
         A ramping program in a independent IOC
         EPICS IOC clock 60Hz
Stage3(Jan. 2007)
         A ramping program in a independent IOC
         Change EPICS IOC clock from 60Hz to 600Hz



 10/1/2012                       22        IMAC    2007.5.10
      Stage 1(2006.11-2006.12)
                        a ramping program in every IOC
                        Dipole IOC propagate event to all IOCs.
                        Every Ramping program write setpoint to
                        RTDB step by step
                           initial and final current first given
                           The number of steps determined by
                                 (Desimon-setpoint)/Delta
                           Delta determined by the option in the OPI
                           Setpoint=Setpoint+Delta
                        resulting in ramping relevant hardware.
                        Problems:
                        Slow: (1.89GeV to 2.5GeV)
                        Sometimes, not synchronized
                        Continuing the ramping, a rapid beam
                        loss was encountered when the energy
VME crates in the network
                        reached


  10/1/2012                 23              IMAC      2007.5.10
                           Stage 2 (06.12)




    Re-arrange VME IOC distribution in the network
    All IOCs are connected to a way to minimize the unrelated network traffic.
    EPICS clock 60Hz
    A ramping program in a independent IOC, no synchronization problem
    Ramping Slow: 20 min. (1.89GeV to 2.5GeV)
    Reason:
       EPICS clock 60Hz resulting PVs processing slow
       Time interval between two steps must be long enough
    10/1/2012                                     24              IMAC       2007.5.10
                      Testing Results

            1.89Gev



                                      2.5Gev




                                    ~20min.




10/1/2012                      25              IMAC   2007.5.10
                   Stage 3(Jan. 07)
 Change EPICS clock from 60Hz to 600Hz
 Testing with beam( 2 times)(On Jan. 30)
  Current=46mA, slow speed,delta=0.5A,
         Ramping from 1.89GeV to 2.5GeV:5 min. no beam loss
  Current=47.89GeV, fast speed, delta=1.0A
         Ramping from 1.89GeV to 2.5GeV:1.5 min. a little bit beam
          loss
 Testing with beam(on Feb. 4)
  Current=250mA,fast speed, delta=1.0A
         Ramping from 1.89GeV to 2.5GeV(with 3 stops): ~1.5min. No
          beam loss
         Continuing the ramping, a beam loss was encountered when
          the energy reached


 10/1/2012                              26          IMAC     2007.5.10
                  Testing results

                      Max. Current



                                     1.89Gev



                                                      2.5Gev
            Current

                                     ~6min.           ~1.5min.




10/1/2012                            27        IMAC            2007.5.10
                   Testing results

                           Max. Current




                                            2.5Gev

       Current
                           1.89Gev


                 ~5 min.                     ~1.5min.




10/1/2012                            28   IMAC       2007.5.10
Energy(B current)/Lifetime/Current
Ramping no beam loss




  10/1/2012                          29   IMAC   2007.5.10
                   Summary
 Ramping program has a enough fast speed now
 Improvement on Ramping Quality with beam
 Different magnets, different PS, different
  magnetic field response
 Improvement next step:
  Linear ramping with smaller delta value (for eg. 10mA)
  Table ramping
 Current table related to the energy will be given
  by the AP group



 10/1/2012                     30         IMAC   2007.5.10
              System Performance

                                            BEPCII Control
    Parameter                               Value
    Total facility I/O channel count        20000
    Number of IOC                           30
    Console update rate                     <=10 Hz/channel
    Time to bring up new screen             <1 sec
    Maximum use of IOC capacity             50%
    Maximum IOC to IOC capacity             0.1 sec
    Time stamp resolution (EPICS)           ~20 ms
    Total archive capacity                  2gigabyte/day
    Total network bandwidth                 1000M/100Mbps




10/1/2012                              31          IMAC       2007.5.10
            Thanks!

10/1/2012      32   IMAC   2007.5.10

								
To top