Safety redundant PLC communication control system
By introducing data synchronization, switching units and policy adjustment units into the PLC communication control system, combining fault diagnosis and health monitoring modules, the data security and fault diagnosis problems of existing systems are solved, high availability and system stability are achieved, and the system stability is enhanced. Security.
Patent Information
- Application Number
- CN202411563033.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-05
- Publication Date
- 2024-12-03
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing PLC communication control system with safe and redundant security performance has poor data security performance, inability to dynamically switch redundant policies, single fault diagnosis, and inability to interconnect with health detection, which increases the risk of fault propagation.
A communication redundant module including a data synchronization unit, a switching unit and a policy adjustment unit is designed to ensure real-time data synchronization between the main PLC and the secondary PLC, and fault testing and health testing through the fault diagnosis module and the health monitoring module. Diagnosis, dynamically adjust redundant policies to adapt to system load changes.
It realizes high availability and continuity, reduces system downtime, provides real-time fault detection and health diagnosis functions, improves system stability and reliability, prevents illegal data access and tampering, and enhances system security.
Smart Images

Figure CN119065228A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of PLC communication control and discloses a safe and redundant PLC communication control system. Background Art
[0002] Safety Redundancy Large PLC communication control systems are designed to ensure high reliability and safety of industrial automation systems. Such systems improve system availability and fault tolerance by using redundant configurations. However, even highly redundant PLC systems will encounter some shortcomings in actual application and development. The design of redundant systems needs to consider more factors, such as the implementation of redundant logic, the design of switching mechanisms, etc., which makes the design and implementation of the system more complicated. Redundant systems rely on the main-backup switching mechanism to ensure that the backup system can take over seamlessly when the main system fails. If the switching mechanism is not perfect, it may cause switching failure or data loss. In redundant systems, fault diagnosis becomes more complicated because it is necessary to determine whether the main system or the backup system has a problem, and the fault recovery time may be longer because it involves troubleshooting and replacement of more components. Sometimes fault repair stacking causes PLC communication control health problems.
[0003] For example, the existing Chinese patent with authorization announcement number CN114384792B discloses a safe and redundant PLC communication control system, including: redundant PLC communication port, security filtering module, redundant module, communication module, security isolation module and control module. The security filtering module is used for data monitoring, filtering and alarm; the redundant module is used to copy, eliminate and report abnormal status of data frames that hit the preset traffic type; the security monitoring and analysis module is used to monitor the above alarms and abnormal status in real time and report them to the control module. The diagnostic control function of the control module will guide the abnormal status to safe operation, and can choose to analyze the abnormal data; the security isolation module is used for data isolation and exchange between the communication module, the control module and the security monitoring and analysis module to avoid direct connection between modules. The system adopts a redundant and filtered security transmission mechanism in the communication port, and adds security diagnosis control and security isolation mechanism inside the controller, which effectively improves the security level and reliability of the system.
[0004] However, the above patents have the following problems: poor data security performance, inability to dynamically switch redundant strategies to adapt to new data processing strategies, and despite redundant modules and safety isolation designs, certain faults in the system may affect other modules in subtle ways. The safety diagnosis and control means are single, and safety diagnosis cannot be interconnected with health detection, resulting in mutual separation, which increases the risk of fault propagation. Summary of the invention
[0005] The purpose of this section is to summarize some aspects of embodiments of the present invention and briefly introduce some preferred embodiments. Some simplifications or omissions may be made in this section and the specification abstract and the invention title of this application to avoid blurring the purpose of this section, the specification abstract and the invention title, and such simplifications or omissions cannot be used to limit the scope of the present invention.
[0006] In order to solve the above technical problems, the main purpose of the present invention is to provide a safe and redundant PLC communication control system, comprising:
[0007] A communication redundancy module, comprising a data synchronization unit, a switching unit and a strategy adjustment unit, wherein the data synchronization unit is used to ensure real-time synchronization of data between the main PLC unit and the secondary PLC unit, the switching unit is used to automatically switch to the secondary PLC unit when a failure occurs in the main PLC unit, and the strategy adjustment unit is used to adjust the redundancy strategy;
[0008] Fault diagnosis module, used to perform fault testing on redundancy strategy and PLC communication control;
[0009] Health monitoring module, used to diagnose the health of PLC communication control.
[0010] As a preferred solution of a safe redundant PLC communication control system of the present invention, wherein:
[0011] The data synchronization unit copies the real-time data of the main PLC unit to the slave PLC through the data transmission protocol and synchronization mechanism, and monitors the data synchronization result through the synchronization monitoring model. The synchronization monitoring model first calculates the sample data difference between the main PLC unit and the slave PLC unit through the data synchronization difference, and judges the synchronization state through the sample data difference. If the sample data difference between the main PLC unit and the slave PLC unit is greater than the data synchronization balance threshold, the synchronization state is wrong, and the data synchronization sensitivity coefficient is adjusted. If the sample data difference between the main PLC unit and the slave PLC unit is not greater than the data synchronization balance threshold, the synchronization state is normal.
[0012] As a preferred solution of a safe redundant PLC communication control system of the present invention, wherein:
[0013] The data synchronization difference calculation expression is as follows:
[0014]
[0015] in, is the data synchronization difference, m is the number of data groups, M is the total number of data groups, is the mth group of main PLC unit data, For the mth group of slave PLC unit data, is the average value of data synchronization difference;
[0016] The expression for judging the data synchronization status is as follows:
[0017]
[0018] in, is the data synchronization sensitivity coefficient, is the data synchronization balance threshold, Z is used to determine whether the data synchronization is wrong, is the sample data difference;
[0019] The sensitivity coefficient is adjusted by moving step average, and the calculation expression is as follows:
[0020]
[0021] in, is the adjusted sensitivity coefficient, is the data synchronization difference value of the data synchronization sensitivity coefficient correction that has not been completed at time t, is the unadjusted sensitivity coefficient, is the total number of data groups at time t, is the number of data sets for which data synchronization sensitivity coefficient correction has been completed at time t.
[0022] As a preferred solution of a safe redundant PLC communication control system of the present invention, wherein:
[0023] The strategy adjustment unit includes a load monitoring model, performance indicator detection and strategy adjustment logic;
[0024] The collected and processed load data of the system during operation is used as the data basis to establish a load monitoring model. The load and performance of the system are dynamically monitored through the load monitoring model. The calculation expression of the load monitoring model is as follows:
[0025]
[0026] in, Output load forecast values for load monitoring models, is the weight of the i-th convolution kernel, is the actual load value of the PLC communication control system collected in the jth group, b is the bias term, f() is the activation function, and n is the total number of groups of actual load values.
[0027] As a preferred solution of a safe redundant PLC communication control system of the present invention, wherein:
[0028] The fault diagnosis module includes redundant strategy fault monitoring, and monitors the redundant strategy by establishing a safety redundant model;
[0029] The safety redundancy model is obtained by modeling the process of synchronizing the data of the main PLC unit with the secondary PLC unit, and the data transfer matrix is the observed data from the main PLC unit data to the secondary PLC unit.
[0030] As a preferred solution of a safe redundant PLC communication control system of the present invention, wherein:
[0031] The data transfer matrix expression is as follows:
[0032]
[0033] in, is the data transfer matrix, Synchronize the first data of the slave PLC unit with the first data of the master PLC unit, Synchronize the sth data of the slave PLC unit with the dth data of the master PLC unit, where d is the data count of the master PLC unit and s is the data count of the slave PLC unit;
[0034] A safety redundancy model is constructed to describe the communication control data synchronization of the main PLC unit and the slave PLC unit. The failure probability of the safety redundant PLC communication control system when executing the redundancy strategy is evaluated through conditional probability.
[0035] As a preferred solution of a safe redundant PLC communication control system of the present invention, wherein:
[0036] The calculation expression of the failure probability is as follows:
[0037]
[0038] in, To retrieve the failure prediction probability of redundant strategy execution under observed data, is the prior probability of the observed data, is the marginal probability of observing the data, is the likelihood of the observation data collected after executing the redundancy strategy, is the failure behavior when executing the redundancy strategy, and Q is the data transfer.
[0039] As a preferred solution of a safe redundant PLC communication control system of the present invention, wherein:
[0040] The failure behavior calculation expression of the execution redundancy strategy is as follows:
[0041]
[0042] Among them, y is the position of the redundant strategy execution main PLC unit communication control data synchronization slave PLC unit, p is the position of communication control data synchronization, and λ is the data transfer scale.
[0043] As a preferred solution of a safe redundant PLC communication control system of the present invention, wherein:
[0044] Monitor the communication health status of PLC in real time through fault monitoring, and promptly detect and report communication anomalies or faults;
[0045] The health monitoring model includes the health and unhealth of the main PLC unit and the health and unhealth of the auxiliary PLC unit as well as the health status of the overall system;
[0046] The health monitoring model calculation expression is as follows:
[0047]
[0048] in, is the health probability of PLC communication control, is the probability of the failure probability causing the healthy state, is the health probability, In fault state, For health status.
[0049] Beneficial effects of the present invention:
[0050] The system of the present invention has high availability and continuity, ensuring the efficient execution of major control tasks. Even if the main PLC fails, the secondary PLC can take over seamlessly, reducing system downtime. Secondly, it provides real-time fault detection and health diagnosis functions to help quickly locate and solve problems, improve system stability and reliability, and simultaneously perform real-time health monitoring of the communication control system to reduce the impact of faults on other modules, prevent data from being illegally accessed, tampered with or stolen, and enhance system security. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. 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 creative labor. Among them:
[0052] Figure 1 A system composition diagram of a safe and redundant PLC communication control system of the present invention;
[0053] Figure 2 The present invention is a flowchart of a safe and redundant PLC communication control system. DETAILED DESCRIPTION
[0054] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the accompanying drawings.
[0055] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.
[0056] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.
[0057] Embodiment 1
[0058] like Figure 1 As shown, a safe and redundant PLC communication control system comprises:
[0059] Main control module, including main PLC unit and auxiliary PLC unit;
[0060] Among them, the main PLC unit is responsible for the main control function and executes the main control logic and data processing.
[0061] Slave PLC unit: As a backup for the main PLC unit, it can take over its functions when the main PLC unit fails.
[0062] A communication redundancy module, including a data synchronization unit, a switching unit and a strategy adjustment unit;
[0063] The data synchronization unit is used to ensure real-time synchronization of data between the main PLC unit and the slave PLC unit, reducing the risk of data loss or inconsistency.
[0064] Furthermore, the data synchronization unit periodically copies the real-time data of the main PLC unit to the slave PLC through the data transmission protocol and synchronization mechanism, and monitors the data synchronization result through the synchronization monitoring model. The synchronization monitoring model first calculates the sample data difference between the main PLC unit and the slave PLC unit through the data synchronization difference, and judges the synchronization state through the sample data difference. If the sample data difference between the main PLC unit and the slave PLC unit is greater than the data synchronization balance threshold, the synchronization state is wrong, and the data synchronization sensitivity coefficient is adjusted. If the sample data difference between the main PLC unit and the slave PLC unit is not greater than the data synchronization balance threshold, the synchronization state is normal;
[0065] The data synchronization difference calculation expression is as follows:
[0066]
[0067] in, is the data synchronization difference, m is the number of data groups, M is the total number of data groups, is the mth group of main PLC unit data, For the mth group of slave PLC unit data, is the average value of data synchronization difference, is the sample data difference;
[0068] The expression for judging the data synchronization status is as follows:
[0069]
[0070] in, is the data synchronization sensitivity coefficient, is the data synchronization balance threshold, and Z is used to determine whether the data synchronization is wrong;
[0071] Furthermore, the sensitivity coefficient is adjusted by moving step average, and the calculation expression is as follows:
[0072]
[0073] in, is the adjusted sensitivity coefficient, is the data synchronization difference value of the data synchronization sensitivity coefficient correction that has not been completed at time t, is the unadjusted sensitivity coefficient, is the total number of data groups at time t, is the number of data sets for which data synchronization sensitivity coefficient correction has been completed at time t.
[0074] The adjusted sensitivity is judged by setting the data synchronization status. If the data synchronization is correct and displays Fine, the sensitivity coefficient is correct and no longer needs to be adjusted. If the data synchronization is wrong and displays Error, the sensitivity coefficient is wrong and needs to be adjusted further.
[0075] The switching unit is used to automatically switch to the slave PLC unit when a failure occurs in the main PLC unit, ensuring the continuity and reliability of communication.
[0076] The policy adjustment unit is used to adjust the redundancy policy according to the real-time situation, for example, dynamically adjusting the redundancy policy to optimize performance when the load changes;
[0077] Among them, the strategy adjustment unit includes a load monitoring model, performance indicator detection and strategy adjustment logic;
[0078] Furthermore, a load monitoring model is established based on the collected and processed load data of the system during operation. The system load and performance are dynamically monitored through the load monitoring model. The redundancy level is adjusted through the algorithm to adapt to actual needs. At the same time, it is ensured that the policy adjustment will not affect the stability of the system, and the redundancy policy is adjusted in time according to system needs.
[0079] Furthermore, the load monitoring model calculation expression is as follows:
[0080]
[0081] in, Output load forecast values for load monitoring models, is the weight of the i-th convolution kernel, is the actual load value of the PLC communication control system collected in the jth group, b is the bias term, f() is the activation function, and n is the total number of groups of actual load values.
[0082] The load monitoring model is used to predict the load of the PLC communication control system at time t+1, and the minimum loss function is used to ensure that the predicted value is as close to the actual value as possible, thereby realizing the prediction and performance detection of the PLC communication control system load;
[0083] The loss function calculation expression is as follows:
[0084]
[0085] in, Output the loss value for the loss function, Output the load prediction value of the PLC communication control system for the load monitoring model, is the actual value of the PLC communication control system load, N is the total number of PLC communication control system load data, and i is the number of PLC communication control system load data groups;
[0086] like Figure 2 As shown, the process implemented by the system of the present invention includes:
[0087] S1, main PLC unit and auxiliary PLC unit work normally;
[0088] S2. Calculate the data synchronization difference and judge the data synchronization status;
[0089] S3, adjusting the data synchronization speed and content capacity by adjusting the sensitivity;
[0090] S4, monitoring the load of the PLC communication control system, and fitting the load monitoring model through the loss function;
[0091] S5. Monitor the safety redundancy and fault monitoring of the PLC communication control system through the safety redundancy model, and perform health diagnosis on the PLC communication control;
[0092] Performance indicator detection is used to monitor the performance of the adjusted system to ensure the effectiveness of the strategy;
[0093] The policy adjustment unit needs to execute the following logic:
[0094] When the load increases or decreases, the system needs to dynamically adjust the redundancy strategy. If the load is high, redundant nodes are added or the load balancing strategy is adjusted to distribute the load. If the load is low, redundant nodes are reduced to save resources and reduce costs.
[0095] The high availability of the system is ensured by the redundant configuration of the main PLC unit and the slave PLC unit, as well as the switching unit in the communication redundancy module. The data synchronization and strategy adjustment unit ensure the effectiveness of the redundant system.
[0096] Security modules, including data encryption, access control and regular testing;
[0097] Data encryption is used to encrypt communication data to prevent unauthorized access or tampering.
[0098] Furthermore, the data transmission in the network is encrypted by using SSL / TLS protocol to ensure the security of data during transmission, and sensitive data stored in the database or file system is encrypted to prevent physical access to the data.
[0099] Access Control Implement strict access control policies to ensure that only authorized users can access and modify system configurations.
[0100] Regular testing is used to conduct security testing regularly to discover and fix potential security vulnerabilities;
[0101] Scan the system for network and application vulnerabilities through automated tools;
[0102] Among them, network vulnerability scanning is used to detect known vulnerabilities in network devices and services;
[0103] Application vulnerability scanning is used to check for security flaws in application code and configuration;
[0104] The security of communication data is ensured through data encryption and access control, and regular testing helps to detect and fix security issues in a timely manner.
[0105] Fault diagnosis module, used to perform fault testing on redundancy strategy and PLC communication control;
[0106] Among them, the fault diagnosis module includes redundant strategy fault monitoring, which monitors the redundant strategy by establishing a safety redundant model;
[0107] Furthermore, the safety redundancy model is obtained by modeling the process of synchronizing the data of the main PLC unit with the secondary PLC unit. The data transfer matrix is the transfer of data from the main PLC unit to the secondary PLC unit. The data transfer matrix expression is as follows:
[0108]
[0109] in, is the data transfer matrix, Synchronize the first data of the slave PLC unit with the first data of the master PLC unit, Synchronize the sth data of the slave PLC unit with the dth data of the master PLC unit, where d is the data count of the master PLC unit and s is the data count of the slave PLC unit;
[0110] By building the probability of synchronizing all data, it is possible to avoid certain failures from affecting other modules in subtle ways;
[0111] Further, the main PLC unit includes a plurality of communication controls, and the secondary PLC unit includes a plurality of backup units;
[0112] A safety redundancy model is constructed to describe the communication control data synchronization of the main PLC unit and the slave PLC unit. The conditional probability is used to evaluate the failure probability of the safety redundant PLC communication control system when executing the redundancy strategy. The calculation expression of the failure probability is as follows:
[0113]
[0114] in, To retrieve the failure prediction probability of redundant strategy execution under observed data, is the prior probability of the observed data, is the marginal probability of observing the data, is the likelihood of the observation data collected after executing the redundancy strategy, is the failure behavior when executing the redundancy strategy, Q is the data transfer;
[0115] The marginal probability calculation expression for observed data is as follows: , where the marginal probability of the observed data is used to represent the quantity and location probability of the observed data in Q(p);
[0116] The failure behavior calculation expression for executing the redundancy strategy is as follows:
[0117]
[0118] Where y is the position of the redundant strategy execution master PLC unit communication control data synchronization slave PLC unit, p is the position of communication control data synchronization, and λ is the data transfer scale;
[0119] Each redundant strategy executed by the PLC communication control system is a parent node, wherein the parent node includes nodes and edges, the node is the fault state of the redundant strategy executed by the safe redundant PLC communication control system, the edge is used to describe the conditional dependency relationship between the communication control of the main PLC unit and the data synchronization of the secondary PLC unit when the safe redundant PLC communication control system executes the redundant strategy, and the direction of the edge is used to represent the causal relationship, including the cause of the redundant strategy execution failure, etc.
[0120] Health monitoring module, used to diagnose the health of PLC communication control;
[0121] Fault monitoring can be used to monitor the communication health status of PLC in real time, and communication anomalies or faults can be discovered and reported promptly.
[0122] Recovery module, including automatic recovery and manual switching;
[0123] In the event of a system failure, the safe redundant PLC communication control system automatically recovers to a normal state, for example by automatically switching to a secondary PLC unit;
[0124] By automatically switching to the backup component, the system can continue to run without being affected. The system switches seamlessly, avoiding users from feeling obvious service interruptions.
[0125] The recovery process involves restoring the system state to normal operating conditions, such as restoring data from backup, restarting failed components, etc.
[0126] During the failure and recovery process, the system should send notifications and reports to the administrator or maintenance personnel so that they can understand the failure status and recovery status in a timely manner.
[0127] In cases where manual intervention is required, a manual switching function is provided so that technicians can make adjustments based on actual conditions.
[0128] Manual switching includes manual intervention, manual switching interface, and verification and testing;
[0129] When the automatic recovery mechanism cannot solve the problem, the system needs to provide a manual switching option so that technicians can make adjustments based on the actual situation. Manual switching usually includes selecting backup components and performing recovery operations.
[0130] Manual switching interface provides a user-friendly interface or console for technicians to perform manual switching operations. The interface should provide clear information and operation instructions to avoid operating errors.
[0131] Verification and testing include that after the manual switch is completed, the technician needs to verify whether the system has successfully resumed normal operation. The test includes checking system functions, data integrity, performance and other aspects.
[0132] Embodiment 2
[0133] Based on the previous embodiment, the health monitoring module is used to diagnose the health of the PLC communication control;
[0134] The health monitoring model includes the health and unhealth of the main PLC unit and the health and unhealth of the auxiliary PLC unit as well as the health status of the overall system. The calculation expression of the health monitoring model is as follows:
[0135]
[0136] in, is the health probability of PLC communication control, is the probability of the failure probability causing the healthy state, is the health probability, In fault state, for health status;
[0137] Furthermore, , where γ is the adjustment factor;
[0138] The health monitoring model comprehensively considers the health and fault status of the system, providing more accurate monitoring and early warning capabilities.
[0139] Importantly, it should be noted that the construction and arrangement of the present application shown in a plurality of different exemplary embodiments are only exemplary. Although only two embodiments are described in detail in this disclosure, it should be readily understood by those who refer to this disclosure that many modifications are possible, for example, the size, scale, structure, shape and ratio of various elements, and parameter values (e.g., temperature, pressure, etc.), installation arrangement, use of materials, color, directional changes, etc., without substantially departing from the novel teachings and advantages of the subject matter described in the application. For example, the element shown as integrally formed can be composed of multiple parts or elements, the position of the element can be inverted or otherwise changed, and the nature or number or position of the discrete element can be changed or changed. Therefore, all such modifications are intended to be included in the scope of the present invention. The order or sequence of any process or method steps can be changed or reordered according to alternative embodiments. Any "device plus function" clause is intended to cover the structure of the execution function described in this article, and is not only structurally equivalent but also equivalent structure. Without departing from the scope of the present invention, other replacements, modifications, changes and omissions can be made in the design, operating conditions and arrangement of the exemplary embodiment. Therefore, the invention is not limited to a specific embodiment, but extends to numerous modifications still falling within the scope of the appended claims.
[0140] Additionally, in order to provide a concise description of exemplary embodiments, all features of an actual embodiment may not be described (ie, those features that are not relevant to the best mode presently contemplated for carrying out the invention or those that are not relevant to implementing the invention).
[0141] It should be understood that in the development of any actual implementation, as in any engineering or design project, numerous implementation-specific decisions may be made. Such a development effort may be complex and time-consuming, but for those of ordinary skill having the benefit of this disclosure, the development effort will be a routine task of design, fabrication, and production without undue experimentation.
[0142] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.
Claims
1. A safe and redundant PLC communication control system, comprising: A communication redundancy module, comprising a data synchronization unit, a switching unit and a strategy adjustment unit, wherein the data synchronization unit is used to ensure real-time synchronization of data between the main PLC unit and the secondary PLC unit, the switching unit is used to automatically switch to the secondary PLC unit when a failure occurs in the main PLC unit, and the strategy adjustment unit is used to adjust the redundancy strategy; Fault diagnosis module, used to perform fault testing on redundancy strategy and PLC communication control; Health monitoring module, used to diagnose the health of PLC communication control.
2. A safe redundant PLC communication control system according to claim 1, characterized in that: The data synchronization unit copies the real-time data of the main PLC unit to the slave PLC through the data transmission protocol and synchronization mechanism, and monitors the data synchronization result through the synchronization monitoring model. The synchronization monitoring model first calculates the sample data difference between the main PLC unit and the slave PLC unit through the data synchronization difference, and judges the synchronization state through the sample data difference. If the sample data difference between the main PLC unit and the slave PLC unit is greater than the data synchronization balance threshold, the synchronization state is wrong, and the data synchronization sensitivity coefficient is adjusted. If the sample data difference between the main PLC unit and the slave PLC unit is not greater than the data synchronization balance threshold, the synchronization state is normal.
3. A safe redundant PLC communication control system according to claim 2, characterized in that: The data synchronization difference calculation expression is as follows: ; in, is the data synchronization difference, m is the number of data groups, M is the total number of data groups, is the mth group of main PLC unit data, For the mth group of slave PLC unit data, is the average value of data synchronization difference; The expression for judging the data synchronization status is as follows: ; in, is the data synchronization sensitivity coefficient, is the data synchronization balance threshold, Z is used to determine whether the data synchronization is wrong, is the sample data difference; The sensitivity coefficient is adjusted by moving step average, and the calculation expression is as follows: ; in, is the adjusted sensitivity coefficient, is the data synchronization difference value of the data synchronization sensitivity coefficient correction that has not been completed at time t, is the unadjusted sensitivity coefficient, is the total number of data groups at time t, is the number of data sets for which data synchronization sensitivity coefficient correction has been completed at time t.
4. A safe redundant PLC communication control system according to claim 3, characterized in that: The strategy adjustment unit includes a load monitoring model, performance indicator detection and strategy adjustment logic; The collected and processed load data of the system during operation is used as the data basis to establish a load monitoring model. The load and performance of the system are dynamically monitored through the load monitoring model. The calculation expression of the load monitoring model is as follows: ; in, Output load forecast value for load monitoring model, is the weight of the i-th convolution kernel, is the actual load value of the PLC communication control system collected in the jth group, b is the bias term, f() is the activation function, and n is the total number of groups of actual load values.
5. A safe redundant PLC communication control system according to claim 4, characterized in that: The fault diagnosis module includes redundant strategy fault monitoring, which monitors the redundant strategy by establishing a safety redundant model; The safety redundancy model is obtained by modeling the process of synchronizing the data of the main PLC unit with the slave PLC unit, and the data transfer matrix is the observation data from the main PLC unit data to the slave PLC unit.
6. A safe redundant PLC communication control system according to claim 5, characterized in that: The data transfer matrix expression is as follows: ; in, is the data transfer matrix, Synchronize the first data of the slave PLC unit with the first data of the master PLC unit, Synchronize the sth data of the slave PLC unit with the dth data of the master PLC unit, where d is the data count of the master PLC unit and s is the data count of the slave PLC unit; A safety redundancy model is constructed to describe the communication control data synchronization of the main PLC unit and the slave PLC unit. The failure probability of the safety redundant PLC communication control system when executing the redundancy strategy is evaluated through conditional probability.
7. A safe redundant PLC communication control system according to claim 6, characterized in that: The calculation expression of the failure probability is as follows: ; in, To retrieve the failure prediction probability of redundant strategy execution under observed data, is the prior probability of the observed data, is the marginal probability of observing the data, is the likelihood of the observation data collected after executing the redundancy strategy, is the failure behavior when executing the redundancy strategy, and Q is the data transfer.
8. A safe redundant PLC communication control system according to claim 7, characterized in that: The failure behavior calculation expression of the execution redundancy strategy is as follows: ; Among them, y is the position of the redundant strategy execution main PLC unit communication control data synchronization slave PLC unit, p is the position of communication control data synchronization, and λ is the data transfer scale.
9. A safe redundant PLC communication control system according to claim 8, characterized in that: Monitor the communication health status of PLC in real time through fault monitoring, and promptly detect and report communication anomalies or faults; The health monitoring model includes the health and unhealth of the main PLC unit and the health and unhealth of the auxiliary PLC unit as well as the health status of the overall system; The health monitoring model calculation expression is as follows: ; in, is the health probability of PLC communication control, is the probability of the failure probability causing the healthy state, is the health probability, In fault state, For health status.
Citation Information
Patent Citations
Bearing health state identification method based on probabilistic neural network
CN103512751A
Power supply load prediction method based on convolutional neural network
CN115358437A
Pumping unit unsupervised online mutation point detection and fusion method based on Bayesian
CN115434690A
Tourist coach two-way driving system based on redundant PLC
CN115437233A
High-capacity distributed storage system
CN117370138A
Cited By
Double-PLC redundant backup method and system
CN120276364A
Dual PLC redundant backup method and system
CN120276364B
Data transmission method of PLC cluster, medium and equipment
CN120711013A
