Course project · Industrial automation
Automatic Coffee Machine Control System
An industrial-style control system in CODESYS, with sequential logic, a live HMI and multi-level alarm handling.
How it works
-
01
Select
The user picks a beverage and a coffee strength on the HMI.
-
02
Supervise
The supervisor sequences the actuator groups and enforces ordering constraints.
-
03
Actuate
Generalised actuators for coffee, water, milk and serving.
-
04
Monitor
Live levels, temperatures and process state on the HMI.
-
05
Protect
Multi-level alarms with acknowledgement and safe reset.
Overview
The project models a realistic beverage process with industrial automation principles. A CODESYS application controls an automatic coffee machine with four beverages and three coffee strengths, combining sequential control, a Human-Machine Interface and fault management.
Control architecture
The control follows a supervisor pattern that coordinates several Generalised Actuators (GA): coffee, water, milk and serving. Sequences are written in Sequential Function Chart (SFC) and the logic in Structured Text (ST). The supervisor handles beverage selection, strength levels and the constraints on which step can run when.
HMI and safety
An interactive HMI shows ingredient levels, temperatures and the current process state in real time. A multi-level alarm system detects faults (piston up/down errors, water and milk faults) and puts the machine in a safe state. The operator then has to acknowledge the alarm and run a reset procedure before operation can resume.
Tools & techniques
- CODESYS V3.5
- IEC 61131-3
- SFC
- Structured Text
- HMI
- Alarm management