PLC program automatic debugging method based on ant colony optimization algorithm
By adopting an automatic debugging method for PLC programs based on ant colony optimization algorithm, the problems of breakpoint mishitting, interlock logic destruction, and communication bottlenecks in the parallel collaborative debugging of multiple PLC controllers are solved. This method achieves efficient and safe multi-target consistency debugging, and improves the safety compliance and consistency verification pass rate of the debugging scheme.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HEFEI YIFENG INTELLIGENT TECHNOLOGY CO LTD
- Filing Date
- 2025-12-15
- Publication Date
- 2026-06-05
AI Technical Summary
The existing parallel collaborative debugging process of multiple PLC controller programs suffers from issues such as misaligned breakpoints, disrupted interlocking logic, communication bottlenecks, and conflicts arising from concurrent operations by multiple engineers. This results in low debugging efficiency and poor project controllability, and fails to effectively solve the problems of multi-objective global consistency and optimal scheduling of multi-constraint resources.
An automatic debugging method for PLC programs based on ant colony optimization algorithm is adopted. By constructing a collaborative operation diagram and constraint set for debugging actions of multiple PLC controllers, a discrete debugging action sequence is generated. An improved discrete ant colony optimization algorithm and tabu search algorithm are used to perform state encoding of debugging actions, pheromone matrix initialization, time axis swapping, port rearrangement, and network bandwidth reallocation, so as to ensure the consistency and safety of the debugging process.
In large-scale parallel debugging scenarios, dynamic analysis and explicit constraints on interlock conflicts, communication bandwidth bottlenecks, and security level compliance issues improve the security compliance and consistency verification pass rate of the debugging process, reduce concurrent conflicts and security risks, and enhance the security compliance and consistency verification pass rate of the debugging solution.
Smart Images

Figure CN121613813B_ABST