[go: up one dir, main page]

CN109474366A - Synchronous timing trigger system and method applied to particle accelerator - Google Patents

Synchronous timing trigger system and method applied to particle accelerator Download PDF

Info

Publication number
CN109474366A
CN109474366A CN201910021442.7A CN201910021442A CN109474366A CN 109474366 A CN109474366 A CN 109474366A CN 201910021442 A CN201910021442 A CN 201910021442A CN 109474366 A CN109474366 A CN 109474366A
Authority
CN
China
Prior art keywords
case
instance
trigger
optical signal
file
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.)
Granted
Application number
CN201910021442.7A
Other languages
Chinese (zh)
Other versions
CN109474366B (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.)
Institute of Modern Physics of CAS
Original Assignee
Institute of Modern 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 Institute of Modern Physics of CAS filed Critical Institute of Modern Physics of CAS
Priority to CN201910021442.7A priority Critical patent/CN109474366B/en
Publication of CN109474366A publication Critical patent/CN109474366A/en
Application granted granted Critical
Publication of CN109474366B publication Critical patent/CN109474366B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0682Clock or time synchronisation in a network by delay compensation, e.g. by compensation of propagation delay or variations thereof, by ranging

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Multi Processors (AREA)

Abstract

本发明提供一种应用于粒子加速器的同步定时触发系统,包括:事例发生系统,用于根据事例文件号从数据库索引事例文件,并根据事例文件输出事例光信号;事例传输系统,用于传递事例光信号;事例接收/解译器,用于接收事例光信号并转换为事例码,将事例码与事例接收/解译器存储的触发事例码对比,若两者事例码一致,则产生触发信号或电平,触发设备。该系统采用PXIe/PXI工控机+事例输出板卡硬件方案,解决片上系统计算功能与存储资源不足的问题,提高系统控制精度和速度;控制器与事例输出板卡之间通过高速背板总线进行数据交互,保证数据的传输速度,提高系统的实时性、可靠性及同步性;能够提供多客户端访问,解决通讯端口及资源冲突的问题。

The invention provides a synchronous timing trigger system applied to a particle accelerator, including: an event generation system for indexing an event file from a database according to the event file number, and outputting an event optical signal according to the event file; an event transmission system for transmitting the event Optical signal; case receiver/interpreter, used to receive case light signal and convert it into case code, compare the case code with the trigger case code stored in the case receiver/interpreter, and generate a trigger signal if the two case codes are consistent or level to trigger the device. The system adopts the hardware solution of PXIe/PXI industrial computer + case output board to solve the problem of insufficient computing function and storage resources of the system on chip, and to improve the system control accuracy and speed; the controller and case output board are connected through a high-speed backplane bus. Data interaction, ensure data transmission speed, improve system real-time, reliability and synchronization; can provide multi-client access to solve the problem of communication ports and resource conflicts.

Description

