LOW RIPPLE PERMANENT MAGNET MOTOR CONTROL

Abstract: A method and apparatus for controlling the torque of and reducing torque ripple in a permanent magnet motor (12) without using current sensors. By eliminating the need for current sensors, low frequency torque ripple is reduced. A voltage mode control method is implemented to control the motor (12). In response to the position and speed of the motor (12) rotor and a torque command signal (28), a controller (18) develops motor voltage command signals (30) indicative of the voltage required to produce the desired motor torque. A rotor position encoder (14) determines the angular positions of the rotor. From the angular positions of the rotor, a speed measuring circuit (16) determines the speed of the rotor. The position and speed signals (26) are applied to the controller (18). The controller (18) uses this information and develops the motor voltage command signals (30) indicative of the voltage needed to produce the desired motor torque. An inverter (20) is coupled between a power source (22) and the controller (18). The controller (18) applies phase voltages to the motor, in response to the motor voltage command signals (32), to produce the desired motor torque.

Description: H-199033 LOW RIPPLE PERMANENT MAGNET MOTOR CONTROL CROSS-REFERENCE TO RELATED APPLICATIONS This application is based upon, and claims the benefit of, United States Provisional Patent Application Nos. 60/154,613, filed September 17, 1999; 60/154,681, filed September 17, 1999; and 60/183,301, filed February 17, 2000, the disclosures of all three of which are incorporated by reference herein in their entirety. TECHNICAL FIELD This invention relates to torque control of a sinusoidally excited permanent magnet motor, and more particularly to reducing the low frequency torque ripple, or smoothing the torque, in such a motor. BACKGROUND OF THE INVENTION It is known in the art relating to electric motors that polyphase permanent magnet (PM) brushless motors with a sinusoidal field offer the capability of providing low torque ripple, noise, and vibration in comparison with those with a trapezoidal field. Theoretically, if a motor controller can produce polyphase sinusoidal currents with the same frequency as that of the sinusoidal back-emfs (also known as "back- voltages"), the torque output of the motor will be a constant, and zero torque ripple can be achieved. However, due to practical limitations of motor design and controller implementation, there are always deviations from those assumptions of pure sinusoidal back-emf and current waveforms. The deviations will usually result in parasitic torque ripple components at various frequencies and magnitudes. The methods of torque control can influence the level of this parasitic torque ripple. One method for torque control of a permanent magnet motor with a sinusoidal back-emf is accomplished by controlling the motor phase currents so that its current vector is aligned with the back-emf. This control method is known as the current mode control method. In such a method, the motor torque is proportional to the magnitude of the current. The current mode control method requires a complex controller for digital implementation. The controller requires two or more A/D channels to digitize the current feedback from current sensors. In a three-phase system, it is convenient to transform the three-phase variables into a two dimensional d-q synchronous frame which is attached to the rotor and design the controller in the d-q frame. But, due to considerable calculations and signal processing involved in performing the d-q transformation, reverse d-q transformation and P-I loop algorithms, a high speed processor such as a digital signal processor (DSP) has to be used to update the controller information every data sampling cycle. SUMMARY OF THE INVENTION A method and system for controlling the torque of a sinusoidally excited PM motor to reduce low frequency torque ripple, or smooth torque, is disclosed. The low frequency torque ripple is reduced by a controller which calculates the voltage required for producing the desired torque based on motor equations. The controller is implemented using only feedback of the rotor position and speed. The method and system of the invention preserve the smoothness of sinusoidal commutation while eliminating the sensitivity of torque ripple due to current sensors of the prior art. The controller of the invention features a low cost implementation that not only eliminates the hardware of current sensors and A/D converters of the prior art, but also considerably reduces the software computation needs, e.g., no d-q transformations and P-I loops are necessary. A low cost microprocessor may be used with the invention instead of the DSPs of the prior art. The method of the invention senses angular positions of a rotor and determines its rotational speed. In response to the position and speed of the rotor and a torque command signal, a controller develops varying motor voltage command signals indicative of the voltage needed to produce a desired motor torque. Phase voltages are applied across the motor windings in response to the motor voltage command signals to develop the desired motor torque. The system disclosed herein includes a rotor position encoder coupled to the motor for sensing the angular positions of the rotor and outputting a position signal. A speed measuring circuit is connected to the position encoder for determining the speed of the rotor and outputting a speed signal. The position and speed signals are applied to a controller. The controller develops varying motor voltage command signals in response to the position signal, speed signal, and a torque command signal indicative of a desired motor torque. A power circuit is coupled between a power source and the controller for applying phase voltages across the motor in response to the motor voltage command signals to develop the desired motor torque. One application for the voltage mode control method and system disclosed herein is in a power steering controller for an electric power steering system. The motor is coupled directly into the steering column to provide steering assist torque. Therefore, even a small level of low frequency torque ripple produced by the motor can be felt at the steering wheel. By using the voltage mode control method disclosed herein, the low frequency torque ripple is reduced and a smooth steering feel is achieved. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a block diagram of a system for controlling the torque of a sinusoidally excited permanent magnet motor; Figure 2 is a phasor diagram of a permanent magnet motor under constant voltage excitation; Figure 3 is a block diagram of a system for controlling the torque of a sinusoidally excited permanent magnet motor according to another embodiment; Figure 4 is a graph of torque vs. rotor angle for a motor controlled by a voltage mode control method at 20% torque command; and Figure 5 is a graph of torque vs. rotor angle for a motor controlled by a current mode control method at 20% torque command. DESCRIPTION OF THE PREFERRED EMBODIMENT Referring now to Figures 1 and 2, a system for controlling torque is generally shown at 10. The system 10 controls torque of a sinusoidally excited permanent magnet motor 12. The system includes a rotor position encoder 14, a speed measuring circuit 16, a controller 18, an inverter 20 and a power source 22. Unlike the prior art, the torque of the motor 12 is controlled without the use of current sensors. By eliminating the current sensors, the low frequency torque ripple is reduced so that the output torque is smoother. Instead of controlling the torque producing current, the controller 18 determines a voltage required for producing a desired torque based on motor equations, described below. This voltage mode control method is based on machine operation phasor diagram as shown in Figure 2. Under steady state operating condition, the voltage phasor , back-emf phasor ^ and current phasor • * of a sinusoidally excited PM motor are governed by: where R is the winding resistance, X s is the phase reactance which is equal to the product of motor inductance L s and the excitation frequency ω(rad./sec). Here, it is assumed that the angle between back-emf phasor -^ and current phasor • * is α and the angle between the voltage phasor and the back-emf phasor ^ is δ. Neglecting motor iron losses, friction and windage losses, the output power of the PM motor is equal to P = 3 I E cos α (2) and the output torque is T = P/ωm (3) where co m = ω /(no. of pole pairs). Based on the phasor diagram, it can be derived that V cos δ = E + 1 R cos α+ I Xs sin α (4) V sin δ = - 1 R sin α+ I Xs cos α (5) Solving equations 4 and 5 yields (V osδ - E)R + X S V sin δ cos a I(R 2 +X 2 ) (6) By substituting equation 6 into equation 2, it is obtained that From equation 7 and equation 3, the motor torque can be expressed as (Vcosδ-K e ω m )R + X Vsinδ T = 3K e 2 R2 +X * (8) where K e = E/ωm is the EMF constant. It can be seen from equation 8 that the motor torque is dependent on the motor input voltage V, the motor parameters and operating speed. Hence, given the motor parameters and speed, by controlling the voltage magnitude V and its phase angle δ relative to back-emf E, it is possible to control the motor torque to a desired value. Equation 8 forms the basis of the control method. The voltage required for any given torque command T cm d can be calculated by substituting T cm d into equation 8 and solving for V: R 2 + x . V = 7Λ cm„.d, + ER R cos δ + X sin δ 3K, (9) Equation 9 (Figure 1) shows that, for a fixed angle δ (e.g., δ at a line 36 from a lookup table 38) between the back-emf and the terminal voltage, to maintain a torque equal to the commanded torque with varying speed, the amplitude of motor input voltage must change. Thus, information of motor parameters, rotor speed, and position angle is required, but no current feedback is needed for the controller to develop a signal to produce a desired motor torque. In the voltage mode control, the angle δ has to be chosen properly. By referring to Figure 2, it can be seen that the phase angle α between the current and the back-emf depends on the angle δ. By choosing proper phase angles α, the motor armature current can induce a magnetic flux component opposed to the magnet field. Therefore, the choice of δ can cause the voltage control to mimic in performance the equivalent current control with field weakening. Referring to Figure 3, in a preferred embodiment the voltage mode control method is implemented for a permanent magnet (synchronous) motor with slotless windings having a sinusoidal air gap flux distribution. This type of motor has a large effective air gap and thus, armature currents produce a flux that is negligible compared to the permanent magnet field. As a result, saturation or demagnetization of the permanent field is unlikely to occur in normal operation and a fixed value of δ can be used. Thus, for slotless winding machines, the voltage mode control is particularly suitable. For this exemplary motor, the motor parameters are listed below: Motor Type PM, Sinusoidal, three-phase Pole Number N p =4 Input Voltage V dc =12 V Effective Phase Resistance R=55 mΩ Inductance Ls-38.5 μH Maximum No Load Speed 2800 RPM Maximum Reactance 22.5 mΩ EMF Constant K e =0.023 V/(rad/s) Encoder Resolution 2.5 degree (electrical) Based on these motor parameters, the winding reactance of the motor at the maximum speed is relatively small in comparison with its effective winding resistance. This means that, for any given voltage, the angle δ between the voltage and back-emf phasors is very small and so is the angle α between V and E and the current. Therefore, a suitable choice of the angle δ between V and E is a constant zero. Based on this condition, the control equation can be reduced to For a hardware implementation, further simplification is preferred. Since the motor reactance is much smaller than the resistance, the initial implementation can ignore the inductance term in equation 10. Therefore, the following simplified control equation may be implemented by the controller 18: _ V = T^ cmd + K.ω. 3K. (11) The power inverter 20 is coupled between power source 22 and the controller 18 to supply the phase voltages across the motor windings. The inverter is controlled by space vector pulse width modulated signals generated by the controller 18. Taking the gain of the inverter into account using a space vector pulse width modulation scheme, the normalized voltage amplitude is given by: V re f = V/(VdαΛ/6). By substituting V re f for V in equation 11 , the following simplified control equation is preferably implemented by the controller 18 (Figure 3): V ref = K \ T cmd + K 2 ω , (12) where Ki = (V6R)/(3K e Vdc) and K 2 = (V6K e )/Vd C . The maximum and minimum values of V re f are clamped to +1 and -1. Thus, for a given PM motor and fixed battery voltage, Ki and K 2 are constant and can be stored in the controller memory allowing the control equation to be implemented without using current sensors. For the controller 18 to develop the correct voltage needed to produce the desired torque, the position and speed of the rotor are needed. A rotor position encoder 14 is connected to the motor 12 to detect the angular position of the rotor. The encoder 14 may sense the rotary position based on optical detection or magnetic field variations, such being known. The encoder 14 outputs a position signal θ at a line 24 indicating the angular position of the rotor. From the position signal θ, the speed measuring circuit 16 determines the speed of the rotor and outputs a speed signal ω at a line 26. The speed measuring circuit 16 may include a counter that counts the position signal pulses for a predetermined duration. The count value is proportional to the speed of the motor. For example, if a counter counts the position signal pulses in time intervals of 5 ms and the encoder has a resolution of 2.5 degrees, then the speed measurement will have a resolution of about 41.7 rpm. The speed signal can also be obtained by any other method, such as the derivative of the position signal from the equation ωm=Δθm/Δt where Δt is the sampling time and Δθ m is the change in position during the sampling interval. The position and speed signals θ, ω, and a torque command signal T cm d at a line 28 are applied to the controller 18. The torque command signal T cmd is indicative of the desired motor torque. The controller 18 determines a voltage amplitude at a line 30 required to develop the desired torque by using the position, speed and torque command signals θ, ω, Tcmd and other fixed motor parameter values in the control equation. For a three-phase motor, three sinusoidal reference signals that are synchronized with the motor back-emf are required to generate the required motor input voltages. The controller transforms the voltage amplitude signal into three-phase by determining phase voltage command signals V a , V D , and V c from the voltage amplitude signal and the position signal θ according to the following equations: V b = Vvef sin(θ - 120°) (14) Vc - V ve f sin(θ - 240 o ) (15) Motor voltage command signals 32 of the controller 18 are applied to power inverter 20 which is coupled with power source 22 to apply phase voltages at lines 34 to the stator windings of the motor 12 in response to motor voltage command signals at lines 32. But in order to generate phase voltages with an average sinusoidal shape, switching devices (not shown) of the inverter 20 must be turned on and off for specific durations at specific rotor angular positions. Control of the inverter 20 can be implemented according to any appropriate pulse width modulation (PWM) scheme. However, since space vector modulation (S VM) has the advantages of higher output voltage, low harmonic distortion, low switching power losses and easy microprocessor implementation, SVM-based control is preferred. The duty cycle of each phase voltage command signal is given by: D a = 0.5(1 + sV a ) (16) D b = 0.5(1 + sV b ) (17) D c = 0.5(1 + sVc) (18) and the space vector voltages sV a , sVb, sV c are obtained from the following logic equations: IF((Vb≥V a ) & (Va≥Vc)) θr ' ((Vc≥Va) & (Va≥Vb)) THEN sV a = V3 Va sV c = -sVb (19) IF ((Va≥Vb) & (Vb≥Vc)) or ((V c ≥V b ) & (V b ≥V a )) THEN sVc - -sVb (20) IF ((Va≥Vc) & (Vc≥Vb)) or ((Vb≥Vc) & (V c ≥V a )) THEN SVb = -SVa This modulation scheme provides a rms fundamental line to line voltage of 0.7071 Vdc, which is 15.5% higher than that of a simple sine modulation scheme. By using this voltage mode control method, the low frequency torque ripple is reduced. Figure 4 shows the results of a test performed to measure the torque ripple performance of the voltage control method of the invention. The test was performed on a rotor of a PM motor that was locked and the rotor angle varied slowly. Thus, the test can be considered to be conducted at zero speed. Figure 4 shows that there is still some torque ripple in the voltage mode. But the characteristic of torque ripple is different from that of the current mode that is shown in Figure 5. Unlike the current mode, the frequency of the torque ripple is at the motor commutation frequency which is six times the fundamental frequency. Also, there are no fundamental or 2nd harmonic components as seen in Figure 5. The fact that the torque ripple frequency is six times higher than the current mode allows the voltage mode control method to provide a smoother torque as the higher frequency component is easily filtered out by the system inertia. The voltage mode control method is not expected to provide the same precise torque control as the current mode. This is because the voltage mode control is a feed- forward control, instead of a closed-loop regulation, and changes in the motor parameters can directly influence the output level. Therefore, it should be applied to only those applications where precise torque level control is not critical. One such application is in an electrical power steering system. The motor is coupled directly into the steering column to provide assisted steering torque. The desired torque has only to provide the "right feel." Also, since the voltage mode control reduces the low frequency torque ripple felt at the steering wheel, a very smooth steering feel is achieved. While preferred embodiments have been shown and described, various modifications and substitutions may be made thereto without departing from the spirit and scope of the invention. Accordingly, it is to be understood that the present invention has been described by way of illustration only, and such illustrations and embodiments as have been disclosed herein are not to be construed as limiting to the claims.

