Event-based PI controller with exponential thresholds