Patent attributes
An air compressor includes: a motor actuating a mechanism to generate compressed air; a tank part in which the compressed air is stored; a pressure detector detecting a pressure value in the tank part; and a controller driving the motor when the pressure value is equal to or smaller than an ON pressure value and to stop drive of the motor when the pressure value is equal to or greater than an OFF pressure value. The controller executes processing for detecting a continuous drive time or a continuous stop time of the motor and changing at least one of the ON pressure value, the OFF pressure value and an output of the motor, and the controller detects a change amount of the pressure value, and to determine an execution cycle of the processing or a change amount of a value in the processing, based on the detected change amount.