Apparatus for controlling speed of a rotary motor

Abstract: A speed control apparatus for a rotary motor comprises a motor (25) for rotating at a speed based on a torque command (τ*) and outputting a present angular position () and a present angular speed (ω) of the motor (25); a speed measuring unit (A3) for obtaining a speed error (ω c ) representing the difference between a reference angular speed (w*) and a present angular speed (ω) ; a speed controller (21) for outputting a current command (i* v ) for controlling a rotational speed of the motor; a learning compensator (27) for correcting an effect of the disturbance expressed as a function of an angular position () and an angular speed applied to the motor (25), via repetitive learning steps using the reference angular speed (w*), any one of the speed error from the speed measuring unit (A3) and the current command (i* v ) output from the speed controller (21) and the present angular position of the motor (25), removing a high frequency noise generated in the repetitive learning step, and outputting a resultant disturbance correction value; a speed command compensator (A4) for obtaining a corrected current command by adding the current command value output from the speed controller (21) and the disturbance correction value obtained in the learning compensator (27); and a current controller (23) for receiving the corrected current command and outputting a torque command to the motor (25). Thus, the apparatus of the present invention stores in advance the correction value obtained in the learning compensator (27) and effectively performs a speed control using the stored value. Furthermore, a high frequency noise generated according as the learning frequency increases is removed with a low pass filter (41), to enable further stabilized system.

