Disclosure of Invention
Technical problem to be solved
The invention provides a vacuum monitoring system for a medical heavy ion accelerator, which has high safety and reliability, can monitor the running state and parameters of vacuum equipment in real time, can give an early warning in time when the equipment fails and make corresponding protective measures, and needs timely, efficient and accurate communication among the equipment of the whole system.
(II) technical scheme
In a first aspect, the present invention provides a vacuum monitoring system for a medical heavy ion accelerator, the system comprising: the vacuum equipment comprises a plurality of pumps, a plurality of vacuum gauges and a plurality of valves, wherein the pumps are used for pumping gas in the vacuum pipeline so as to keep the vacuum degree value in the vacuum pipeline within a preset range, the vacuum gauges are used for monitoring the vacuum degree value in the vacuum pipeline, the valves are used for opening or closing the vacuum pipeline, and the valves comprise at least one interlocking valve; the remote PLC workstation is used for remotely monitoring the vacuum equipment, transmitting the running state and parameters of the vacuum equipment and the vacuum degree value in the vacuum pipeline to the vacuum monitoring system server in real time, generating an interlocking signal and a first alarm signal if the vacuum degree value is greater than a preset vacuum degree value or the running state and parameters of the vacuum equipment are not in a preset state or range, closing the interlocking valve according to the interlocking signal and transmitting the first alarm signal to the vacuum monitoring system server; the vacuum monitoring system server is used for receiving the running state, the parameters, the vacuum degree value and the first alarm signal of the vacuum equipment and converting the running state, the parameters, the vacuum degree value and the first alarm signal into standard industrial data; and the client is used for accessing the standard industrial data and remotely monitoring the vacuum equipment according to the standard industrial data.
Optionally, the remote PLC workstation further includes a step of determining a communication state between the vacuum device and the remote PLC workstation, and if the communication interruption time is greater than a preset time threshold, generating a second alarm signal, and the vacuum monitoring system server further includes a step of converting the second alarm signal into standard industrial data.
Optionally, the remote PLC workstation comprises: the input and output module is used for receiving or acquiring the running state and parameters of the vacuum equipment and outputting a control signal required by the vacuum equipment according to a control command or an interlocking signal received by the remote PLC workstation; the communication module is used for communicating with the vacuum equipment, the vacuum monitoring system server or other remote PLC workstations; and the CPU module is used for judging the vacuum degree value and the communication interruption time, generating an interlocking signal and a first alarm signal if the vacuum degree value is greater than a preset vacuum degree value or the running state and the parameters are not in the preset state and range, and generating a second alarm signal if the communication interruption time is greater than a preset time threshold.
Optionally, the data transmission between the vacuum monitoring system server and the client uses a standard industrial communication protocol.
Optionally, optical fiber ring networks based on real-time industrial ethernet are used between the remote PLC workstations and the vacuum monitoring system server, so that the communication networks between the remote PLC workstations are always in a redundant state.
Optionally, the optical fiber ring network includes at least two switches and a plurality of multimode optical cables, and each switch is connected to at least one remote PLC workstation.
Optionally, the vacuum monitoring system server and the client are connected by using a high-speed ethernet.
Optionally, the client includes a human-computer interface for remotely monitoring and managing the vacuum monitoring system device, processing the first alarm signal and the second alarm signal, and storing and viewing the operation history data of the vacuum device.
In a second aspect, the present invention provides a method of vacuum monitoring, the method comprising: comparing the vacuum degree value with a preset vacuum degree value, and the operating state and the parameters with a preset working range, and if the vacuum degree value is larger than the preset vacuum degree value or the operating state and the parameters are not in the preset state or range, generating an interlocking signal and a first alarm signal; closing the interlock valve according to an interlock signal; and the operation state, the parameters and the vacuum degree value are sent to a vacuum monitoring system server in real time, and the generated first alarm signal is sent to the vacuum monitoring system server, so that the vacuum monitoring system server converts the operation state, the parameters, the vacuum degree value and the first alarm signal into standard industrial data, and further a client accesses the standard industrial data and controls the vacuum equipment according to the standard industrial data.
Optionally, the remote PLC workstation further includes a step of determining a communication state between the vacuum device and the remote PLC workstation, and if the communication interruption time is greater than a preset time threshold, generating a second alarm signal, and the vacuum monitoring system server further includes a step of converting the second alarm signal into standard industrial data.
(III) advantageous effects
The invention provides a vacuum monitoring system for a medical heavy ion accelerator, which at least achieves the following technical effects:
(1) standard industrial control equipment and modules are adopted, so that the hardware development period is shortened, and the reliability and the maintainability of the system are improved; meanwhile, the difficulty of upgrading and collecting and supplying is avoided, the operation difficulty is reduced, the purchasing difficulty of spare parts is reduced, and the stability and the reliability are improved;
(2) by adopting standard commercial system integration software and a standard industrial communication protocol, the system development period is greatly shortened, secondary development is reduced, the product upgrading and updating selectivity is improved, and the life cycle of the software is prolonged, so that the whole system is standard and open and is beneficial to subsequent expansion and upgrading;
(3) by adopting an interlocking protection mechanism, when the vacuum equipment breaks down or the vacuum environment of the vacuum pipeline of the accelerator is abnormal, the vacuum equipment and the vacuum environment are effectively protected, and the safety of the equipment is ensured;
(4) by applying real-time industrial Ethernet and optical fiber ring network technologies, the reliability and the safety of a communication network of the vacuum monitoring system are improved, so that the network is in a redundant mode at any time;
(5) and an alarm mechanism is arranged, and an alarm signal and the like are sent when the parameters are abnormal, so that a manager can find the equipment abnormality in time and further adjust the equipment abnormality.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to specific embodiments and the accompanying drawings.
In a first aspect, the present invention provides a vacuum monitoring system for a medical heavy ion accelerator, the system comprising: the vacuum equipment comprises a plurality of pumps, a plurality of vacuum gauges and a plurality of valves, wherein the pumps pump gas in the vacuum pipeline so that the vacuum degree value in the vacuum pipeline is in a preset range, the vacuum gauges are used for monitoring the vacuum degree value in the vacuum pipeline, the valves are used for opening or closing the vacuum pipeline, and the valves comprise at least one interlocking valve; the remote PLC workstation is used for remotely monitoring the vacuum equipment, transmitting the running state and parameters of the vacuum equipment and the vacuum degree value in the vacuum pipeline to the vacuum monitoring system server in real time, generating an interlocking signal and a first alarm signal if the vacuum degree value is greater than a preset vacuum degree value or the running state and parameters of the vacuum equipment are not in a preset state or range, closing an interlocking valve according to the interlocking signal, and transmitting the first alarm signal to the vacuum monitoring system server; the vacuum monitoring system server is used for receiving the running state and parameters of the vacuum equipment, the vacuum degree value and the first alarm signal and converting the running state, the parameters, the vacuum degree value and the first alarm signal into standard industrial data; and the client is used for accessing the standard industrial data and remotely monitoring the vacuum equipment according to the standard industrial data.
Referring to fig. 1, fig. 1 schematically shows a schematic diagram of a vacuum monitoring system for a medical heavy ion accelerator in an embodiment of the present disclosure, and as can be seen from fig. 1, the vacuum monitoring system includes a vacuum device, a remote PLC workstation, a vacuum monitoring system server, a client, and the like.
Specifically, the embodiment of the present disclosure describes in detail by taking an ion beam vacuum device for monitoring a medical heavy ion accelerator as an example, the vacuum device includes a plurality of pumps, a plurality of valves, and a plurality of vacuum gauges, wherein the pumps include a dry mechanical pump, a sputter ion pump, and the like, which are used for pumping gas in a vacuum pipe, the valves include a pneumatic valve, a quick-drying valve, and the like, which control the opening and closing of the vacuum pipe, wherein the plurality of valves at least include at least one interlock valve, the interlock valve can receive an interlock signal to timely close the vacuum pipe according to the interlock signal, and a vacuum gauge externally connected to the vacuum gauge is disposed in the vacuum pipe, and is used for detecting a vacuum value in the vacuum pipe.
The remote PLC workstation is in communication connection with the vacuum equipment and the vacuum monitoring system server, has the functions of receiving data and performing logic judgment on the data, can transmit the vacuum degree value detected by the vacuum gauge, the running state and parameters of the vacuum equipment and the like to the vacuum monitoring system server in real time, can perform logic judgment on the vacuum degree value, the running state and parameters of the vacuum equipment and the like at the same time, and generates an interlocking signal, an alarm signal and the like.
The power supply module is used for supplying power to the remote PLC workstation;
the CPU module is used for carrying out logic judgment on the input vacuum degree value and the running state and parameters of the vacuum equipment and generating a corresponding result, the CPU module in the embodiment of the invention adopts a Siemens S71200 series CPU (model: CPU 1214C), and the specific CPU module can at least realize the following functions: the method comprises the steps of judging a vacuum degree value detected by the vacuum equipment and an operation state and parameters of the vacuum equipment, generating an interlocking signal and a first alarm signal if the vacuum degree value is larger than a preset vacuum degree value or the operation state or the parameters are not in the preset state or range, meanwhile, judging a communication state, and generating a second alarm signal if the communication interruption time between the vacuum equipment and a remote PLC workstation is larger than a preset time threshold.
The input/output module comprises an I/O interface module which is used for receiving or acquiring the running state and parameters of the vacuum equipment and outputting control signals required by the vacuum equipment according to control commands or interlocking signals received by a remote PLC workstation, the I/O interface module is mounted on the Siemens S71200 series CPU in the embodiment of the invention, the Siemens S71200 series CPU is particularly mounted with 14 DC 24V digital quantity input I/O interface modules, 10 DC 24V digital quantity output I/O interface modules and 2 DC 0-10V analog quantity input I/O interface modules, a working memory is 100K byte, a loading memory is 4M byte, the processing time of the CPU on bit operation is 0.08 mu S, the processing time on word operation is 1.7 mu S, and the processing time on floating point operation is 2.3 mu S; and the input and output module is used for receiving and acquiring the switching value and analog value signals of the controlled equipment and outputting control signals required by the controlled equipment. The specific input and output module realizes the on/off control of on-site pneumatic valves, quick-closing valves, dry mechanical pumps and the like, and the acquisition of on-state, off-state, alarm and other equipment state signals, and realizes the real-time monitoring and remote control of the accelerator on-site equipment such as vacuum valves, pumps and the like.
And the communication module is used for realizing communication with the vacuum equipment, the vacuum monitoring system server or other remote PLC workstations. The communication module in the embodiment of the invention can adopt Siemens CB 1241(RS485) and CM 1241(RS232) modules, wherein the RS485 module realizes the transmission of the operation parameters of the dry mechanical pump such as speed, power, temperature, operation state, fault alarm and the like; the RS232 module realizes transmission of vacuum degree data and communication state of the vacuum gauge and operation parameters such as the current value, voltage value, communication state and operation state of the sputtering ion pump, transmission of control signals such as local/remote and 4KV/6KV voltage switching, and real-time monitoring and remote control of the accelerator on-site vacuum gauge and pump equipment. Specifically, in the embodiment of the present invention, the operating state, the parameter, and the vacuum degree value of the vacuum device for inputting to the remote PLC workstation are used, so that the CPU module can determine the operating state, the parameter, and the vacuum degree value of the vacuum device to generate the interlock signal, the first alarm signal, and the second alarm signal, and transmit the interlock signal generated by the CPU module to the interlock valve in time, so that the interlock valve closes the vacuum pipeline, and simultaneously transmit the interlock signal, the first alarm signal, and the second alarm signal to the vacuum monitoring system server.
The vacuum monitoring system server is used for receiving the running state, the parameters, the vacuum degree value and the first alarm signal of the vacuum equipment and converting the running state, the parameters, the vacuum degree value and the first alarm signal into standard industrial data; specifically, the vacuum monitoring system server is connected with a Client and a remote PLC workstation, the vacuum monitoring system server can receive the running state and parameters of the vacuum equipment, the vacuum degree value, a first alarm signal and a second alarm signal which are sent by the PLC remote workstation, and converts the running state and parameters, the vacuum degree value, the first alarm signal and the second alarm signal into standard industrial data which contain a preset format and can be identified by the Client through a standard industrial communication protocol, namely the vacuum monitoring system server has the function of a transfer station, all processed or filtered data are issued in the form of OPC variables according to the standard industrial OPC protocol, and a central control server or other subsystem servers access the server in the form of OPC clients through a high-speed Ethernet; meanwhile, the vacuum monitoring system server also comprises a human-computer interaction interface, an operator or an operation and maintenance person can perform online real-time monitoring and remote control on the accelerator along the beam line vacuum equipment through the human-computer interaction interface, and the vacuum monitoring system server has the functions of personnel management, data storage, data analysis, report output and the like. And the other network card realizes data interaction between the server and other accelerator subsystems and the accelerator central monitoring system through the accelerator high-speed Ethernet.
And the client is used for accessing the standard industrial data and remotely monitoring the vacuum equipment according to the standard industrial data. Specifically, the client comprises a human-computer interaction interface, and a remote user can access standard industrial data in the vacuum monitoring system server through the client, visually display data contents such as alarm signals, running states, parameters and the like, and can send a remote control instruction to realize remote control of the vacuum equipment. The vacuum monitoring system server and the client are connected by adopting a high-speed Ethernet.
In order to ensure the safety, reliability and real-time performance of transmission, high-speed data transmission is carried out between remote PLC workstations and between the remote PLC workstations and a vacuum monitoring system server by adopting an optical fiber ring network based on a real-time industrial Ethernet, so that a communication network between the remote PLC workstations is always in a redundant state, the optical fiber ring network comprises at least two switches and a plurality of multimode optical cables, and each switch is connected into at least one remote PLC workstation. The optical fiber ring network in the embodiment of the invention mainly comprises 4 Mohua EKI-7656C industrial Ethernet switches and a hundred-million multimode optical cable, and each switch can be connected with 16 remote PLC workstations at most. The ring network configuration enables the network to be in a redundant mode at any time, thereby effectively preventing the hidden trouble that the whole network communication is influenced because one part of the optical fiber link is in fault, and improving the safety and the reliability of the system. The remote PLC workstations are connected with the industrial Ethernet switch through the ultra-five shielding network cables, the network bandwidth is 100Mbps, a new generation of PROFINET communication protocol based on the industrial Ethernet technology is adopted between each remote PLC workstation and the industrial control computer for data interaction, the typical response time of real-time communication response is 5-10 ms, the minimum real-time period is 250 mus, the jitter is less than 1 mus, the data transmission mode is full duplex, the data transmission bandwidth is 100Mbps, and the real-time performance and the accuracy of field communication are ensured.
The communication cables between the remote PLC workstation and the vacuum equipment are all shielded cables, the internal wiring of the case/cabinet adheres to the principle of 'strong and weak separation', the cables outside the cabinet are strictly laid on a bridge frame special for weak current, all devices of the vacuum monitoring system are powered by Uninterruptible Power Supplies (UPS), strong current and weak current grounding circuits are strictly separated on site, and the safety and reliability of the whole system are effectively improved.
Fig. 2 schematically shows a software logic architecture diagram of a vacuum monitoring system in an embodiment of the present disclosure, as shown in fig. 2, a client has functions of a visual operation interface, an alarm processing button, data recording information, report query, and the like, and is connected to a vacuum monitoring system server; the method comprises the steps that a management program is configured in a server of the vacuum monitoring system, memory allocation in the server can be achieved, received data are classified and filed in real time through a real-time event management program, an OPC (optical proximity correction) server management program carries out protocol conversion on input and output data, a communication driving interface is connected with a communication driving interface in a remote PLC (programmable logic controller) workstation, data interaction between the vacuum monitoring server and the remote PLC workstation is achieved, the remote PLC workstation is connected with vacuum equipment, the running state and parameters in the equipment can be collected in real time, the running data are processed in real time according to a PLC control program in the remote PLC workstation, and an interlocking signal, a first alarm signal or a second alarm signal are generated.
The vacuum monitoring system of the medical heavy ion accelerator mainly comprises two parts in software configuration, wherein one part is upper computer software, and the other part is a lower computer (remote PLC workstation) control program.
The upper computer software adopts commercial configuration software WinCC V7.3 to carry out system integration, the core of the upper computer software is a distributed real-time database, and the upper computer software simultaneously comprises network communication management software, equipment driving software and a large number of software configuration development tools. The whole software is a client/server mode module, the server module is installed on a vacuum monitoring system server, and the client module runs on the vacuum monitoring system server and other remote clients; the communication between the server and the client adopts a standard OPC protocol to ensure seamless connection of different clients for data access of the vacuum monitoring system, real-time data of the system is stored in a database running in the server, the clients acquire system running parameters from the database, and meanwhile, the client further comprises functions of a man-machine operation interface, graphic display, historical data recording, reporting, fault alarm and the like. The functions of the upper computer software also include polling and judging the communication state of each remote PLC workstation, wherein the polling period is 500ms, and if a fault occurs, an alarm mechanism is triggered to prompt field professional operators to perform corresponding treatment in time.
The lower computer (remote PLC workstation) control program is compiled by Siemens SIMATIC STEP 7, the compiled program is downloaded to the PLC through the upper computer, the PLC collects field data and equipment state in real time, analyzes and processes the data, and uploads an operation result and the data to the upper computer through a communication network through logical operation and judgment. The sampling frequency of the PLC is 20KHz, the scanning period of a PLC control program of the vacuum monitoring system is 3-5 ms, the specific implementation functions of the PLC control program are shown in figure 3, the lower computer (PLC) control program can read the current operation parameters, the equipment communication state, the execution equipment control instruction, the interlocking protection and other functions of the vacuum equipment, specifically, a remote PLC workstation reads the operation states of equipment such as a pneumatic valve, a quick-closing valve and the like through an I/O interface module, and for example, the remote PLC workstation reads the real-time operation data of a sputtering ion pump and a vacuum gauge through an RS232 communication module; the remote PLC workstation reads real-time operation data of the dry type mechanical pump through the RS485 communication module; the remote PLC workstation monitors the communication state values of the sputtering ion pump and the vacuum gauge in real time, if the communication interruption duration is longer than or equal to a threshold value, the equipment communication interruption is judged, and an alarm mechanism is started; the PLC receives various control instructions including opening, closing, resetting, state switching and the like sent by an OPC server of the vacuum monitoring system, and instructs controlled equipment to execute corresponding actions; and the remote PLC workstation compares the read vacuum degree value with a preset vacuum degree value, if the vacuum degree is greater than or equal to the preset vacuum degree value or the equipment is not in a preset state or range, an equipment interlocking protection mechanism is started, a corresponding interlocking valve is automatically closed, meanwhile, the vacuum monitoring system provides an interlocking signal for an accelerator central interlocking system, and meanwhile, the running state value of the vacuum equipment, the first alarm signal, the second alarm signal and the like can be transmitted to a vacuum monitoring system server or other remote substations through a real-time industrial Ethernet.
In a second aspect, the present invention also provides a vacuum monitoring method, referring to fig. 4, the method comprising:
s1, comparing the vacuum degree value with a preset vacuum degree value, and comparing the running state and parameters with a preset state or range, and if the vacuum degree value is larger than the preset vacuum degree value or the running state and parameters are not in the preset state or range, generating an interlocking signal and a first alarm signal;
s2, closing the interlock valve according to the interlock signal;
and S3, transmitting the running state, the parameters and the vacuum degree value to a vacuum monitoring system server in real time, and transmitting the generated first alarm signal to the vacuum monitoring system server, so that the vacuum monitoring system server converts the running state, the parameters, the vacuum degree value and the first alarm signal into standard industrial data, and further the client accesses the standard industrial data and controls the vacuum equipment according to the standard industrial data.
Wherein, long-range PLC workstation still includes:
and S4, judging the communication state of the vacuum equipment and the remote PLC workstation, if the communication interruption time is greater than a preset time threshold value, generating a second alarm signal, and converting the second alarm signal into standard industrial data by the vacuum monitoring system server.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the present invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the protection scope of the present invention.