Abstract:
Apparatus for electronically producing a torque dependent signal for a plural drive phase synchronous step motor, without the use of an accelerometer or other external feedback device, includes a circuit for detecting respective instantaneous terminal voltage signals for at least two phases of the motor; another circuit for detecting respective instantaneous phase current signals for said at least two phases; and a signal processing circuit for combining the detected signals to produce said torque dependent signal.

Description:
BACKGROUND OF THE INVENTION 
     This application is related to United States provisional patent application Ser. No. 60/010,862 for &#34;PASSIVE ELECTRONIC DAMPING FOR STEP MOTOR&#34; filed on even date herewith, the entire disclosure of which is fully incorporated herein by reference. 
     The invention relates generally to drive control techniques for synchronous motors such as plural drive phase step motors. More particularly, the invention relates to an active electronic damping technique for such motors. 
     The general design and operation of a step motor, such as a hybrid permanent magnet synchronous step motor, are well-known. A hybrid rotary machine typically includes a cylindrical rotor which is axially magnetized by an embedded permanent magnet. The rotor is further configured with a number of teeth; commonly fifty teeth are used but other teeth quantities can be selected depending on the particular application requirements. The present invention, however, can also be used with other types of synchronous machines and motors, for example, linear step motors. 
     Step motor designs also include a stator having a number (typically but not limited to eight) of electromagnetic pole faces which are spaced around the rotor at selected intervals. Each stator pole face presents a toothed pattern to the rotor. When the electromagnets are energized, the induced electromagnetic flux adds to and subtracts from the permanent magnet flux at the various pole faces depending on the rotational position of the rotor. This results in an alignment of the rotor teeth with the stator teeth in stable torque equilibrium at whichever pole faces are carrying the most flux across the rotor-stator gap. 
     Motion is achieved and maintained by continuously sequencing the electromagnet currents so as to move the location of the stable equilibrium in one direction or another. Torque is developed through a mutual interaction of electromagnet excitation and permanent magnet flux crossing the toothed interface between the rotor and stator. In a typical two phase motor, the stator electromagnet windings are grouped into two phases (A and B) and are driven by currents that are in temporal quadrature (the phase A and phase B currents are 90° out of phase with respect to each other). If a particular combination of: electromagnetic drive currents (excitation state) is maintained in the various windings, the motor will seek and attempt to hold a particular position due to the presence of a stable torque detent. If the excitation state is changed the rotor is urged to a new position by the resultant torque. 
     Sustained motion is achieved by continuously sequencing the phase currents through a prearranged set of states. In a typical system, one electrical cycle of the phase currents moves the location of the torque equilibrium through an angle corresponding to one tooth interval. In their aggregate effect, the phase currents represent to the motor a reference position input consisting of a desired position plus an instantaneous position feedback offset. 
     The rotor attempts to seek the reference position (torque equilibrium or net zero torque condition) as if it were attached to the command by a spring which exerts a restoring torque when the rotor is not at the reference position. Motion or position of the rotor can be analogized to and exhibits the dynamics of a moment of inertia attached to the commanded position by a torsion spring. The stiffness of the &#34;spring&#34; is approximately proportional to the peak phase currents. Such a system, when operated in an uncompensated open-loop mode, exhibits a natural resonance that causes the motor to ring violently in response to step commands. The motor is also inordinately responsive to cyclic torque disturbances that occur in the vicinity of this natural resonance frequency. 
     Although a step motor system will have an intrinsic damping ratio arising from native viscous losses within the motor, drive and any external mechanical system attached to the motor shaft, the intrinsic damping ratio is typically very small and negligible in its effect to reduce the natural uncompensated resonance of the motor. 
     Since the natural resonance of a motor is typically an undesirable operational characteristic, efforts have been directed to increase the damping ratio by either mechanical means or the use of feedback techniques. For example, viscous friction can be mechanically increased in the motor but at the expense of impeding motor velocity and responsiveness. In a typical feedback arrangement, a feedback signal is obtained using an accelerometer mounted on the output shaft. This signal is then used to adjust the command in an attempt at reducing resonant behavior. Such devices are expensive and rather delicate, yet must be mounted to the rotating shaft (moving reference frame) and communicate with electronics on the stator or other stationary reference frame. 
     The objectives exist, therefore, to provide apparatus and methods for producing a signal related to torque, and consequently acceleration of the rotor, without the use of an accelerometer or other feedback device and incorporating that signal into a control system of a step motor in order to increase damping of the motor&#39;s natural resonant behavior and transient response. 
     SUMMARY OF THE INVENTION 
     In response to the aforementioned problems and objectives the invention contemplates, in one embodiment apparatus for electronically producing a torque dependent signal for a plural drive phase synchronous step motor. The apparatus includes a circuit that detects respective instantaneous terminal voltage signals for at least two phases of the motor, and a circuit that detects respective instantaneous phase current signals for said at least two phases. The apparatus also includes a signal processing circuit that combines the detected voltage and current signals to produce a torque dependent signal. In one embodiment the signal processing circuit determines respective generator currents by integrating the corresponding voltage signals for each phase and subtracting the corresponding phase current signal. 
     The present invention also contemplates the methods embodied in the use of such apparatus, as well as a method for electronically producing a torque dependent signal for a plural drive phase synchronous step motor, wherein the method includes the steps of a) detecting respective instantaneous terminal voltage signals for at least two phases of the motor; b) detecting respective instantaneous phase current signals for the two phases; and c) combining the detected signals to produce a torque dependent signal. In particular with respect to one embodiment, the method includes the step of integrating the phase voltage signals and subtracting the corresponding current signal to produce a generator current signal. 
     These and other aspects and advantages of the present invention will be readily understood and appreciated by those skilled in the art from the following detailed description of the preferred embodiments with the best mode contemplated for practicing the invention in view of the accompanying drawings. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a simplified schematic in block diagram form of a control system for a two phase step motor suitable for use with the present invention; 
     FIG. 2 is a transfer ratio diagram for a conventional step motor feedback damping arrangement; 
     FIG. 3 is a transfer ratio diagram for a feedback damping control in accordance with the invention; 
     FIG. 4 is a representative schematic of phase voltages and currents for a two phase step motor; 
     FIG. 5 is a schematic diagram of one embodiment of an observer matrix for electronically producing a torque dependent signal in accordance with the invention; and 
     FIGS. 6-14 are additional transfer ratio diagrams illustrating various aspects of a damping technique according to the present invention. 
    
    
     DETAILED DESCRIPTION OF THE INVENTION 
     With reference to FIG. 1, the fundamental elements of a control system 10 including a step motor 30 and drive circuits are shown in block diagram form. While the present invention is illustrated and described herein with reference to a rotary stepper type motor, this is for the purpose of illustration and explanation and should not be construed in a limiting sense. Those skilled in the art will readily appreciate that the invention can be used with different motor and machine designs, including but not limited to linear step motors. From a hardware component standpoint, these elements are well-known and familiar to those skilled in the art. A main controller or host system 12 commands the drive to increment or decrement the motor position ⊖ via step command signal 14 and direction signal 16. The drive accumulates these incremental commands in an up/down modulo N counter 18. For example, for a two phase 1.8° step motor system with a rotor having 50 teeth and employing 40 microsteps per tooth interval, the counter 18 would have a modulus of 40 (2000 microsteps per one rotor revolution). The state of the counter 18 is utilized to &#34;look up&#34; the sine and cosine values for the drive currents used in the two phases of the motor. These values are stored conveniently in a memory 20 such as, for example, a read only memory. The digital sine and cosine signals are input to respective digital to analog converters (DACs) 22, 24 which produce analog current commands to respective transconductance amplifiers 26, 28. The transconductance amplifiers 26, 28 maintain the commanded currents in the phase A and phase B windings 27, 29 of the motor 30. Dynamically, these phase currents cause a torque imbalance which moves the torque detent to the commanded position thus producing the desired rotation of the rotor to the new position. 
     In such a system 10, the phase A and B drive currents represent to the motor a single reference input, r(t), which is the desired position θ(t) plus the feedback offset Φ(t), or: 
     
         r(t)=θ(t)+Φ(t)                                   Eq. 1 
    
     The rotor attempts to seek the reference position as if it were attached to it by a spring which exerts restoring torque when the rotor is not at the reference position. The stiffness of this spring effect is approximately proportional to the magnitude of phase winding current I max  up to a level where the electromagnet poles begin to enter magnetic saturation. In the preferred embodiment, I max  is maintained sufficiently below that saturation level so that the electromagnetic circuit remains substantially linear. Under these conditions, the output position, c(t), of the rotor exhibits the dynamics of a moment of inertia which is attached to the commanded position by a torsion spring. Such a system has the transfer ratio ##EQU1## where ω n  is the undamped, natural angular velocity determined by the square root of the ratio of stiffness to the polar moment of inertia and ζ 0  is the intrinsic damping ratio arising from native, viscous losses within the motor, drive and external mechanical system attached to the motor shaft. 
     Without resorting to extraordinary mechanical means, ζ 0  may be as low as 0.01. Such a value is so low as to be negligible in most practical applications. According to an important aspect of the invention, a damping ratio of about 0.3 to 0.5 is produced by electronic means without the need for accelerometers or similar devices. 
     Neglecting ζ 0  the block diagram form for the uncompensated (open loop) motor can be represented as shown by the following transfer ratio: ##EQU2## 
     Such a system rings violently and persistently in response to step discontinuities in r(t) or any of its derivatives. Furthermore, the system is inordinately responsive to any cyclic torque disturbances that occur in the spectral vicinity of ω n . Consequently, the uncompensated motor tends to superimpose a relentless vibration on an otherwise smooth command. 
     The damping ratio, ζ, can be increased by the feedback topology of FIG. 2. Such feedback techniques are well-known and have been applied to other classical resonant systems as well. The feedback signal is obtained from an electromechanical accelerometer mounted on the motor output shaft (not shown). 
     The present invention overcomes the disadvantages of such prior systems by obtaining acceleration feedback by electronic means, thereby obviating the need for an accelerometer or other external feedback device. 
     Using block diagram algebra, the arrangement of FIG. 2 can be redrawn as shown in FIG. 3. 
     In FIG. 3, we have redrawn the structure of FIG. 2 so as to render the same transfer ratio. The version in FIG. 3 depends, however, upon measuring the disequilibrium between the rotor position and the position commanded by the instantaneous distribution of phase currents. It is this disequilibrium that can be discerned from observing the instantaneous states of voltage and current in the various drive phases. 
     An advantage of the invention is that the observer matrix consists of relatively inexpensive electronic circuitry which can be conveniently included with the transconductance amplifiers 26 and 28 rather than an expensive and delicate rotational accelerometer mounted on the rotating motor shaft. 
     When the motor 30 is operated at shaft angular velocity, ω e , the variable reluctance at the various pole faces results in the commutation of permanent magnet flux through the various pole nieces in turn and therefore induces a seat of EMP (Electro-Motive-Force) in the phase windings (i.e. the motor also acts as a generator). The induced voltage is substantially sinusoidal having angular frequency 
     
         ω.sub.e =Kω.sub.s 
    
     where K is the rotor tooth count, and generator voltage 
     
         V.sub.gen =ω.sub.3 λ 
    
     where λ is the magnitude of the cyclic component of permanent magnet flux linking the windings of a phase. Each winding possesses a self inductance, L, which is essentially constant and independent of shaft position and the state of tooth alignment. The drive imposes a sinusoidal potential with amplitude, V, and angular frequency, ω e , across the motor terminals. It will be understood by those skilled in the art that the method by which the drive applies the sinusoidal voltage, e.g., linear or switchmode amplifier, can be selected based on the specific application requirements, and presents no limitation on the efficacy, applicability or form of the present invention. The presence of a pulse width modulated carrier component and attendant sidebands (present in the switchmode amplifier) also does not impinge on the operation of the invention except that provision may be made to filter such activity from the feedback signal produced by the observer matrix. 
     For motion (of the exemplary two phase embodiment described herein) in the positive direction, we identify Phases A and B so that all activity, voltage or current, which occurs in Phase A also occurs in Phase B delayed by 1/4 of an electrical cycle. This relationship is depicted in FIG. 4. 
     Power is exchanged with the rotor via the product of current and voltage in the generators of each phase A and B. Inasmuch as the inductances remain constant, they do not participate in the transfer of net average power to or from the rotor. 
     Considering Phase A in FIG. 4, it is apparent that the instantaneous power entering the generator 32 is the product 
     
         P.sub.A =I sin (ω.sub.e t)ω.sub.e λ cos (ω.sub.e t+Φ)                                                  Eq. 4 
    
     Similarly, Phase B power entering the generator 34 is: 
     
         P.sub.B =I cos (ω.sub.e t)ω.sub.e λ sin (ω.sub.e t+Φ)                                                  Eq. 5 
    
     Addition of equations 4 and 5 gives the total power ##EQU3## 
     Torque, T, is the ratio of shaft power to angular velocity, or ##EQU4## where K is the rotor tooth count. 
     The formulation in Eq. 7 is commonly referred to as the operating detent torque wave. It is a sinusoid with negative going zero crossing at Φ=0. 
     In one embodiment, the magnitude of the phase currents may be selected to be approximately ##EQU5## so that Eq. 7 becomes ##EQU6## 
     The instantaneous value of acceleration is then related to the instantaneous value of Φ by ##EQU7## where J is the total inertia of the mechanical system. The purpose of the observer matrix is to obtain electronically a signal which is proportional to sin (Φ) and can be scaled to match α. 
     In maintaining the commanded currents in the respective phase windings 37, 39, the drive amplifiers 36, 38 operate to produce the proper voltages to overcome the reactance, ω e  L, and the generator voltage, ω e  λ, so that the terminal voltages are 
     
         V.sub.A =ω.sub.e λ 3 cos (ω.sub.e t)+ cos (ω.sub.e t+Φ)!                                                 Eq. 10 
    
     
         V.sub.B =ω.sub.e λ 3 sin (ω.sub.e t)+ sin (ω.sub.e t+Φ)! 
    
     The observation process begins by separately integrating both of the expressions in Eq. 10 using a convenient integrator gain, β. 
     
         βηV.sub.A dt=βλ 3 sin (ω.sub.e t)+ sin (ω.sub.e t+Φ)!                                  Eq. 11 
    
     
         βηV.sub.B dt=-βλ 3 cos (ω.sub.e t)+ cos (ω.sub.e t+Φ)! 
    
     The values of the integrals in Eq. 11 are intermediate results which will be used twice. The first step is to divide them both by βL and subtract the respective phase currents; giving the currents being produced by the motor&#39;s generators as follows ##EQU8## 
     Next, the antiderivatives in Eq. 11 are used again with the results in Eq. 12 to form the following sum of products ##EQU9## 
     The result in Eg. 13, which in one embodiment is the outout of the observer, has the notable property that it differs from the right side of Eg. 9, acceleration, by a simple constant ##EQU10## 
     Thus, for a given application, the conversion gain of the observer must undergo a final scaling adjustment in proportion to the ratio defined in Eq. 14. This scale factor requires knowledge of only the integrator gain, β, tooth count, K, and the total inertia, J. It does not incorporate motor parameters such as current or inductance. Inductance was used inside the observer, Eq. 12. The output of the observer is, then, an accurate analog of the actual acceleration which can then be compared with the intended acceleration from the indexing hardware to obtain acceleration error. 
     With reference to FIG. 5, a suitable circuit for implementing the electronic observer is shown in block diagram form. 
     A differential amplifier 40 is used to detect the phase potentials (V.sub.ΦA) for phase A, and another differential amplifier 42 is similarly used for phase B. The phase currents I A  and I B  are detected in a conventional manner such as with a current transformer or other suitable apparatus. 
     The outputs of the differential amplifiers 40, 42 are fed to respective integrators 44, 46 and then scaled by gain circuits 48, 50. The scaled and integrated phase A, B potentials (outputs 52, 54) are then combined with their respective phase currents I A , I B  using difference circuits 56, 58 to produce signals that correspond to the generator currents of phase A and phase B (Eq. 12). These generator currents (I GenA  and I GenB ) are then multiplied using respective multiplier circuits 60, 62 with the output signals of the integrators 46, 44 respectively. These products are then subtracted from each other using another subtraction circuit 64 to produce a signal 66 that corresponds to the sum of products defined in Eq. 13. The output 66 in this embodiment is referred to herein as the observer output. 
     It should be noted and appreciated that what is actually measured by the observer of FIG. 5 is phase misalignment between the drive voltages and the corresponding generated EMFs within the motor 30. The use of this information as an analog of acceleration assumes that the motor is required to produce torque to accelerate inertia (J in Eq. 14) and not to overcome friction or an independent torque such as that produced by gravity acting on an elevated load. 
     In actual step motor systems, the presence of resistive components in the phase windings may produce spurious acceleration indications. Because these spurious outputs from the observer can persist for lengthy intervals, the designer may be prevented from actually integrating the acceleration error. Instead, a designer may choose a filter topology with carefully chosen breakpoints to accomplish the task. 
     In the embodiment herein, the low-pass section is selected to have a bandwidth of about 130 rad/sec which matches the midrange of break frequencies for step motor windings. That frequency corresponds to motion at approximately 0.5 rps. About two octaves above the break frequency the filter starts to act like a true integrator. At or below this speed the observer reports corrupted information, and the system is no longer useful. Therefore, the feedback path for this particular exemplary embodiment will be interrupted automatically at low speeds. 
     Having described the basic principles of the present invention including a suitable embodiment, we will now describe how the observer information is incorporated into an overall step motor drive design to effect useful damping of the motor&#39;s resonant response. 
     Viscosity is a linear process whereby a moving member is subjected to a torque that is proportional to its velocity with respect to another member. Consider the block diagram of a step motor in FIG. 6. The instantaneous current vector is a position input r(t) which transforms to R(s). Likewise, the position of the rotor is the output c(t) or C(s). The motor has a stiffness near equilibrium of 
     
         k.sub.e =50T.sub.max                                       Eq. 15 
    
     The total system inertia is J. The net torque applied to J produces acceleration, α. Acceleration and time integrate to produce velocity, ω. Time and velocity integrate to give position, θ. 
     Viscous friction with coefficient, k.sub.ω, produces a retarding torque as shown. Using block diagram algebra, the inner loop is absorbed as shown in FIG. 7. 
     The diagram of FIG. 7 can further be reduced as illustrated in FIG. 8. 
     The following substitutions will consolidate the transfer function. ##EQU11## 
     FIG. 9 shows the final result. Viscosity is only a factor in ζ. 
     The problem with step motors is that k.sub.ω  is very small and hence ζ is also small. It has been observed as low as 0.01. The active electronic damping system of the present invention raises ζ, for example, to 0.3-0.5. (Note that the friction mechanism depicted in FIG. 6 is actually a form of velocity feedback.) 
     We will now subject the system in FIG. 6 to a series of transformations using block diagram algebra. 
     Step 1: Move the summing point ahead of the stiffness block. See FIG. 10. 
     Step 2: Move the takeoff point ahead of the inertia block as illustrated in FIG. 11. 
     The system in FIG. 11 has the same transfer function as the one with which we started in FIG. 6. It is also in the form employed by the active damping scheme. The observer of FIG. 5 reports (from monitoring point 80) an analog of instantaneous torque utilization which is then scaled and integrated (block 82 in FIG. 11) using a suitable integrator circuit to accomplish ##EQU12## before entering the summing node 84 (see U.S. Pat. No. 3,836,835 issued to Sawyer, the entire disclosure of which is fully incorporated herein by reference). 
     We now rearrange the expression for ζ from Eq. 16 ##EQU13## 
     From this it is apparent that the amount of viscosity required to effect a given amount of damping ratio is proportional to the square root of both k.sub.θ  and J. Substituting this relation into FIG. 11 results in FIG. 12. 
     The feedback block in FIG. 12 shows how the output of the observer (FIG. 5, point 66) must be processed (scaled and integrated) to achieve a given damping ratio. 
     Because the feedback is a signal as opposed to actual, physical friction, the opportunity arises to add velocity feed-forward to the summing node so that the loop acts only upon velocity error and does not incur have following errors in position. To accomplish this, the following operations are performed on the system of FIG. 12. 
     Step 1: Scale the output of the observer by the factor 1/J and add a factor of J to the integrator. This leaves the state variable, acceleration, available. 
     Step 2: Subtract the commanded acceleration from the scaled output of the observer prior to the integrator. 
     FIG. 13 shows the result. The net feedback has not changed and therefore the damping ratio remains the same. However, now the integrator acts on commanded acceleration as well as feedback to render velocity feed-forward. 
     To complete the development, remove a factor of √J from the integrator and place the same factor in the feed-forward and feedback paths. See FIG. 14. This last step serves to reduce the range of adjustment required in scaling the output of the observer to match the commanded acceleration. 
     The invention thus provides methods and apparatus for damping step motor resonant response using electronic means to provide a torque dependent signal that in turn can be used to provide acceleration and velocity feedback information. 
     Another embodiment would prescribe the use of a digitally based damping circuit using a form of programmable processor such as, but not limited to, a digital signal processor or RISC based processor. The observer gains could be adjusted real-time to allow for dynamic tailoring of transient response and highly varying load dynamics in order to yield consistent damping over a wide range of inertias and external disturbances. Such a system would also be well suited for self characterization, in which specific loop gains could be adjusted real-time in response to external spurious disturbances (reflected at the observer output) or in accordance with known dynamic system parameters. 
     While the invention has been shown and described with respect to specific embodiments thereof, this is for the purpose of illustration rather than limitation, and other variations and modifications of the specific embodiments herein shown and described will be apparent to those skilled in the art within the intended spirit and scope of the invention as set forth in the appended claims.