Programming method and system for safety control of pressure swing adsorption device

By setting safety control programs in the pressure-switch adsorption device and real-time monitoring and adjustment of key parameters, the problems of complexity and insufficient safety control in the prior art are solved, and the safe and stable operation of the device is achieved.

CN119396071APending Publication Date: 2025-02-07SOUTHWEST RES & DESIGN INST OF CHEM IND
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411340201.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-25
Publication Date
2025-02-07

AI Technical Summary

Technical Problem

The existing pressure swing adsorption devices have complexity and shortcomings in safety control, especially in multi-tower operations, where the complexity of the control program and potential safety risks are difficult to effectively manage.

Method used

By setting up safety control programs, we can monitor whether the key parameters of the operating status of the voltage-switch adsorption device have changed in real time and determine whether these changes comply with the switching rules or operating requirements. If it does not meet, the safety control program will restore the key parameter value to the normal state to ensure that the device is always in a safe operation state.

Benefits of technology

Real-time monitoring and safety control of the operating status of the pressure-switch adsorption device are realized, effectively solving the shortcomings of the existing technology in safety control, and improving the safety and stability of the device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119396071A_ABST
    Figure CN119396071A_ABST
Patent Text Reader

Abstract

The invention discloses a programming method and system for safety control of a pressure swing adsorption device, and belongs to the technical field of pressure swing adsorption. The programming method comprises the following steps: monitoring whether key parameters of a running state of the pressure swing adsorption device are changed or not by setting a safety control program; if the key parameter changes, further judging whether the change of the key parameter accords with a switching rule or an operation requirement, if the change does not accord with the switching rule or the operation requirement, recovering the key parameter value by the safety control program to return to a normal state, and keeping the running state of the device unchanged; therefore, the device is always in a safe operation state; otherwise, the pressure swing adsorption device continues to operate normally. The defects in the safety control aspect in the prior art are overcome.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of pressure swing adsorption, and more specifically, to a programming method and system for safety control of a pressure swing adsorption device. Background Art

[0002] Pressure Swing Adsorption (PSA) is an efficient gas separation technology that uses the physical adsorption characteristics of adsorbents for different gas molecules to achieve gas separation and purification under periodic pressure changes. The core principle of this technology is that the adsorbent preferentially adsorbs high-boiling components under high pressure and releases these components under reduced pressure, thereby achieving gas separation. In industrial applications, in order to achieve continuous input and output of raw gas and product gas, multi-tower operation is usually adopted. The adsorption and regeneration of the adsorbent in the adsorption tower are carried out alternately to ensure continuous production. With the increase in the number of adsorption towers, the pressure swing adsorption device has more auxiliary processes. When the device fails, more auxiliary processes are available, and the flexibility and availability of the pressure swing adsorption device are improved, but it also brings complexity to the control program. Summary of the invention

[0003] The purpose of the present invention is to overcome the deficiencies of the prior art and provide a programming method and system for safety control of a pressure swing adsorption device, thereby solving the deficiencies of the prior art in safety control.

[0004] The object of the present invention is achieved through the following solutions:

[0005] A programming method for the safety control of a pressure swing adsorption device comprises the following steps: monitoring whether key parameters of the operating state of the pressure swing adsorption device have changed by setting a safety control program; if so, further judging whether the changes in the key parameters comply with a switching rule or an operating requirement; if not, the safety control program restores the key parameter values ​​to a normal state, and keeps the operating state of the device unchanged, thereby keeping the device in a safe operating state at all times; otherwise, the pressure swing adsorption device continues to operate normally.

[0006] Furthermore, the safety control program is set to monitor whether the key parameters of the operating state of the pressure swing adsorption device have changed. If changed, it is further determined whether the change of the key parameters complies with the switching law or the operating requirements. If it does not comply with the switching law or the operating requirements, the safety control program restores the key parameter value back to a normal state, and keeps the operating state of the device unchanged, so that the device is always in a safe operating state. Specifically, the sub-steps are as follows:

[0007] S1, read the previous value of important parameters of the device;

[0008] S2, establish a process operation rule base;

[0009] S3, read the current values ​​of important parameters of the device;

[0010] S4, detection and diagnosis process;

[0011] S5, safety control program self-correction.

[0012] Furthermore, in step S1, the reading of the previous value of the important parameter of the device specifically includes the following sub-steps: the safety control program first saves the key parameter value of the device operation process of the previous execution cycle in a specially set storage area.