Description: The present invention relates to a speed control of a rotary motor, and more particularly, to a speed control apparatus for a rotary motor contained in a video cassette recorder (VCR), in which a disturbance applied to the rotary motor is estimated and corrected to improve a speed control characteristic. In control of the motor speed, factors of varying a control quantity are generated due to peripheral conditions. Such factors called disturbances render accurate speed control difficult. If control errors have been generated due to the disturbance, a VCR driven by a motor will not function accurately. Therefore, a good speed control characteristic can be obtained only when an effect of disturbance is removed. Thus, such a disturbance is removed by estimating a torque of the disturbance of the motor by means of an observer. A control theory of suppressing such a load disturbance is being studied. One example is shown in Figure 1. Figure 1 is a block diagram showing a conventional speed control apparatus of a rotary motor having a disturbance. The apparatus of Figure 1 is disclosed in a paper entitled "Autocompensation of Torque Ripple of Direct Drive Motor by Torque Observer" by Nobuyuki Matsui, Tatuso Makino, and Hirokazu Satoh (IEEE Trans. on Industry Applications, vol. 29, No. 1, January/February 1993, pp. 187-194). In Figure 1, an adder Al receives a reference angular speed ω* m according to a speed command and an angular speed ω m fed back from a motor 15 and obtains a difference ω* m - ω m . The difference ω* m - ω m is input to a speed controller 11. The speed controller 11 outputs a current command i v * applied from the speed controller 11 and a disturbance removal command i L * and obtains a corrected current command i*. The disturbance removal command i L * is obtained by multiplying an estimated disturbance load torque (i) output from a torque observer 17 which receives an angular speed ω m fed back from the motor 15 and an actual current i by a transfer function K T -1 . Here, values without the superscript * are actual values and values with the superscript * are command values. Meanwhile, the corrected current command i* is input to a current controller 13. The current controller 13 expressed as the transfer function K T supplies a torque command τ* to the motor 15 in order to control a rotational speed of the motor 15 in response to the corrected current command i*. The motor 15 rotates at a speed corresponding to the torque command τ* of the current controller 13. The torque observer 17 which estimates an actual disturbance load torque τ L applied to the motor 15, obtains an estimated disturbance load torque τ L (i) according to the following relationship (1) under the assumption that the disturbance is varied sufficiently slowly. τ L (i) = ε(i)+L ω m (i) ε(i+1) = Â ε (i) + b i q (i) + K ω m (i) Â = 1+LT s /J n b = -LK Tn T s /J K = L(L+D n )T s /J n Here, Jn, Dn and K Tn are nominal values with respect to a moment of inertia J, a damping coefficient D and a torque constant K T . L which is smaller than zero is an observer gain, ε is a virtual variable, is an observer output, and T S is a sampling period. The above relationship (1) can be combined to yield the following relationship (2). τ L ( S )= 1 1+ ST τ L ( S ) Here τ L is an actual disturbance load torque, is an estimated disturbance load torque and S is a Laplacian operator. In this case, T=-T s /ln(1+LT s /J n ) and 1/1+ST serves as a low-pass filter. Here, values without a subscript n are actual values and values with the subscript n are nominal values which are designed to be close to the actual values. Thus, if the actual disturbance load torque τ L is slowly varied, it approximates the estimated disturbance load torque to completely remove the disturbance. As described above, the conventional method of removing the disturbance by estimating the disturbance load torque of the motor requires a large calculation time due to the complex equations and thus, there are substantial problems associated with implementing it into hardware. Also, D-VCR technique which has been on the rise nowadays, requires a compact motor capable of being controlled at a constant speed and in a high precision state. Such a motor itself has disturbance due to a cogging torque and bearing friction, and the disturbance of motor itself is involved with a high frequency. Since a bandwidth of the low-pass filter being the characteristic of 1/(1+ST) becomes large to follow up the fast varying disturbances, the observer gain L must be large accordingly. However, the observer gain cannot be enlarged without generating limitations in an actual implementation, and the disturbance is estimated with respect to time. As a result, a continuous estimation operation should be performed during the operation of a closed loop with respect to the speed control of the rotary motor. This requires a great deal of calculation and thus is difficult to implement in existing hardware. Also, such a disturbance of a motor itself having high frequency can not be removed by only disturbance estimation and compensation with the conventional method. US 5,469,215 (Okuma Corporation) discloses method and apparatus for controlling an electric motor with compensation of torque ripple. In the system disclosed in this prior art document, an electric motor control system compensates torque ripples to control the rotation of an electric motor. Compensated current amplitudes corresponding to the torques, speeds and rotational positions, of the electric motor are stored in a memory. An address setting unit prepares a read address in the memory from a torque command, speed information and rotational motor position. A prepare read address is then used to read a torque error compensation data from the memory. An adder adds the torque error compensation data thus prepared to the torque command T to determine current amplitudes in the electric motor. A 3-phase current setting unit sets 3-phase AC current commands based on the current amplitudes and rotational motor position. With a view to solving or reducing the above problem, it is an aim of embodiments of the present invention to provide a speed control apparatus for a rotary motor, which compensates an effect of a disturbance expressed as a function of an angular speed and an angular position via a learning function and removes a high frequency noise accumulated according to the increase of learning frequency. According to the present invention, there is provided a speed control apparatus for a rotary motor, the speed control apparatus comprising: a motor for rotating at a speed based on a torque command (τ*) and outputting a present angular position () and a present angular speed (ω) of the motor; speed measuring means for obtaining a speed error (ω e ) representing a difference between an input reference angular speed (ω*) and the present angular speed (ω); a speed controller for receiving said speed error (ω e ) and outputting a current command (i v *) for controlling a rotational speed of the motor; a learning compensator for correcting an effect of a disturbance and outputting a resultant disturbance correction value (i L *); speed command compensating means for obtaining a corrected current command (i*) by adding a value of the current command (i v *) output from the speed controller and the disturbance correction value (i L *) obtained in said learning compensator; and a current controller for receiving the corrected current command (i*) and outputting the torque command (τ*) to the motor, the apparatus being characterised in that the learning compensator corrects the effect of the disturbance expressed as a function of an angular position () and an angular speed applied to the motor, via repetitive learning steps using the input reference angular speed (ω*), one among the speed error (ω e ) from said speed measuring means and the current command (i v *) from said speed controller, and the present angular position () of the motor, removing a high frequency noise generated by the repetitive learning steps, and outputting the resultant disturbance correction value (i L *). Preferably, said learning compensator comprises a low pass filter for low-pass-filtering one of the speed error (ω e ) and the current command (i v *) to be used in the repetitive learning steps. Preferably, said low pass filter has a cut-off frequency capable of suppressing the disturbance due to a cogging torque of the motor. Said said low pass filter may be an IIR filter. Said learning compensator preferably further comprises: a gainer for multiplying the output of said low pass filter by a predetermined learning compensation gain K L and outputting the result; a storage unit for outputting a disturbance correction value (i* LK ()) corresponding to the present angular position () of the motor among disturbance correction values stored therein, and storing a presently input disturbance correction value at a storage position corresponding to the present angular position (); and an adder for adding the output of said gainer and the disturbance correction value (i* LK ()) output from said storage unit, and obtaining a disturbance correction value corresponding to the present angular position () of the motor to output the obtained value to said storage unit. Preferably, said predetermined learning compensation gain value K L has a relationship of 0<K L <K P , where K P is a proportional gain of the speed controller, when the speed error (ω e ) is used in the repetitive learning steps, while it has a relationship of 0<K L <1 when the current command (i* v ) is used therein. Said adder preferably adds the output of said gainer and the output of said storage unit when the repetitive learning steps are performed, wherein said adding operation is not performed when no repetitive learning steps are executed. Preferably, said repetitive learning steps are performed when the motor rotates at a steady state according to the input reference angular speed (ω*). Preferably, said learning compensator comprises: a gainer for receiving one of the speed error (ω e ) and the current command (i* v ) to be used in the repetitive learning steps, and multiplying and outputting the received data by a predetermined learning compensation gain K L ; a storage unit for outputting a disturbance correction value (i* LK ())corresponding to the present angular position () of the motor among disturbance correction values stored therein and storing a presently input disturbance correction value at a storage position corresponding to the present angular position () of the motor; a first adder for adding the output of said gainer and the disturbance correction value (i* LK ()) output from said storage unit, and obtaining a disturbance correction value corresponding to the present angular position () of the motor; a low pass filter for low-pass-filtering the disturbance correction value obtained by said first adder; and a second adder for outputting the output of said low pass filter as a disturbance correction value corresponding to the present angular position () of the motor, to said storage unit. Said low pass filter preferably has a cut-off frequency capable of suppressing the disturbance due to the cogging torque of the motor. Said low pass filter may be a FIR filter. Said predetermined learning compensation gain value K L preferably has a relationship of 0<K L <K P , where K P is a proportional gain of the speed controller, when the speed error (ω e ) is used in the repetitive learning steps, while a relationship of 0<K L <1 when the current command (i* v ) is used therein. Preferably, said adder adds the output of said gainer and the output of said storage unit when the repetitive learning steps are performed, while said adder outputs the output itself of said storage unit to said low pass filter. Said repetitive learning steps are preferably performed when the motor rotates in a steady state according to the input reference angular speed (ω*). The apparatus may comprise: pulse signal and frequency signal generation means for generating a pulse signal (PG) and a frequency signal (FG) according to the rotation of the motor; a storage unit for storing disturbance correction values (i* LK ) according to a rotation of the motor; and control means for generating the corrected current command (i*) corresponding to a present angular position () of said motor, by using the pulse signal (PG) and the frequency signal (FG) of said motor and the disturbance correction value (i* LK ) stored in said storage unit and supplying the generated corrected current command (i*) to said current controller, wherein said control means performs the steps of: (a) obtaining the present angular position of the motor and a corresponding current command thereto using the pulse signal (PG) and the frequency signal (FG) of said motor; (b) correcting an effect of the disturbance expressed as a function of an angular position and an angular speed applied to the motor, via repetitive learning steps using the input reference angular speed (ω*) of said motor, the obtained present angular position and the corresponding current command, generating a disturbance correction value in which a high frequency noise generated in the repetitive learning step is removed, and storing the generated disturbance correction value at a storage position corresponding to the present angular position in said storage unit; and (c) obtaining the corrected current command (i*) applied to said current controller by adding a value of the obtained current command and the generated disturbance correction value. Preferably, said step (b) comprises the sub-step (b1) of low-pass-filtering the current command corresponding to said present angular position. Said sub-step (b1) may use a cut-off frequency capable of suppressing the disturbance due to the cogging torque of the motor. Said step (b) may comprise the sub-steps of: (b2) multiplying and outputting said low-pass-filtered current command by a predetermined learning compensation gain; and (b3) adding the disturbance correction value corresponding to the present angular position of the motor among disturbance correction values stored in said storage unit and the obtained signal in said step (b2), thereby obtaining a new disturbance correction value corresponding to the present angular position of the motor, wherein the steps for obtaining said new disturbance correction values are performed repetitively until all new disturbance correction values relevant to one rotation of the motor are obtained. Said predetermined learning compensation gain is preferably greater than zero and smaller than 1 in magnitude. Said control means adopt the disturbance correction value corresponding to the present angular position among the disturbance correction values stored in said storage unit to obtain a corrected current command if the current command obtained from the pulse signal (PG) and frequency signal (FG) of said motor is smaller than a predetermined value. Said control means preferably obtains a disturbance correction value via repetitive learning steps when the motor rotates in a steady state according to the input reference angular speed. For a better understanding of the invention, and to show how embodiments of the same may be carried into effect, reference will now be made, by way of example, to the accompanying diagrammatic drawings, in which: Figure 1 is a block diagram of a conventional speed control apparatus for a rotary motor having a disturbance; Figure 2 is a block diagram of a speed control system for a rotary motor having a disturbance according to a preferred embodiment of the present invention; Figure 3 is a block diagram of a speed control system for a rotary motor having a disturbance according to another embodiment of the present invention; Figure 4 is a detailed view showing a learning compensator; Figure 5 is a view showing an example of how the systems of Figure 2 and Figure 3 are realized into hardware; Figure 6 is a flowchart diagram for explaining the operation of Figure 5 apparatus; and Figures 7A and 7B are detailed flowchart diagrams associated with Figure 6. Preferred embodiments of the present invention will be described below in more detail with reference to the accompanying drawings. A preferred embodiment of the present invention shown in Figure 2 is similar to the conventional apparatus of Figure 1. However, as shown in Figure 2, a learning compensator 27 is used in the preferred embodiment instead of a torque observer 17. The learning compensator 27 receives a reference angular speed ω* according to a speed command, the output i v * of a speed controller 21 and an angular position  fed back from a motor 25 to produce an output i* LK () for correcting an effect of the disturbance. The system of Figure 3 showing another embodiment of the present invention is similar to the Figure 2 system. A learning compensator 37 receives a speed error ω e output from a first adder A3 instead of a current command i v * output from the speed controller 21, to produce the output i* LK () for correcting an effect of the disturbance. In Figure 2 and Figure 3, the same reference numerals are used for the same construction. If an external learning flag L_on is inputted after the motor 25 being operated in steady state, the system of Figure 2 or Figure 3 starts the disturbance removal operation of the motor 25 via repetitive learning. The present angular speed ω in the motor 25 is outputted to the first adder A3, and the present angular position  inputs the learning compensator 27 or 37. The first adder A3 produces a speed error ω e representing a difference between the present angular speed ω and a reference angular speed ω*. The speed controller 21 which receives the speed error ω* output from the first adder A3 maintains the following relationship (3) between the torque and the angular speed ω of the motor 25. J dw dt +τ L = T = K T i Here, J is the moment of inertia, ω is a present angular speed, τ L is a load torque, T is an input torque and i is a current in motor coil. If a load torque is zero, the motor 25 has no load disturbance. Thus, an excellent speed control characteristic can be obtained using a general speed controller. If there is a load torque τ L , the speed control characteristic is lowered. In the embodiments of the present invention, the learning compensator 27 or 37 has been proposed in which an effect of the disturbance H(,) expressed as a function of an angular position  and angular velocity  is removed via repetitive learning. In case of constant speed control, since  equals ω*t, the output i* LK () of the learning compensator 27 or 37 is a periodic function having a period T of 2π/ω* with respect to the speed command ω* and the time, and is defined by the following relationship (4). i LK (ω*,) = i L ( K -1) (ω*,)+ mZ ( K -1) () Here, m is a repetitive learning gain and 0<m<1, and Z (K-1) is obtained by sampling the output of the speed controller 21 during a steady state for a period T. In Figure 4 showing the detailed block diagram of the learning compensator 27 or 37, the learning compensator includes a low pass filter 41 for removing a high frequency noise from the input current command i v * or the speed error ω e , and a gainer 43 for multiplying the low-pass-filtered current command i v * or the speed error ω e by the learning compensation gain K L . A third adder 45 connected to an output end of the gainer 43 adds a disturbance correction value prior to one rotation of the motor and the present output from gainer 43 to obtain a new disturbance correction value. A delay unit 47 connected to an output end of the third adder 45 delays the disturbance correction value obtained from the third adder 45 during the time as long as the motor rotates once, the delayed disturbance correction value is fedback to the third adder 45. The operation of the learning compensator 27 or 37 will be described below in more detail with reference to Figure 4. The low pass filter 41 low-pass-filters the received speed error ω e or current command i v *. The low pass filter 41 removes a high frequency noise accumulated by the increase of learning frequency. As a result, the output of the learning compensator 27 or 37 converges in to the disturbance component H(,) being a function of the angular speed and the angular position, and thus the system is stabilized. An IIR (Infinite impulse response) filter is employed in the low pass filter 41. If the low pass filter 41 is located between the third adder 45 and the delay unit 47, a FIR filter can be used therein. A cut-off frequency of the low pass filter 41 is set just to suppress the disturbance due to a cogging torque of the motor 25. The output of the low pass-filter 41 is gain-controlled according to a gain value K L of the gainer 43. The gain value K L varies according to an input value of the low pass filter 41. That is, in the case where the gainer 43 receives the speed error ω e , the gain value K L should be less than a proportional gain K P of the speed controller 21 (0<K L <K P ), whereas, when the gainer 43 receives the current command i v *, the gain value K L should be less than "1" (0<K L <1). The speed error ω e or the current command i v * gain-controlled via the gainer 43 is input to the third adder 45. The third adder 45 adds the outputs of the delay unit 47 and the gainer 43 while the external learning flag L_on is being enabled. Here, the output of the delay unit 47 is a disturbance correction value prior to one rotation of the motor. The new disturbance correction value output from the third adder 45 is supplied to the delay unit 47. The delay unit 47 uses the present angular position  of the motor 25 received through a clock end, as an address n with regard to the disturbance correction value applied from the third adder 45 to thereby store the disturbance correction value. The stored disturbance correction value is delayed for the time D -2π as long as the motor 25 rotates once, and then outputted. The learning compensator shown in Figure 4 is represented by the following relationship (5) regardless of whether an input is the speed error ω e or the current command i v *. i* L(K+1) (n · Δ ) = i* LK (n · Δ ) + K L · LPF (i v *(n · Δ )) If the low pass filter 41 is located between the third adder 45 and the delay unit 47, the learning compensator is denoted by the following relationship (6). i* L(K+1) (n · Δ ) = LPF(i* LK (n · Δ ) + K L (i v *(n · Δ ))) The relationship (6) is also adopted regardless of whether an input is the speed error ω e or the current command i v *. In the relationships (5) and (6), n · Δ  is an address with regard to the delay unit 47. Returning to Figure 2 and Figure 3, the disturbance correction value i* LK () obtained in the learning compensator 27 is inputted to the second adder A4 which adds the current command i v * applied from the current controller 21 and the disturbance correction value i* LK () applied from the learning compensator 27 to obtain a corrected current command i*, and the corrected current command i* is inputted to the current controller 23. The current controller 23 outputs a torque command corresponding to the input corrected current command i*. The fourth adder A5 of the motor 25 subtracts the disturbance component H(,) from the torque command applied from the current controller 23, and outputs the resultant corrected torque command τ*. A speed of a rotating unit 25' which is represented as a transfer function 1/(JS+B), is controlled according to the torque command τ*. As a result of speed control, the present angular speed ω output from the rotating unit 25' is again fedback into the first adder A3 which uses the present angular speed ω for calculating a speed error ω e with respect to the reference angular speed ω*. In case of Figure 2, the speed error ω e is inputted to the speed controller 21, and in case of Figure 3, the speed error ω e is inputted to the learning compensator 37. The speed controller 21 outputs the current command i v * for controlling a rotational speed of the motor 25 according to the input speed error ω e to the second adder A4. In Figure 2, the current command i v * is again input to the learning compensator 27. The present angular speed is output as an angular position  by means of an encoder 25" expressed as a transfer function 1/S and is fedback into the learning compensator 27. Meanwhile, after the learning flag L_on is disabled, the learning compensator 27 receives the speed error ω e output from the first adder A3 as an address, and outputs a disturbance correction value stored in a storage position of the delay unit 47 indicated by the address. An effective speed control can be implemented since the speed control after completion of the learning compensation is performed with only that the output i v * of the speed controller 21 is added to the disturbance correction value i L * output from the learning compensator 27 or 37. As a result of simulation with respect to the systems of Figures 2 and Figure 3, the disturbance H(,) is removed by the output i L * of the learning compensator 27 via a few iterations of repetitive learning process. Figure 5 is an example showing how the speed control system for the rotary motor shown in Figure 2 or Figure 3 may be realized into hardware. A microcomputer 51 of Figure 5 receives a pulse signal PG and a frequency signal FG generated according to rotation of the motor 25 and a mode command concerning repetitive learning, and performs disturbance estimation and compensation via the repetitive learning. The microcomputer 51 uses the pulse signal PG and the frequency signal FG generated according to rotation of the motor 25 to obtain the present angular speed ω and the angular position  of the motor 25. A storage unit 55 connected to the microcomputer 51 stores current commands and disturbance correction values obtained via repetitive learning with regard to one rotation of the motor 25. The storage unit 55 uses a store media, such as EEPROM, PROM or flash memory, wherein the EEPROM is employed. A current command i* output from the microcomputer 51 in the form of PWM (pulse width modulation) is smoothed via a low pass filter 53 and then inputted to a current controller 23. In the case that the current command i* output from the microcomputer 51 is digital-to-analog converted, the current command is directly inputted to the current controller 23. The current controller 23 controls the rotational speed of the motor 25 according to the output of the low pass filter 53. The microcomputer 51 performs the functions of the first and second adders A3 and A4, the speed controller 21 and the learning compensator 27 or 37 with program. Figure 6 is a flowchart diagram for explaining the operation of the microcomputer 51 relating to the repetitive learning process. Figure 7A is a flowchart showing a main routine for executing a repetitive learning operation during predetermined times and Figure 7B is a flow chart showing an interrupt routine to obtain the optimum disturbance correction values. Referring to Figure 6, when the operation starts, the microcomputer 51 initializes the learning flag L_on and the number K of the repetitive learning, the address pointer n of a disturbance correction value corresponding to the present angular position , and the disturbance correction values i* LK into zeros (step 610). Then, general motor speed control for rotating the motor at a desired speed is performed in step 620. If it is determined that the motor rotates in a steady state in step 630, the microcomputer 51 stores current commands i v * during one period of rotation of the motor in step 640, and performs the main routine for repetitive learning shown in Figure 7A in step 650. Referring to Figure 7A, the microcomputer 51 checks whether a motor rotation command is externally applied in step 621. When the motor rotation command is not inputted, the microcomputer 51 prohibits an interrupt routine and stops the rotation of the motor 25 in step 622, and then performs the same operation as the initialization step 610. When the motor rotation command is applied in step 621, the microcomputer 51 rotates the motor 25 according to the speed command being inputted together with the motor rotation command, and performs the interrupt routine in step 623. Referring to Figure 7B showing in detail the interrupt routine of step 623, the microcomputer 51 increases the value of an address n (n=,0<≤2π) by "1" whenever the frequency signal FG generated owing to the rotation of the motor 25 is inputted in step 701. Here, the frequency signal FG is generated by a FG generator 35 used for detecting the rotation of the motor 25. The microcomputer 51 checks whether the motor 25 rotates once using the value of the address n in step 702. If the motor 25 rotates once, the microcomputer 51 again initializes the value of the address to '0' in step 703. In step 704, the microcomputer 51 obtains a present angular speed ω using the frequency signal FG of the FG generator 35, and calculates a speed error using the obtained present angular speed ω and the reference angular speed ω* according to the rotational command. Then, the current command i v * corresponding to the calculated speed error in step 705 is calculated. The microcomputer 51 reads the corresponding disturbance correction value i LK *(n) from the storage unit 55 using the value of address corresponding to the present angular position  of the motor in step 706, and adds the obtained current command i v * and the disturbance correction value i LK *(n) to obtain a corrected current command i* in step 707. The corrected current command i* output from the microcomputer 51 is applied to the motor 25 through the low pass filter 53 and the current controller 23. Meanwhile, the microcomputer 51 checks whether the learning flag L_on is '1' in step 708. If it is not '1', the interrupt routine stops and returns to the step 624 of Figure 7A. In contrast, if it is '1' in step 708, the microcomputer 51 performs the step 709 of obtaining disturbance correction value i* L(K+1) (n) using the above relationship (5). That is, the microcomputer 51 executes the low-pass-filtering and multiplication of the gain K L with respect to the current command i v * corresponding to the value of the address, and then obtains a new disturbance correction value by adding the disturbance correction value read out from the storage unit 55. In step 709, the relationship (6) can be used instead of the relationship (5). In this case, the disturbance correction value read out from the storage unit 55 instead of a current command is low-pass-filtered. The microcomputer 51 stores the new disturbance correction value i* L(K+1) (n) at the store position of the storage unit 55. Such learning operation is performed with respect to all the disturbance correction values stored in the storage unit 55. The microcomputer 51 checks whether the learning for one rotation of the motor i.e. one period, is finished in step 710. If it is not finished, the microcomputer 51 performs the operation of step 709 repeatedly. On the other hand, if it is finished, the microcomputer 51 initializes the learning flag L_on to '0' in step 711 and terminates the interrupt routine, and then returns to the step 624 of Figure 7A. Meanwhile, the microcomputer 51 performs the step 624 for checking whether the learning flag L_on is '0' during executing the interrupt routine of Figure 7B. If the learning flag L_on is '0', it means that the learning for one periodic rotation of the motor is accomplished. Therefore, if the learning flag L_on is not '0', the microcomputer 51 waits until the interrupt routine is finished. If the learning flag L_on is '0', it is checked whether the speed of the motor 25 is in a steady state in step 630. If it is in a steady state, the microcomputer 51 checks whether the number K of learning reaches the desired repetition frequency in step 651. Until it reaches the desired repetition frequency, the microcomputer 51 increases a number K of learning by one in step 652 and sets the learning flag L_on to '1' in step 653, and then returns to step 621. In step 651, when the number of learning K reaches the desired repetition frequency, the microcomputer 51 finishes the main routine of Figure 7A and returns to step 670 of Figure 6. In step 670, the microcomputer 51 uses the present angular speed ω of the motor and the reference angular speed ω* according to the rotational command to determine whether the obtained current command i* v is smaller than a predetermined threshold B. What the obtained current command i* v is smaller than a predetermined threshold B means is that the disturbance to be loaded on the motor 25 is compensated sufficiently. If the current command i* v is larger than or equal to the predetermined threshold B, the microcomputer 51 returns to step 620 and performs the learning operation again. If the current command i* v is smaller than the threshold B in step 670, the microcomputer 51 judges that the disturbance is compensated sufficiently and then stores the disturbance correction values i* L in the storage unit 55 in step 680. Hereafter, the microcomputer 51 performs the disturbance removal using the disturbance correction values i* L stored in the storage unit 55. As described above, the speed control apparatus for a rotary motor according to the present invention determines and stores the disturbance correction values for compensating an effect of the disturbance via a repetitive learning process, and performs the speed control using the stored disturbance correction values, to thereby provide an advantage that simple and efficient speed control can be performed. Also, the speed control of the motor is stabilized regardless of the frequency of repetition of learning since a high frequency noise generated by the repetitive learning process is removed by means of the low pass filtering. While only certain embodiments of the invention have been specifically described herein, it will be apparent that numerous modifications may be made thereto without departing from the scope of the invention.

