WO2010036450A1 - Apparatus and method for minimizing undesirable stepper motor rotor motions - Google Patents
Apparatus and method for minimizing undesirable stepper motor rotor motions Download PDFInfo
- Publication number
- WO2010036450A1 WO2010036450A1 PCT/US2009/052206 US2009052206W WO2010036450A1 WO 2010036450 A1 WO2010036450 A1 WO 2010036450A1 US 2009052206 W US2009052206 W US 2009052206W WO 2010036450 A1 WO2010036450 A1 WO 2010036450A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- rotor
- magnetic field
- field vector
- motor
- rotation
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 25
- 230000033001 locomotion Effects 0.000 title claims abstract description 23
- 238000004804 winding Methods 0.000 claims abstract description 22
- 230000002457 bidirectional effect Effects 0.000 claims abstract description 4
- 238000010276 construction Methods 0.000 description 2
- 230000007812 deficiency Effects 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000010355 oscillation Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P8/00—Arrangements for controlling dynamo-electric motors rotating step by step
- H02P8/04—Arrangements for starting
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P1/00—Arrangements for starting electric motors or dynamo-electric converters
- H02P1/16—Arrangements for starting electric motors or dynamo-electric converters for starting dynamo-electric motors or dynamo-electric converters
- H02P1/163—Arrangements for starting electric motors or dynamo-electric converters for starting dynamo-electric motors or dynamo-electric converters for starting an individual reluctance motor
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P8/00—Arrangements for controlling dynamo-electric motors rotating step by step
- H02P8/32—Reducing overshoot or oscillation, e.g. damping
Definitions
- This invention generally relates to the field of stepper motors and more particularly to an apparatus for and method of, electronic stepper motor control when power is first applied to a stepper motor.
- stepper motors and associated motor drivers are undesirable because it can lead to noisy clunks upon initial power up and/or initial motor engagement, giving the final machine a less than professional presence; lead to undesirable initial current surges; result in a number of steps before stepper position and motor drive are "in phase” and/or increase the tendency towards oscillations during initial power up state.
- an apparatus for reducing undesired motions during initialization of a stepper motor having a rotor and windings comprises a rotary encoder for sensing direction of rotor rotation; a microcontroller responsive to signals from the rotary encoder for generating bidirectional motor control waveforms having variable digital amplitude values; at least one motor driver for receiving the motor control waveforms and translating the waveforms to drive the motor windings; and wherein the translated waveforms urge the rotor in a first direction and then a second direction to locate a desired rotor position.
- a method for reducing undesired motions during initialization of a stepper motor having a rotary encoder coupled thereto comprises a rotor and phase windings under control of a microcontroller, and the method comprises applying currents to the phase windings to form a magnetic field vector in a direction; sensing a direction of rotor rotation; changing at least one motor phase current to rotate the magnetic field vector in a direction opposite to the direction of first sensed rotor rotation by a first electrical angle; sensing a direction of rotor rotation; changing at least one motor phase current to rotate the magnetic field vector to a next position in a direction opposite to the second sensed rotor rotation by a second electrical angle; and ending initialization, whereby the rotor is aligned with the magnetic field vector in its next position.
- the method for reducing undesired motions during initialization of a stepper motor having a rotary encoder coupled thereto comprises applying currents to the phase windings to form a magnetic field vector in a direction and causing the rotor to rotate in one of a clockwise or counterclockwise direction; changing at least one motor phase current to rotate the magnetic field vector in a direction opposite to the direction of rotor rotation by a first electrical angle and causing the rotor to either (i) rotate in an opposite direction from the first mentioned rotated direction or (ii) continue to rotate in the first mentioned rotated direction; changing at least one motor phase current to rotate the magnetic field vector to a next position in a direction opposite to direction of rotor rotation by a second electrical angle; and ending initialization, whereby the rotor is urged to an initialized position such that it is aligned with the next position of the magnetic field vector.
- Figs. IA through IG shows an application of the preferred embodiment of the present invention for a first initial condition of a stepper motor
- Fig. 2 is a flow chart illustrating a preferred program flow of the present invention
- Figs. 3A through 3G shows an application of the preferred embodiment of the present invention for a second initial condition of a stepper motor
- Fig. 4 is a block diagram of a preferred embodiment of the apparatus in accordance with the present invention.
- the present invention is directed to a method and apparatus for reducing or eliminating turn on mechanical transients in a stepper motor resulting from an initial misalignment of an actual rotor position and a commanded rotor position which is based on phase currents of the motor.
- the present invention avoids problems with the prior art by gradually increasing phase currents while sensing both rotor motion and the direction of rotor motion and using the information to "zero in" on the closest detent that matches a commanded rotor position based on electrical angle of the phase currents.
- the invention preferably comprises a shaft encoder mounted to a stepper motor shaft to sense the amount and direction of motor rotor motion as phase currents are increased. Having sensed motion, the currents are modified to change the direction of a magnetic field vector generated by the phase currents to find a magnetic field vector angle and rotor position that are consistent. When the actual rotor position is consistent with the position commanded by the phase currents, the phase currents are increased to their normal run values and an application program takes control using the found phase currents and rotor position as the application's initial state.
- an apparatus for reducing undesired motions during initialization of a stepper motor having a rotor and windings comprises a rotary encoder for sensing direction of rotor rotation; a microcontroller responsive to signals from the rotary encoder for generating bidirectional motor control waveforms having variable digital amplitude values; at least one motor driver for receiving the motor control waveforms and translating the waveforms to drive the motor windings; and wherein the translated waveforms urge the rotor in a first direction and then a second direction to locate a desired rotor position.
- the motor driver applies currents to the windings to form a magnetic field vector in a direction; the motor driver changes at least one motor phase current to rotate the magnetic field vector in a direction opposite to the direction of a first sensed rotor rotation by a first electrical angle and changes at least one motor phase current to rotate the magnetic field vector to a next position in a direction opposite to a second sensed rotor rotation by a second electrical angle; whereby the rotor is aligned with the magnetic field vector in its next position.
- the first mentioned sensed direction of rotor rotation is in a clockwise direction and the first mentioned rotation of the magnetic field vector is in the counterclockwise direction.
- the second mentioned sensed direction of rotor rotation is in a counterclockwise direction and the second mentioned rotation of the magnetic field vector is in the clockwise direction.
- the first mentioned sensed direction of rotor rotation is in a counterclockwise direction and the first mentioned rotation of the magnetic field vector is in the clockwise direction.
- the second mentioned sensed direction of rotor rotation is in a counterclockwise direction and the second mentioned rotation of the magnetic field vector is in the clockwise direction.
- the microcontroller and the at least one motor driver are combined in a single stepper motor controller.
- translating the waveforms may include converting digital amplitude values into analog amplitude values.
- a method for reducing undesired motions during initialization of a stepper motor having a rotary encoder coupled thereto, said stepper motor having a rotor and phase windi ngs under control of a microcontroller is provided and preferably comprises the steps of applying currents to the phase windings to form a magnetic field vector in a direction; sensing a direction of rotor rotation; changing at least one motor phase current to rotate the magnetic field vector in a direction opposite to the direction of first sensed rotor rotation by a first electrical angle; sensing a direction of rotor rotation; changing at least one motor phase current to rotate the magnetic field vector to a next position in a direction opposite to the second sensed rotor rotation by a second electrical angle; and ending initialization, whereby the rotor is aligned with the magnetic field vector in its next position.
- the first electrical angle is at least essentially 90 degrees and the second electrical angle is at least essentially 45 degrees.
- the first mentioned sensed direction of rotor rotation is in a clockwise direction and the first mentioned rotation of the magnetic field vector is in the counterclockwise direction and the second mentioned sensed direction of rotor rotation is in a counterclockwise direction and the second mentioned rotation of the magnetic field vector is in the clockwise direction.
- the first mentioned sensed direction of rotor rotation is in a counterclockwise direction and the first mentioned rotation of the magnetic field vector is in the clockwise direction and the second mentioned sensed direction of rotor rotation is in a counterclockwise direction and the second mentioned rotation of the magnetic field vector is in the clockwise direction.
- the method for reducing undesired motions during initialization of a stepper motor having a rotary encoder coupled thereto comprises applying currents to the phase windings to form a magnetic field vector in a direction and causing the rotor to rotate in one of a clockwise or counterclockwise direction; changing at least one motor phase current to rotate the magnetic field vector in a direction opposite to the direction of rotor rotation by a first electrical angle and causing the rotor to either (i) rotate in an opposite direction from the first mentioned rotated direction or (U) continue to rotate in the first mentioned rotated direction; changing at least one motor phase current to rotate the magnetic field vector to a next position in a direction opposite to direction of rotor rotation by a second electrical angle; and ending initialization, whereby the rotor is urged to an initialized position such that it is aligned with the next position of the magnetic field vector.
- Motor 100 is a 4 pole permanent magnet stepper motor. Motor 100 includes poles 101-104 and permanent magnet rotor 105 having a north and south pole as indicated. Power has not been applied to any portion of the motor 100 in Fig. Ia.
- the flow chart of Fig. 2 starts at block 202 where, among other actions, the phase currents are initialized at .4% of rated run current and applied so that the poles have the polarities shown in Fig. Ib and yield a net magnetic field in the direction shown by vector 110.
- the embedded software in microcontroller 405 sequentially performs the tasks described in blocks 205, 210, 215, 220, 235 and 240 then back to block 205 of the flow chart in Fig. 2.
- the initial program processes in the flow chart of Fig. 2 is dependent upon whether the process has timed out or motion is detected due to phase currents having increased to a level to cause motion of rotor 110 (shown by arrow 120 ) due to the net urging magnetic field at line 110 of Figs Ib and Ic.
- phase currents are increased at about .4% per pass through block 215 through block 240 at a rate of approximately 0.8% to 2% per ms.
- trial parameter is equal to 1 so that, as described in block 270, the next pass through blocks 205, 210, 215, 220, 235 and 240 will be with magnetic field vector 110 offset from its initial value (as indicated by vector 110 in Fig. Ib) by 1 step or 90 degrees.
- the trial parameter is 2 then the next field angle change is set to 1 A step or 45 degrees.
- the offset direction is established based on the direction of rotor 105 rotation as determined at block 276. It has been discovered that it is advantageous to include blocks 272 and 274 in the subroutine starting at block 268 to accommodate delays due to coil time constants and effects due to the inertia of rotor 105 respectively.
- magnetic field vector 110 causes rotation of rotor 110 to start rotating in the clockwise direction shown by arrow 120.
- magnetic field vector 110 is moved 90 degrees counterclockwise and is at the position shown in Figs. Id and Ie.
- the magnetic vector 110 again points in the direction shown in Fig. 3a. However for this condition (as shown Fig 3b), vector 110 urges rotor 105 to start rotation in a counterclockwise direction with the resulting motion is sensed by rotary encoder 430 of Fig 4. Since rotor 105 movement in Fig. 3c is counterclockwise, the magnetic field indicated by vector 110 is therefore moved clockwise by 1 full step or 90 degrees as shown in Fig 3d and 3e and trial is increased by 1 to 2.
- block 210 causes phase currents to hold at their value from trial 1 while rotor 105 continues to rotate in a counterclockwise direction trying to align with vector 110 in Fig. 3(e).
- Block 240 then senses that rotor 105 is still moving so that processing continues in the subroutine starting at block 268 where vector 110 is advanced clockwise by 14 step or 45 degrees into position shown in Fig. 3f. With vector 110 in the position shown in Fig. 3f, rotor 105 is urged in a clockwise direction coming into a position that is consistent with vector 110.
- microcontroller 405 receives step and direction commands from an over-all application while drivers 410 and 415 may receive a brake command from the application program.
- Microcontroller 405 is preferably a Microchip 16F685 and contains all code necessary to interface with the application program and to implement the flow chart of Fig. 2.
- Drivers 410 and 415 are preferably LMD 18245T and translate the desired coil currents from their digital format at the output of microcontroller 405 to analog values required by the phase windings of motor 405.
- motion control is configured for 16 level microstepping using M1-M4 inputs of each of drivers 410 and 415.
- DAC 420 advantageously provides the additional resolution needed to achieve the preferred current increments of .4% of running current.
- DAC 420 is activated during the initialization stage of block 202 and deactivated (no pre-scalmg) after program flow passes through block 265 and control passes to the application program that directs microcontroller 405 and hence stepper motor 425.
- a System Semiconductor Motion Controller M3001 is used to integrate the functionality of microcontroller 405, DAC 420 and drivers 410 and 415 while providing addition control flexibility.
- motor 100 is described and or diagrammatically shown as a 2 phase motor, 4 pole permanent magnet stepper motor, the motor may also be a multiple phase reluctance type motor with multiple poles or a hybrid type motor combining the features of a reluctance motor and permanent magnet motor combining the features of both types.
- motor 100 is described and or diagrammatically shown as a 2 phase motor, 4 pole permanent magnet stepper motor, the motor may also be a multiple phase reluctance type motor with multiple poles or a hybrid type motor combining the features of a reluctance motor and permanent magnet motor combining the features of both types.
- the distribution of components as set forth above is exemplary and should not be considered limiting.
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Control Of Stepping Motors (AREA)
Abstract
An apparatus and method for reducing undesired motions during initialization of a stepper motor having a rotor and windings, compπsing a rotary encoder for sensing direction of rotor rotation; a micro controller responsive to signals from the rotary encoder for generating bidirectional motor control waveforms having variable digital amplitude values; at least one motor driver for receiving the motor control waveforms and translating the waveforms to drive the motor windings; and wherein the translated waveforms urge the rotor in a first direction and then a second direction to locate a desired rotor position.
Description
Apparatus and Method for Minimizing Undesirable Stepper Motor Rotor Motions
BACKGROUND OF THE INVENTION
Field of the Invention
This invention generally relates to the field of stepper motors and more particularly to an apparatus for and method of, electronic stepper motor control when power is first applied to a stepper motor.
Background of the Invention
When power is initially applied to prior art stepper motors and associated drives there is a high probability that its rotor will snap, rather than move smoothly, into a detent position defined by its phase coils and or a magnetic path. The reason is that there are typically 4 natural detent (rest) states for each 360 electrical degrees (4 steps) of motor driver output signal. If the state of a motor driver signal at power up does not match the initial rest state of the rotor, the rotor will snap to the position called for by the state of the motor driver as the motor coils are energized.
This characteristic of prior art stepper motors and associated motor drivers is undesirable because it can lead to noisy clunks upon initial power up and/or initial motor engagement, giving the final machine a less than professional presence; lead to undesirable initial current surges; result in a number of steps before stepper position and motor drive are "in phase" and/or increase the tendency towards oscillations during initial power up state.
SUMMARY AND OBJECTIVES OF THE INVENTION
It is thus an objective of the present invention to overcome the perceived deficiencies in the prior art.
Generally speaking therefore, and in accordance with a first embodiment of the
present invention, an apparatus for reducing undesired motions during initialization of a stepper motor having a rotor and windings is provided. In accordance with this first embodiment, the apparatus comprises a rotary encoder for sensing direction of rotor rotation; a microcontroller responsive to signals from the rotary encoder for generating bidirectional motor control waveforms having variable digital amplitude values; at least one motor driver for receiving the motor control waveforms and translating the waveforms to drive the motor windings; and wherein the translated waveforms urge the rotor in a first direction and then a second direction to locate a desired rotor position.
In accordance with another preferred embodiment, a method for reducing undesired motions during initialization of a stepper motor having a rotary encoder coupled thereto is provided. In this preferred embodiment, the stepper motor comprises a rotor and phase windings under control of a microcontroller, and the method comprises applying currents to the phase windings to form a magnetic field vector in a direction; sensing a direction of rotor rotation; changing at least one motor phase current to rotate the magnetic field vector in a direction opposite to the direction of first sensed rotor rotation by a first electrical angle; sensing a direction of rotor rotation; changing at least one motor phase current to rotate the magnetic field vector to a next position in a direction opposite to the second sensed rotor rotation by a second electrical angle; and ending initialization, whereby the rotor is aligned with the magnetic field vector in its next position.
In accordance with yet another preferred embodiment, the method for reducing undesired motions during initialization of a stepper motor having a rotary encoder coupled thereto, said stepper motor having a rotor and phase windings under control of a microcontroller comprises applying currents to the phase windings to form a magnetic field vector in a direction and causing the rotor to rotate in one of a clockwise or counterclockwise direction; changing at least one motor phase current to rotate the magnetic field vector in a direction opposite to the direction of rotor rotation by a first electrical angle and causing the rotor to either (i) rotate in an opposite direction from the first mentioned rotated direction or (ii) continue to rotate in the first mentioned rotated direction; changing at least one motor phase current to rotate the magnetic field vector to a next position in a direction opposite to direction of rotor rotation by a second electrical angle; and ending initialization, whereby the
rotor is urged to an initialized position such that it is aligned with the next position of the magnetic field vector.
Further objects and advantages of this invention will become more apparent from a consideration of the drawings and ensuing description.
The invention accordingly comprises the features of construction, combination of elements, arrangement of parts and sequence of steps which will be exemplified in the construction, illustration and description hereinafter set forth, and the scope of the invention will be indicated in the claims.
BRIEF DESCRIPTION OF THE DRAWINGS
For a fuller understanding of the invention, reference is had to the following description taken in connection with the accompanying figures, in which:
Figs. IA through IG shows an application of the preferred embodiment of the present invention for a first initial condition of a stepper motor;
Fig. 2 is a flow chart illustrating a preferred program flow of the present invention; Figs. 3A through 3G shows an application of the preferred embodiment of the present invention for a second initial condition of a stepper motor; and
Fig. 4 is a block diagram of a preferred embodiment of the apparatus in accordance with the present invention.
Identical reference numerals in the figures are intended to indicate like features, although not every feature in every figure may be called out with a reference numeral.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
Generally speaking, in connection with a first preferred embodiment, the present invention is directed to a method and apparatus for reducing or eliminating turn on mechanical transients in a stepper motor resulting from an initial misalignment of an actual rotor position and a commanded rotor position which is based on phase currents of the motor.
The present invention avoids problems with the prior art by gradually increasing phase currents while sensing both rotor motion and the direction of rotor motion and using the information to "zero in" on the closest detent that matches a commanded rotor position based on electrical angle of the phase currents.
In the preferred embodiments, the invention preferably comprises a shaft encoder mounted to a stepper motor shaft to sense the amount and direction of motor rotor motion as phase currents are increased. Having sensed motion, the currents are modified to change the direction of a magnetic field vector generated by the phase currents to find a magnetic field vector angle and rotor position that are consistent. When the actual rotor position is consistent with the position commanded by the phase currents, the phase currents are increased to their normal run values and an application program takes control using the found phase currents and rotor position as the application's initial state.
For example, in accordance with a preferred embodiment, an apparatus for reducing undesired motions during initialization of a stepper motor having a rotor and windings comprises a rotary encoder for sensing direction of rotor rotation; a microcontroller responsive to signals from the rotary encoder for generating bidirectional motor control waveforms having variable digital amplitude values; at least one motor driver for receiving the motor control waveforms and translating the waveforms to drive the motor windings; and wherein the translated waveforms urge the rotor in a first direction and then a second direction to locate a desired rotor position.
Jn a specific preferred embodiment, the motor driver applies currents to the windings to form a magnetic field vector in a direction; the motor driver changes at least one motor phase current to rotate the magnetic field vector in a direction opposite to the direction of a first sensed rotor rotation by a first electrical angle and changes at least one motor phase current to rotate the magnetic field vector to a next position in a direction opposite to a second sensed rotor rotation by a second electrical angle; whereby the rotor is aligned with the magnetic field vector in its next position.
In a first specific embodiment, the first mentioned sensed direction of rotor rotation is in a clockwise direction and the first mentioned rotation of the magnetic field vector is in the
counterclockwise direction. As another specific feature, the second mentioned sensed direction of rotor rotation is in a counterclockwise direction and the second mentioned rotation of the magnetic field vector is in the clockwise direction.
In another specific embodiment, the first mentioned sensed direction of rotor rotation is in a counterclockwise direction and the first mentioned rotation of the magnetic field vector is in the clockwise direction. As another specific feature, the second mentioned sensed direction of rotor rotation is in a counterclockwise direction and the second mentioned rotation of the magnetic field vector is in the clockwise direction.
In yet another specific feature, the microcontroller and the at least one motor driver are combined in a single stepper motor controller. Moreover, translating the waveforms may include converting digital amplitude values into analog amplitude values.
In accordance with another preferred embodiment, a method for reducing undesired motions during initialization of a stepper motor having a rotary encoder coupled thereto, said stepper motor having a rotor and phase windi ngs under control of a microcontroller is provided and preferably comprises the steps of applying currents to the phase windings to form a magnetic field vector in a direction; sensing a direction of rotor rotation; changing at least one motor phase current to rotate the magnetic field vector in a direction opposite to the direction of first sensed rotor rotation by a first electrical angle; sensing a direction of rotor rotation; changing at least one motor phase current to rotate the magnetic field vector to a next position in a direction opposite to the second sensed rotor rotation by a second electrical angle; and ending initialization, whereby the rotor is aligned with the magnetic field vector in its next position.
In a specific preferred embodiment, the first electrical angle is at least essentially 90 degrees and the second electrical angle is at least essentially 45 degrees.
Here too, in a preferred embodiment, the first mentioned sensed direction of rotor rotation is in a clockwise direction and the first mentioned rotation of the magnetic field vector is in the counterclockwise direction and the second mentioned sensed direction of rotor rotation is in a counterclockwise direction and the second mentioned rotation of the magnetic
field vector is in the clockwise direction. Again, in another preferred embodiment, the first mentioned sensed direction of rotor rotation is in a counterclockwise direction and the first mentioned rotation of the magnetic field vector is in the clockwise direction and the second mentioned sensed direction of rotor rotation is in a counterclockwise direction and the second mentioned rotation of the magnetic field vector is in the clockwise direction.
In accordance with yet another preferred embodiment, the method for reducing undesired motions during initialization of a stepper motor having a rotary encoder coupled thereto, said stepper motor having a rotor and phase windings under control of a microcontroller comprises applying currents to the phase windings to form a magnetic field vector in a direction and causing the rotor to rotate in one of a clockwise or counterclockwise direction; changing at least one motor phase current to rotate the magnetic field vector in a direction opposite to the direction of rotor rotation by a first electrical angle and causing the rotor to either (i) rotate in an opposite direction from the first mentioned rotated direction or (U) continue to rotate in the first mentioned rotated direction; changing at least one motor phase current to rotate the magnetic field vector to a next position in a direction opposite to direction of rotor rotation by a second electrical angle; and ending initialization, whereby the rotor is urged to an initialized position such that it is aligned with the next position of the magnetic field vector.
A best method for carrying out the invention is described with the aid of simplified motor model 100 shown in Figs. Ia though Ig and the flow chart of Fig. 2. Figs. 3a through 3g are used to show a different initial state than shown in Figs. Ia though Ig. Motor 100 is a 4 pole permanent magnet stepper motor. Motor 100 includes poles 101-104 and permanent magnet rotor 105 having a north and south pole as indicated. Power has not been applied to any portion of the motor 100 in Fig. Ia.
The flow chart of Fig. 2 starts at block 202 where, among other actions, the phase currents are initialized at .4% of rated run current and applied so that the poles have the polarities shown in Fig. Ib and yield a net magnetic field in the direction shown by vector 110.
In the preferred embodiment of the invention, after initialization of block 202 the
embedded software in microcontroller 405 sequentially performs the tasks described in blocks 205, 210, 215, 220, 235 and 240 then back to block 205 of the flow chart in Fig. 2. The initial program processes in the flow chart of Fig. 2 is dependent upon whether the process has timed out or motion is detected due to phase currents having increased to a level to cause motion of rotor 110 (shown by arrow 120 ) due to the net urging magnetic field at line 110 of Figs Ib and Ic.
In a preferred embodiment phase currents are increased at about .4% per pass through block 215 through block 240 at a rate of approximately 0.8% to 2% per ms.
When the rotor moves and the phase currents are still less than run currents, the current encoder position and encoder movement are saved at block 240 after which control passes to a subroutine at block 268. At first entry into subroutine 268 trial parameter is equal to 1 so that, as described in block 270, the next pass through blocks 205, 210, 215, 220, 235 and 240 will be with magnetic field vector 110 offset from its initial value (as indicated by vector 110 in Fig. Ib) by 1 step or 90 degrees. We note that if the trial parameter is 2 then the next field angle change is set to 1A step or 45 degrees. The offset direction is established based on the direction of rotor 105 rotation as determined at block 276. It has been discovered that it is advantageous to include blocks 272 and 274 in the subroutine starting at block 268 to accommodate delays due to coil time constants and effects due to the inertia of rotor 105 respectively.
For the conditions of Fig Ib, magnetic field vector 110 causes rotation of rotor 110 to start rotating in the clockwise direction shown by arrow 120. At the end of the subroutine (block 282) magnetic field vector 110 is moved 90 degrees counterclockwise and is at the position shown in Figs. Id and Ie.
The process described in the flow chart in Fig. 2 then proceeds to block 250 where the trial number is increased to 2 and the process proceeds back to decision block 205. The basic loop of 205, 210, 215, 220, 235 and 240 repeats again until, as shown in Figs. Ie, the position of vector 110 causes counterclockwise rotation of rotor 105. Here again the flow then passes to the subroutine at 268 where a new angle change of Vz step (45 degrees) is established and then activated in a clockwise direction (rotor 105 moved counterclockwise) after passing
through blocks 276 and 278. Vector 110 is now located as shown in Figs. If and Ig which urges rotor 105 into its final position shown in Ig. Program flow returns from subroutine 268 to block 250 where trial is incremented to 3 and program flow proceeds back to block 205 and exits through block 265.
We now explore the logical flow of the invention with the initial conditions shown in Fig. 3 wherein the north and south poles of rotor 105 have been reversed from the position shown in Fig. Ia.
Since the initial conditions of the flow chart in Fig. 3 are unchanged for this application of the invention, the magnetic vector 110 again points in the direction shown in Fig. 3a. However for this condition (as shown Fig 3b), vector 110 urges rotor 105 to start rotation in a counterclockwise direction with the resulting motion is sensed by rotary encoder 430 of Fig 4. Since rotor 105 movement in Fig. 3c is counterclockwise, the magnetic field indicated by vector 110 is therefore moved clockwise by 1 full step or 90 degrees as shown in Fig 3d and 3e and trial is increased by 1 to 2.
In this trial 2, block 210 causes phase currents to hold at their value from trial 1 while rotor 105 continues to rotate in a counterclockwise direction trying to align with vector 110 in Fig. 3(e). Block 240 then senses that rotor 105 is still moving so that processing continues in the subroutine starting at block 268 where vector 110 is advanced clockwise by 14 step or 45 degrees into position shown in Fig. 3f. With vector 110 in the position shown in Fig. 3f, rotor 105 is urged in a clockwise direction coming into a position that is consistent with vector 110.
In accordance with a preferred embodiment of the present invention, the apparatus is disclosed below with the aid of Fig. 4. As shown in Fig. 4, microcontroller 405 receives step and direction commands from an over-all application while drivers 410 and 415 may receive a brake command from the application program. Microcontroller 405 is preferably a Microchip 16F685 and contains all code necessary to interface with the application program and to implement the flow chart of Fig. 2. Drivers 410 and 415 are preferably LMD 18245T and translate the desired coil currents from their digital format at the output of microcontroller 405 to analog values required by the phase windings of motor 405. hi a preferred embodiment motion control is configured for 16 level microstepping using M1-M4
inputs of each of drivers 410 and 415. DAC 420 advantageously provides the additional resolution needed to achieve the preferred current increments of .4% of running current. DAC 420 is activated during the initialization stage of block 202 and deactivated (no pre-scalmg) after program flow passes through block 265 and control passes to the application program that directs microcontroller 405 and hence stepper motor 425.
In an alternate embodiment, a System Semiconductor Motion Controller M3001 is used to integrate the functionality of microcontroller 405, DAC 420 and drivers 410 and 415 while providing addition control flexibility.
While the invention has been particularly shown and described with respect to preferred embodiments thereof, it will be understood by those skilled in the art that changes in form and details may be made therein without departing from the scope and spirit of the invention. For example, while motor 100 is described and or diagrammatically shown as a 2 phase motor, 4 pole permanent magnet stepper motor, the motor may also be a multiple phase reluctance type motor with multiple poles or a hybrid type motor combining the features of a reluctance motor and permanent magnet motor combining the features of both types. Likewise, the distribution of components as set forth above is exemplary and should not be considered limiting.
Claims
1. An apparatus for reducing undesired motions during initialization of a stepper motor having a rotor and windings, said apparatus comprising: a rotary encoder for sensing direction of rotor rotation; a microcontroller responsive to signals from the rotary encoder for generating bidirectional motor control waveforms having variable digital amplitude values; at least one motor driver for receiving the motor control waveforms and translating the waveforms to drive the motor windings; and wherein the translated waveforms urge the rotor in a first direction and then a second direction to locate a desired rotor position.
2. The apparatus as claimed in claim 1, wherein: the motor driver applies currents to the windings to form a magnetic field vector in a direction; the motor driver changes at least one motor phase current to rotate the magnetic field vector in a direction opposite to the direction of a first sensed rotor rotation by a first electrical angle and changes at least one motor phase current to rotate the magnetic field vector to a next position in a direction opposite to a second sensed rotor rotation by a second electrical angle; whereby the rotor is aligned with the magnetic field vector in its next position.
3. The apparatus as claimed in claim 1, wherein the first mentioned sensed direction of rotor rotation is in a clockwise direction and the first mentioned rotation of the magnetic field vector is in the counterclockwise direction.
4. The apparatus as claimed in claim 3, wherein the second mentioned sensed direction of rotor rotation is in a counterclockwise direction and the second mentioned rotation of the magnetic field vector is in the clockwise direction.
5. The apparatus as claimed in claim 1, wherein the first mentioned sensed direction of rotor rotation is in a counterclockwise direction and the first mentioned rotation of the magnetic field vector is in the clockwise direction.
6. The apparatus as claimed in claim 5, wherein the second mentioned sensed direction of rotor rotation is in a counterclockwise direction and the second mentioned rotation of the magnetic field vector is in the clockwise direction.
7. The apparatus as claimed in claim 1, wherein the microcontroller and the at least one motor driver are combined in a single stepper motor controller.
8. The apparatus as claimed in claim 1, wherein translating the waveforms includes converting digital amplitude values into analog amplitude values.
9. An apparatus for carrying out the method as claimed in claim 1.
10. A method for reducing undesired motions during initialization of a stepper motor having a rotary encoder coupled thereto, said stepper motor having a rotor and phase windings under control of a microcontroller, said method comprising: applying currents to the phase windings to form a magnetic field vector in a direction; sensing a direction of rotor rotation; changing at least one motor phase current to rotate the magnetic field vector in a direction opposite to the direction of first sensed rotor rotation by a first electrical angle; sensing a direction of rotor rotation; changing at least one motor phase current to rotate the magnetic field vector to a next position in a direction opposite to the second sensed rotor rotation by a second electrical angle; and ending initialization, whereby the rotor is aligned with the magnetic field vector in its next position.
11. The method as claimed in claim 10, wherein the first electrical angle is at least essentially 90 degrees.
12. The method as claimed in claim 11, wherein the second electrical angle is at least essentially 45 degrees.
13. The method as claimed in claim 10, wherein the first mentioned sensed direction of rotor rotation is in a clockwise direction and the first mentioned rotation of the magnetic field vector is in the counterclockwise direction.
14. The method as claimed in claim 13, wherein the second mentioned sensed direction of rotor rotation is in a counterclockwise direction and the second mentioned rotation of the magnetic field vector is in the clockwise direction.
15. The method as claimed in claim 10, wherein the first mentioned sensed direction of rotor rotation is in a counterclockwise direction and the first mentioned rotation of the magnetic field vector is in the clockwise direction.
16. The method as claimed in claim 15, wherein the second mentioned sensed direction of rotor rotation is in a counterclockwise direction and the second mentioned rotation of the magnetic field vector is in the clockwise direction.
17. A method for reducing undesired motions during initialization of a stepper motor having a rotary encoder coupled thereto, said stepper motor having a rotor and phase windings under control of a microcontroller, said method comprising: applying currents to the phase windings to form a magnetic field vector in a direction and causing the rotor to rotate in one of a clockwise or counterclockwise direction; changing at least one motor phase current to rotate the magnetic field vector in a direction opposite to the direction of rotor rotation by a first electrical angle and causing the rotor to either (i) rotate in an opposite direction from the first mentioned rotated direction or (ii) continue to rotate in the first mentioned rotated direction; changing at least one motor phase current to rotate the magnetic field vector to a next position in a direction opposite to direction of rotor rotation by a second electrical angle; and ending initialization, whereby the rotor is urged to an initialized position such that it is aligned with the next position of the magnetic field vector.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US12/240,224 | 2008-09-29 | ||
US12/240,224 US8344681B2 (en) | 2008-09-29 | 2008-09-29 | Apparatus and method for minimizing undesirable stepper motor rotor motions |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2010036450A1 true WO2010036450A1 (en) | 2010-04-01 |
Family
ID=42056700
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/US2009/052206 WO2010036450A1 (en) | 2008-09-29 | 2009-07-30 | Apparatus and method for minimizing undesirable stepper motor rotor motions |
Country Status (2)
Country | Link |
---|---|
US (1) | US8344681B2 (en) |
WO (1) | WO2010036450A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012107230A1 (en) | 2011-02-10 | 2012-08-16 | Cargill, Incorporated | Oil compositions |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150216495A1 (en) * | 2014-02-05 | 2015-08-06 | Gabriel Gonzalez | Robotically assisted self-aligning portable x-ray machine |
US11347188B2 (en) | 2017-01-25 | 2022-05-31 | Microsoft Technology Licensing, Llc | Stepper motor for use in rotary control assembly of input device |
WO2020125957A1 (en) * | 2018-12-18 | 2020-06-25 | Robert Bosch Gmbh | Brushless electrical machine |
CN114764259A (en) * | 2021-01-11 | 2022-07-19 | 台达电子企业管理(上海)有限公司 | Current control device and power conversion system using the same |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4851755A (en) * | 1988-03-01 | 1989-07-25 | Ampex Corporation | Low power stepper motor drive system and method |
US7026773B2 (en) * | 2003-03-14 | 2006-04-11 | Petersen Technology Corporation | Multiphase motors with single point sensing based commutation |
US7129670B2 (en) * | 2003-06-06 | 2006-10-31 | Yazaki Corporation | Drive device for stepper motor and indicating apparatus using the same |
Family Cites Families (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA902167A (en) * | 1967-09-22 | 1972-06-06 | Fairchild Camera And Instrument Corporation | Stepper motor control system |
US4074179A (en) * | 1975-06-16 | 1978-02-14 | Warner Electric Brake & Clutch Company | Position detection methods and apparatus for stepping motors |
US5189355A (en) * | 1992-04-10 | 1993-02-23 | Ampex Corporation | Interactive rotary controller system with tactile feedback |
JP3243517B2 (en) * | 1996-11-11 | 2002-01-07 | ミネベア株式会社 | Recording disk driving apparatus and driving method for information recording apparatus |
JPH1146498A (en) * | 1997-07-28 | 1999-02-16 | Nec Corp | Stepping motor drive unit and stepping motor |
US6013999A (en) * | 1998-09-21 | 2000-01-11 | The United States Of America As Represented By The Administrator Of The National Aeronautics And Space Administration | Stepper motor control that adjusts to motor loading |
DE69924231T2 (en) * | 1999-03-29 | 2006-02-16 | Matsushita Electric Industrial Co., Ltd., Kadoma | Drive device for a stepper motor |
US6586898B2 (en) * | 2001-05-01 | 2003-07-01 | Magnon Engineering, Inc. | Systems and methods of electric motor control |
US6667595B2 (en) * | 2002-02-19 | 2003-12-23 | Dresser, Inc. | Stall detection in stepper motors |
EP1345316B1 (en) * | 2002-03-15 | 2006-05-24 | Japan Servo Co. Ltd. | Stepping motor driver |
US6853162B2 (en) * | 2002-12-05 | 2005-02-08 | Visteon Global Technologies, Inc. | Re-zeroing of a stepper motor without noise or movement |
US7439701B2 (en) * | 2006-06-26 | 2008-10-21 | Yazaki Corporation | Method and device for detecting initial excitation phase of stepping motor |
US7495409B2 (en) * | 2006-10-30 | 2009-02-24 | David Coutu | Method and apparatus for eliminating stall and cogging in multi-phase stepping motors |
JP2010268553A (en) * | 2009-05-13 | 2010-11-25 | Sanyo Electric Co Ltd | Driver circuit |
JP5491207B2 (en) * | 2010-01-13 | 2014-05-14 | キヤノン株式会社 | Stepping motor drive device |
-
2008
- 2008-09-29 US US12/240,224 patent/US8344681B2/en not_active Expired - Fee Related
-
2009
- 2009-07-30 WO PCT/US2009/052206 patent/WO2010036450A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4851755A (en) * | 1988-03-01 | 1989-07-25 | Ampex Corporation | Low power stepper motor drive system and method |
US7026773B2 (en) * | 2003-03-14 | 2006-04-11 | Petersen Technology Corporation | Multiphase motors with single point sensing based commutation |
US7129670B2 (en) * | 2003-06-06 | 2006-10-31 | Yazaki Corporation | Drive device for stepper motor and indicating apparatus using the same |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012107230A1 (en) | 2011-02-10 | 2012-08-16 | Cargill, Incorporated | Oil compositions |
EP3056558A1 (en) | 2011-02-10 | 2016-08-17 | Cargill, Incorporated | Process for preparing refined oil |
EP3385360A1 (en) | 2011-02-10 | 2018-10-10 | Cargill, Incorporated | Process for reducing the 3-mcpd content in refined oils |
EP3388502A1 (en) | 2011-02-10 | 2018-10-17 | Cargill, Incorporated | Method for reducing the 3-mcpd/glycidyl ester content in oils |
EP3398450A1 (en) | 2011-02-10 | 2018-11-07 | Cargill, Incorporated | Method for reducing the glycidyl ester and/or 3-mcpd content in oils |
Also Published As
Publication number | Publication date |
---|---|
US8344681B2 (en) | 2013-01-01 |
US20100079102A1 (en) | 2010-04-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Athani | Stepper motors: fundamentals, applications and design | |
JP4959460B2 (en) | Motor starting device and motor starting method | |
US5350984A (en) | Method and apparatus for starting a brushless DC motor | |
US8344681B2 (en) | Apparatus and method for minimizing undesirable stepper motor rotor motions | |
US20020067093A1 (en) | System and method for enabling a high torque/high speed brushless DC motor | |
US6400109B1 (en) | Electronic commutated motor with commutation signal | |
JP2004187497A (en) | Stepper motor not generating noise nor movement while re-zeroing | |
EP2689527B1 (en) | A method and apparatus for control of electrical machines | |
EP1540810A2 (en) | Position sensor emulator for a synchronous motor/ generator | |
US9871485B2 (en) | Stepper motor driver circuit | |
US20030042863A1 (en) | Method and apparatus for controlling synchronous motor | |
WO2016163398A1 (en) | Motor drive apparatus and method of controlling motor drive apparatus | |
CN107733298B (en) | Method and device for determining the direction of rotation of a rotating electrical machine, motor vehicle and program product | |
JP2002142488A (en) | Control method of claw-pole synchronous machine | |
CN106059414A (en) | Drive controller of instrument | |
JP2011130520A (en) | Motor drive unit | |
CN105322848A (en) | Starting method and system for permanent magnet synchronous motor | |
US20220173675A1 (en) | Method for the vibration-reduced operation of a bldc motor | |
JP2000209886A (en) | Motor controller | |
JP2002218789A (en) | Controller of dc brushless motor | |
JP4346355B2 (en) | Spindle controller | |
JP2005261023A (en) | Method of controlling stepping motor | |
JP3244800B2 (en) | Starting the sensorless motor | |
JP6387899B2 (en) | Stepping motor controller | |
JP2002078375A (en) | Motor controller and control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 09816655 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 09816655 Country of ref document: EP Kind code of ref document: A1 |