Title: The design of modular cell controllers for flexible automated batch manufacturing facilities