Author: Chang, Y.-T.
Paper Title Page
THPEA049 Implementation of the EPICS Data Archive System for the TPS Project 3255
 
  • Y.-S. Cheng, Y.-T. Chang, J. Chen, P.C. Chiu, K.T. Hsu, C.H. Kuo, C.Y. Liao
    NSRRC, Hsinchu, Taiwan
 
  The EPICS frame­work was cho­sen as con­trol sys­tem in­fra­struc­ture for the new pro­ject of 3 GeV syn­chro­tron light source (Tai­wan Pho­ton Source, TPS). Var­i­ous con­trol sys­tem pro­to­types of TPS with the EPICS mech­a­nism have been grad­u­ally built and tested. One EPICS archive sys­tem is nec­es­sary to be de­vel­oped to record var­i­ous ma­chine pa­ra­me­ters and sta­tus in­for­ma­tion for long time log­ging. The archive sys­tem of CSS (Con­trol Sys­tem Stu­dio) which named BEAUTY (Best Ever Archive Toolset, yet) was built to be used as the TPS data archive sys­tem in 3rd quar­ter of 2012. An archive en­gine takes PV data from EPICS IOCs via chan­nel ac­cess, and stores them in the data stor­age. The Post­greSQL RDB (Re­la­tional Data­base) was adopted as the data stor­age for the BEAUTY. Both the his­toric PVs data and the archive en­gine con­fig­u­ra­tion are saved into the same RDB. The archived data can be re­trieved in a form of graph­i­cal rep­re­sen­ta­tion using the CSS-based data browser. Tak­ing the per­for­mance and re­dun­dancy into con­sid­er­a­tions, the stor­age servers and RDB table struc­tures are tuned rel­a­tively. The ef­forts will be de­scribed at this re­port.