Claims: A speed control apparatus for a rotary motor, the speed control apparatus comprising: a motor (25) for rotating at a speed based on a torque command (τ*) and outputting a present angular position () and a present angular speed (ω) of the motor (25); speed measuring means (A3) for obtaining a speed error (ω e ) representing a difference between an input reference angular speed (ω*) and the present angular speed (ω); a speed controller (21) for receiving said speed error (ω e ) and outputting a current command (i v *) for controlling a rotational speed of the motor (25); a learning compensator (27) for correcting an effect of a disturbance and outputting a resultant disturbance correction value (i L *); speed command compensating means (A4) for obtaining a corrected current command (i*) by adding a value of the current command (i v *) output from the speed controller (21) and the disturbance correction value (i L *) obtained in said learning compensator (27); and a current controller (23) for receiving the corrected current command (i*) and outputting the torque command (τ*) to the motor (25), the apparatus being characterised in that the learning compensator (27) corrects the effect of the disturbance expressed as a function of an angular position () and an angular speed applied to the motor (25), via repetitive learning steps using the input reference angular speed (ω*), one among the speed error (ω e ) from said speed measuring means (A3) and the current command (i v *) from said speed controller (21), and the present angular position () of the motor (25), removing a high frequency noise generated by the repetitive learning steps, and outputting the resultant disturbance correction value (i L *). The speed control apparatus for a rotary motor according to claim 1, wherein said learning compensator (27) comprises a low pass filter (41) for low-pass-filtering one of the speed error (ω e ) and the current command (i v *) to be used in the repetitive learning steps. The speed control apparatus for a rotary motor according to claim 2, wherein said low pass filter (41)has a cut-off frequency capable of suppressing the disturbance due to a cogging torque of the motor (25). The speed control apparatus for a rotary motor according to claim 2 or 3, wherein said low pass filter (41) is an IIR filter. The speed control apparatus for a rotary motor according to claim 2, 3 or 4, wherein said learning compensator (27) further comprises: a gainer (43) for multiplying the output of said low pass filter (41) by a predetermined learning compensation gain K L and outputting the result; a storage unit (47) for outputting a disturbance correction value (i* LK ()) corresponding to the present angular position () of the motor (25) among disturbance correction values stored therein, and storing a presently input disturbance correction value at a storage position corresponding to the present angular position (); and an adder (45) for adding the output of said gainer (43) and the disturbance correction value (i* LK ()) output from said storage unit (47), and obtaining a disturbance correction value corresponding to the present angular position () of the motor (25) to output the obtained value to said storage unit (47). The speed control apparatus for a rotary motor according to claim 5, wherein said predetermined learning compensation gain value K L has a relationship of 0<K L <K P , where K P is a proportional gain of the speed controller (21), when the speed error (ω e ) is used in the repetitive learning steps, while it has a relationship of 0<K L <1 when the current command (i* v ) is used therein. The speed control apparatus for a rotary motor according to claim 5, wherein said adder (45) adds the output of said gainer (43) and the output of said storage unit (47) when the repetitive learning steps are performed, wherein said adding operation is not performed when no repetitive learning steps are executed. The speed control apparatus for a rotary motor according to claim 7, wherein said repetitive learning steps are performed when the motor (25) rotates at a steady state according to the input reference angular speed (ω*). The speed control apparatus for a rotary motor according to claim 1, wherein said learning compensator (27) comprises: a gainer (43) for receiving one of the speed error (ω e ) and the current command (i* v ) to be used in the repetitive learning steps, and multiplying and outputting the received data by a predetermined learning compensation gain K L ; a storage unit (47) for outputting a disturbance correction value (i* LK ())corresponding to the present angular position () of the motor (25) among disturbance correction values stored therein and storing a presently input disturbance correction value at a storage position corresponding to the present angular position () of the motor (25); a first adder (45) for adding the output of said gainer (43) and the disturbance correction value (i* LK ()) output from said storage unit (47), and obtaining a disturbance correction value corresponding to the present angular position () of the motor (45); a low pass filter (41) for low-pass-filtering the disturbance correction value obtained by said first adder (45); and a second adder for outputting the output of said low pass filter (41) as a disturbance correction value corresponding to the present angular position () of the motor (25), to said storage unit (47). The speed control apparatus for a rotary motor according to claim 9, wherein said low pass filter (41) has a cut-off frequency capable of suppressing the disturbance due to the cogging torque of the motor (25). The speed control apparatus for a rotary motor according to claim 9 or 10, wherein said low pass filter (41) is an FIR filter. The speed control apparatus for a rotary motor according to claim 9, 10 or 11, wherein said predetermined learning compensation gain value K L has a relationship of 0<K L <K P , where K P is a proportional gain of the speed controller (21), when the speed error (ω e ) is used in the repetitive learning steps, while a relationship of 0<K L <1 when the current command (i* v ) is used therein. The speed control apparatus for a rotary motor according to claim 9, 10, 11 or 12, wherein said adder (45) adds the output of said gainer (43) and the output of said storage unit (47) when the repetitive learning steps are performed, while said adder (45) outputs the output itself of said storage unit (47) to said low pass filter (41). The speed control apparatus for a rotary motor according to claim 13, wherein said repetitive learning steps are performed when the motor (25) rotates in a steady state according to the input reference angular speed (ω*). A speed control apparatus for a rotary motor according to claim 1, the apparatus comprising: pulse signal and frequency signal generation means (33, 35) for generating a pulse signal (PG) and a frequency signal (FG) according to the rotation of the motor (25); a storage unit (55) for storing disturbance correction values (i* LK ) according to a rotation of the motor (25); and control means (51) for generating the corrected current command (i*) corresponding to a present angular position () of said motor (25), by using the pulse signal (PG) and the frequency signal (FG) of said motor (25) and the disturbance correction value (i* LK ) stored in said storage unit (55) and supplying the generated corrected current command (i*) to said current controller (23), wherein said control means (51) performs the steps of: (a) obtaining the present angular position of the motor (25) and a corresponding current command thereto using the pulse signal (PG) and the frequency signal (FG) of said motor; (b) correcting an effect of the disturbance expressed as a function of an angular position and an angular speed applied to the motor (25), via repetitive learning steps using the input reference angular speed (ω*) of said motor (25), the obtained present angular position and the corresponding current command, generating a disturbance correction value in which a high frequency noise generated in the repetitive learning step is removed, and storing the generated disturbance correction value at a storage position corresponding to the present angular position in said storage unit (55); and (c) obtaining the corrected current command (i*) applied to said current controller (23) by adding a value of the obtained current command and the generated disturbance correction value. The speed control apparatus for a rotary motor according to claim 15, wherein said step (b) comprises the sub-step (b1) of low-pass-filtering the current command corresponding to said present angular position. The speed control apparatus for a rotary motor according to claim 16, wherein said sub-step (b1) uses a cut-off frequency capable of suppressing the disturbance due to the cogging torque of the motor (25). The speed control apparatus for a rotary motor according to claim 16, wherein said step (b) comprises the sub-steps of: (b2) multiplying and outputting said low-pass-filtered current command by a predetermined learning compensation gain; and (b3) adding the disturbance correction value corresponding to the present angular position of the motor (25) among disturbance correction values stored in said storage unit (55) and the obtained signal in said step (b2), thereby obtaining a new disturbance correction value corresponding to the present angular position of the motor (25), wherein the steps for obtaining said new disturbance correction values are performed repetitively until all new disturbance correction values relevant to one rotation of the motor (25) are obtained. The speed control apparatus for a rotary motor according to claim 18, wherein said predetermined learning compensation gain is greater than zero and smaller than 1 in magnitude. The speed control apparatus for a rotary motor according to claim 15, wherein said control means (51)adopts the disturbance correction value corresponding to the present angular position among the disturbance correction values stored in said storage unit (55) to obtain a corrected current command if the current command obtained from the pulse signal (PG) and frequency signal (FG) of said motor (25) is smaller than a predetermined value. The speed control apparatus for a rotary motor according to claim 15, wherein said control means (51) obtains a disturbance correction value via repetitive learning steps when the motor (25) rotates in a steady state according to the input reference angular speed.

Inventors: HA IN-JUNG, KIM YOUNG-HUN, SEONG GOAN-SOO, HA, IN-JUNG, KIM, YOUNG-HUN, SEONG, GOAN-SOO
Applicants: SAMSUNG ELECTRONICS CO LTD, SAMSUNG ELECTRONICS CO., LTD.
Application year: 1997
Main classification: G05D13
IPC codes: H02P6, H02P23, G05D13, G05B13, G11B15, H02P29