A front-end control method for large scientific devices based on EPICS

By configuring control parameters and integrating data writing methods, the dynamic pipeline circulation of the front-end control system of the large scientific device and the integration of the high-voltage modulator system are realized. The login page is set to be associated with the basic operating system, which solves the complexity and misoperation of the front-end control system. problems, improving efficiency and controllability.

CN117667288BActive Publication Date: 2024-10-01ANHUI UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311678967.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-08
Publication Date
2024-10-01
Estimated Expiration
2043-12-08

AI Technical Summary

Technical Problem

The front-end control system of large scientific equipment is complex and error-prone. It lacks dynamic visualization and efficient operation methods, resulting in high misoperation and low efficiency when operated by non-professionals.

Method used

Realize dynamic pipeline circulation and integrated data writing by configuring control parameters, setting the login page to associate with the basic operating system, simplifying the operation process, integrating multiple systems into one interface, and using script files to realize subsystem interconnection.

Benefits of technology

It improves the controllability and dynamic visualization of front-end control, reduces misoperation, improves work efficiency, and ensures the operational safety and reliability of the device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117667288B_ABST
    Figure CN117667288B_ABST
Patent Text Reader

Abstract

The present invention discloses a front-end control method for a large scientific device based on EPICS, and relates to the technical field of large scientific devices. The method comprises the following steps: obtaining a water cooling system capable of realizing dynamic pipeline circulation by configuring control parameters; obtaining a high-voltage modulator system capable of realizing integrated data writing by an integrated writing method; predetermining a water cooling system and a high-voltage modulator system as basic operating systems; configuring a login page of the system, wherein the login page is associated with the basic operating system, and determining the water cooling system or the high-voltage modulator system to enter the basic operating system according to user needs, so as to effectively ensure the controllability of the front-end control and guarantee the operating safety and efficiency of the device; obtaining a pipeline circulation page of the water cooling system by configuring controls and writing rules for short-distance circulation and long-distance circulation in the pipeline circulation type, dynamically displaying the effect of pipeline circulation, simplifying the operation by integrated data writing, and further improving the reliability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of large scientific facilities, and more specifically, to a front-end control method of a large scientific facility based on EPICS. Background Art

[0002] The operation and control of large scientific facilities involve complex data transmission and operation environment. EPICS (Experimental Physics and Industrial Control System) came into being. With its fault tolerance and reliability (failure of a single component does not cause the system to shut down) and the fact that it does not require complex or expensive basic components, it has become popular in major scientific facilities around the world, such as Argonne National Laboratory (ANL), Los Alamos National Laboratory (LANL), Hefei Synchrotron Light Source, Beijing Electron-Positron Collider, etc.

[0003] CS-Studio / Phoebus is a framework and a series of embedded tools based on EPICS, used to monitor and control large scientific devices. Phoebus is an update of the control system studio toolset, which removes the dependency on eclipse rcp and SWT. As the OPI interface tool of EPICS, it is a series of custom toolkits running on java, supporting visual operations and back-end data binding. The above toolset meets all the requirements of subsystem control.

[0004] In recent years, with the continuous development of data structures and algorithms and the growing demand for control of large scientific facilities, how to more intelligently integrate and control various subsystems has become a problem that needs to be optimized. However, the existing basis for data transmission and system conversion of each subsystem is to click on PV writing and click on the operation bar in the top area to switch, and there is no ability to achieve some kind of dynamic display (except for its own demo file examples: thermometer, instrument), which makes the front-end control of the back-end system more complicated, and the mechanized and repetitive input and output work is prone to errors.

[0005] Therefore, how to effectively ensure the controllability of front-end control, improve the dynamic visualization of front-end control and improve work efficiency is a technical problem that needs to be solved. Summary of the invention

[0006] The present invention provides a front-end control method for a large scientific device based on EPICS, which is used to solve the problem that the large scientific front-end control system in the prior art is relatively complex. The method comprises:

[0007] By configuring the control parameters, a water cooling system that can realize dynamic pipeline circulation is obtained;

[0008] By means of an integrated writing method, a high voltage modulator system capable of realizing integrated data writing is obtained;

[0009] Predetermine the water cooling system and high pressure modulator system as the basic operating system;

[0010] A login page of the configuration system is associated with the basic operating system, and entry into a water cooling system or a high-voltage modulator system in the basic operating system is determined according to user needs.

[0011] In some embodiments of the present application, a water cooling system capable of realizing dynamic pipeline circulation is obtained by configuring control parameters, including:

[0012] Dynamic pipeline circulation is classified according to distance to obtain pipeline circulation types, and the pipeline circulation types include short-distance circulation and long-distance circulation;

