When the pressure of the medium pressure of the compression equipment for some reason and abnormal rise, to reach the preset value, the safety valve automatically open, and then discharge, to prevent the pressure continues to rise. When the medium pressure is reduced due to the discharge of the safety valve, when another predetermined value is reached, the valve is automatically closed to prevent the medium from continuing to discharge. When the medium pressure is in normal working pressure, the valve remains closed and sealed.