Intelligent tryckregulator