[0013] The water cooling system pipeline circulation page is obtained by configuring the controls for short-distance circulation and long-distance circulation in the pipeline circulation type and writing rules.

[0014] In some embodiments of the present application, short-range communication is configured, including:

[0015] Drag the text update control, and associate the text update control during the dragging process with the first simulation value;

[0016] The first simulation value increases according to a set first speed, and the coordinate value of the current text update control is recorded;

[0017] A first simulation value threshold is set, and when the first simulation value reaches the first simulation value threshold, the coordinate value of the text update control is moved to a set position.

[0018] In some embodiments of the present application, long-distance communication is configured, including:

[0019] Drag a plurality of text update controls, and associate the text update controls in the dragging process with the second simulation value;

[0020] The second simulation value increases at a set second speed to record the position of the current text update control;

[0021] Insert the control script to link the second simulation value with the text update control to achieve the movement effect of the control.

[0022] In some embodiments of the present application, the high-voltage modulator system capable of implementing integrated data writing is obtained by pre-integrated writing method, including:

[0023] Pre-adding project elements and configuring corresponding operation scripts, the project elements are ion pump power supply, focusing coil power supply, filament heating power supply and bias magnetic power supply, and the operation script includes a script for writing multiple device parameters at the same time;

[0024] When the script corresponding to the project element is clicked, the current value corresponding to the project element will be generated.

[0025] In some embodiments of the present application, the login page of the configuration system, which is associated with the basic operation system, includes:

[0026] The login page for entering the system is used as the first page, and the modules required by the system are configured on the first page, including: login password module, project log module, precaution module, and timestamp module;

[0027] The basic operating system is used as the second page, and a relationship between the first page and the second page is established, so that the second page can be jumped to through the first page.

[0028] In some embodiments of the present application, configuring the login password module of the first page configuration system includes:

[0029] Set the user login dialog box to a running state, and when the user clicks the login password module, the login password module pops up a login prompt message;

[0030] After the user enters the password according to the login prompt information, the system pops up a selection dialog box, which includes a water cooling system and a modulator system;

[0031] When the user selects the water cooling system, the page jumps to the water cooling system page; when the user selects the modulator system, the page jumps to the water cooling system page.

[0032] In some embodiments of the present application, configuring the project log module of the first page configuration system includes:

[0033] The project log library is pre-set in the system. When the user clicks the project log module, an information dialog box will pop up, and the user can retrieve the required project log in the information dialog box.

[0034] It can be seen from the above technical solution that, compared with the prior art, the beneficial effects of the present invention are:

[0035] 1. Based on the water cooling system and high-voltage and high-power pulse modulator system, a login page is set up. By running the set script file, the interconnection process between each subsystem and the login page is realized, which optimizes the original operation process. Overall, multiple systems are integrated into one operation interface, which has a good user experience.

[0036] 2. By configuring the controls for short-distance circulation and long-distance circulation in the pipeline circulation type and writing rules, the pipeline circulation page of the water cooling system is obtained to dynamically display the effect of pipeline circulation.

[0037] 3. This application proposes an integrated data writing operation, which implements writing of PV values ​​of multiple devices by running the Write PV script. This has the advantage of simplifying the operation, as there is no need to write the PV value of each device in the Properties column on the right, and further improving reliability.

[0038] By applying the above technical solution and configuring the control parameters, a water cooling system capable of realizing dynamic pipeline circulation is obtained; the water cooling system and the high-voltage modulator system are predetermined as the basic operating system; a high-voltage modulator system capable of realizing integrated data writing is obtained through an integrated writing method; a login page of the configuration system is associated with the basic operating system, and the water cooling system or the high-voltage modulator system entering the basic operating system is determined according to user needs, which can effectively ensure the controllability of the front-end control, reduce the misoperation of non-professionals, ensure the operating safety and efficiency of the device, and improve the dynamic visualization of the front-end control, rather than a single device layout. By integrating the console for inputting PV quantities and using the script method, the work efficiency of the control personnel is greatly improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0040] Figure 1 A schematic flow chart of a front-end control method for a large scientific device based on EPICS proposed in an embodiment of the present invention is shown;

[0041] Figure 2 A flow chart showing short-distance circulation and long-distance circulation proposed in an embodiment of the present invention is shown;

[0042] Figure 3 A flow chart showing an integrated writing method of a high voltage modulator system provided by an embodiment of the present invention is shown;

[0043] Figure 4 The structure diagram of the login page proposed in the embodiment of the present invention is shown. DETAILED DESCRIPTION