[0013] Furthermore, in step S2, the process operation rule base is established, which specifically includes the sub-steps of: analyzing and summarizing the operation modes and switching modes that the device can achieve, as well as the increase and decrease rules of the number of adsorption towers each time they are switched, based on the switching table, and then saving them in the process operation rule base, and using them in subsequent safety control programs as a basis for determining whether the device operation process is compliant.

[0014] Furthermore, in step S3, the current value of the important parameter of the reading device specifically includes the following sub-steps:

[0015] After the main body of the control program is executed, the key parameter values ​​of the running process of the device in this execution cycle are obtained.

[0016] Furthermore, in step S4, the detection and diagnosis process specifically includes the following sub-steps:

[0017] The safety control program uses the key parameters of the device operation process of the previous execution cycle and the current execution cycle for comparison. The comparison results will be judged for compliance based on the data in the process operation rule base.

[0018] Furthermore, in step S5, the safety control program performs self-correction, specifically including the following sub-steps: if the difference value after comparing the key parameters of the previous and subsequent execution cycles meets the predefined rules in the rule base, indicating that the comparison results of the previous and subsequent key parameters are normal, and the device operation process is normal, then the safety control program will not interfere with the value of the key parameter; otherwise, the safety control program will use the value of the key parameter of the device operation process of the previous execution cycle to replace the value of the corresponding key parameter of the current execution cycle, and the device will be put back in a safe state to ensure the safe operation of the device.

[0019] Furthermore, the key parameter values ​​include an online / offline mark of the adsorption tower, an operating status of the device, the number of online adsorption towers, the number of offline adsorption towers, and the operating status of buttons and function keys in the operation switching process.

[0020] Furthermore, the analysis and summary based on the switching table derives the operating modes and switching modes that the device can achieve, as well as the increase and decrease rules of the number of adsorption towers each time they are switched, specifically including: analyzing and summarizing based on the switching operation interface that in each switching operation, the "switch enable", "switch confirmation" buttons, at least 1 switching function key, and at least 1 adsorption tower selection function key will be operated.

[0021] A programming system for safety control of a pressure swing adsorption device comprises a pressure swing adsorption device in which a safety control program is arranged. When the safety control program is loaded and run, the programming method for safety control of a pressure swing adsorption device as described in any one of the above items is executed.

[0022] The beneficial effects of the present invention include:

[0023] The present invention provides a programming method for the safety control of a pressure swing adsorption device. Through a series of steps of improved conception and design, the real-time monitoring and safety control of the operating state of the device are realized, and the shortcomings of the prior art in safety control are effectively solved. Specifically, in step S1, the previous value of the important parameters of the device is read, which ensures that the safety control program can obtain the state of the device in the previous execution cycle, and provides benchmark data for subsequent comparison and analysis. By saving the previous values ​​of key parameters, the problem can be quickly located and corresponding measures can be taken when an abnormality occurs. In step S2, a process operation rule base is established. By analyzing and summarizing the operation mode and switching mode of the device, a complete set of rule bases is established, which provides a judgment basis for the safety control program. The existence of the rule base enables the safety control program to more intelligently identify and process various operating conditions, and improves the adaptability and reliability of the system. In step S3, the current value of the important parameters of the device is read, the key parameter value of the current execution cycle is obtained, and compared with the previous value to identify any possible deviation or abnormality. Real-time data is provided for the safety control program, so that it can respond quickly. In step S4, the process of detection and diagnosis is carried out. By comparing the key parameters of the previous and next execution cycles, the safety control program can diagnose whether there are abnormalities in the process, enhance the monitoring capability of the system, and can timely discover and respond to potential safety issues. In step S5, a self-correction mechanism for the safety control program is designed. If an abnormality is detected, the safety control program can automatically restore the key parameters to a safe state, thereby avoiding potential risks, realizing the self-correction function of the system, and improving the safety and stability of the device.

[0024] Compared with the prior art, the present invention has the advantages of data continuity, accurate and efficient rule application, real-time response and closed-loop control. Among them, the continuity and comparability of data are ensured by steps S1 and S3, providing the necessary information basis for safety control. Step S2 provides necessary rule support for step S4, making the diagnosis process more accurate and efficient. The close collaboration of steps S4 and S5 enables rapid response and processing of abnormal situations, enhancing the robustness of the system. The entire process forms a closed-loop control system, from data collection to problem solving to self-correction, ensuring that the device always operates in a safe state. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0026] Figure 1 The switching operation interface of the embodiment of the present invention;

