天文研究与技术-国家天文台台刊
天文研究與技術-國傢天文檯檯刊
천문연구여기술-국가천문태태간
Astronomical Research & Technology-Publications of National Astronomical Observatories of China
2015年
4期
466-472
,共7页
梁波%袁智%邓辉%卫守林
樑波%袁智%鄧輝%衛守林
량파%원지%산휘%위수림
异构操作系统%RTS2%CCD%DirectShow%Socket
異構操作繫統%RTS2%CCD%DirectShow%Socket
이구조작계통%RTS2%CCD%DirectShow%Socket
A system with heterogeneous operating systems%RTS2%CCD%DirectShow%Socket
RTS2作为远程望远镜控制的开源框架,在天文自主观测领域得到了广泛的应用,在观测仪器中, CCD是天文望远镜系统中一个必不可少的组成部分。在实际工作环境中,部分CCD在Linux操作系统下缺乏支持,致使该设备无法在RTS2框架中协同工作,在无替代CCD的情况下导致整个望远镜系统无法正常使用。借助Windows下的DirectShow技术对视频设备的支持,在Linux与Windows异构操作系统间利用Socket 通信技术建立访问控制桥梁,从而扩展出一种新的CCD类型。通过测试, RTS2能借助该设备控制Windows下的CCD,并实时获取图像,研究取得了一定的成果:(1)使用DirectShow技术控制和访问Windows驱动模型(Windows Driver Model, WDM)的所有CCD获得一种通用的CCD访问方式;(2)借助Socket通信进行延伸对RTS2框架下的其他类型设备在异构操作系统下扩展具有参考意义。
RTS2作為遠程望遠鏡控製的開源框架,在天文自主觀測領域得到瞭廣汎的應用,在觀測儀器中, CCD是天文望遠鏡繫統中一箇必不可少的組成部分。在實際工作環境中,部分CCD在Linux操作繫統下缺乏支持,緻使該設備無法在RTS2框架中協同工作,在無替代CCD的情況下導緻整箇望遠鏡繫統無法正常使用。藉助Windows下的DirectShow技術對視頻設備的支持,在Linux與Windows異構操作繫統間利用Socket 通信技術建立訪問控製橋樑,從而擴展齣一種新的CCD類型。通過測試, RTS2能藉助該設備控製Windows下的CCD,併實時穫取圖像,研究取得瞭一定的成果:(1)使用DirectShow技術控製和訪問Windows驅動模型(Windows Driver Model, WDM)的所有CCD穫得一種通用的CCD訪問方式;(2)藉助Socket通信進行延伸對RTS2框架下的其他類型設備在異構操作繫統下擴展具有參攷意義。
RTS2작위원정망원경공제적개원광가,재천문자주관측영역득도료엄범적응용,재관측의기중, CCD시천문망원경계통중일개필불가소적조성부분。재실제공작배경중,부분CCD재Linux조작계통하결핍지지,치사해설비무법재RTS2광가중협동공작,재무체대CCD적정황하도치정개망원경계통무법정상사용。차조Windows하적DirectShow기술대시빈설비적지지,재Linux여Windows이구조작계통간이용Socket 통신기술건립방문공제교량,종이확전출일충신적CCD류형。통과측시, RTS2능차조해설비공제Windows하적CCD,병실시획취도상,연구취득료일정적성과:(1)사용DirectShow기술공제화방문Windows구동모형(Windows Driver Model, WDM)적소유CCD획득일충통용적CCD방문방식;(2)차조Socket통신진행연신대RTS2광가하적기타류형설비재이구조작계통하확전구유삼고의의。
As an open-source framework for remote telescope control with a Linux operating system, the RTS2 has been widely used in automatic observation using astronomical telescopes.Among various instruments a CCD is an essential part of an astronomical telescope system.However, there is a lack of technical support for operating CCD devices of a number of types under practical Linux environments, causing such a CCD device not functioning in the RTS2 framework.Without a replacement CCD the entire telescope system will be useless.Based on the function of the DirectShow technology in supporting video equipments under a WINDOWS operating system, we propose a method to use a Socket to establish communications between a Linux environment and a WINDOWS environment, so as to extend operations of a CCD into the LINUX environment.We have found from our test that a CCD device working under the WINDOWS but with its operations extended using our method can be controlled in the RTS2 to obtain real-time images.Our research has certain achievements:1) A commonly applicable method using the DirectShow is realized to access and control any CCD supported by a WINDOWS Driver Model.2) The extension of CCD operations within the RTS2 framework through Socket communication provides rather valuable reference for incorporating equipments of other types in a system with heterogeneous operating systems.