[0044] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0045] The present application embodiment provides a front-end control method for a large scientific device based on EPICS, such as Figure 1 As shown, the method comprises the following steps:

[0046] Step S101, obtaining a water cooling system capable of realizing dynamic pipeline circulation by configuring control parameters;

[0047] Step S102, obtaining a high-voltage modulator system capable of implementing integrated data writing through an integrated writing method;

[0048] Step S103, predetermining a water cooling system and a high-voltage modulator system as a basic operating system;

[0049] Step S104, configuring a login page of the system, wherein the login page is associated with the basic operating system, and determining to enter a water cooling system or a high-voltage modulator system in the basic operating system according to user needs.

[0050] In this embodiment, a login page is set up based on the water cooling device system and the high-voltage and high-power pulse modulator system, and the subsystems and the login page are interconnected by running the set script file. This process significantly optimizes the original operating procedures. Overall, multiple systems are integrated into one operating interface, which provides a good user experience.

[0051] Specifically, the main.bob, highvm.bob, and water devive.bob files are used to achieve the above purpose, and the subsystems and devices can be interconnected by running the .bob files to click on the Widget to call the Action. Each file is embedded in Properties (Widget, Position, Display, Behavior...), with the focus on the script algorithm, Action method, and Rules implementation of Properties.Behavior, and the deployment of Properties public properties (Widget, Positon, Display...).

[0052] The beneficial effects of the above scheme are as follows: based on the water cooling device system and the high-voltage and high-power pulse modulator system, a login page is set up, and the interconnection process between each subsystem and the login page is realized by running the set script file, which optimizes the original operation process. Overall, multiple systems are integrated into one operation interface, which has a good user experience.

[0053] In some embodiments of the front-end control method of a large scientific device based on EPICS, a water cooling system capable of realizing dynamic pipeline circulation is obtained by configuring control parameters, including:

[0054] Dynamic pipeline circulation is classified according to distance to obtain pipeline circulation types, and the pipeline circulation types include short-distance circulation and long-distance circulation;

[0055] The water cooling system pipeline circulation page is obtained by configuring the controls for short-distance circulation and long-distance circulation in the pipeline circulation type and writing rules.

[0056] In this embodiment, cooling water at 24° or 42° flows in the pipes in the water cooling system, and the effect of pipe circulation is dynamically displayed by controlling the controls and their programming rules.

[0057] Specifically, the solution of this patent is: for short distance (for example, from the beginning of the pipe to the water inlet valve), the TextUpdate control is used and drawn into entities to write rules. For long distance (for example, the water inlet valve and the resistivity meter), the Label control is used and drawn into entities to run the script. The overall principle is that the movement of the entity rectangle in the pipe simulates the flow of water.

[0058] The beneficial effects of the above scheme are as follows: by configuring the controls for short-distance circulation and long-distance circulation in the pipeline circulation type and writing rules, a water cooling system pipeline circulation page is obtained, which dynamically displays the effect of pipeline circulation.

[0059] In some embodiments of the present application, short-range flow is configured, such as Figure 2 As shown, including:

[0060] Drag the text update control, and associate the text update control during the dragging process with the first simulation value;

[0061] The first simulation value increases according to a set first speed, and the coordinate value of the current text update control is recorded;

[0062] A first simulation value threshold is set, and when the first simulation value reaches the first simulation value threshold, the coordinate value of the text update control is moved to a set position.

[0063] In this embodiment, taking the area between the beginning of the pipe and the water inlet valve as an example, drag a Text Update control and associate it with a simulation value PV. The PV name is sim: / / ramp(0,2,0.1): it means increasing from 0 to 2 at 0.1 seconds, merge its color into an entity and record the current X value in the coordinate field, write Rules to it, and the script content is that this entity control increases from 0 to 2 at 0.1 seconds. When the simulation value is greater than 1, the control moves from the coordinate value of 100 to the coordinate value of 135.

[0064] The beneficial effects of the above solution: Use the Text Update control in a short distance and describe it as an entity to write a rule solution.

[0065] In some embodiments of the present application, a front-end control method for a large scientific device based on EPICS is configured to flow over a long distance, such as Figure 2 As shown, including:

[0066] Drag a plurality of text update controls, and associate the text update controls in the dragging process with the second simulation value;

[0067] The second simulation value increases at a set second speed to record the position of the current text update control;

[0068] Insert the control script to link the second simulation value with the text update control to achieve the movement effect of the control.

[0069] In this embodiment, take the area between the water inlet valve and the resistivity meter as an example, drag a Label control to merge its color into an entity and associate it with a simulation value PV. Because the distance is relatively long, define the PV name as sim: / / ramp(-5,5,0.1) and increase the value from -5 to 5 in 0.1 seconds. Place it on the right side of the water inlet valve and define the current position loc: / / pos_270(270).

