CN102681516B - Interface system and method for implementing communication between monochromator and spectroscopic microscope - Google Patents

Interface system and method for implementing communication between monochromator and spectroscopic microscope Download PDF

Info

Publication number
CN102681516B
CN102681516B CN201210163250.8A CN201210163250A CN102681516B CN 102681516 B CN102681516 B CN 102681516B CN 201210163250 A CN201210163250 A CN 201210163250A CN 102681516 B CN102681516 B CN 102681516B
Authority
CN
China
Prior art keywords
module
monochromator
server
control module
microscope
Prior art date
Application number
CN201210163250.8A
Other languages
Chinese (zh)
Other versions
CN102681516A (en
Inventor
刘平
王勇
郑丽芳
Original Assignee
中国科学院上海应用物理研究所
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中国科学院上海应用物理研究所 filed Critical 中国科学院上海应用物理研究所
Priority to CN201210163250.8A priority Critical patent/CN102681516B/en
Publication of CN102681516A publication Critical patent/CN102681516A/en
Application granted granted Critical
Publication of CN102681516B publication Critical patent/CN102681516B/en

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

本发明提供一种实现单色器与谱学显微镜通信的接口系统和方法。 The present invention provides an interface system and method for communicating with a spectral monochromator microscope achieved. 所述单色器包括单色器控制模块,所述谱学显微镜包括谱学显微镜控制模块,其中所述接口系统包括依次连接在所述谱学显微镜控制模块与所述单色器控制模块之间的服务器模块和接口工具模块。 The monochromator comprises a monochromator control module, comprising the spectral microscope spectroscopic microscope control module, wherein the interface system comprises a sequentially connected between the spectral microscope control module and the control module monochromator the server modules and interface tool module. 所述服务器模块一方面接收所述谱学显微镜控制模块发送的控制信息,并通过所述接口工具模块将所述控制信息传送至所述单色器控制模块;另一方面通过所述接口工具模块接收所述单色器控制模块发送的反馈信息,并将所述反馈信息传送至所述谱学显微镜控制模块。 The server module receives the control information aspect of the spectral transmission of the microscope control module, via said interface means and said control module transmits information to the control module monochromator; hand tool via the interface module the monochromator receiver control module to send the feedback information and the feedback information is transmitted to the microscope control module spectroscopy. 从而,实现谱学显微镜控制模块与单色器控制模块之间的数据交互。 Thereby, a spectrum of monochromatic microscope control module controls data exchange between modules.

Description

实现单色器与谱学显微镜通信的接口系统和方法 The system implements the interface to communicate with the microscope monochromator and spectroscopy methods

技术领域 FIELD

[0001] 本发明主要涉及两种光学设备之间的接口,尤其涉及一种实现单色器与谱学显微镜通信的接口系统和方法。 [0001] The present invention relates to an interface between the two optical devices, more particularly to a monochromator interface system and method to realize communication spectroscopy microscope.

背景技术 Background technique

[0002] EPICS (实验物理及工业控制系统)平台是一个基于网络的分布式控制系统,是世界上大型加速器等科学装置的免费控制软件,它源码公开,可自由下载,运行稳定、系统结构灵活、扩展性好,而且EPICS支持的硬件类型多达上百种,并提供良好的技术支持。 [0002] EPICS (Experimental Physics and Industrial Control System) platform is a network-based distributed control systems, control software in the world is free of large accelerators and other scientific means, it open source, free to download, stable, flexible system architecture , scalability, and EPICS support up to hundreds of types of hardware, and provide good technical support. 上海光源首批7条光束线控制系统全部采用EPICS,建立起标准化的光束线控制系统,这样的系统在国际上也只有少数几个同步辐射装置上应用,在国内更是一项全新尝试。 Shanghai article first seven beamlines light source control system used in all EPICS, establish a standardized beamline control system, such a system is also only a few applications on synchrotron radiation in the world, in the country is a new attempt.

[0003] 同步辐射广泛应用于基础科学研究和应用研究领域。 [0003] synchrotron radiation is widely used in the field of basic science and applied research. 同步辐射装置包括光束线站部分和实验站部分,光束线站部分主要采用单色器来获得不同能量值的单色X射线。 It comprises a synchrotron radiation beamlines portion and experimental station portion, some of the major beamlines monochromator to obtain an X-ray monochromator different energy values. 通过转动单色器的两块晶体,改变其布拉格角度,将入射的白光变为出射时不同能量值的单色光。 By rotating the two monochromator crystals, the Bragg angle change, the incident white light becomes monochromatic light energy value at a different exit. 一定能量值的单色光对应于单色器的一个角度位置,当单色器转动到某一角度,就称其转动到某一能量点,该能量点对应的能量值称为单色器的能量值。 Monochromatic light energy value corresponding to a certain angular position of a monochromator, the monochromator when rotated to a certain angle, it is referred to a rotational energy points, the energy points corresponding to the energy value is called monochromator Energy value. 实验站部分主要采用谱学显微镜来采集在不同能量X射线下的化学元素(比如铁元素)分布形态,即X光吸收谱。 Experimental Station part mainly spectroscopy microscope to acquire X-rays at different energies chemical elements (such as iron) distribution pattern, i.e., X-ray absorption spectrum.

[0004] 在例如样品的X光吸收谱实验中,需要谱学显微镜与单色器进行联动,即谱学显微镜采集完样品在某一能量值的X射线下的X光吸收谱后,需要设置单色器的能量值为下一个目标能量值,以采集样品在下一个能量值的X射线下的X光吸收谱,重复这样的步骤,直到采集完样品在所有目标能量值的X射线下的X光吸收谱。 [0004] For example in X-ray absorption spectrum of the sample in the experiment, and the required spectral monochromator microscope linkage, i.e., spectroscopy microscopy After X samples under X-ray energy value of a light absorption spectrum acquisition, you need to set monochromator energy value of the next target energy value to the X values ​​of the energy collection the next sample of the X-ray optical absorption spectra, repeating such steps until X samples collected at the X-ray target energy value of all light absorption spectrum. 两个目标能量值之间的步长很小,比如0.5eV (电子伏特),如果目标能量值的范围在800eV到900eV之间,每隔0.5eV的步长采集一次,则完成一个实验需要采集200次。 A small step between the two target energy value, such as 0.5eV (electron volts), if the range of the target energy value between 800eV to 900eV, every time acquisition step to 0.5eV, the experiment needs to collect a complete 200 times. 如果仅靠手动来设置单色器的不同目标能量值,显然耗时耗力,效率低,而且还可能产生误差导致实验结果不精确。 If only manually set a different target energy value of the monochromator, obviously time-consuming, inefficient, but also may lead to inaccurate results errors.

[0005] 因此,需要设计一种实现谱学显微镜与单色器自动联动的方案,以满足实验需求。 [0005] Accordingly, to achieve desirable to design a spectral monochromator and an automatic microscope linkage programs to meet the needs of the experiment. 单色器包括单色器控制模块,谱学显微镜包括谱学显微镜控制模块。 Monochromator monochromator comprising a control module, comprising a spectral microscope spectroscopic microscope control module. 因此,需要提供一种通信接口,使谱学显微镜控制模块可以通过该接口向单色器控制模块发送控制信息,单色器控制模块又可以通过该接口向谱学显微镜控制模块发送反馈信息,从而实现谱学显微镜与单色器的数据交互。 Therefore, desirable to provide a communication interface, so that the spectral microscope control module may control module via the interface to transmit control information monochromator, the monochromator and the control module may send feedback information to the control module spectroscopy microscope via the interface, so that Spectroscopic data exchange realized microscope and monochromator.

发明内容 SUMMARY

[0006] 为了解决上述问题,本发明一方面提供一种实现单色器与谱学显微镜通信的接口系统及其方法,以实现单色器与谱学显微镜之间的自动联动。 [0006] In order to solve the above problems, an aspect of the present invention provides a monochromator system interface and communication method implemented spectroscopy microscope, for automatic linkage between the monochromator and spectrum microscope.

[0007] 为实现上述目的,本发明一方面提供以下技术方案: [0007] To achieve the above object, an aspect of the present invention provides the following technical solutions:

[0008] 一种实现单色器与谱学显微镜通信的接口系统,所述单色器包括单色器控制模块,所述谱学显微镜包括谱学显微镜控制模块,其特征在于,所述接口系统包括依次连接在所述谱学显微镜控制模块与所述单色器控制模块之间的服务器模块和接口工具模块,其中, [0008] communicate with one implementation monochromator spectroscopy microscope interface system, said monochromator comprises a monochromator control module, comprising the spectral microscope spectroscopic microscope control module, wherein the interface system comprising sequentially connected in the spectral microscope control module and the server module monochromator control module and the interface between the tool module,

[0009] 所述服务器模块一方面接收所述谱学显微镜控制模块发送的控制信息,并通过所述接口工具模块将所述控制信息传送至所述单色器控制模块;另一方面通过所述接口工具模块接收所述单色器控制模块发送的反馈信息,并将所述反馈信息传送至所述谱学显微镜控制|吴块。 [0009] In one aspect of the server module receives the control information spectroscopy microscope transmission control module and the interface means via the control module transmits information to the control module monochromator; the other hand, by widget control module receives the monochromator feedback information sent by the module, and transmitting the feedback information to control the spectral microscope | WU block.

[0010] 进一步地,所述服务器模块包括依次连接在所述谱学显微镜控制模块与所述接口工具模块之间的EPICS硬IOC服务器和EPICS软IOC服务器,其中, [0010] Preferably, the server module comprises sequentially connected between the spectral microscope widget control module and the module EPICS EPICS soft and hard server IOC IOC server, wherein,

[0011] 一方面,所述EPICS硬IOC服务器通过网络协议接收所述控制信息,并将所述控制信息记录在其生成的Motor记录中,再通过网络协议将所述Motor记录传送至所述EPICS软IOC服务器;所述EPICS软IOC服务器将所述Motor记录包含的所述控制信息记录在其生成的PV记录中,并通过所述接口工具模块将所述PV记录传送至所述单色器控制模块; [0011] In one aspect, the hard EPICS IOC server receives the control information and the control information is recorded in the recording Motor it generates, through the network protocol of the record to the Motor EPICS through a network protocol IOC soft server; the server EPICS soft IOC Motor recording the control information contained in the recording PV record it generates, and the interface means via the PV module is transmitted to the recording control monochromator module;

[0012] 另一方面,所述EPICS软IOC服务器通过所述接口工具模块接收所述反馈信息,并将所述反馈信息记录在所述PV记录中,再通过网络协议将所述PV记录传送至所述EPICS硬IOC服务器;所述EPICS硬IOC服务器将所述PV记录包含的所述反馈信息记录在所述Motor记录中,并通过所述网络协议将所述Motor记录传送至所述谱学显微镜控制模块。 [0012] On the other hand, the IOC EPICS soft tool server through the interface module receives the feedback information and the feedback information is recorded in the PV record, and then through a network protocol record to the PV the hard EPICS IOC server; hard EPICS the server, the IOC PV record contains the feedback information is recorded in the recording Motor, through the network protocol and the transfer to the recording Motor spectroscopy microscope control module.

[0013] 进一步地,所述EPICS硬IOC服务器设置在一VME机箱中。 [0013] Further, the hard EPICS IOC server provided a VME chassis.

[0014] 本发明另一方面提供一种基于前述接口系统实现单色器与谱学显微镜通信的方法,其中,所述方法包括以下步骤: [0014] In another aspect the present invention provides an interface to the system to realize a monochromator spectroscopy and microscopy methods based communications, wherein the method comprises the steps of:

[0015] 步骤1,通过所述服务器模块接收所述谱学显微镜控制模块发送的控制信息,并通过所述接口工具模块将所述服务器模块接收的所述控制信息传送至所述单色器控制模块; [0015] Step 1 receiving the control information spectroscopy by the microscope control module sends the server module, and the interface means via the server module to the control module receives information to control the monochromator module;

[0016] 步骤2,通过所述接口工具模块将所述单色器控制模块发送的反馈信息传送至所述服务器模块,并使所述服务器模块将所述反馈信息传送至所述谱学显微镜控制模块。 [0016] Step 2, through the interface module to said monochromator means controls the transmission module transmits feedback information to the server module, the server module and the feedback information is transmitted to the microscope control spectroscopy module.

[0017] 前述一种实现单色器与谱学显微镜通信的方法,其中,所述步骤I进一步包括: [0017] In said monochromator and a communication method implemented spectroscopy microscope, wherein said step I further comprising:

[0018] 利用所述EPICS硬IOC服务器通过网络协议接收所述控制信息,并将所述控制信息记录在其生成的Motor记录中,再通过网络协议将所述Motor记录传送至所述EPICS软IOC服务器; [0018] using the EPICS IOC hard server receives the control information through the network protocol, and the control information is recorded in the recording Motor it generates, through the network protocol of the record to the Motor EPICS soft IOC server;

[0019] 利用所述EPICS软IOC服务器将所述Motor记录包含的所述控制信息记录在其生成的PV记录中,并通过所述接口工具模块将所述PV记录传送至所述单色器控制模块。 [0019] using the EPICS soft IOC Motor said server comprises recording control information is recorded in the recording PV it generates, and the interface means via the PV module is transmitted to the recording control monochromator module.

[0020] 前述一种实现单色器与谱学显微镜通信的方法,其中,所述步骤2进一步包括: [0020] In said monochromator and a communication method implemented spectroscopy microscope, wherein said step 2 further comprises:

[0021] 利用所述EPICS软IOC服务器通过所述接口工具模块接收所述反馈信息,并将所述反馈信息记录在所述PV记录中,再通过网络协议将所述PV记录传送至所述EPICS硬IOC服务器; [0021] using the EPICS soft IOC server module via said interface means receives the feedback information and the feedback information is recorded in the PV record, then the network protocol of the record to the PV EPICS hard IOC server;

[0022] 利用所述EPICS硬IOC服务器将所述PV记录包含的所述反馈信息记录在所述Motor记录中,并通过所述网络协议将所述Motor记录传送至所述谱学显微镜控制模块。 [0022] using the EPICS hard server, the IOC PV record contains the feedback information is recorded in the recording Motor, through the network protocol and the Motor record to the microscope control module spectroscopy.

[0023] 终上所述,通过本发明的实现单色器与谱学显微镜通信的接口系统和方法,使得谱学显微镜控制模块可以向单色器控制模块发送控制信息,同时单色器控制模块又可以向谱学显微镜控制模块发送反馈信息。 [0023] The upper end, via the interface system and method to realize communication with a monochromator spectrum microscope of the present invention, so that the spectroscopy module can control the microscope to the control module transmitting control information monochromator, while the control module monochromator and may send feedback information to the control module spectroscopy microscope. 从而实现了谱学显微镜与单色器之间的数据交互,使谱学显微镜和单色器可以自动联动。 Enabling the data exchange between the monochromator and spectrum microscope, and the microscope so that the spectrum can be automatically linked monochromator. 与谱学显微镜和单色器之间的手动联动相比,自动联动显然更加省时省力,而且工作效率更高,操作更加精确。 And manually between the monochromator and spectrum microscope compared linkage, the linkage automatically clearly more time-saving, and higher efficiency, greater precision.

附图说明 BRIEF DESCRIPTION

[0024] 图1是本发明实现单色器与谱学显微镜通信的接口系统的原理框图; [0024] FIG. 1 is a block diagram of the present invention is implemented with interface system monochromator spectrum communication microscope;

[0025] 图2是本发明实现单色器与谱学显微镜通信的方法的流程图。 [0025] FIG 2 is a flowchart of the present invention to achieve a method and a monochromator spectrum communication microscope.

具体实施方式 Detailed ways

[0026] 下面根据附图,给出本发明的较佳实施例,并予以详细描述,使能更好地理解本发明的功能、特点。 [0026] According to the following drawings, preferred embodiments of the present invention are given embodiment, and the detailed description shall enable a better understanding of the functions of the present invention, characteristics.

[0027] 图1示出了根据本发明实现单色器与谱学显微镜通信的接口系统,其中单色器包括单色器控制模块101,谱学显微镜包括谱学显微镜控制模块104,该接口系统包括依次连接在单色器控制模块101与谱学显微镜控制模块104之间的接口工具模块102和服务器模块103。 [0027] FIG. 1 shows a system according to the present invention achieves an interface with a microscope communication spectroscopy monochromator, the monochromator which comprises a monochromator control module 101, spectral microscope comprising a spectral microscope control module 104, the interface system monochromator comprising sequentially connected tool module control interface between the module 101 and control module 104 spectroscopy microscope 102 and server module 103.

[0028] 谱学显微镜控制模块104提供用于控制单色器(未示出)的控制信息,通过本发明的接口系统将该控制信息传送至单色器控制模块101,单色器控制模块101将该控制信息记录到其生成的对应的控制变量。 [0028] Spectral microscope control module 104 provides control information for controlling the monochromator (not shown), through the interface system of the present invention transmits the control information to monochrome control module 101, control module 101 monochromator the recording control information to its corresponding control variable generated. 其中,该控制信息主要包括控制或者读取单色器的相关物理变量(例如单色器的能量值)。 Wherein the control information includes the control-related physical variables or read (e.g. energy values ​​monochromator) monochromator. 与控制信息对应的控制变量包括物理参数回读变量(例如表示读取单色器的当前能量值的变量Energy)、物理参数设置变量(例如表示期望的单色器的目标能量值的变量EnergySet)和布尔控制变量(例如表示执行单色器转动到目标能量值的动作的变量EnergyGo,)。 Control variable corresponding to the control information includes physical parameters readback variables (e.g., variable representing the current energy value read monochromator Energy), variable physical parameter (e.g., the target energy value variable representing a desired monochromator EnergySet) and Boolean control variable (e.g. EnergyGo variable representing an operation performed monochromator is rotated to the target energy value,). 单色器控制模块101根据控制信息控制单色器并向谱学显微镜控制模块104发送反馈信息。 Monochromator control module 101 controls based on the control information and spectral monochromator microscope control module 104 transmits the feedback information. 该反馈信息也通过本发明的接口系统接传送至谱学显微镜控制模块104。 The feedback information is also connected to the transmission spectra through the microscope control module 104 of the interface system of the present invention. 其中,单色器控制模块101的软件开发环境基于LabVIEW开发环境。 Wherein, the control module 101 of the monochromator software development environment based on LabVIEW development environment.

[0029]接口工具模块 102 可以采用LabVIEW/EPICS ShareMemory Interface 接口,LabVIEff/EPICS ShareMemory Interface接口为第三方软件,该软件可在网上自由下载,用于实现Labview和EPICS之间的数据交换。 [0029] Interface module 102 may employ tools LabVIEW / EPICS ShareMemory Interface interfaces, LabVIEff / EPICS ShareMemory Interface interfaces to third-party software, the software may be freely downloaded from the Internet, for data exchange between Labview and EPICS. 在本发明中主要作为单色器控制模块101和服务器模块103之间的数据交互通道。 In the present invention, primarily as a monochromator the control data exchange between the channel module 101 and server module 103.

[0030] 服务器模块103包括依次连接在接口工具模块102与谱学显微镜控制模块104之间的EPICS软IOC (输入输出控制器)服务器1031和EPICS硬IOC服务器1032。 [0030] The server module 103 comprises in turn connected between the interface module 102 and the tool spectroscopy microscope control module 104 EPICS soft IOC (Input Output Controller) server 1031 and server 1032 IOC EPICS hard. 其中,EPICS硬IOC服务器1032生成Motor (马达)记录,EPICS软IOC服务器1031生成与Motor记录相对应的PV (过程变量)记录。 Wherein, EPICS server hard IOC 1032 generates Motor (motor) recording, EPICS soft IOC server 1031 generates a record corresponding Motor PV (process variable) is recorded.

[0031] 首先,EPICS硬IOC服务器1032通过网络CA (通道访问)协议接收谱学显微镜控制模块104发送的控制信息,并将该控制信息记录在其生成的Motor记录中,再通过网络CA协议将该Motor记录传送至EPICS软IOC服务器1031 ;EPICS软IOC服务器1031将该Motor记录包含的控制信息记录在其生成的PV记录中,并通过接口工具模块102将该PV记录传送至单色器控制模块101,单色器控制模块101将该PV记录包含的控制信息记录在其生成的控制变量中,并根据该控制信息来控制单色器。 [0031] First, the server 1032 receives the EPICS IOC hard spectroscopy microscope control information 104 transmitted by the network control module CA (access channel) protocol, and the control information is recorded in the recording Motor it generates, then the protocol through the network CA Motor transmitted to the recording server EPICS soft IOC 1031; EPICS soft IOC control information the server 1031 are recorded in the recording Motor PV record it generates, via the control module and interface means the PV module 102 records to the monochromator 101, monochromator control information the PV module 101 are recorded in the record it generates a control variable, and controls the monochromator in accordance with the control information.

[0032] 然后,单色器控制模块101向谱学显微镜控制模块104发送反馈信息。 [0032] Then, the control module 101 monochromator control module 104 to transmit the feedback information spectroscopy microscope. EPICS软IOC服务器1031通过接口工具模块102接收该反馈信息,并将该反馈信息记录在其生成的PV记录中,再通过网络CA协议将该PV记录传送至EPICS硬IOC服务器1032 ;EPICS硬IOC服务器1032将该PV记录包含的反馈信息记录在其生成的Motor记录中,并通过网络CA协议将该Motor记录传送至谱学显微镜控制模块104。 EPICS soft IOC tool server 1031 via the interface module 102 receives the feedback information and the feedback information is recorded in recording it generates PV, PV and then transfers the record to the hard EPICS IOC server 1032 through the network CA protocol; EPICS IOC server hard the feedback information 1032 are recorded in the PV records recorded Motor generated and transmitted to the spectrum recorded microscope Motor control module 104 via the network CA protocol.

[0033] 其中,EPICS硬IOC服务器1032的硬件平台基于VME机箱3,软件平台基于VxWorks实时操作系统;单色器控制模块101、接口工具模块102和EPICS软IOC服务器1031的硬件平台都基于第一计算机I ;谱学显微镜控制模块104的硬件平台基于第二计算机2。 [0033] wherein, the hard EPICS IOC based server hardware platforms 1032 VME chassis 3, the software platform based on VxWorks real time operating system; monochromator control module 101, the widget modules 102 and EPICS soft IOC server 1031 based on the first hardware platform the computer I; spectroscopy microscope control hardware platform based on the second computer module 104 2. 图2示出了基于图1的接口系统实现单色器与谱学显微镜通信的方法,该方法的流程如下: Figure 2 illustrates an interface system of Figure 1 to realize a monochromator and a communication method based on spectroscopy microscopy, flow of the method is as follows:

[0034] 利用EPICS硬IOC服务器1032通过网络CA协议接收谱学显微镜控制模块104发送的控制信息,并将该控制信息记录在其生成的Motor记录中,再通过网络CA协议将该Motor记录传送至EPICS软IOC服务器1031。 [0034] The use of hard EPICS IOC server 1032 receives the control information spectroscopy microscope control module 104 CA protocol sent over the network, and the control information is recorded in the recording Motor it generates, via a network re-record to the CA protocol Motor EPICS soft IOC server 1031. 利用EPICS软IOC服务器1031将该Motor记录包含的控制信息记录在其生成的PV记录中,并通过接口工具模块102将该PV记录传送至单色器控制模块101。 EPICS soft IOC server 1031 using the control information are recorded in the recording Motor PV record it generates, and transmits to monochrome control module 101 via the interface module 102. The PV record tool. 单色器控制模块101会将该PV记录包含的控制信息记录在其生成的控制变量中,并根据该控制信息来控制单色器,然后向谱学显微镜控制模块104发送反馈信息。 Monochromator information module 101 will control the PV records are recorded in the control variable in its generation, and controls the monochromator in accordance with the control information, and control module 104 to transmit the feedback information spectroscopy microscope.

[0035] 利用EPICS软IOC服务器1031通过接口工具模块102接收该反馈信息,并将该反馈信息记录在其生成的PV记录中,再通过网络CA协议将该PV记录传送至EPICS硬IOC服务器1032。 [0035] using EPICS soft IOC 1,031,102 server receives the feedback information through the interface tool module, and the feedback information is recorded in recording it generates PV, PV and then transfers the record to the hard EPICS IOC CA server 1032 through a network protocol. 利用EPICS硬IOC服务器1032将该PV记录包含的反馈信息记录在其生成的Motor记录中,并通过网络CA协议将该Motor记录传送至谱学显微镜控制模块104。 Feedback information server 1032 using the EPICS IOC hard PV records are recorded in the recording Motor it generates, and transmits to the recorded spectra microscope Motor control module 104 via the network CA protocol.

[0036] 例如,当谱学显微镜控制模块104发送的控制信息为读取单色器的当前能量值时,首先利用EPICS硬IOC服务器1032通过网络CA协议接收该控制信息,并将该控制信息记录在其生成的Motor记录中,该Motor记录预先设置为包括field(RDBL, 〃X08U1:MO:Energy:Al NPP MS〃)域的Motor 记录。 [0036] For example, when the control information is spectrum microscope transmission control module 104 is a read current monochromator energy value using the first hard EPICS IOC server 1032 receives the control information through the network CA protocol, and the control information is recorded Motor recorded in generated, the previously set comprising Motor recording field (RDBL, 〃X08U1: Al NPP MS〃 MO:: Energy) Motor recording domain. 然后再通过网络CA协议将该Motor记录传送至EPICS软IOC服务器1031,EPICS软IOC服务器1031将该Motor记录包含的控制信息记录在其生成的PV记录中,该PV记录预先设置为X08U1:0P:MO = Energy:Al。 And then transferred to the recording Motor EPICS soft IOC server 1031 through the network CA protocol, the control information server 1031 the EPICS soft IOC Motor recording are recorded in the record the generated PV, the PV record previously set X08U1: 0P: MO = Energy: Al. 该PV记录再通过LabVIEW/EPICS ShareMemory Interface接口传送至单色器控制模块101,单色器控制模块101将该PV记录包含的控制信息记录在其预先生成的控制变量Energy中。 The PV record through the LabVIEW / EPICS ShareMemory Interface monochromator transmitted to the interface control module 101, a monochrome control the PV control module 101 are recorded in the record control variable which previously generated Energy. 由前面可知,Energy是一个物理参数回读变量,其表示读取单色器的当前能量值。 Seen from the foregoing, one physical parameter Energy is read back variable, which represents the current energy value read monochromator. 所以单色器控制模块101根据该控制信息读取单色器的当前能量值并将读取到的当前能量值作为反馈信息发送。 Therefore monochromator control module 101 controls the current energy value based on the read information monochromator and the read current energy value is transmitted as feedback information.

[0037] EPICS 软IOC 服务器1031 通过LabVIEW/EPICS ShareMemory Interface 接口接收该反馈信息,并将该反馈信息记录在其生成的PV记录“X08Ul:0P:M0:Energy:AI”中,再通过网络CA协议将该PV记录传送至EPICS硬IOC服务器1032 ;EPICS硬IOC服务器1032将该PV记录包含的反馈信息记录在其生成的包括field(RDBL,"X08U1:MO:Energy:Al NPPMS")域的Motor记录中,并通过网络CA协议将该Motor记录传送至谱学显微镜控制模块104。 [0037] EPICS soft IOC server 1031 LabVIEW / EPICS ShareMemory Interface interface receives the feedback information and the feedback information recorded thereon generating a PV record "X08Ul: 0P: M0: Energy: AI", and then the network protocol CA IOC is transmitted to the server 1032 the hard EPICS PV records; feedback information server 1032 the IOC EPICS hard PV records are recorded in the generating comprises field (RDBL, "X08U1: MO: Energy: Al NPPMS") Motor recording areas and record spectra transmitted to the microscope control module 104 via network Motor CA protocol.

[0038] 应该理解,上面提到的Energy只是一个名称,当然可以用其它名称代替。 [0038] It should be appreciated, the above-mentioned Energy just a name, of course, may be replaced by other names.

[0039] 以上所述的,仅为本发明的较佳实施例,并非用以限定本发明的范围,本发明的上述实施例还可以做出各种变化。 [0039] The above are only preferred embodiments of the present invention is not intended to limit the scope of the present invention, the above-described embodiments of the present invention, various modifications may be made. 即凡是依据本发明申请的权利要求书及说明书内容所作的简单、等效变化与修饰,皆落入本发明专利的权利要求保护范围。 I.e., all according to the present invention as claimed in the claims and specification disclosure content made by simple modifications and equivalent arrangements, the present invention are claimed in the patent falls within the scope of claims.

Claims (5)

1.一种实现单色器与谱学显微镜通信的接口系统,所述单色器包括单色器控制模块,所述谱学显微镜包括谱学显微镜控制模块,所述接口系统包括依次连接在所述谱学显微镜控制模块与所述单色器控制模块之间的服务器模块和接口工具模块,其中, 所述服务器模块一方面接收所述谱学显微镜控制模块发送的控制信息,并通过所述接口工具模块将所述控制信息传送至所述单色器控制模块;另一方面通过所述接口工具模块接收所述单色器控制模块发送的反馈信息,并将所述反馈信息传送至所述谱学显微镜控制模块; 其特征在于,所述服务器模块包括依次连接在所述谱学显微镜控制模块与所述接口工具模块之间的EPICS硬IOC服务器和EPICS软IOC服务器,其中, 一方面,所述EPICS硬IOC服务器通过网络协议接收所述控制信息,并将所述控制信息记录在其生成的Motor An implement interface system in communication with the monochromator spectroscopy microscope, said monochromator comprises a monochromator control module, the spectral microscope spectroscopic microscope comprising a control module, said interface system comprising sequentially connected in the said spectral microscope control module and the server module monochromator control module and the interface between the tool module, wherein the server module receives the spectral aspect microscope control information transmitted from the control module, via said interface tool module transmits the control information to the control module monochromator; on the other hand receives the feedback information control module monochromator transmitted through the interface tool module, and transmitting the feedback information to the spectrum microscope control module; wherein the server module includes a hard turn connected EPICS EPICS soft IOC IOC server and between the server control module microscope spectroscopy tool with the interface module, wherein, on the one hand, the hard EPICS IOC control server receives the information through the network protocol, and the control information is recorded in it generates Motor 记录中,再通过网络协议将所述Motor记录传送至所述EPICS软IOC服务器;所述EPICS软IOC服务器将所述Motor记录包含的所述控制信息记录在其生成的PV记录中,并通过所述接口工具模块将所述PV记录传送至所述单色器控制模块; 另一方面,所述EPICS软IOC服务器通过所述接口工具模块接收所述反馈信息,并将所述反馈信息记录在所述PV记录中,再通过网络协议将所述PV记录传送至所述EPICS硬IOC服务器;所述EPICS硬IOC服务器将所述PV记录包含的所述反馈信息记录在所述Motor记录中,并通过所述网络协议将所述Motor记录传送至所述谱学显微镜控制模块。 Recording, through the network protocol of the record to the Motor EPICS soft IOC server; the server EPICS soft IOC Motor recording the control information contained in the recording PV record it generates, by the said interface means the PV module is transmitted to the recording control module monochromator; on the other hand, the IOC EPICS soft tool server through the interface module receives the feedback information and the feedback information is recorded in the said PV record, then the network protocol of the PV record to the hard EPICS IOC server; hard EPICS the server, the IOC PV record contains the feedback information is recorded in the recording Motor, and by the network protocol of the record to the spectral Motor microscope control module.
2.如权利要求1所述的实现单色器与谱学显微镜通信的接口系统,其特征在于,所述EPICS硬IOC服务器设置在一VME机箱中。 2. The implement communication with a monochromator spectrum microscope interface system according to claim 1, wherein said hard EPICS IOC server provided a VME chassis.
3.一种基于权利要求1或2所述的接口系统实现单色器与谱学显微镜通信的方法,其特征在于,所述方法包括以下步骤: 步骤I,通过所述服务器模块接收所述谱学显微镜控制模块发送的控制信息,并通过所述接口工具模块将所述服务器模块接收的所述控制信息传送至所述单色器控制模块; 步骤2,通过所述接口工具模块将所述单色器控制模块发送的反馈信息传送至所述服务器模块,并使所述服务器模块将所述反馈信息传送至所述谱学显微镜控制模块。 An interface system based on claim 12 or monochromator implemented method of spectroscopy and microscopy communication claim, characterized in that the method comprises the following steps: Step I, the spectral receiving by the server module microscope control module controls the information transmitted, by said interface module to the server module means receiving the control information to the control module monochromator; step 2, through the interface module of the single tool color control module transmits feedback information to the server module, the server module and the feedback information is transmitted to the microscope control module spectroscopy.
4.如权利要求3所述的实现单色器与谱学显微镜通信的方法,其特征在于,所述步骤I进一步包括: 利用所述EPICS硬IOC服务器通过网络协议接收所述控制信息,并将所述控制信息记录在其生成的Motor记录中,再通过网络协议将所述Motor记录传送至所述EPICS软IOC服务器; 利用所述EPICS软IOC服务器将所述Motor记录包含的所述控制信息记录在其生成的PV记录中,并通过所述接口工具模块将所述PV记录传送至所述单色器控制模块。 4. Method to realize a monochromator and spectrum communication microscope according to claim 3, wherein said step I further comprising: using the EPICS IOC hard server receives the control information through a network protocol, and Motor control information is recorded in said recording it generates, through the network protocol of the record to the Motor EPICS soft IOC server; the server using the EPICS soft IOC Motor recording the recording control information comprises in the PV record it generates, and the interface means via the PV module is transmitted to the recording control module monochromator.
5.如权利要求3所述的实现单色器与谱学显微镜通信的方法,其特征在于,所述步骤2进一步包括: 利用所述EPICS软IOC服务器通过所述接口工具模块接收所述反馈信息,并将所述反馈信息记录在所述PV记录中,再通过网络协议将所述PV记录传送至所述EPICS硬IOC服务器; 利用所述EPICS硬IOC服务器将所述PV记录包含的所述反馈信息记录在所述Motor记录中,并通过所述网络协议将所述Motor记录传送至所述谱学显微镜控制模块。 5. The method implemented monochromator and spectrum communication microscope according to claim 3, wherein said step 2 further comprising: using the EPICS soft IOC server via the interface module receives the feedback information tool and the feedback information is recorded in the PV record, then the network protocol of the PV record to the hard EPICS IOC server; the server using the EPICS IOC hard PV record containing the feedback Motor information is recorded in the record, and the network through the protocol record to the spectral Motor microscope control module.
CN201210163250.8A 2012-05-22 2012-05-22 Interface system and method for implementing communication between monochromator and spectroscopic microscope CN102681516B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210163250.8A CN102681516B (en) 2012-05-22 2012-05-22 Interface system and method for implementing communication between monochromator and spectroscopic microscope

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210163250.8A CN102681516B (en) 2012-05-22 2012-05-22 Interface system and method for implementing communication between monochromator and spectroscopic microscope

Publications (2)

Publication Number Publication Date
CN102681516A CN102681516A (en) 2012-09-19
CN102681516B true CN102681516B (en) 2014-07-23

Family

ID=46813589

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210163250.8A CN102681516B (en) 2012-05-22 2012-05-22 Interface system and method for implementing communication between monochromator and spectroscopic microscope

Country Status (1)

Country Link
CN (1) CN102681516B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1544895A (en) 2003-11-20 2004-11-10 上海交通大学 Spectrophotometer with remote access function
CN1556379A (en) 2003-12-30 2004-12-22 天津大学 Optical fiber continuous exciting microfluorescent light spectrum imaging instrument
CN102122066A (en) 2011-03-24 2011-07-13 姚斌 Full-automatic double-ccd photosensitive element digital microscope

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8348429B2 (en) * 2008-03-27 2013-01-08 Doheny Eye Institute Optical coherence tomography device, method, and system
KR101003997B1 (en) * 2008-10-01 2010-12-31 한국과학기술정보연구원 System and method for controlling electron microscope

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1544895A (en) 2003-11-20 2004-11-10 上海交通大学 Spectrophotometer with remote access function
CN1556379A (en) 2003-12-30 2004-12-22 天津大学 Optical fiber continuous exciting microfluorescent light spectrum imaging instrument
CN102122066A (en) 2011-03-24 2011-07-13 姚斌 Full-automatic double-ccd photosensitive element digital microscope

Also Published As

Publication number Publication date
CN102681516A (en) 2012-09-19

Similar Documents

Publication Publication Date Title
Nabrzyski et al. Grid resource management: state of the art and future trends
JP5010160B2 (en) System and method for issuing certificates independent of format
RU2332711C2 (en) PROTECTED CLIENT SYSTEM MANDATE PROCESSING FOR ACCESSING Web-BASED RESOURCES
Erwin UNICORE—a Grid computing environment
Binoth et al. A proposal for a standard interface between Monte Carlo tools and one-loop programs
CN101201598B (en) Industrial control systems and method for promoting module searching for industrial control systems
Abramson et al. High performance parametric modeling with Nimrod/G: Killer application for the global grid?
del Río et al. XOP v2. 4: Recent developments of the x-ray optics software toolkit
US7650633B2 (en) Automated organizational role modeling for role based access controls
Moreno et al. Practical aspects of electron energy-loss spectroscopy (EELS) calculations using FEFF8
TWI364702B (en) High power laser flat panel workpiece treatment system controller
WO2005069942A2 (en) System and method for generating and deploying a software application
US9563544B2 (en) Framework for automated testing of mobile apps
Streit et al. UNICORE—from project results to production grids
US7340605B2 (en) System and method for secure download of waveforms to signal generators
Donatelli et al. A design for framework-independent model components of biophysical systems
CN101836201B (en) Method and system of translating declarative models
Matsuoka et al. Japanese computational grid research project: NAREGI
Peltier et al. The Telescience Portal for advanced tomography applications
Li et al. Concept design for a Web-based supervisory control and data-acquisition (SCADA) system
Cholia et al. NEWT: A RESTful service for building High Performance Computing web applications
CN1825826A (en) System and method based on internet access and shared remote apparatus
Faulkner et al. GridPP: development of the UK computing Grid for particle physics
Riebe et al. Deterministic entanglement swapping with an ion-trap quantum computer
Rutkowski et al. FPGA-based TESLA cavity SIMCON DOOCS server design, implementation, and application

Legal Events

Date Code Title Description
C06 Publication
C10 Request of examination as to substance
C14 Granted