This paper presents a mathematical model and control of an air compressor used to inflate an air spring for a vehicle's seat vibration isolation system. The novelty of this research is to find out an accurate model for the air compressor, which is carried out using ARX and ARMAX black-box models. Then, a PID controller is designed to regulate the rate pressure in the air spring using the MATLAB/Simulink toolbox. A comparison between the ARX and ARMAX models revealed that the results of the latter model are more accurate in describing the dynamics of the air spring based on the percentage of fitness, final prediction error, and the mean-square error.