[0027] Figure 2 A comparison of key parameters of the previous and next execution cycles when the process in the embodiment of the present invention runs normally;

[0028] Figure 3 When the process in the embodiment of the present invention runs abnormally, the key parameters of the execution cycle before and after are compared;

[0029] Figure 4 The figure is a flowchart of the steps of the method according to the embodiment of the present invention. DETAILED DESCRIPTION

[0030] All features disclosed in all embodiments in this specification, or steps in all methods or processes implicitly disclosed, except for mutually exclusive features and / or steps, can be combined and / or expanded or replaced in any manner.

[0031] In view of the current situation in the background, the inventors of the present invention further discovered the following technical problem: For example, when a 10-tower device fails, it can be switched to a 9-tower, 8-tower, and other operating modes in sequence to achieve non-stop online maintenance, such as Figure 1As shown. Although this switching function improves the flexibility of the device, it also makes the control program extremely complicated, because each time a tower is removed, a variety of different operating process combinations will be generated. When a 10-tower device switches to a 9-tower device, 10 different combinations of operating processes can be generated. When a 9-tower device switches to an 8-tower device, another 9 different combinations of operating processes will be generated. Therefore, when a 10-tower device switches to a 9-tower or even an 8-tower device, only removing two adsorption towers can generate 90 process operation modes, which makes the control program increasingly complex.

[0032] In actual operation, engineers usually use programming platforms to manually program and check programs. However, as the number of switching towers increases, the number of possible operating process combinations increases exponentially, making it unrealistic to rely on manual inspection of the correctness of each process and program. In addition, if there are undetected typos in the control program, or key parameters are accidentally modified during operation, it may lead to incorrect execution of the control program.

[0033] Traditional DCS (distributed control system) or PLC (programmable logic controller) control systems can only detect mathematical errors in the control program, such as a zero denominator or an over-limit variable range, but they do not have the ability to determine whether the process is normal, let alone the safety control capability of self-correction. This means that even if the control program is mathematically correct, if there is a process control logic error or improper parameter setting, the control system cannot detect that the device has an error, let alone self-correction. The device will continue to operate under the control of the erroneous instruction until the process parameters exceed the safe range, triggering the safety instrument system and causing an emergency stop.

[0034] In order to solve the above newly discovered technical problems, the present invention conceives a programming method for safety control of a pressure swing adsorption device, which is used to solve the deficiencies of the prior art in safety control. The method includes the following steps: monitoring whether the key parameters of the device operating state have changed through a safety control program, and if the changes in these key parameters do not meet the switching rules or operating requirements, the safety control program will restore these key parameter values ​​to a normal state, and the device operating state will not change, so that the device is always in a safe operating state.

[0035] The pressure swing adsorption device usually adopts the main process operation mode. If a fault occurs, the control system will switch the device to the auxiliary process according to the requirements of the process switching table. Taking the pressure swing adsorption 6-tower device as an example, the main process of the device is 6 towers (that is, 6 adsorption towers are online at the same time), and the auxiliary process is 5-tower process (that is, only 5 adsorption towers are online at the same time) and 4-tower process (that is, only 4 adsorption towers are online at the same time). The adsorption tower that is cut off in the auxiliary process is offline.

[0036] Table 1 6-tower process switched to 5-tower process

[0037]

[0038] Table 2 5-tower process switched to 4-tower process

[0039]

[0040] Table 3 Switching from 5-tower process to 6-tower process

[0041]

[0042] Table 4 Switching from 4-tower process to 5-tower process

[0043]

[0044] (1) Two types of key parameters for the control process are set in the pressure swing adsorption program. The first type is important variables that reflect the operation of the device: during the program compilation process, each adsorption tower has an online / offline flag: tw[1], w[2], ... tw[6] (when the adsorption tower is online, the value of the corresponding numbered flag is True, otherwise it is False), the device operation status (the current device operation process), the number of online adsorption towers, and the number of offline adsorption towers; the second type is the switching operation variables: including buttons and function keys for the operation switching process.

[0045] (2) From Table 1 to Table 4, it can be seen that the device has three operating processes, namely 6 tower / 5 tower / 4 tower, which can realize 4 switching modes: 6P switching to 5P, 5P switching to 4P, 4P switching to 5P, and 5P switching to 6P. When in the 6-tower process, all the tw[1]~tw[6] flag bits are = True, the device operation status = 6, the number of online adsorption towers = 6, and the number of offline adsorption towers = 0; when in the 5-tower process, only 5 of the tw[1]~tw[6] flag bits are = True, and the other flag bit is = False, the device operation status = 5, the number of online adsorption towers = 5, and the number of offline adsorption towers = 1; when in the 4-tower process, only 4 of the tw[1]~tw[6] flag bits are = True, and the other 2 flag bits are = False, the device operation status = 4, the number of online adsorption towers = 4, and the number of offline adsorption towers = 2; when the device is running, if the switching conditions are met, the switching program in the control system will switch the device from the preset switching step to the specified step of another auxiliary process, and the device will run the new process at the same time.

