Cluster beam system control system based on TwinCAT and WinCC
Through the cluster beam flow system control system based on TwinCAT and WinCC, the design of the operation interface layer, data processing layer and device control layer is solved, and the control problem between subsystems and devices in the cluster beam flow experimental system is realized. High reliability and flexibility in system operation.
Patent Information
- Application Number
- CN202310846228.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-11
- Publication Date
- 2025-01-14
AI Technical Summary
It is difficult to use the same control system for coordinated call between each subsystem and equipment in the cluster beam experimental system, resulting in difficulty in controlling.
Design a cluster beam flow system control system based on TwinCAT and WinCC, including an operation interface layer, a data processing layer and a device control layer, and realize bidirectional communication between each subsystem and device through EtherCAT coupler and star topology structure. Data processing, using TCP/IP or Modbus protocol for data transmission.
It realizes dynamic allocation management, resource sharing and high reliability operation between each subsystem and device, improves the flexibility and fault tolerance of the system, ensures that the system can still operate normally in the event of some failures, and simplifies management and maintenance.
Smart Images

Figure CN119316247A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of cluster beam control, in particular to a cluster beam system control system based on TwinCAT and WinCC. Background Art
[0002] The monitoring functions of existing systems such as ion sources, lens and magnet high-voltage power supply systems, beam measurement systems, and vacuum systems are implemented in the same control system. However, since the subsystems of the cluster beam experiment system are distributed in different locations and there are many types of equipment involved in the cluster beam experiment system, it is difficult to use the existing same control system to achieve control over the subsystems and equipment, which makes it difficult to coordinate the calls between the subsystems and equipment of the cluster beam experiment system. Summary of the invention
[0003] The object of the present invention is to provide a cluster beam system control system based on TwinCAT and WinCC to solve the problem in the background art that various subsystems and devices in the cluster beam experimental system are difficult to control using the same control system.
[0004] In order to solve the above technical problems, the present invention provides the following technical solution, a cluster beam system control system based on TwinCAT and WinCC, comprising:
[0005] The operation interface layer is used to issue control instructions to the cluster beam system and display the working information of the application equipment;
[0006] The data processing layer uses the main controller to send control signals to the operation interface layer and process the data transmitted by the application device. The data processing process includes reading instructions and data, data storage, data conversion, data call, collaborative calculation, and instruction distribution;
[0007] The device control layer includes a coupler, an RS-232 interface, a servo motor and several remote modules, and is used for bidirectional communication with the data processing layer. The bidirectional communication mode includes the device control layer receiving a control signal sent by the data processing layer and transmitting the control signal to the corresponding application device, and the device control layer receiving a device working signal sent by the application device and transmitting the device working signal to the data processing layer; the remote module can adopt an EK1100 module;
[0008] Application equipment, including various subsystems and various devices of the cluster beam system control system, is used to receive control signals sent by the device control layer, work according to the control signals, and send device working signals generated by the work to the device control layer. The device working signals include device status signals, device monitoring signals, etc.
[0009] The cluster beam system controls various subsystems and various equipment such as high voltage power supplies, vacuum gauges, molecular pumps, video transmission subsystems, etc.
[0010] According to the above technical solution, the operation interface layer includes an operation station, a subsystem server and a display device;
[0011] The subsystem server uses WinCC server. WinCC provides basically all the most important communication channels for connecting to data of channels such as PROFIBUS-DP / FMS, DDE (Dynamic Data Exchange) and OPC (OLE for process control);
[0012] The display device includes a high-voltage control sub-interface, a vacuum monitoring sub-interface, a beam true control sub-interface, etc.;
[0013] The step of issuing control instructions comprises: clicking on the device to be controlled on the operation station to link to the corresponding sub-control interface of the display device, issuing control instructions on the corresponding sub-control interface, transmitting the control signal to the data processing layer through the corresponding subsystem server for data processing, transmitting the processed control signal to the corresponding application device through the device control layer, and the corresponding application device works according to the control instruction;
[0014] The step of displaying the working information of the application device: the application device transmits the device working signal generated during operation to the data processing layer through the device control layer for data processing, and presents the processed data to the corresponding sub-control interface of the display device through the subsystem server.
[0015] According to the above technical solution, TCP / IP or Modbus protocol is used between the operation interface layer and the data processing layer.
[0016] According to the above technical solution, the data processing layer and the device control layer are connected via a coupler, and the coupler is an EtherCAT coupler. The coupler only converts the physical layer without changing the process data flow. The EtherCAT coupler is the "head station" and is located at the front of the terminal module network segment.
[0017] According to the above technical solution, a star topology is constructed in the data processing layer, in which the star topology communicates with the servo motor and each remote module through the EtherCAT field bus protocol, and the control signal and the equipment working signal are transmitted through the servo motor and each remote module; the topology expansion module can be deployed anywhere in the EtherCAT network, so a star topology can be established.
[0018] In terms of hardware, the Beckhoff EtherCAT star connector module CU1128 can be used to implement this. The host is connected to the module input through the RJ45 interface, and all other control modules can be connected to the output port of the CU1128 module. The maximum transmission distance supported is 100m. For different field bus requirements, there are corresponding modules for implementation or conversion.
[0019] According to the above technical solution, the input end of the RS-232 interface is connected to the remote module, and the output end of the RS-232 interface is connected to the high-voltage power supply; the output end of the servo motor is connected to the slit, the monofilament and the Faraday cup; each remote module not connected to the RS-232 interface has only one subsystem or device of the cluster beam system control system connected to it.
[0020] Compared with the prior art, the beneficial effects achieved by the present invention are:
[0021] 1. The present invention sets an operation console in the operation interface layer, and can dynamically allocate and manage the system according to the different control requirements of different subsystems, which is convenient for subsystem expansion and deletion. Compared with the system based on process control, it is easier to achieve generalization and standardization.
[0022] 2. The present invention processes data between various subsystems and devices by setting up a data processing layer, thereby realizing resource and data sharing. Programs, data, related peripherals and other resources within the system can access each other, and while sharing data, the flexibility of the overall system is increased, ensuring the adaptability of the system.
[0023] 3. The present invention sets a star topology in the device control layer, so that the various subsystems and devices of the cluster beam system are independent of each other. The failure of a certain subsystem or device will not affect the entire system. The cluster beam system control system can still operate with failures, and has a high fault tolerance rate. The various subsystems and devices can achieve mutual diagnosis, protection and monitoring through data interaction, so that the reliability of the cluster beam system control system is improved. Through several remote modules connected to the coupler in a star shape, the redundancy between the various control sub-devices can be increased, and each application device can be guaranteed to be independent of each other and the operations do not interfere with each other. The failure of any other device in the network will not affect the normal use of other devices. In addition, this topology connection method has the advantages of simple structure, easy management and maintenance, strong scalability, and low network delay.
[0024] At the same time, the tasks of each subsystem can be processed in parallel without affecting each other, or the same task can be processed simultaneously, which greatly shortens the response time of the system. Centralized control is through time-sharing processing. The system first determines the priority of each task and queues it up for response according to the priority. It takes a long time to wait and the efficiency is often very low. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0026] Figure 1 This is a schematic diagram of the network topology of a cluster beam system control system based on TwinCAT and WinCC according to the present invention;
[0027] Figure 2 It is a schematic diagram of the hardware topology of a cluster beam system control system based on TwinCAT and WinCC of the present invention;
[0028] Figure 3 It is a schematic diagram of a star network topology structure of a cluster beam system control system based on TwinCAT and WinCC according to the present invention;
[0029] Figure 4 It is a WinCC control interface architecture diagram of the present invention. DETAILED DESCRIPTION
[0030] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0031] See also Figure 1-Figure 4 The present invention provides a technical solution, a cluster beam system control system based on TwinCAT and WinCC, which is used for monitoring and controlling the data status of application equipment, including:
[0032] The operation interface layer is used to issue control instructions to the cluster beam system, output the control signal to the data processing layer through the TCP / IP or Modbus protocol, and display the working information of the application equipment. The operation interface layer includes an operation station, a subsystem server and a display device;
[0033] The data processing layer uses the main controller to send control signals to the operation interface layer and process the data transmitted by the application device. The data processing process includes reading instructions and data, data storage, data conversion, data call, collaborative calculation, and instruction distribution;
[0034] The device control layer includes a coupler, an RS-232 interface, a servo motor and several remote modules, and is used for bidirectional communication with the data processing layer. The bidirectional communication mode includes the device control layer receiving a control signal sent by the data processing layer and transmitting the control signal to the corresponding application device, and the device control layer receiving a device working signal sent by the application device and transmitting the device working signal to the data processing layer; the data processing layer and the device control layer are connected via a coupler, and the coupler is an EtherCAT coupler;
[0035] A star topology is constructed in the data processing layer, in which the star topology communicates with the servo motor and each remote module through the EtherCAT field bus protocol, and the control signal and the equipment working signal are transmitted through the servo motor and each remote module;
[0036] The input end of the RS-232 interface is connected to the remote module, and the output end of the RS-232 interface is connected to the high-voltage power supply; the output end of the servo motor is connected to the slit, the monofilament and the Faraday cup; each remote module not connected to the RS-232 interface has only one subsystem or device of the cluster beam system control system connected to it.
[0037] The application equipment, including various subsystems and various devices of the cluster beam system control system, is used to receive the control signal sent by the device control layer, work according to the control signal, and send the device working signal generated by the work to the device control layer.
[0038] Example 1
[0039] By clicking on the high-voltage control and vacuum monitoring functions on the operating station, you will be connected to the high-voltage control sub-interface and the vacuum monitoring sub-interface, set the required control data on the high-voltage control sub-interface and the vacuum monitoring sub-interface (the high-voltage power supply is 15KV, turn on the vacuum gauge and molecular pump monitoring), and then send the corresponding control instructions to the subsystem server. The subsystem server transmits the control signal to the data processing layer for data processing, and transmits the processed control signal to the high-voltage power supply, vacuum gauge and molecular pump through the equipment control layer. The high-voltage power supply adjusts the power to 15KV according to the control signal, and the vacuum gauge and molecular pump are started and monitored according to the corresponding control signal.
[0040] Example 2
[0041] The vacuum gauge and molecular pump transmit the monitoring signals and working status signals during operation to the data processing layer through the equipment control layer for data processing, and transmit the processed data to the vacuum monitoring sub-interface, which displays the real-time monitoring data and status of the vacuum gauge and molecular pump.
[0042] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0043] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A cluster beam system control system based on TwinCAT and WinCC, used for monitoring and controlling the data status of application equipment, characterized in that: include: The operation interface layer is used to issue control instructions to the data processing layer and display the working information of the application equipment; The data processing layer uses the main controller to send control signals to the operation interface layer and process the data transmitted by the application device. The data processing process includes reading instructions and data, data storage, data conversion, data call, collaborative calculation, and instruction distribution; The device control layer includes a coupler, an RS-232 interface, a servo motor and several remote modules, and is used for bidirectional communication with the data processing layer. The bidirectional communication mode includes the device control layer receiving a control signal sent by the data processing layer and transmitting the control signal to the corresponding application device, and the device control layer receiving a device working signal sent by the application device and transmitting the device working signal to the data processing layer; The application equipment, including various subsystems and various devices of the cluster beam system control system, is used to receive the control signal sent by the device control layer, work according to the control signal, and send the device working signal generated by the work to the device control layer.
2. The cluster beam system control system based on TwinCAT and WinCC according to claim 1, characterized in that: The operation interface layer includes an operation station, a subsystem server and a display device; The step of issuing control instructions comprises: clicking on the device to be controlled on the operation station to link to the corresponding sub-control interface of the display device, issuing control instructions on the corresponding sub-control interface, transmitting the control signal to the data processing layer through the corresponding subsystem server for data processing, transmitting the processed control signal to the corresponding application device through the device control layer, and the corresponding application device works according to the control instruction; The step of displaying the working information of the application device: the application device transmits the device working signal generated during operation to the data processing layer through the device control layer for data processing, and presents the processed data to the corresponding sub-control interface of the display device through the subsystem server.
3. The cluster beam system control system based on TwinCAT and WinCC according to claim 1, characterized in that: The TCP / IP or Modbus protocol is used between the operation interface layer and the data processing layer.
4. The cluster beam system control system based on TwinCAT and WinCC according to claim 1, characterized in that: The data processing layer and the device control layer are connected via a coupler, and the coupler is an EtherCAT coupler.
5. The cluster beam system control system based on TwinCAT and WinCC according to claim 1, characterized in that: A star topology is constructed in the data processing layer, in which communication is performed with the servo motor and each remote module via the EtherCAT field bus protocol, and control signals and equipment working signals are transmitted via the servo motor and each remote module.
6. The cluster beam system control system based on TwinCAT and WinCC according to claim 1, characterized in that: The input end of the RS-232 interface is connected to the remote module, and the output end of the RS-232 interface is connected to the high-voltage power supply; the output end of the servo motor is connected to the slit, the monofilament and the Faraday cup; each remote module not connected to the RS-232 interface has only one subsystem or device of the cluster beam system control system connected to it.