Font Size: a A A

Research And Implementation Of Concurrent Program Automatic Generation Method For Heterogeneous Programmable Controller

Posted on:2024-08-26Degree:MasterType:Thesis
Country:ChinaCandidate:F L JiFull Text:PDF
GTID:2558307103974859Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Programmable controller is the core of discrete equipment control.Traditional programmable controllers achieve highly reliable applications by cyclically executing serial tasks.With the development of digitalization,networking,and intelligence of equipment,the demand for high-performance computing in industrial control applications is increasing,and heterogeneous multi-core architectures are gradually applied to programmable controllers.However,due to the lack of innovation in development mode,the existing research around standardized thread programming,concurrent module customization,concurrency deconstruction is difficult to meet the needs of rapid customization of complex concurrent tasks.To this end,this paper conducts research on automatic concurrent program generation methods for heterogeneous programmable controllers by:1.An interpreted execution-based concurrent program development model is proposed for the need of rapid customization of complex concurrent programs in heterogeneous programmable controllers.Modular design of control units such as ladder diagram building blocks,function blocks,and text code blocks enables automatic generation of control units;a graphical data relationship model of concurrent programs is established based on control units,and control units are driven by independent trigger groups and associated data,which in turn enables the generation and control of complex concurrent programs.2.To address the problem of optimal scheduling of resources under concurrent tasks for heterogeneous programmable controllers,a multi-level scheduling optimization method of Program Organization Unit-Task-Resource(POU-T-R)is proposed.A lock-free access path concurrent access protocol is proposed to ensure the reliability and real-time performance of the system under concurrent access;A mathematical model of POU-T-R scheduling optimization was established,and a Population based Social Engineering Optimizer(P-SEO)algorithm was proposed to realize POU-T-R matching3.We develope a graphical development platform for concurrent programs of heterogeneous programmable controllers.The platform provides field engineers with automatic functional control code generation,real-time compilation and execution of concurrent programs,and automatic POU-T-R assignment;designed a comparison experiment between the P-SEO algorithm and other heuristic algorithms,and the experimental results show that P-SEO has better performance on the selected public benchmark functions and POU-T-R problems;constructed four types of typical motion control-related concurrent programs.The effectiveness of the platform for automatic code generation is demonstrated.
Keywords/Search Tags:Programmable Logic Controller, Real-Time Systems, Concurrent Tasks, Automatic Code Generation, Task Allocation
PDF Full Text Request
Related items