Skip to content

Faaizz/logic_control_systems

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Logic Control Systems

Simplified industrial plants are modelled as finite state machines and implemented on Raspberry Pi using Python. Logic controllers are designed for these plants and implemented on an ATMega828P microcontroller. An alternative implementation of the Logic Controllers as Programmable Logic Controllers (PLCs) is also carried out using OpenPLC.
Using a Raspberry Pi and an ATMega828P equipped Arduino UNO, real-time industrial control processes can be simulated!

As a possible future extension, fault states & transitions may be added to the plants and dignosis systems may be incorporated to tackle these.


Simplified Industrial Plants

Basic industrial plants are simplified and modelled as finite state machines. Simulation models are developed using Mathworks's Stateflow. Stateflow is a control logic tool used to model reactive systems via state machines and flow charts [1]. The simplified plants are implemented on a Raspberry Pi using the Python programming language. The choice of using the Raspberry Pi is due to the ease of communicating with the logic controller via it's general purpose input/output (GPIO) ports.


Logic Controllers

The logic controllers are designed as finite state machines and validated and verified using NuSMV. They are implemented on an ATMega828P using avr-libc package and also as PLCs using OpenPLC.


Plants

The following plants are modelled:


References

1- Stateflow- Wikipedia

About

Modelling and controlling discrete time systems using Raspberry Pi, Arduino UNO, and openPLC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors