Title: On the design of cell and workstation controllers for automated production systems