[0046] (3) Key parameters of the control process - important variables of the device operation: Take the 6-tower pressure swing adsorption device as an example. The device is originally in the 6-tower process tw[1]~tw[6]=True, the device operation status=6, the number of online adsorption towers=6, and the number of offline adsorption towers=0. In Table 1, when switching from the 6-tower process to the 5-tower process, there are 6 combinations of the remaining adsorption towers. 5P1 means that the first adsorption tower in the 6-tower process is cut off, and 5P2, 5P3, 5P4, 5P5, 5P6 and so on. In this table, the 6-tower process can be switched to the 1st cycle step 9 of the 5-tower process (5P1) in the 2nd cycle step 9. At this time, tw[1]=False, tw[2]~tw[6]==True, the device operation status=5, the number of online adsorption towers=5, and the number of offline adsorption towers=1; in Table 3, if the device is in the aforementioned 5P1 process, then it can be switched from the 2nd cycle step 9 of the 5-tower process to the 3rd cycle step 4 of the 6-tower process. In Table 2 and Table 4, the 5-tower process is switched to the 4-tower process, and the method of switching the 4-tower process to the 5-tower process is similar to the above method.

[0047] (4) Key parameters of the control process - switching operation: As shown in Table 1, when the device is in the 6-tower process and needs to cut off the 1# tower and enter the 5P1 process, it is necessary to operate the "Switch Enable" + "6 to 5" + "1# Tower Switch" + "Switch Confirm" buttons and function keys. After that, the device will switch from the 6-tower process to the 5-tower process (5P1) at the 9th step of the 2nd cycle. At the same time, the buttons and function keys will reset themselves, and the switching process ends. The rest of the switching process is similar. Here we can see that in the normal switching process, the "Switch Enable" and "Switch Confirm" buttons and at least two other function keys will definitely be operated and the action process can be recorded by the safety control program.

[0048] In the present invention, the specific execution process of the safety control program is as follows:

[0049] Step S1, read the previous values ​​of important parameters of the device: First, the safety control program will save the key parameter values ​​of the device operation process in the previous execution cycle, such as the online / offline mark of the adsorption tower, the operating status of the device, the number of online adsorption towers, the number of offline adsorption towers, the operating status of the buttons and function keys in the operation switching process, etc., and save them in a special storage area.

[0050] Step S2, establish a process operation rule base: according to the analysis and summary of the switching table, the operation mode and switching mode that can be achieved by the device, as well as the increase and decrease rules of the number of adsorption towers each time the device is switched, can be obtained. According to the analysis and summary of the switching operation interface, it can be known that in each switching operation, the "switch enable", "switch confirmation" buttons, at least one switching function key, and at least one adsorption tower selection function key will be operated. The above rules will be saved in the process operation rule base by the safety control program, and will be used by the subsequent safety control program as an important basis for determining whether the device operation process is compliant.

[0051] Step S3, read the current values ​​of important parameters of the device: After the control program body is executed, the key parameter values ​​of the device operation process in this execution cycle are obtained. The content is the same as step S1, mainly including the online / offline mark of the adsorption tower, the operating status of the device, the number of online adsorption towers, the number of offline adsorption towers, the operating status of the buttons and function keys in the operation switching process, etc.

[0052] Step S4, detection and diagnosis process: the safety control program uses the key parameters of the device operation process of the previous execution cycle and the current execution cycle to compare, and the comparison results will be interpreted for compliance based on the data in the process operation rule base. Figure 2 and Figure 3 shown.

[0053] Step S5, safety control program self-correction: Figure 2 As shown in the figure: If the difference value meets the predefined rules in the rule base, it means that the comparison results of the two key parameters are normal and the device operation process is normal, then the safety control program will not interfere with the value of the key parameters. Figure 3 As shown: the safety control program will use the values ​​of the key parameters of the device operation process in the previous execution cycle to replace the values ​​of the corresponding key parameters in the current execution cycle, and the device will be placed back in a safe state, thereby ensuring the safe operation of the device.

