A method of estimating an amount of iron powder contained in a lubricant of a connecting part of a robot arm, the robot arm comprising a motor configured to operate based on data indicating at least one command current value and an arm configured to operate based on a driving force of the motor, the motor and the arm being connected with the connecting part interposed therebetween, the method comprising:
- acquiring command current values at a plurality of timings when the motor is controlled at a rotation speed within a preset fixed range, in a preset first time period,
- determining an average value of differences between the command current values and an average value of the command current values in the preset first time period, and
- repeating the acquiring and the determining in an additional preset time period, and accumulating average values of the differences in a sequential order of each determining;
- and
- estimating the amount of the iron powder based on a product of an accumulated value of the average values of the differences and a preset coefficient.