Synchronization timing applied to particle accelerator triggers system and method
Technical field
The present invention relates to tumour radiotherapy technical field more particularly to a kind of synchronization timings applied to particle accelerator Trigger system and method.
Background technique
Medical heavy ion avcceleration is the important composition of medical heavy particle therapy device, and the object of Accelerator control is true To approach the charged particle that the light velocity runs at high speed in vacant duct.During medical heavy particle therapy, it is desirable that accelerator and treatment As soon as terminal the equipment of synchronization in need run simultaneously with accurately time reference, this needs a set of high-precision synchronization Timer and trigger system to the equipment of synchronization in need be uniformly coordinated, commanded and dispatched, it is same by stringent period and timing Step operation, the particle beams needed for generating treatment.
Currently, the synchronization timing triggering system of many accelerators uses and is based on field programmable gate array (Field Programmable Gate Array, FPGA) technology event timing system, document " digital pulse power source synchronization timing triggering System " (patent No.: discloses a kind of digital pulse power source synchronization timing touching based on FPGA technology in 201220694215.4) Hair system, its main feature is that using field programmable gate array as the system on chip (System-on-a-Programmable- of hardware Chip, SOPC) as synchronization timing triggering system trigger source server.It controls computer and triggers coding with software interface come tissue And delay data, and triggering source server is downloaded to by network.The triggering source server generates one according to the parameter received 32Bit of the series on the basis of the time triggers coded pulse, and these triggering codings are passed through fan-out unit and optical fiber transmission system System by 32Bit trigger pulse synchronous driving to synchronous working in need digital pulse power source.The system is able to achieve ion and adds More digital pulse power sources of fast device digital pulse power source or related industrial fields according to setting time series synchronization starting or It is grouped Timing Synchronization starting control, meets what related fields digital pulse power source Timing Synchronization under remote controlled manner started It is required that but the system has some disadvantages: first, the system is taken using the programmable system on chip based on FPGA as trigger source Be engaged in device, the function of system and performance are limited by system on chip performance and resource, be unfavorable for system expand, upgrade with it is excellent Change;Second, the system and host computer (control computer) pass through the network chip and network interface of system on chip, is communicated and assisted with TCP/IP View carries out data interaction, and the transmission of data is not high with real-time, and transmission speed is slow;Third, since the system is based on TCP/IP Communications protocol is attached with other systems, and when multi-user carries out information exchange with it, there are PORT COM and resource contentions The problems such as.
Summary of the invention
(1) technical problems to be solved
It is directed to existing technical problem, the present invention provides a kind of synchronization timing triggering system applied to particle accelerator And method, at least partly solving the above technical problem.
(2) technical solution
The present invention provides a kind of synchronization timing triggering system applied to particle accelerator, which can be connected to one few Client carries out data interaction, the synchronization using the mode of client-side/server-side between client and synchronization timing triggering system Timer and trigger system includes:
Example generating system is made of PXIe/PXI industrial personal computer and example output board card, which is used for According to example document number from database index example file, which exports example optical signal according to example file, PXIe/PXI industrial personal computer is carried out data transmission with example output board card by PXIe/PXI High speed rear panel bus;
Example Transmission system, for transmitting the example optical signal;
Example reception/interpreter, for receiving example optical signal and being converted to example code, by the example code and example of conversion Reception/interpreter storage triggering example code comparison, if the two example code is completely the same, generates trigger signal or level, touches Synchronous equipment is needed in hair particle accelerator.
Wherein, example Transmission system connects at least one example reception/interpreter, it is each need synchronous equipment have with Corresponding example reception/interpreter, example optical signal is fanned out to and is distributed as multiple example optical signals by example Transmission system, together When be transferred to and each need the synchronous corresponding example reception/interpreter of equipment.
Optionally, PXIe/PXI industrial personal computer is provided with example editing interface, example control interface, control logic processing and plate Block the function of driving, example editing interface is stored in database for writing example file;Example control interface is for selecting It selects example document number and carries out parameter setting;Control logic processing is for literary from database index example according to example document number Part;Labcard driver is for driving example output board card to export example optical signal according to example file.
Optionally, example Transmission system is by multiple tree structures for being fanned out to device and being formed by connecting by plastic optical fiber, each fan Device includes at least an output interface out, and example optical signal is enabled to be transferred to multiple example reception/interpreters simultaneously.
Optionally, example file includes example title, delay time and number of repetition, and example title is for specified triggering Equipment;Delay time is used to limit the interval time since last time example end of output to this output;Number of repetition is used for Limit the number that current case repeats output.
Optionally, example reception/interpreter includes network interface and optical signal interface, and network interface is used for from database The triggering example code that load needs synchronous equipment must be responsive to is to example reception/interpreter;Optical signal interface is for receiving institute State example optical signal.
Optionally, information is carried out using standard industry OPC-UA communication protocol between client and synchronization timing triggering system Interaction, to provide multi-client access.
Optionally, it is isometric that multiple plastic optical fibers being fanned out between device are connected, so that the transmission range of example optical signal is equal.
Optionally, PXI industrial personal computer is equipped with multiple peripheral slots, and example output board card is inserted in one of slot, with after an action of the bowels Function Extension of the phase to synchronization timing triggering system.
Optionally, example output board card includes: light signal output end mouth, for exporting example optical signal;Debugging interface is used It is debugged in the performance to example output board card.
Another aspect of the present invention provides a kind of synchronization timing triggering method, comprising: PXI industrial personal computer according to example document number from Example file is indexed in database;Example output board card receives example file by PXI High speed rear panel bus, and according to example text Part exports example optical signal;Example optical signal is fanned out to and is distributed as multiple example optical signals by example Transmission system;Each needs The corresponding example reception of synchronous equipment/interpreter receives example optical signal, and is converted into example code, by the example code of conversion with Example reception/interpreter storage triggering example code comparison, if the two example code is completely the same, generates trigger signal or electricity It is flat, it triggers in particle accelerator and needs synchronous equipment.
(3) beneficial effect
The present invention provides a kind of synchronization timing applied to particle accelerator and triggers system and method, including the utility model has the advantages that
1, the system uses the hardware plan of PXI industrial personal computer+PXI plug-in type example output board card, has storage abundant Resource and computing resource can be convenient and analyzed data, handled and stored, and solves aforementioned mentioned system on chip and calculates The problem of function and storage resource deficiency effectively increases the control accuracy and speed of system.
2, data interaction is carried out by PXI bus between controller and example output board card in system, ensure that data Transmission speed, real-time, reliability and the synchronism of system effectively improve, meanwhile, PXI chassis expansion slot provides superfluous Remaining slot so as to later period system function extension.
3, the system is capable of providing multi-client access, and uses standard industry communication agreement OPC-UA, solves communication The problem of port and resource contention, while ensure that the standardization and normalization of communications protocol.
4, the application of visual instrument technology effectively reduces the period of hardware research and development, improves the reliability of system And it is maintainable, system upgrade difficulty is avoided, the task difficulty of system is reduced.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of synchronization timing of embodiment of the present invention triggering system.
Fig. 2 is the structural schematic diagram of the example generating system of synchronization timing of embodiment of the present invention triggering system.
Fig. 3 synchronization timing of the embodiment of the present invention triggers the structural schematic diagram of the example Transmission system of system
Fig. 4 synchronization timing of the embodiment of the present invention triggers the corresponding control software structure composed schematic diagram of system.
The flow chart of Fig. 5 synchronization timing triggering method of the embodiment of the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with specific embodiment, and reference Attached drawing, the present invention is described in more detail.
The embodiment of the present invention proposes a kind of particle accelerator synchronization timing triggering system, which can be connected to one few Client, is capable of providing multi-client access, and structure is as shown in Figure 1.The system can be used for medical heavy particle therapy device, In medical heavy particle therapy device therapeutic process, synchronization timing trigger accelerator and treat terminal synchronization in need equipment, With an accurately time reference synchronous operation, the particle beams needed for generating treatment.Its structure includes example generating system, example Transmission system and example reception/interpreter, wherein example Transmission system connects at least one example reception/interpreter, Mei Gexu The equipment to be run has corresponding example reception/interpreter, the thing that example Transmission system generates example generating system Example optical signal is fanned out to and is distributed as multiple example optical signals, while being transferred to each corresponding example of equipment for needing synchronization and connecing Receipts/interpreter.Lower mask body introduction.
Example generating system is used for according to example document number from database index example file, further according to the example file Export example optical signal.
The example generating system is made of PXIe/PXI industrial personal computer and example output board card, is had in PXIe/PXI industrial personal computer Corresponding control software.PXIe/PXI industrial personal computer is the server that synchronization timing triggers system comprising PXIe/PXI controls machine Case, PXIe/PXI core bus, system controller and example output board card, as shown in Figure 2.When need synchronization timing trigger unite When the one corresponding equipment of triggering, physics personnel issue example document number, setting operation by host computer (central monitoring client) Parameter and load request, system controller running control software, according to example document number automatic indexing example in the database The corresponding example file of document number, then be loaded onto the example file and operating parameter that index by PXIe/PXI core bus In the onboard RAM of example output board card.Example output board card receive host computer sending enabled instruction after, then in strict accordance with The example optical signal of example file and operating parameter output 32Bit.Meanwhile the instantaneous operating conditions of example output board card can pass through Core bus real-time Transmission is shown that is, example output board card and controller are logical to PXIe/PXI industrial personal computer by interface The High speed rear panel bus for crossing the offer of PXIe/PXI cabinet carries out data interaction.
Specifically, PXIe/PXI industrial personal computer is provided with example editing interface, example control interface, control logic processing and plate The functions such as card driving are write example file by example editing interface and are saved in the database, selected by example control interface The example document number currently needed is selected, is handled by control logic according to example document number automatic indexing example in the database The corresponding example file of document number, then be loaded onto the example file and operating parameter that index by PXIe/PXI core bus In the onboard RAM of example output board card.
Wherein, example file is write according to beam energy needed for treatment and treatment line, different treatment lines and energy Measurer has corresponding example file, and therefore, physics personnel can be edited in advance all according to actually required by physical computing Beam energy and the corresponding example file for the treatment of line, and save in the database.When which example file is actual needs use, then In the onboard RAM for being loaded into example output board card after indexing in database according to example reference number of a document.
One example file is made of example title, delay time and number of repetition, as shown in table 1.
Table 1
16 system numbers expression of the example title by 8 strict difinitions, format are as follows: " C0XXYYZZ ", example title are divided into three Section, " C0 " are to start byte, and " XX ", " YYZZ " represent different headend equipments, acceleration energy and corresponding treatment line.
Delay time indicates that last time example end of output to this example starts the relative time-intervals of output, and the present invention is real Applying a delay precision for example board was 10 nanoseconds.
Number of repetition indicates that currently selected example continuously repeats the number of output, if number is 1, current case terminates simultaneously Automatically begin to next example output;If it is greater than 1, then current case output and delay time are recycled, until reaching setting Number.
PXIe/PXI industry control cabinet is provided with a system slot and multiple peripheral slots, wherein in multiple peripheral slots Include a star-like trigger controller slot.System controller is inserted into the system slot of PXIe/PXI industrial personal computer, example output One in addition to star-like trigger controller slot of board insertion sets in slot, be arranged multiple slots purpose be to provide for it is superfluous Remaining slot, the extension so as to the later period to PXIe/PXI industrial personal computer function.In the embodiment of the present invention, PXI industry control cabinet uses Ling Hua (ADLINK) the eight slot PXI cabinet of 3U of company PXIS-2630 model supports 3U PXI and Compact PCI module, compatible PXI Rev.2.2 specification, provides a system slot and 7 peripheral slots, and system controller uses Ling Hua (ADLINK) company PXI-3950 model controller, controller CPU: CoreTM2 Duo T7500 2.2GHz, front side bus: 800MHz, Maximum supports 4GB SO-DIMM memory, and two gigabit Ethernet RJ-45 network ports shown with LED are provided on front panel, 4 ports USB2.0,320GB SATA hard disc.The PXI cabinet meets CPCI mechanical specification, has air-cooling apparatus, meets Industrial environment is tested (temperature, humidity, vibration and impact test) etc. and is required, and ensure that the EMC and electrical safety characteristic of this system, And the property easy of integration of system.
Example output board card is the board being inserted in PXIe/PXI bus slot, occupies 1 peripheral slot, is based on FPGA skill Art is designed, and includes an optical signal input mouth (R1), two signal emission ports (T1, T2), a standard TTL signal Input port and a JTAG debug port, as shown in Figure 2.
For exporting example optical signal, interface type is two optical signal output interfaces (T1, T2) of example output board card T-1522Z is connect by optical fiber with the fan-out unit of example Transmission system.Meanwhile in order to facilitate the expansion of example generating system function Exhibition, example output board card are additionally provided with optical signal input interface (R1), and interface type R-2522Z, TTL signal input interface can connect By external Transistor-Transistor Logic level signal, JTAG debugging interface is mainly used for the performance adjustment of example output board card.The output of example output board card Example wavelength of optical signal be 660nm, each example is made of the binary number of 32Bit, and each bit width is 2.56us, baud Rate is 390625bit/s, and byte order is big end mode, and FPGA memory 256MB, bus is standard PXI bus.Output optical signal Color is visible red, and the position can be judged by the flashing of optical signal output interface feux rouges for " 1 " or " 0 ", when the position is " 1 " When, optical signal output interface flashes feux rouges;When the position is " 0 ", light emitting interface does not flash, and is in " light-off " state, example For output board card in " free time " state, light emitting interface is in " light-off " state always.
Example Transmission system, for transmitting the example optical signal.
Example Transmission system of the embodiment of the present invention uses optical fiber technology, is fanned out to device and plastic optical fiber is formed by connecting by multiple Tree structure transmission network is responsible for that example generating system example optical signal is fanned out to and is distributed to the equipment for needing to trigger, knot Structure is as shown in Figure 3.
Level-one is fanned out to the top that device is located at tree structure, is responsible for passing through the example optical signal that example generating system exports Isometric plastic optical fiber is connect with the second level fan-out unit for being located at therapeutic device different zones, and second level fan-out unit passes through plastic light Fibre connection three-level fan-out unit, three-level fan-out unit connect level Four fan-out unit by plastic optical fiber, according to actual needs step by step It extends downwardly, until being connected to example reception/interpreter or front end intelligent controller, realizes the transmitting and distribution of example optical signal Function.
Device is fanned out to including at least an output interface, enables example optical signal to be transferred to multiple examples simultaneously and connects Receipts/interpreter, the embodiment of the present invention are fanned out to device and are fanned out to device using the ACFO model of Chinese Academy of Sciences's Contemporary Physics Research Institute, It is responsible for receiving example optical signal and carries out power amplification, expands network transmission distance.Meanwhile all nodes are concentrated on it Centered on node on, realization be fanned out to function.It is described to be fanned out to device 1MBps is up to the transmission rate of signal, using red Visible light, wavelength 660nm, frequency highest 1MHZ work 20~24V of voltage rating (DC).It is described be fanned out to device provide RS485, RS232 and POF sonet standard interface is provided simultaneously with 9 with model optical fiber interface, may be implemented in the same time by internal circuit It is interior will a kind of input trigger pulse sequence distribute simultaneously under be transmitted to the function of 9 equipment, i.e., signal 1 into 9 go out be fanned out to function.Together When, shell uses aluminum alloy material, fixes convenient for the installation of equipment, and shell carries out grounding, improves set to a certain extent Standby EMC and electrical safety performance.
Transmission medium of the plastic optical fiber as example signal, has that loss of signal is low, transmission speed is fast, long transmission distance, Strong antijamming capability and it is light-weight the features such as, can effectively lifting system real-time, synchronism and anti-interference.Meanwhile light is believed Number transmission frequency is much higher than wave transmissions frequency, and suffered forceful electric power interference is smaller, improves the EMC and electrical safety performance of system.
Example reception/interpreter, for receiving example optical signal and being converted to example code, by the example code and example of conversion Reception/interpreter storage triggering example code comparison, if the two example code is completely the same, generates trigger signal or level, touches Synchronizer is needed in hair accelerator.
Example reception/interpreter mainly includes that example reception/interpreter or intelligent controller, intelligent controller refer to itself The device controller of function is received and interpreted with example, and example reception/interpreter is not have setting for example interpretation function The standby external triggering equipment prepared.Due to needing the intelligent controller itself for having some equipment in synchronous equipment that there is example Reception/interpretation function is equivalent to included example reception/interpreter, but have some equipment do not have example receive/interpret function, It therefore, is that example reception/interpreter (external triggering equipment) is arranged in the equipment for not having example interpretation function.Example Transmission system Example optical signal is directly passed into those equipment for receiving/interpreting function with example, does not have example reception/interpretation and sets It is standby, then example optical signal is received by external example reception/interpreter.
Example reception/interpreter is provided simultaneously with network interface and optical signal interface, which adds in advance for receiving The triggering example code of load is simultaneously stored in example reception/interpreter RAM, pre-loaded triggering example code to example reception/interpretation Purpose in device RAM is to set the trigger condition that corresponding equipment brings into operation in advance, and the optical signal interface is for receiving The example optical signal of example Transmission system transmitting, the purpose for receiving the optical signal when is determined according to pre-loaded triggering thing Example condition triggers corresponding equipment.It is translated into corresponding example code after receiving example optical signal, by the example code of conversion It is compared with example reception/interpretation system storage triggering example code, if the two example code is completely the same, example reception/interpretation Device output transistor-transistor logic (TTL) triggering level is to needing the equipment that runs and trigger the equipment.Since example exports System be simultaneously by example optical signal transmission to the corresponding example reception/interpreter of each equipment, therefore, each equipment be in strict accordance with The timing of example generating system triggering example is triggered.
Example of embodiment of the present invention reception/interpreter provides RJ45 network joint operating frequency range: DC~2.5MHz, frequency Rate stability: it is better than 10-7, frequency accuracy: is better than 10ppm, amplitude range, gear 1:0V~10V;Gear 2:-10V~+ 10V is settable;Harmonic distortion: it is better than 35dBc, clutter distortion: is better than -55dBc, phase noise: -107dBc/Hz@10kHz, tool Standby random waveform channel self-checking function, has two-way sampling channel self-checking function.
The control software that there is synchronization timing triggering system provided in an embodiment of the present invention itself to rely on, the software is using empty Quasi- technology of instrument and meter carries out the system integration and exploitation, this makes the later period only need more cenotype to the improvement of the system and Function Extension The software design of pass effectively reduces the period of hardware research and development, mentions without being modified or redesigning to hardware board The high reliability and maintainability of system, avoids system upgrade difficulty.Controlling software includes Server control software and thing Example output board card program, control software structure composed are as shown in Figure 4.
Server control software as slave computer software (PXIe/PXI industrial personal computer, that is, synchronization timing trigger system server), It is bridge of the host computer (central monitoring client etc. controls computer) with the information interaction of example output board card, it is main to provide Man machine operation interface realizes that protocol conversion, control logic processing, the publication of chain logical process, OPC-UA variable, example file are compiled Collect storage, data-transformation facility (correlation function that virtual instrument table technology is realized).Operator by human-computer interaction interface into It acts example Document Editing and saves, send example control request instruction and monitor the real-time status of example output board card.Meanwhile it taking Device control software be engaged in provided with debugging mode and treatment mode, in treatment mode, Server control software human-computer interaction interface All editors and control function are locked, only when operational mode is switched to debugging mode, unlock just now.As described above, clothes Business device control software is that operator and engineer provide the interpersonal operation interface of debugging, operation and maintenance, while conduct again OPC-UA Server issues crucial parameter and control command high speed Ethernet in the form of OPC-UA variable, To realize synchronization timing triggering system and accelerator central monitoring system and the information exchange and data for the treatment of terminal control system Transmission.
Server control software is the core that synchronization timing triggers system, LABVIEW and Microsoft using NI company, the U.S. Visual Studio software is based on C/S (Client/Server) architecture design, passes through standard industry OPC- as developing instrument UA agreement and client carry out data interaction.By this design, so that synchronization timing trigger can satisfy multi-client visit The demand asked when solving multi-user and carrying out information exchange with it, the problem of PORT COM and resource contention, ensure that communication association The standardization and normalization of view facilitates the seamless connection of this system Yu other standards industrial control system, substantially reduces system development Period, improve upgrading replacement product washability.Meanwhile the life cycle of software is extended, so that whole system standard, opening It puts, is conducive to later system and extends and upgrade.
Example output board card program generates according to the control instruction and example file that software issues is controlled and exports example light Signal.Meanwhile the real-time output state of example output board card is fed back into Server control software, realize example output board card fortune Row status monitoring function.
On the other hand the embodiment of the present invention provides a kind of synchronization timing triggering method, comprising:
S1, example generating system export example optical signal according to example file.
Specifically, host computer (central monitoring client, treatment client terminals) issues example document number and load request To PXIe/PXI industrial personal computer, PXIe/PXI industrial personal computer is according to example document number automatic indexing example document number pair in the database The example file answered, then the example file and operating parameter that index are loaded by example output board card by High speed rear panel bus Onboard RAM in, example output board card according to example file export example optical signal;
Example optical signal is fanned out to and is distributed as multiple example optical signals and exports simultaneously by S2, example Transmission system.
Example Transmission system is formed by being fanned out to device and plastic optical fiber, is fanned out to device with multiple output interfaces, is connect when being fanned out to device After receiving an example optical signal, internal circuit exports multiple things identical with the example optical signal according to the example optical signal Example optical signal.
S3, example reception/interpreter generate trigger signal or level triggers equipment according to example optical signal.
The each corresponding example reception of equipment for needing to trigger/interpreter receives example optical signal, and is converted into example code, Example code and example reception/interpreter storage triggering example code are compared, if the two example code is completely the same, generated Trigger signal or level trigger the equipment.
In conclusion the embodiment of the invention provides a kind of synchronization timings to trigger system, it can be used for synchronization timing triggering and add Fast device and treatment terminal synchronization in need equipment.The system uses PXIe/PXI industrial personal computer+PXIe/PXI plug-in type example The hardware plan of output board card, have storage resource abundant and computing resource, can be convenient data are analyzed, handle and Storage solves the problems, such as that aforementioned mentioned system on chip computing function and storage resource are insufficient, effectively increases the control of system Accuracy and speed processed;The application of visual instrument technology effectively reduces the period of hardware research and development, improves the reliable of system Property and maintainability, avoid system upgrade difficulty;It is total by PXIe/PXI between controller and example output board card in system Line carries out data interaction, ensure that the transmission speed of data, real-time, reliability and the synchronism of system effectively improve, Meanwhile PXIe/PXI chassis expansion slot provides redundancy slot so as to the extension of later period system function;The system is capable of providing Multi-client access, and standard industry communication agreement OPC-UA is used, solve the problems, such as PORT COM and resource contention, simultaneously It ensure that the standardization and normalization of communications protocol.
Particular embodiments described above has carried out further in detail the purpose of the present invention, technical scheme and beneficial effects It describes in detail bright, it should be understood that the above is only a specific embodiment of the present invention, is not intended to restrict the invention, it is all Within the spirit and principles in the present invention, any modification, equivalent substitution, improvement and etc. done should be included in guarantor of the invention Within the scope of shield.

