Time Buffer Control System for multi-stage production lines