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
monochromator
server
record
module
control module
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Fee Related
Application number
CN201210163250.8A
Other languages
Chinese (zh)
Other versions
CN102681516A (en
Inventor
刘平
王勇
郑丽芳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Institute of Applied Physics of CAS
Original Assignee
Shanghai Institute of Applied Physics of CAS
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 Shanghai Institute of Applied Physics of CAS filed Critical Shanghai Institute of Applied Physics of CAS
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
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

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 invention provides an interface system and method for implementing communication between a monochromator and a spectroscopic microscope. The monochromator comprises a monochromator control module; the spectroscopic microscope comprises a spectroscopic microscope control module; the interface system comprises a server module and an interface tool module which are sequentially connected between the spectroscopic microscope control module and the monochromator; the server module is used for receiving control information sent by the spectroscopic microscope control module and transmitting the control information to the monochromator control module through the interface tool module; and furthermore, the server module is used for receiving feedback information sent by the monochromator control module through the interface tool module and transmitting the feedback information to the spectroscopic microscope control module. Therefore, data can be interacted between the spectroscopic microscope control module and the monochromator control module.

Description

Realize interface system and method that monochromator is communicated by letter with spectroscopy microscope
Technical field
The present invention relates generally to two kinds of interfaces between optical device, relates in particular to a kind of interface system and method that monochromator is communicated by letter with spectroscopy microscope that realize.
Background technology
EPICS(experimental physics and industrial control system) platform is a network dcs, the free control software of the science device such as large-scale accelerator in the world, its source code is open, can freely download, stable, system architecture flexibly, favorable expandability, and the type of hardware that EPICS supports reaches hundreds of, and provide good technical support.First batch of 7 the light beam line control system of SSRF all adopt EPICS, set up standardized light beam line control system, and such system also only has in a few Synchrotron Radiation and applies in the world, at home a brand-new trial especially.
Synchrotron radiation is widely used in basic scientific research and Applied research fields.Synchrotron Radiation comprises light beam line station part and experiment centre part, and light beam line station part mainly adopts monochromator to obtain the homogeneous X-ray of different-energy value.By rotating two crystal of monochromator, change its Prague angle, the monochromatic light of different-energy value when the white light of incident is become to outgoing.The monochromatic light of certain energy value, corresponding to an angle position of monochromator, when monochromator turns to a certain angle, just claims it to turn to a certain energy point, and the energy value that this energy point is corresponding is called the energy value of monochromator.Experiment centre part mainly adopts spectroscopy microscope to be captured in chemical element (such as the ferro element) distributional pattern under different-energy X ray, i.e. X-ray absorption spectra.
In the X-ray absorption experiments of for example sample, need spectroscopy microscope and monochromator to link, be that spectroscopy microscope has gathered after the X-ray absorption spectra of sample under the X ray of a certain energy value, the energy value that monochromator need to be set is next target energy value, X-ray absorption spectra with collected specimens under the X ray of next energy value, repeat such step, until gathered the X-ray absorption spectra of sample under the X ray of all target energy values.Step-length between two target energy values is very little, such as 0.5eV(electron-volt), if the scope of target energy value at 800eV between 900eV, every the step-length collection of 0.5eV once, complete an experiment and need to gather 200 times.If only depend on the different target energy value that monochromator is manually set, obviously take time and effort, efficiency is low, causes experimental result out of true but also may produce error.
Therefore, need to design a kind of scheme that realizes spectroscopy microscope and monochromator automatic linkage, to meet experiment demand.Monochromator comprises monochromator control module, and spectroscopy microscope comprises spectroscopy microscope control module.Therefore, a kind of communication interface need to be provided, spectroscopy microscope control module can be sent control information to monochromator control module by this interface, monochromator control module can send feedback information to spectroscopy microscope control module by this interface again, thereby realizes the data interaction of spectroscopy microscope and monochromator.
Summary of the invention
In order to address the above problem, one aspect of the present invention provides a kind of interface system and method thereof that monochromator is communicated by letter with spectroscopy microscope that realize, to realize the automatic linkage between monochromator and spectroscopy microscope.
For achieving the above object, one aspect of the present invention provides following technical scheme:
A kind ofly realize the interface system that monochromator is communicated by letter with spectroscopy microscope, described monochromator comprises monochromator control module, described spectroscopy microscope comprises spectroscopy microscope control module, it is characterized in that, described interface system comprises the server module and the interface facility module that are connected in turn between described spectroscopy microscope control module and described monochromator control module, wherein
Described server module receives the control information that described spectroscopy microscope control module sends on the one hand, and by described interface facility module, described control information is sent to described monochromator control module; Receive by described interface facility module the feedback information that described monochromator control module sends on the other hand, and described feedback information is sent to described spectroscopy microscope control module.
Further, described server module comprises the hard IOC server of EPICS and the soft IOC server of EPICS that are connected in turn between described spectroscopy microscope control module and described interface facility module, wherein,
On the one hand, the hard IOC server of described EPICS receives described control information by procotol, and described control information is recorded in the Motor record of its generation, then by procotol, described Motor record is sent to the soft IOC server of described EPICS; The soft IOC server of described EPICS records described Motor in the PV record that the described control information comprising is recorded in its generation, and by described interface facility module, described PV record is sent to described monochromator control module;
On the other hand, the soft IOC server of described EPICS receives described feedback information by described interface facility module, and by described record of feedback information in described PV record, then by procotol, described PV record is sent to the hard IOC server of described EPICS; The hard IOC server of described EPICS records described PV the described record of feedback information comprising in described Motor record, and by described procotol, described Motor record is sent to described spectroscopy microscope control module.
Further, the hard IOC Servers installed of described EPICS is in a VME cabinet.
The present invention provides on the other hand a kind of and realizes based on aforementioned interface system the method that monochromator is communicated by letter with spectroscopy microscope, wherein, said method comprising the steps of:
Step 1, receives by described server module the control information that described spectroscopy microscope control module sends, and the described control information described server module being received by described interface facility module is sent to described monochromator control module;
Step 2, the feedback information described monochromator control module being sent by described interface facility module is sent to described server module, and makes described server module that described feedback information is sent to described spectroscopy microscope control module.
A kind of aforementioned method that monochromator is communicated by letter with spectroscopy microscope that realizes, wherein, described step 1 further comprises:
Utilize the hard IOC server of described EPICS to receive described control information by procotol, and described control information is recorded in the Motor record of its generation, then by procotol, described Motor record is sent to the soft IOC server of described EPICS;
Utilize the soft IOC server of described EPICS that described Motor is recorded in the PV record that the described control information comprising is recorded in its generation, and by described interface facility module, described PV record is sent to described monochromator control module.
A kind of aforementioned method that monochromator is communicated by letter with spectroscopy microscope that realizes, wherein, described step 2 further comprises:
Utilize the soft IOC server of described EPICS to receive described feedback information by described interface facility module, and by described record of feedback information in described PV record, then by procotol, described PV record is sent to the hard IOC server of described EPICS;
The described record of feedback information of utilizing the hard IOC server of described EPICS that described PV is recorded to comprise, in described Motor record, and is sent to described spectroscopy microscope control module by described procotol by described Motor record.
Eventually the above, realize by of the present invention interface system and the method that monochromator is communicated by letter with spectroscopy microscope, spectroscopy microscope control module can be sent control information to monochromator control module, and monochromator control module can send feedback information to spectroscopy microscope control module again simultaneously.Thereby realize the data interaction between spectroscopy microscope and monochromator, made spectroscopy microscope and the monochromator can automatic linkage.Compared with manual interlock between spectroscopy microscope and monochromator, automatic linkage is obviously more time saving and energy saving, and work efficiency is higher, operates more accurate.
Brief description of the drawings
Fig. 1 is the theory diagram that the present invention realizes the interface system that monochromator communicates by letter with spectroscopy microscope;
Fig. 2 is the process flow diagram that the present invention realizes the method that monochromator communicates by letter with spectroscopy microscope.
Embodiment
Below with reference to the accompanying drawings, provide preferred embodiment of the present invention, and be described in detail, enable to understand better function of the present invention, feature.
Fig. 1 shows and realizes the interface system that monochromator is communicated by letter with spectroscopy microscope according to the present invention, wherein monochromator comprises monochromator control module 101, spectroscopy microscope comprises spectroscopy microscope control module 104, and this interface system comprises the interface facility module 102 and the server module 103 that are connected in turn between monochromator control module 101 and spectroscopy microscope control module 104.
Spectroscopy microscope control module 104 is provided for controlling the control information of monochromator (not shown), by interface system of the present invention, this control information is sent to monochromator control module 101, monochromator control module 101 is recorded to this control information the corresponding control variable of its generation.Wherein, this control information mainly comprises the physical variable relative (energy value of for example monochromator) of controlling or reading monochromator.The control variable corresponding with control information comprises physical parameter retaking of a year or grade variable (for example representing the variable Energy of the current energy value that reads monochromator), physical parameter setting variable (for example representing the variable EnergySet of the target energy value of the monochromator of expecting) and boolean's control variable (for example representing that execution monochromator turns to the variable EnergyGo of the action of target energy value).Monochromator control module 101 sends feedback information according to control information control monochromator and to spectroscopy microscope control module 104.This feedback information is also connect and is sent to spectroscopy microscope control module 104 by interface system of the present invention.Wherein, the software development environment of monochromator control module 101 is based on LabVIEW development environment.
Interface facility module 102 can adopt LabVIEW/EPICS ShareMemory Interface interface, LabVIEW/EPICS ShareMemory Interface interface is third party software, this software can freely be downloaded on the net, for realizing the exchanges data between Labview and EPICS.In the present invention mainly as the data exchange channels between monochromator control module 101 and server module 103.
Server module 103 comprises the soft IOC(input/output control unit of EPICS being connected in turn between interface facility module 102 and spectroscopy microscope control module 104) server 1031 and the hard IOC server 1032 of EPICS.Wherein, the hard IOC server 1032 of EPICS generates Motor(motor) record, the soft IOC server 1031 of EPICS generates and records corresponding PV(process variable with Motor) record.
First, the hard IOC server 1032 of EPICS is by network C A(channel access) agreement receives the control information that spectroscopy microscope control module 104 sends, and this control information is recorded in the Motor record of its generation, then by network C A agreement, this Motor record is sent to the soft IOC server 1031 of EPICS; The soft IOC server 1031 of EPICS records this Motor in the PV record that the control information comprising is recorded in its generation, and by interface facility module 102, this PV record is sent to monochromator control module 101, monochromator control module 101 records by this PV the control information comprising and is recorded in the control variable of its generation, and controls monochromator according to this control information.
Then, monochromator control module 101 sends feedback information to spectroscopy microscope control module 104.The soft IOC server of EPICS 1031 receives these feedback informations by interface facility module 102, and by this record of feedback information in the PV of its generation record, then by network C A agreement, this PV record is sent to the hard IOC server 1032 of EPICS; The hard IOC server 1032 of EPICS records this PV the record of feedback information comprising in the Motor of its generation record, and by network C A agreement, this Motor record is sent to spectroscopy microscope control module 104.
Wherein, the hardware platform of the hard IOC server 1032 of EPICS is based on VME cabinet 3, and software platform is based on VxWorks real time operating system; The hardware platform of monochromator control module 101, interface facility module 102 and the soft IOC server 1031 of EPICS is all based on the first computing machine 1; The hardware platform of spectroscopy microscope control module 104 is based on second computer 2.The interface system that Fig. 2 shows based on Fig. 1 is realized the method that monochromator is communicated by letter with spectroscopy microscope, and the flow process of the method is as follows:
Utilize the hard IOC server 1032 of EPICS to receive by network C A agreement the control information that spectroscopy microscope control module 104 sends, and this control information is recorded in the Motor record of its generation, then by network C A agreement, this Motor record is sent to the soft IOC server 1031 of EPICS.Utilize the soft IOC server 1031 of EPICS that this Motor is recorded in the PV record that the control information comprising is recorded in its generation, and by interface facility module 102, this PV record is sent to monochromator control module 101.Monochromator control module 101 can record the control information comprising by this PV and be recorded in the control variable of its generation, and controls monochromator according to this control information, then sends feedback information to spectroscopy microscope control module 104.
Utilize the soft IOC server of EPICS 1031 to receive these feedback informations by interface facility module 102, and by this record of feedback information in the PV of its generation record, then by network C A agreement, this PV record is sent to the hard IOC server 1032 of EPICS.The record of feedback information of utilizing the hard IOC server 1032 of EPICS that this PV is recorded to comprise, in the Motor of its generation record, and is sent to spectroscopy microscope control module 104 by network C A agreement by this Motor record.
For example, the control information sending when spectroscopy microscope control module 104 is while reading the current energy value of monochromator, first utilize the hard IOC server 1032 of EPICS to receive this control information by network C A agreement, and this control information is recorded in the Motor record of its generation, this Motor record is set in advance as the Motor record that comprises field (RDBL, " X08U1:MO:Energy:AI NPP MS ") territory.And then by network C A agreement, this Motor record is sent to the soft IOC server 1031 of EPICS, the soft IOC server 1031 of EPICS records this Motor in the PV record that the control information comprising is recorded in its generation, and this PV record is set in advance as X08U1:OP:MO:Energy:AI.This PV record is sent to monochromator control module 101 by LabVIEW/EPICS ShareMemory Interface interface again, and monochromator control module 101 records by this PV the control information comprising and is recorded in its control variable Energy generating in advance.From above, Energy is a physical parameter retaking of a year or grade variable, and the current energy value of monochromator is read in its expression.So monochromator control module 101 reads the current energy value of monochromator according to this control information and the current energy value reading is sent as feedback information.
The soft IOC server 1031 of EPICS receives this feedback information by LabVIEW/EPICS ShareMemory Interface interface, and this record of feedback information is recorded in " X08U1:OP:MO:Energy:AI " at the PV of its generation, then by network C A agreement, this PV record is sent to the hard IOC server 1032 of EPICS; The hard IOC server 1032 of EPICS records this PV the record of feedback information that comprises and comprises field (RDBL in its generation, " X08U1:MO:Energy:AI NPP MS ") in the Motor record in territory, and by network C A agreement, this Motor record is sent to spectroscopy microscope control module 104.
Should be appreciated that, Energy above-mentioned is a title, certainly can replace by other title.
Above-described, be only preferred embodiment of the present invention, not in order to limit scope of the present invention, the above embodiment of the present invention can also make a variety of changes.Be that simple, the equivalence that every claims according to the present patent application and description are done changes and modify, all fall into the claim protection domain of patent of the present invention.

Claims (5)

1. realize the interface system that monochromator is communicated by letter with spectroscopy microscope for one kind, described monochromator comprises monochromator control module, described spectroscopy microscope comprises spectroscopy microscope control module, described interface system comprises the server module and the interface facility module that are connected in turn between described spectroscopy microscope control module and described monochromator control module, wherein
Described server module receives the control information that described spectroscopy microscope control module sends on the one hand, and by described interface facility module, described control information is sent to described monochromator control module; Receive by described interface facility module the feedback information that described monochromator control module sends on the other hand, and described feedback information is sent to described spectroscopy microscope control module;
It is characterized in that, described server module comprises the hard IOC server of EPICS and the soft IOC server of EPICS that are connected in turn between described spectroscopy microscope control module and described interface facility module, wherein,
On the one hand, the hard IOC server of described EPICS receives described control information by procotol, and described control information is recorded in the Motor record of its generation, then by procotol, described Motor record is sent to the soft IOC server of described EPICS; The soft IOC server of described EPICS records described Motor in the PV record that the described control information comprising is recorded in its generation, and by described interface facility module, described PV record is sent to described monochromator control module;
On the other hand, the soft IOC server of described EPICS receives described feedback information by described interface facility module, and by described record of feedback information in described PV record, then by procotol, described PV record is sent to the hard IOC server of described EPICS; The hard IOC server of described EPICS records described PV the described record of feedback information comprising in described Motor record, and by described procotol, described Motor record is sent to described spectroscopy microscope control module.
2. as claimed in claim 1ly realize the interface system that monochromator is communicated by letter with spectroscopy microscope, it is characterized in that, the hard IOC Servers installed of described EPICS is in a VME cabinet.
3. the interface system based on described in claim 1 or 2 is realized the method that monochromator is communicated by letter with spectroscopy microscope, it is characterized in that, said method comprising the steps of:
Step 1, receives by described server module the control information that described spectroscopy microscope control module sends, and the described control information described server module being received by described interface facility module is sent to described monochromator control module;
Step 2, the feedback information described monochromator control module being sent by described interface facility module is sent to described server module, and makes described server module that described feedback information is sent to described spectroscopy microscope control module.
4. as claimed in claim 3ly realize the method that monochromator is communicated by letter with spectroscopy microscope, it is characterized in that, described step 1 further comprises:
Utilize the hard IOC server of described EPICS to receive described control information by procotol, and described control information is recorded in the Motor record of its generation, then by procotol, described Motor record is sent to the soft IOC server of described EPICS;
Utilize the soft IOC server of described EPICS that described Motor is recorded in the PV record that the described control information comprising is recorded in its generation, and by described interface facility module, described PV record is sent to described monochromator control module.
5. as claimed in claim 3ly realize the method that monochromator is communicated by letter with spectroscopy microscope, it is characterized in that, described step 2 further comprises:
Utilize the soft IOC server of described EPICS to receive described feedback information by described interface facility module, and by described record of feedback information in described PV record, then by procotol, described PV record is sent to the hard IOC server of described EPICS;
The described record of feedback information of utilizing the hard IOC server of described EPICS that described PV is recorded to comprise, in described Motor record, and is sent to described spectroscopy microscope control module by described procotol by described Motor record.
CN201210163250.8A 2012-05-22 2012-05-22 Interface system and method for implementing communication between monochromator and spectroscopic microscope Expired - Fee Related 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 Expired - Fee Related 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
Wetter et al. IBPSA Project 1: BIM/GIS and Modelica framework for building and community energy system design and operation–ongoing developments, lessons learned and challenges
US20130096695A1 (en) Method for configuring a control device
Soliman et al. Transformation of function block diagrams to Uppaal timed automata for the verification of safety applications
CN112053123A (en) Automatic accounting processing method and device, electronic equipment and readable storage medium
US7747404B2 (en) Method for the analysis, control, automation and information management of life-cycle processes of technical products
CN102902540A (en) Embedded automation development method
Patel et al. Development of a novel SCADA system for laboratory testing
CN102681516B (en) Interface system and method for implementing communication between monochromator and spectroscopic microscope
CN104063227B (en) A kind of instruction learning method based on Internet of Things
Langmann et al. PLCs as industry 4.0 components in laboratory applications
Xue et al. Learning with remote laboratories: Designing control algorithms with both block diagrams and customized C code schemes
CN105227407A (en) A kind of protocol debugging method, Apparatus and system
Müller et al. Modernization of experimental data taking at BESSY II
CN110209722A (en) A kind of data-interface for data exchange
Banga-Banga Model reference adaptive control algorithm for power system interarea oscillations damping
Langmann et al. The woas project: Web-oriented automation system
KR20130044700A (en) Simulator system for power plant
Vitale et al. FTU toroidal magnet power supply slow control using ITER CODAC Core System
Yin et al. Standardized northbound interface testing automation on the open and disaggregated optical transport equipment
Waterhouse et al. Introduction of ITER CODAC relevant technologies on JET and MAST
CN109583026A (en) A kind of relay protection business modeling method and system based on Petri network occurrence sequence
CN113298538B (en) Customer service data processing method and device
CN114048205A (en) Signal management method, system, equipment and medium of DCS (distributed control System)
CN114035526B (en) Method, system, equipment and medium for realizing universal soft hand operator of functional block
Maurya et al. Monitoring and Control of EV-to-Grid Load with REAL-TIME Data Communication by Using RSLINX-OPC Server Among MATLAB, PLC, and SCADA

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140723

Termination date: 20200522

CF01 Termination of patent right due to non-payment of annual fee