Claims (9)

1.一种应用于粒子加速器的同步定时触发系统,其特征在于,所述同步定时触发系统可连接至少一个客户端,所述客户端与所述同步定时触发系统之间采用客户端/服务端的模式进行数据交互,该同步定时触发系统包括:1. a synchronous timing trigger system applied to particle accelerator, is characterized in that, described synchronous timing trigger system can connect at least one client, between described client and described synchronous timing trigger system adopts client/server mode for data interaction, the synchronous timing trigger system includes: 事例发生系统,由PXIe/PXI工控机及事例输出板卡构成,所述PXIe/PXI工控机用于根据事例文件号从数据库索引事例文件,所述事例输出板卡根据所述事例文件输出事例光信号,所述PXIe/PXI工控机与所述事例输出板卡通过PXIe/PXI高速背板总线进行数据传输;The case generation system is composed of a PXIe/PXI industrial computer and an instance output board, the PXIe/PXI industrial computer is used to index the case file from the database according to the case file number, and the case output board outputs the case light according to the case file. signal, the PXIe/PXI industrial computer and the instance output board perform data transmission through the PXIe/PXI high-speed backplane bus; 事例传输系统,用于传递所述事例光信号;an event transmission system for transmitting the event optical signal; 事例接收/解译器,用于接收事例光信号并转换为事例码,将转换的事例码与事例接收/解译器存储的触发事例码对比,若两者事例码完全一致,则产生触发信号或电平,触发所述粒子加速器中需要同步的设备。The case receiver/interpreter is used to receive the case light signal and convert it into case code, and compare the converted case code with the trigger case code stored in the case receiver/decoder. If the two case codes are exactly the same, a trigger signal will be generated. or level to trigger the device in the particle accelerator that needs to be synchronized. 其中,所述事例传输系统连接至少一个所述事例接收/解译器,每个所述粒子加速器中需要同步的设备具有与之对应的所述事例接收/解译器,所述事例传输系统将所述事例光信号扇出并分发为多个所述事例光信号,同时传递至每个所述需要同步的设备对应的所述事例接收/解译器。Wherein, the case transmission system is connected to at least one of the case receivers/interpreters, each device that needs to be synchronized in the particle accelerator has the case receiver/interpreter corresponding thereto, and the case transmission system will The instance optical signal is fanned out and distributed into a plurality of the instance optical signals, and simultaneously transmitted to the instance receiver/interpreter corresponding to each of the devices requiring synchronization. 2.根据权利要求1所述的同步定时触发系统,其特征在于,所述PXIe/PXI工控机设置有事例编辑界面、事例控制界面、控制逻辑处理及板卡驱动的功能,2. synchronous timing trigger system according to claim 1, is characterized in that, described PXIe/PXI industrial computer is provided with the function of case editing interface, case control interface, control logic processing and board driver, 所述事例编辑界面用于编写所述事例文件,并保存于数据库中;The case editing interface is used to write the case file and save it in the database; 所述事例控制界面用于选择所述事例文件号并进行参数设置;The case control interface is used for selecting the case file number and setting parameters; 所述控制逻辑处理用于根据所述事例文件号从数据库索引事例文件;The control logic process is used to index the instance file from the database according to the instance file number; 所述板卡驱动用于驱动所述事例输出板卡根据所述事例文件输出事例光信号。The board driver is used to drive the case output board to output the case light signal according to the case file. 3.根据权利要求1所述的同步定时触发系统,其特征在于,所述事例传输系统由多个扇出器通过塑料光纤连接而成的树形结构,每个所述扇出器至少包括一个输出接口,使得所述事例光信号能够同时被传输到多个所述事例接收/解译器。3 . The synchronous timing trigger system according to claim 1 , wherein the case transmission system consists of a tree structure formed by connecting a plurality of fan-outs through plastic optical fibers, and each of the fan-outs includes at least one An output interface so that the instance light signal can be simultaneously transmitted to a plurality of the instance receivers/interpreters. 4.根据权利要求1和2所述的同步定时触发系统,其特征在于,所述事例文件包括事例名称、延迟时间及重复次数,4. The synchronous timing trigger system according to claim 1 and 2, wherein the case file comprises case name, delay time and repetition times, 所述事例名称用于指定触发的设备;The instance name is used to specify the triggering device; 所述延迟时间用于限定从上次事例输出结束至本次输出开始的间隔时间;The delay time is used to define the interval time from the end of the last instance output to the start of the current output; 所述重复次数用于限定当前事例重复输出的次数。The number of repetitions is used to limit the number of times the current instance is repeatedly output. 5.根据权利要求1所述的同步定时触发系统,其特征在于,所述事例接收/解译器包括网络接口和光信号接口,5. The synchronous timing trigger system according to claim 1, wherein the case receiver/interpreter comprises a network interface and an optical signal interface, 所述网络接口用于从所述数据库中加载所述需要同步的设备必须响应的触发事例码至所述事例接收/解译器;The network interface is used to load the trigger event code that the device that needs synchronization must respond to from the database to the event receiver/interpreter; 所述光信号接口用于接收所述事例光信号。The optical signal interface is used for receiving the instance optical signal. 6.根据权利要求1所述的同步定时触发系统,其特征在于,所述客户端与所述同步定时触发系统之间采用标准工业通信协议进行信息交互,以提供多客户端访问。6 . The synchronization timing trigger system according to claim 1 , wherein the client and the synchronization timing trigger system use a standard industrial communication protocol for information exchange to provide multi-client access. 7 . 7.根据权利要求3所述的同步定时触发系统,其特征在于,连接所述多个扇出器之间的所述塑料光纤等长,以使所述事例光信号的传输距离相等。7 . The synchronous timing trigger system according to claim 3 , wherein the lengths of the plastic optical fibers connecting the plurality of fan-outs are equal, so that the transmission distances of the case optical signals are equal. 8 . 8.根据权利要求1所述的同步定时触发系统,其特征在于,所述PXIe/PXI工控机设有多个外设插槽,所述事例输出板卡插入其中一个插槽。8 . The synchronous timing trigger system according to claim 1 , wherein the PXIe/PXI industrial computer is provided with a plurality of peripheral slots, and the instance output board is inserted into one of the slots. 9 . 9.一种应用于粒子加速器的同步定时触发方法,其特征在于,包括:9. A synchronous timing trigger method applied to a particle accelerator, characterized in that, comprising: PXIe/PXI工控机根据事例文件号从数据库中索引事例文件;The PXIe/PXI industrial computer indexes the case file from the database according to the case file number; 事例输出板卡通过PXIe/PXI高速背板总线接收所述事例文件,并根据所述事例文件输出事例光信号;The case output board receives the case file through the PXIe/PXI high-speed backplane bus, and outputs the case optical signal according to the case file; 事例传输系统将所述事例光信号扇出并分发为多个所述事例光信号;The instance transmission system fan-out and distributes the instance optical signal into a plurality of the instance optical signals; 每个需要触发设备对应的事例接收/解译器接收所述事例光信号,并转换为事例码,将转换的事例码与该事例接收/解译器存储的触发事例码对比,若两者事例码完全一致,则产生触发信号或电平,触发该设备。Each case receiver/interpreter corresponding to the triggering device receives the case light signal, converts it into case code, and compares the converted case code with the trigger case code stored in the case receiver/interpreter. If the codes are exactly the same, a trigger signal or level will be generated to trigger the device.
CN201910021442.7A 2019-01-10 2019-01-10 Synchronous timing trigger system and method applied to particle accelerator Active CN109474366B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910021442.7A CN109474366B (en) 2019-01-10 2019-01-10 Synchronous timing trigger system and method applied to particle accelerator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910021442.7A CN109474366B (en) 2019-01-10 2019-01-10 Synchronous timing trigger system and method applied to particle accelerator