[0070] The distance it moves each time (every 0.1S) is defined as 10 units loc: / / scale_10(10). The moving script is then called as update_x.py. Considering a single control in a long pipe, multiple identical entity controls are added here to simulate the distance of water flowing in the pipe.

[0071] In some embodiments of the present application, a high-voltage modulator system capable of implementing integrated data writing is obtained through an integrated writing method, such as Figure 3 As shown, including:

[0072] Pre-adding project elements and configuring corresponding operation scripts, the project elements are ion pump power supply, focusing coil power supply, filament heating power supply and bias magnetic power supply, and the operation script includes a script for writing multiple device parameters at the same time;

[0073] When the script corresponding to the project element is clicked, the current value corresponding to the project element will be generated.

[0074] In this embodiment, the data writing operation is integrated to implement writing of PV quantities of multiple devices by running the Write PV script. This has the advantage of simplifying the operation, eliminating the need to write the quantity of each device in the Properties column on the right, and further improving reliability.

[0075] In this embodiment, the specific steps are as follows: First, drag in the Text Entry and Combo Box controls. In the Combo Box controls, add its form elements and add four form items, namely: ion pump power supply, focusing coil power supply, filament heating power supply and biasing power supply corresponding to loc: / / run1; loc: / / run2; loc: / / run3; loc: / / run4. In the Text Entry, you can add the PV variable you want to input, which is defined as loc: / / the_value() here. In the four TextUpdate controls on the right, fill in the PV Name corresponding to the item of the Combo Box for these four Text Updates. For example, the focusing coil power supply is: loc: / / run2. Here, you must also change the Widget Name to run2, otherwise the data writing will be reported. The subsequent focus is to call the script. This script is built into the Action Button control. The purpose is to click the button to write the Vaule into the control on the right to realize the control of the power system. Note that you must pay attention to the path of the py script, which is generally in the same folder as .bob.

[0076] Beneficial effects of the above scheme: Traditional writing of PV values ​​requires manual updating of Text Update each time. When the number of devices is large, such operation is not only time-consuming and labor-intensive, but also prone to misoperation. The present invention integrates data writing operations and writes PV values ​​of multiple devices by running the Write PV script. This has the advantage of simplifying the operation, eliminating the need to write each device value in the Properties column on the right, and further improving reliability.

[0077] In some embodiments of the present application, a front-end control method for a large scientific device based on EPICS is provided, wherein a login page of the configuration system is associated with the basic operation system, such as Figure 4 As shown, including:

[0078] The login page for entering the system is used as the first page, and the modules required by the system are configured on the first page, including: login password module, project log module, precaution module, and timestamp module;

[0079] The basic operating system is used as the second page, and a relationship between the first page and the second page is established, so that the second page can be jumped to through the first page.

[0080] In this embodiment, the login page is the first page, the basic operating system is the second page, and clicking the control on the first page can jump to the second page.

[0081] Beneficial effects of the above solution: This embodiment can realize the interconnection of various subsystems and devices. This process significantly optimizes the original operation process. Overall, multiple systems are integrated into one operation interface, which has a good user experience.

[0082] In some embodiments of the front-end control method of a large scientific device based on EPICS, the first page configures the login password module of the system, including:

[0083] Set the user login dialog box to a running state, and when the user clicks the login password module, the login password module pops up a login prompt message;

[0084] After the user enters the password according to the login prompt information, the system pops up a selection dialog box, which includes a water cooling system and a modulator system;

[0085] When the user selects the water cooling system, the page jumps to the water cooling system page; when the user selects the modulator system, the page jumps to the water cooling system page.

[0086] In this embodiment, password login is set on the first page, and login information is configured. The ConfirmationDialog is kept open, and the Confirmation Message is configured as the login prompt (login password). Then the password is customized. The logic here is that the user enters the login password under the prompt information and then chooses to jump to the system interface.

[0087] In this embodiment, two methods are written in the Action Button Widget to enable it to cut into the water cooling system and the high-voltage modulator. Two .bob files named Open Display are typed in Actions by Add, and their Action Detail is configured: Description=>hvm Display and Description=>wd Display; DisplayPath=>highvm.bob and DisplayPath=>water device.bob, and Replace is performed to replace the previous main interface for jump. The login password is set here.

[0088] Beneficial effects of the above scheme: This embodiment can set a login password and select the page to jump to, which can improve the controllability of the control method and is better than the previous method of jumping to the main interface.

[0089] In some embodiments of the front-end control method of a large scientific device based on EPICS, the project log module of the configuration system on the first page is configured, including:

