This paper summarizes the automation improvement of raw gas compressor of Shanxi Lanhua Kechuang Tianyue Fertilizer Branch,introduces the effect after the retrofit,and points out the importance of automation improvement of raw gas compressor for the enterprise to avoid accidents,providing guarantee for the safe and stable operation of the plant for a long period.