[0054] It should be noted that within the scope of protection defined in the claims of the present invention, the following embodiments can be combined and / or expanded or replaced in any logical way from the above specific implementation methods, such as disclosed technical principles, disclosed technical features or implicitly disclosed technical features.

[0055] Example 1

[0056] A programming method for the safety control of a pressure swing adsorption device comprises the following steps: monitoring whether key parameters of the operating state of the pressure swing adsorption device have changed by setting a safety control program; if so, further judging whether the changes in the key parameters comply with a switching rule or an operating requirement; if not, the safety control program restores the key parameter values ​​to a normal state, and keeps the operating state of the device unchanged, thereby keeping the device in a safe operating state at all times; otherwise, the pressure swing adsorption device continues to operate normally.

[0057] Example 2

[0058] On the basis of Example 1, Figure 4 As shown, the safety control program is set to monitor whether the key parameters of the operating state of the pressure swing adsorption device have changed. If a change occurs, it is further determined whether the change in the key parameters complies with the switching law or the operating requirements. If it does not comply with the switching law or the operating requirements, the safety control program restores the key parameter value back to a normal state, and keeps the operating state of the device unchanged, so that the device is always in a safe operating state. Specifically, the sub-steps are as follows:

[0059] S1, read the previous value of important parameters of the device;

[0060] S2, establish a process operation rule base;

[0061] S3, read the current values ​​of important parameters of the device;

[0062] S4, detection and diagnosis process;

[0063] S5, safety control program self-correction.

[0064] Example 3

[0065] On the basis of Example 1, in step S1, the previous value of the important parameter of the reading device specifically includes sub-steps: the safety control program first saves the key parameter value of the device operation process of the previous execution cycle in a specially set storage area.

[0066] Example 4

[0067] On the basis of Example 1, in step S2, the process operation rule base is established, which specifically includes the sub-steps of: analyzing and summarizing the operation mode and switching mode that the device can achieve, as well as the increase and decrease rules of the number of adsorption towers each time they are switched according to the switching table, and then saving them in the process operation rule base, and using them in subsequent safety control programs as a basis for determining whether the device operation process is compliant.

[0068] Example 5

[0069] On the basis of Example 1, in step S3, the current value of the important parameter of the reading device specifically includes the following sub-steps:

[0070] After the main body of the control program is executed, the key parameter values ​​of the running process of the device in this execution cycle are obtained.

[0071] Example 6

[0072] On the basis of Example 1, in step S4, the detection and diagnosis process specifically includes the following sub-steps:

[0073] The safety control program uses the key parameters of the device operation process of the previous execution cycle and the current execution cycle for comparison. The comparison results will be judged for compliance based on the data in the process operation rule base.

[0074] Example 7

[0075] On the basis of Example 1, in step S5, the safety control program self-corrects, specifically including the following sub-steps: if the difference value after comparing the key parameters of the previous and subsequent execution cycles meets the predefined rules in the rule base, indicating that the comparison results of the previous and subsequent key parameters are normal, and the device operation process is normal, then the safety control program will not interfere with the value of the key parameter; otherwise, the safety control program will use the value of the key parameter of the device operation process of the previous execution cycle to replace the value of the corresponding key parameter of the current execution cycle, and the device will be put back in a safe state to ensure the safe operation of the device.

[0076] Example 8

[0077] Based on Example 3 or Example 5, the key parameter values ​​include the online / offline mark of the adsorption tower, the operating status of the device, the number of online adsorption towers, the number of offline adsorption towers, the operating status of the buttons and function keys of the operation switching process.

[0078] Example 9

[0079] On the basis of Example 4, the operation mode and switching mode that can be achieved by the device, as well as the increase and decrease rules of the number of adsorption towers each time are switched, are summarized according to the switching table analysis, specifically including: according to the switching operation interface analysis, it is summarized that in each switching operation, the "switch enable", "switch confirmation" buttons, at least 1 switching function key, and at least 1 adsorption tower selection function key will be operated.

[0080] Example 10

[0081] A programming system for safety control of a pressure swing adsorption device comprises a pressure swing adsorption device, wherein a safety control program is arranged in the pressure swing adsorption device, and when the safety control program is loaded and run, a programming method for safety control of a pressure swing adsorption device described in any one of Examples 1 to 7 is executed.

[0082] The units involved in the embodiments of the present invention may be implemented by software or hardware, and the units described may also be arranged in a processor. The names of these units do not, in some cases, limit the units themselves.

