摘要 |
PURPOSE:To obtain an accurate speed even if a speed detection signal is temporarily largely varied due to noise or the like by deciding whether the data calculated previously is erroneous or not, and outputting data corresponding in response to the fact that the data falls within or out of a predetermined range as motor control speed data. CONSTITUTION:When data regarding the rotating speed of a motor 10 calculated previously is not erroneous, data stored in a first storage means of a controller 14 is sequentially fed to discard oldest data, and the data calculated this time is stored in a latest data storage area. If the data calculated previously is erroneous, the data calculated this time is stored in the latest data storage area, and the data of the previous time is stored in a second storage means of the controller 14. When the data of this time falls within a predetermined range of the data of the previous time, the data of this time is output as motor 10 control speed data. If the data of this time falls out of a predetermined range of the data of the previous time, the data corresponding to a center of large and small values stored in the first storage means is output as motor 10 control speed data. |