Publications (2)

Publication Number Publication Date
CN109474366A true CN109474366A (en) 2019-03-15
CN109474366B CN109474366B (en) 2020-08-21

Family

ID=65678628

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910021442.7A Active CN109474366B (en) 2019-01-10 2019-01-10 Synchronous timing trigger system and method applied to particle accelerator

Country Status (1)

Country Link
CN (1) CN109474366B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109908492A (en) * 2019-03-21 2019-06-21 中国科学院近代物理研究所 A medical heavy ion accelerator control system
CN111308942A (en) * 2020-03-31 2020-06-19 中国科学技术大学 A signal acquisition and processing system and method for active control of an anti-field pinch nuclear fusion device
CN115729166A (en) * 2022-11-23 2023-03-03 兰州科近泰基新技术有限责任公司 A safety interlock system, method and medium for medical heavy ion accelerator

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030133556A1 (en) * 1999-05-26 2003-07-17 Dharmendra Naik Element management system with adaptive interface based on autodiscovery from element identifier
CN103064328A (en) * 2012-12-15 2013-04-24 中国科学院近代物理研究所 Digital pulse power supply synchronous timing trigger system
CN202995344U (en) * 2012-12-15 2013-06-12 中国科学院近代物理研究所 Synchronous and timing digital pulse power supply triggering system
CN103634094A (en) * 2013-12-19 2014-03-12 中国科学院高能物理研究所 Clock synchronization control method and system and positron emission tomography scanner

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030133556A1 (en) * 1999-05-26 2003-07-17 Dharmendra Naik Element management system with adaptive interface based on autodiscovery from element identifier
CN103064328A (en) * 2012-12-15 2013-04-24 中国科学院近代物理研究所 Digital pulse power supply synchronous timing trigger system
CN202995344U (en) * 2012-12-15 2013-06-12 中国科学院近代物理研究所 Synchronous and timing digital pulse power supply triggering system
CN103634094A (en) * 2013-12-19 2014-03-12 中国科学院高能物理研究所 Clock synchronization control method and system and positron emission tomography scanner

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
赵江: "重离子加速器数字电源实时控制方法的研究与实现", 《中国科学院大学博士学位论文》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109908492A (en) * 2019-03-21 2019-06-21 中国科学院近代物理研究所 A medical heavy ion accelerator control system
CN109908492B (en) * 2019-03-21 2021-08-13 中国科学院近代物理研究所 A medical heavy ion accelerator control system
CN111308942A (en) * 2020-03-31 2020-06-19 中国科学技术大学 A signal acquisition and processing system and method for active control of an anti-field pinch nuclear fusion device
CN115729166A (en) * 2022-11-23 2023-03-03 兰州科近泰基新技术有限责任公司 A safety interlock system, method and medium for medical heavy ion accelerator