[0090] The project log library is pre-set in the system. When the user clicks the project log module, an information dialog box will pop up, and the user can retrieve the required project log in the information dialog box.

[0091] In this embodiment, a script is written in the Action Button Widget so that it is executed when the Button is clicked. The purpose of this script is to call out the project log. Type Actions Execute Script through Add. The Script File here uses the embedded python format.

[0092] PVUtil reads the timestamp and formats it into a time string to call widget.setPropertyValue().

[0093] By applying the above technical solution and configuring the control parameters, a water cooling system capable of realizing dynamic pipeline circulation is obtained; by an integrated writing method, a high-voltage modulator system capable of realizing integrated data writing is obtained; the water cooling system and the high-voltage modulator system are predetermined as the basic operating system; a login page of the configuration system is associated with the basic operating system, and the water cooling system or the high-voltage modulator system entering the basic operating system is determined according to user needs. The integrated and protected front-end control method based on Phoebus can effectively ensure the controllability of the front-end control, reduce the misoperation of non-professionals, and ensure the operation safety and efficiency of the device. By configuring the controls and writing rules of short-distance circulation and long-distance circulation in the pipeline circulation type, a pipeline circulation page of the water cooling system is obtained, and the effect of pipeline circulation is dynamically displayed. The application also proposes an integrated data writing operation, and the PV amount of multiple devices is written by running the Write PV script. The advantage of this is that the operation is simplified, and there is no need to write the PV amount of each device in the Properties column on the right, and the reliability is further improved.

[0094] Through the description of the above implementation methods, those skilled in the art can clearly understand that the present invention can be implemented by hardware, or by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present invention can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each implementation scenario of the present invention.

[0095] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A front-end control method for a large scientific device based on EPICS, characterized in that: The method comprises: By configuring the control parameters, a water cooling system that can realize dynamic pipeline circulation is obtained; By means of an integrated writing method, a high voltage modulator system capable of realizing integrated data writing is obtained; Predetermine the water cooling system and high pressure modulator system as the basic operating system; A login page of a configuration system, wherein the login page is associated with the basic operation system, and determines whether to enter a water cooling system or a high-voltage modulator system in the basic operation system according to user needs; The water cooling system capable of realizing dynamic pipeline circulation is obtained by configuring the control parameters, including: Dynamic pipeline circulation is classified according to distance to obtain pipeline circulation types, and the pipeline circulation types include short-distance circulation and long-distance circulation; The water cooling system pipeline circulation page is obtained by configuring the controls of short-distance circulation and long-distance circulation in the pipeline circulation type and writing rules; Configure short-distance circulation, including: Drag the text update control, and associate the text update control during the dragging process with the first simulation value; The first simulation value increases according to a set first speed, and the coordinate value of the current text update control is recorded; Setting a first simulation value threshold, and when the first simulation value reaches the first simulation value threshold, moving the coordinate value of the text update control to a set position; Configure long-distance circulation, including: Drag a plurality of text update controls, and associate the text update controls in the dragging process with the second simulation value; The second simulation value increases at a set second speed to record the position of the current text update control; Insert a control script to link the second simulation value with the text update control to achieve the control movement effect; The integrated writing method is used to obtain a high-voltage modulator system capable of implementing integrated data writing, including: Pre-adding project elements and configuring corresponding running scripts, the project elements are ion pump power supply, focusing coil power supply, filament heating power supply and bias magnetic power supply, and the running script includes a script for writing multiple device parameters at the same time; When the script corresponding to the project element is clicked, the current value corresponding to the project element will be generated.

2. The method according to claim 1, characterized in that The login page of the configuration system, the login page being associated with the basic operation system, comprises: The login page for entering the system is used as the first page, and the modules required by the system are configured on the first page, including: login password module, project log module, precaution module, and timestamp module; The basic operating system is used as the second page, and a relationship between the first page and the second page is established, so that the second page can be jumped to through the first page.

3. The method according to claim 2, characterized in that The first page of configuration is to configure the login password module of the system, including: Set the user login dialog box to a running state, and when the user clicks the login password module, the login password module pops up a login prompt message; After the user enters the password according to the login prompt information, the system pops up a selection dialog box, which includes a water cooling system and a modulator system; When the user selects the water cooling system, the page jumps to the water cooling system page; when the user selects the modulator system, the page jumps to the water cooling system page.

4. The method according to claim 2, characterized in that: The first page of configuration configures the project log module of the system, including: The project log library is pre-set in the system. When the user clicks the project log module, an information dialog box will pop up, and the user can retrieve the required project log in the information dialog box.