[0083] According to one aspect of an embodiment of the present invention, a computer program product or a computer program is provided, the computer program product or the computer program includes a computer instruction, and the computer instruction is stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the method provided in the above various optional implementations.

[0084] As another aspect, an embodiment of the present invention further provides a computer-readable medium, which may be included in the electronic device described in the above embodiment; or may exist independently without being assembled into the electronic device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by an electronic device, the electronic device implements the method described in the above embodiment.

Claims

1. A programming method for safety control of a pressure swing adsorption device, characterized in that: The following steps are involved: By setting up a safety control program to monitor whether the key parameters of the operating state of the pressure swing adsorption device have changed, if there is a change, further determine whether the change of the key parameters complies with the switching law or operating requirements. If it does not comply with the switching law or operating requirements, the safety control program restores the key parameter value back to a normal state to keep the operating state of the device unchanged, so that the device is always in a safe operating state; Otherwise, the PSA unit continues to operate normally.

2. The programming method for safety control of a pressure swing adsorption device according to claim 1, characterized in that: The method of monitoring whether the key parameters of the operating state of the pressure swing adsorption device have changed by setting a safety control program, and if so, further determining whether the changes in the key parameters comply with the switching rules or operating requirements, and if not, restoring the key parameter values ​​to a normal state to keep the operating state of the device unchanged, thereby keeping the device in a safe operating state at all times, specifically includes the following sub-steps: S1, read the previous value of important parameters of the device; S2, establish a process operation rule base; S3, read the current values ​​of important parameters of the device; S4, detection and diagnosis process; S5, safety control program self-correction.

3. The programming method for safety control of a pressure swing adsorption device according to claim 1, characterized in that: In step S1, the previous value of the important parameter of the reading device specifically includes sub-steps: the safety control program first saves the key parameter value of the device operation process of the previous execution cycle in a specially set storage area.

4. The programming method for safety control of a pressure swing adsorption device according to claim 1, characterized in that: In step S2, the process operation rule base is established, which specifically includes the sub-steps of: analyzing and summarizing the operation mode and switching mode that the device can achieve, as well as the increase and decrease rules of the number of adsorption towers each time they are switched based on the switching table, and then saving them in the process operation rule base, and using them in subsequent safety control programs as a basis for determining whether the device operation process is compliant.

5. The programming method for safety control of a pressure swing adsorption device according to claim 1, characterized in that: In step S3, the current value of the important parameter of the reading device is specifically comprised of the following sub-steps: After the main body of the control program is executed, the key parameter values ​​of the running process of the device in this execution cycle are obtained.

6. The programming method for safety control of a pressure swing adsorption device according to claim 1, characterized in that: In step S4, the detection and diagnosis process specifically includes the following sub-steps: The safety control program uses the key parameters of the device operation process of the previous execution cycle and the current execution cycle for comparison. The comparison results will be judged for compliance based on the data in the process operation rule base.

7. The programming method for safety control of a pressure swing adsorption device according to claim 1, characterized in that: In step S5, the safety control program performs self-correction, which specifically includes the following sub-steps: if the difference value after comparing the key parameters of the previous and subsequent execution cycles meets the predefined rules in the rule base, it means that the comparison results of the previous and subsequent key parameters are normal and the device operation process is normal, then the safety control program will not interfere with the value of the key parameter; otherwise, the safety control program will use the value of the key parameter of the device operation process of the previous execution cycle to replace the value of the corresponding key parameter of the current execution cycle, and the device will be put back in a safe state to ensure the safe operation of the device.

8. The programming method for safety control of a pressure swing adsorption device according to claim 3 or 5, characterized in that: The key parameter values ​​include the online / offline mark of the adsorption tower, the operating status of the device, the number of online adsorption towers, the number of offline adsorption towers, the operating status of the buttons and function keys of the operation switching process.

9. The programming method for safety control of a pressure swing adsorption device according to claim 4, characterized in that: The analysis and summary based on the switching table derives the operating modes and switching modes that the device can achieve, as well as the increase and decrease rules of the number of adsorption towers switched each time, specifically including: analyzing and summarizing based on the switching operation interface that in each switching operation, the "switch enable", "switch confirmation" button, at least one switching function key, and at least one adsorption tower selection function key will be operated.

10. A programming system for safety control of a pressure swing adsorption device, characterized in that: It comprises a pressure swing adsorption device, in which a safety control program is arranged, and when the safety control program is loaded and run, the programming method for safety control of the pressure swing adsorption device according to any one of claims 1 to 7 is executed.