Also Published As

Publication number Publication date
CN109474366B (en) 2020-08-21

Similar Documents

Publication Publication Date Title
CN109474366A (en) Synchronous timing trigger system and method applied to particle accelerator
CN109908492B (en) A medical heavy ion accelerator control system
CN101794268A (en) Processing module capable of reconstructing signals based on VPX bus
CN105486999A (en) Boundary scanning digital circuit test system based on PXI bus and test method thereof
CN103472782B (en) A kind of distributed time sequence trigger control system
CN109917891A (en) A PCIE accelerated network card power supply circuit and design method thereof
CN110118955A (en) Radar signal acquisition processing device based on MiniVPX
CN103246588A (en) Controller and implementation method for self-checking serial bus
CN109857036B (en) Beam Chopping Monitoring System
CN201707604U (en) Rapid analog quantity/switching quantity record testing device
CN111562552A (en) Ground radar synchronous network master control device and control method
CN208227066U (en) A kind of modularization intelligent substation network interchanger
CN109086191A (en) The lighting system and method for machine box for server front panel network indicator light
CN118444748A (en) Expandable high-precision external trigger control pulse power supply time sequence generator
CN219225068U (en) Small-sized radar system and digital signal processing module thereof
CN106059599A (en) S-band receiving-transmitting integrated processor system
CN106443602A (en) Miniaturized wireless control test equipment
CN116125883A (en) Accelerator case analysis and monitoring device
CN115664575A (en) Synchronized timing systems and methods for particle accelerator treatment devices
CN110874020A (en) Photoetching machine control system and method
CN212847014U (en) Control system
CN112737801B (en) Centralized management system for Ethernet data collectors
CN111884750A (en) Synchronous measurement and control network architecture of array system
CN207281648U (en) A kind of clock distributing equipment for being used to digitize pet detector
CN220673779U (en) Vehicle-mounted Ethernet simulation device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20190315

Assignee: Lanzhou Kejin Taiji Corp.,Ltd.

Assignor: INSTITUTE OF MODERN PHYSICS, CHINESE ACADEMY OF SCIENCES

Contract record no.: X2021620000012

Denomination of invention: Synchronous timing trigger system and method applied to particle accelerator

Granted publication date: 20200821

License type: Common License

Record date: 20210914

EE01 Entry into force of recordation of patent licensing contract
EM01 Change of recordation of patent licensing contract

Change date: 20220706

Contract record no.: X2021620000012

Assignor after: INSTITUTE OF MODERN PHYSICS, CHINESE ACADEMY OF SCIENCES

Assignor after: HUIZHOU ION SCIENCE RESEARCH CENTER

Assignor before: INSTITUTE OF MODERN PHYSICS, CHINESE ACADEMY OF SCIENCES

EM01 Change of recordation of patent licensing contract