Algorithms & architectures for real-time control by