A new algorithm for adaptive threshold generation in robust fault detection based on a sliding window and global optimization | IEEE Conference Publication | IEEE Xplore