Referring to FIG. 17, the waveform data stored in the ROM can be calculated once based on system performance and characteristics, such as moment of inertia, motor torque, etc. which is then represented in the constant value k in the following equations.