Claims: CLAIMS What is claimed is: 1. A method of controlling a sinusoidally excited permanent magnet motor having known motor parameters, comprising: generating a motor angular position signal indicative of an angular position of the motor; generating a motor speed signal indicative of a speed of the motor; determining, in response to the known motor parameters, the motor angular position signal, the motor speed signal, a torque command signal, and amplitudes for input motor phase voltages, the torque command signal being indicative of a desired torque on the motor; and applying the input motor phase voltages at the amplitudes determined to the motor, wherein the desired torque on the motor is produced. 2. The method of claim 1 wherein the determining further comprises determining phases of the input motor phase voltages so that the phases of the input motor phase voltages are in phase with respective back-emfs of the motor. 3. The method of claim 2 wherein the determining phases of the input motor phase voltages utilizes pulse width modulation. 4. The method of claim 1 wherein the determining the amplitudes for the input motor phase voltages comprises calculating the amplitudes according to a control equation comprising: R 2 + X V T ^ cmd + ER R cos δ + X , sin δ 3K, where V = amplitude of the input voltage of the motor; R = resistance of the motor windings; Xs= reactance of motor phase winding; K e = E/ωm which is EMF constant; (Dm = speed of the motor; Tcmd = torque command signal; and δ = angle between EMF phasor and voltage phasor . 5. The method of claim 1 wherein the determining the amplitudes for the input motor phase voltages comprises calculating the amplitudes according to a control equation comprising: V ref = K cmd + K 2 ω m where normalized voltage for generating the pulse width modulation signals to control the inverter; e dc Tcmd = torque command signal; m = speed of the motor. 6. A power steering assist system comprising: a steering wheel and column; an electric motor comprising a motor controller, said electric motor adapted to impart rotational force to said steering column; a power steering controller adapted to control said electric motor in a manner effective in providing power steering assist to an operator of said steering wheel; and wherein said electric motor controller operates by the method of claim 1. 7. An apparatus for controlling a sinusoidally excited permanent magnet motor having known motor parameters, comprising: a position encoder associated with the motor for sensing an angular position of the motor and providing a motor angular position signal indicative thereof; a speed measurement circuit associated with the position encoder for measuring a speed of the motor and providing a motor speed signal indicative thereof; a controller in communication with the position encoder for receiving the motor angular position signal and in communication with the speed measurement circuit for receiving the motor speed signal, the controller providing, in response to the known motor parameters, the motor angular position signal, the motor speed signal, and a torque command signal, voltage command signals, the torque command signal being indicative of a desired torque on the motor; and an inverter in communication with the controller for receiving the voltage command signals and in communication with a power source, the inverter applying, in response to the voltage command signals, input motor phase voltages to the motor, wherein the desired torque on the motor is produced. 8. The apparatus of claim 7 wherein the voltage command signals control amplitudes of the input motor phase voltages. 9. The apparatus of claim 7 wherein the voltage command signals control phases of the input motor phase voltages so that the phases of the input motor phase voltages are in phase with respective back-emfs of the motor. 10. The apparatus of claim 7 wherein the controller further includes a pulse width modulation circuit for controlling the phases of the input motor phase voltages so that the phases of the input motor phase voltages are in phase with respective back-emfs of the motor. 11. The apparatus of claim 7 wherein the controller calculates the amplitudes according to a control equation comprising: where V = amplitude of the input voltage of the motor; R = resistance of the motor windings; X s = reactance of motor phase winding; K e = E/ωm which is EMF constant; com = speed of the motor; Tcmd = torque command signal; and δ = angle between EMF phasor ^ and voltage phasor . 12. The apparatus of claim 7 wherein the controller calculates the amplitudes according to a control equation comprising: V ref = K \ T cmd + K 2 ® m where Vref= normalized voltage for generating the pulse width modulation signals to control the inverter; Tcmd = torque command signal; com = speed of the motor. 13. The apparatus of claim 7 wherein the controller comprises a microprocessor. 14. A power steering assist apparatus comprising: a steering wheel and column; an electric motor comprising a motor controller, said electric motor adapted to impart rotational force to said steering column; a power steering controller adapted to control said electric motor in a manner effective in providing power steering assist to an operator of said steering wheel; and wherein said motor controller further comprises the control apparatus of claim 7. 15. A method for reducing torque ripple in a sinusoidally excited permanent magnet motor, comprising: generating a motor angular position signal indicative of an angular position of the motor; generating a motor speed signal indicative of a speed of the motor; determining, in response to the known motor parameters, the motor angular position signal, the motor speed signal, and a torque command signal, amplitudes for input motor phase voltages, the torque command signal being indicative of a desired torque on the motor; and applying the input motor phase voltages at the amplitudes determined to the motor, wherein the desired torque on the motor is produced. 16. An apparatus for reducing torque ripple in a sinusoidally excited permanent magnet motor having known motor parameters, comprising: a position encoder associated with the motor for sensing an angular position of the motor and providing a motor angular position signal indicative thereof; a speed measurement circuit associated with the position encoder for measuring a speed of the motor and providing a motor speed signal indicative thereof; a controller in communication with the position encoder for receiving the motor angular position signal and in communication with the speed measurement circuit for receiving the motor speed signal, the controller providing, in response to the known motor parameters, the motor angular position signal, the motor speed signal, and a torque command signal, voltage command signals, the torque command signal being indicative of a desired torque on the motor; and an inverter in communication with the controller for receiving the voltage command signals and in communication with a power source, the inverter applying, in response to the voltage command signals, input motor phase voltages to the motor, wherein the desired torque on the motor is produced.

Inventors: CHEN SHAOTANG, NAMUDURI CHANDRA, CHEN, SHAOTANG, NAMUDURI, CHANDRA
Applicants: DELPHI TECH INC, DELPHI TECHNOLOGIES, INC.
Application year: 2000
Main classification: H02P7
IPC codes: B62D5, H02P6, H02P21