A human-in-the-loop manufacturing control architecture for the next generation of production systems