2011年,国家天文台兴隆基地1.26m红外望远镜进行了全面升级改造。主要讲述望远镜电控系统软件的设计与实现.用于实现望远镜各种观测策略和运动方式的自动化操作。为了提高稳定性和可靠性,软件基于有限状态机原理设计,定义了望远镜的状态集和动作集.以及各个状态间的状态转换图;同时给出了望远镜常见异常及其处理方式,并在本地控制的基础上提供远程控制接口。使得望远镜可方便纳入兴隆基地望远镜集中控制系统。该软件及其设计思想可推广至我国其他中小口径望远镜。
The 1.26m infrared telescope at the Xinglong Observertory of the National Astronomical Observertories (NAO) of the Chinese Academy of Sciences was extensively upgraded in 2011. In this paper we focus on the softeware for operations of its new servo system, which is to be used in automated operations of the telescope for various observational approaches and action modes. The softeware was designed based on the Finite State Machine to ensure stablity and relialibility. In designing the software we have specified the needed sets of states and actions of the telescope ; we have also specified transtions between the states. In addition, we present frequently encountered faults of the telescope and their solutions. The softeware supports remote control of the telescope, which makes it easy for the software to be incorporated into the centralized control system of the obserbvertory. The software and its design idea can be conveniently applied to other small- or median-sized telescopes in China.