1 / 15

PC and CAN Bus in Beam Loss Monitor System for NSRL

PC and CAN Bus in Beam Loss Monitor System for NSRL. Yonggang Cui, Beibei Shao Department of Engineering Physics, Tsinghua University Yuxiong Li National Synchrotron Radiation Laboratory. Introduction to NSRL HLS Implementation of BLM System Results and Analysis Conclusions. Contents.

zarola
Download Presentation

PC and CAN Bus in Beam Loss Monitor System for NSRL

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. PC and CAN Bus in Beam Loss Monitor System for NSRL Yonggang Cui, Beibei Shao Department of Engineering Physics, Tsinghua University Yuxiong Li National Synchrotron Radiation Laboratory

  2. Introduction to NSRL HLS Implementation of BLM System Results and Analysis Conclusions Contents Contents

  3. Introduction to NSRL and HLS First National Laboratory in China dedicated to Synchrotron Radiation 66.35m long, 800MeV electron storage ring – Hefei Light Source, with a 200MeV linac as its injector New Beam Loss Monitor System (BLM System ) installed in Phase II project. Introduction to NSRL and HLS

  4. The System employs PIN-photodiodes BLM detector designed by DESY. Detection efficiency to electrons (MIP) is 30%, 3 magnitudes higher than that to gamma ray Insensitive to gamma ray and background of synchrotron radiation around the electron storage ring The system gives beam losses information by detecting the charged shower particles produced by beam loss electrons when hitting the vacuum wall. Principle of Detecting the Beam Losses Introduction to NSRL and HLS

  5. Scheme of BLM System Structure Distributed system based on CAN bus. PC with Windows 98/NT is employed as console. 16 frontend machines distribute along the storage ring. 12 frontend machines are placed behind the bending magnets. The others locate at interested points, e.g. the end of straight section. Every front-end can drive two BLM detectors Front-end … ... PC Console with Windows 98/NT BLM Detectors CAN BUS Implementation of BLM System

  6. Scheme of BLM System Structure Independent System Structure Because the new control system has not finished yet when the BLM system was designed. Integration to the whole system is simple The communication part of console software => Middle layer The displaying part of console software => top layer Front-end … ... WS or PC Terminal BLM Detectors Ethernet Console with 98/NT or VME PC CAN BUS Implementation of BLM System

  7. Frontend Machine and Pulse Accumulator Every front-end can be divided into 3 parts: MCU Module CAN Bus Module Counter Module. The pulse accumulator in counting module: Two channels Counting frequency higher than 10MHz Free running ability: working continuously without losing any pulses, even when accessed by MCU EPLD Implemented (ALTERA) Pulses Input CAN BUS Counter Module CAN BUS Module LED & Control Signal Condition CAN Controller CAN Driver Dual-Channel Pulse Accumulator CAN Address Addr/Data BUS RS-232 MC68HC11A1 MCU RAM ( 40K ) ROM ( 8K ) Clock MCU Module Implementation of BLM System

  8. CAN Bus Communication in BLM System CAN Bus High speed differential bus with high reliability and robustness Multi-master and broadcast bus cost-effective design Solution CAN interface board on PC Cheap total solution from Philips for frontend Define the message format of data frames instead of using thee standard CAN application layer, e.g CAL, CANopen The definition is implemented as Simple CAN Application Interface (SCAI) in C language Implementation of BLM System

  9. Implementation of Software BeamEyes Application Software (Microsoft Visual C++ 6 with MFC) • Collecting Option • Beam Loss Data • System Parameters PC Console Document: CBeamEyesDoc SCAI CAN BUS Device Driver Pointers CAN BUS View 1: CCrossView Display BLM data in histogram CAN BUS ISR & I/O Function Display BLM data in curves View 2: CCurveView Front-end SCAI DAQ Software Implementation of BLM System

  10. Result I Beam lifetime includes Quantum lifetime Inelastic scattering Touschek lifetime Beam lifetime, esp. quantum lifetime became much more worse due to operators’ changing the running parameters Results and Analysis

  11. Result II Results and Analysis

  12. Conclusions The System is sensitive enough to detect beam losses. Right selection of BLM detector Correct design of pulse accumulator The BLM system based on PC and CAN bus is fast enough for real-time display. CAN bus is a high speed, high reliability bus. It’s a right candidate in field control. PC with Microsoft windows operating system is a reasonable selection in slow speed system. Conclusions

  13. Conclusions (continue) The BLM system can not only detect the beam losses, but also give much more help on machine study. Finding the reason of beam losses Optimizing the storage ring’s running parameters beam lifetime study Conclusions

  14. Picture of the Frontend Machine

  15. The End

More Related