1. Field of the invention
The present invention relates to an accelerating system and method for a stepper motor, and in particular to an accelerating system and method using a safety accelerating curve which is similar to the characteristic curve of the stepper motor, to accelerate a stepper motor.
2. Prior Art
The conventional stepper motor is controlled by a micro controller. After the micro controller outputting a control signal, the control signal would be amplified by a driver, and then control the operation of the stepper motor. The control signal is usually like pulse signal. The frequency of the control signal is proportional to the rotational speed of the stepper motor. For example, 200 pulses per second could make the stepper motor to rotate a circle. That means that the higher pulse per second generated by the controller would make the stepper motor rotate in a higher rotational speed. But there is an inverse exponent ratio between the rotational speed and the torque of the stepper motor., Namely the higher rotational speed would generate the smaller torque. So, it must be very careful to accelerate the stepper motor to prevent the stepper motor from “out-of-step” or “out-of-speed”.
Referring to
A: Pull-In Torque Curve
the pull-in torque curve shows the maximum torque the stepper motor which can synchronously start or stop following the control signals. Therefore, in the region below the pull-in torque, the stepper motor could be real-time started, stopped, positive and reverse rotated as the control signal requested. This region is always called start-stop region.
B: Pull-Out Torque Curve
the pull-out torque curve shows the maximum torque for the stepper motor which can synchronously operate following the control signal but can not immediately start or stop following the control signal. Between the pull-out torque curve and the pull-in torque curve, the stepper motor operates with the control signal but can't be started or stopped immediately. Beyond the pull-out torque curve, the stepper motor could not be operated. The region between the pull-out torque curve and the pull-in torque curve is called slew region. The stepper motor should be started or stopped in the start-stop region and then could be operated in the slew region. Otherwise, the stepper would be out-of-step.
“Out-of-speed” means the rotational speed of the rotor in the stepper motor can't follow the rotational speed of the stator magnetic field. This would cause the stepper motor stop rotating. “Out-of-speed” would happen in every kind of motor. In the normal motor, “Out-of-speed” will cause the coil burning. Relatively, in the stepper motor, “Out-of-speed” only stops the stepper motor and don't cause the coil burning, even the exciter coil still exciting the magnetic fields, due to the stepper motor is controlled by the pulse signal.
“Out-of-step” means the stepper motor would slide out when the decreasing output torque can not afford the load of the stepper motor. Because the output torque is inverse proportional to the rotational speed, the rotational speed of the stepper motor raised in a short time will cause the output torque decreasing immediately.
The conventional stepper motor mostly are applied in the low speed region, so the linear accelerating method is usually used to accelerate the conventional stepper motor. Referring to
An object of the present invention is to provide a stepper motor accelerating system and method which are adapted a safety accelerating curve to prevent the stepper motor out of the pull-out torque during the accelerating procedure.
Another object of the present invention is to provide a stepper motor accelerating system and method which provide sufficient torque in the high rotational speed to prevent the stepper from “out-of-step”.
The present invention provides a stepper motor accelerating system for accelerating a stepper motor from a current rotational speed to a target rotational speed. The stepper motor comprises a controller, a pulse generator, and a driver.
The stepper motor has a characteristic accelerating curve which defines the relationship between the input pulse signal and the output torque of the stepper motor. A controller comprises data which are compiled from a safety accelerating curve. The safety accelerating curve is generated by subtracting a safety margin from the characteristic curve. According to a corresponding point of the current rotational speed and a corresponding point of the target rotational speed in the safety accelerating curve, the controller generates a real accelerating curve which is compiled to data. The pulse generator is used for receiving the data represented the real accelerating curve and then transferring the data to a pulse signal. A driver is used for receiving the pulse signal and then driving the stepper motor accelerating to the target rotational speed in accordance with the real accelerating curve.
In one aspect of the stepper motor accelerating system provided by the present invention, the characteristic curve is a pull-out torque curve.
In another aspect of the stepper motor accelerating system provided by the present invention, the safety accelerating curve is a quadratic curve.
In another aspect of the stepper motor accelerating system provided by the present invention, the real accelerating curve is equal to the safety accelerating curve.
In another aspect of the stepper motor accelerating system provided by the present invention, the real accelerating curve is a line between the corresponding point of the current rotational speed and a corresponding point of the target rotational speed.
In another aspect of the stepper motor accelerating system provided by the present invention, the safety accelerating curve comprises a line component and a quadratic curve component. The line component is extended horizontally from the corresponding point of the current rotational speed to a middle point in the safety accelerating curve. The quadratic curve component is initialed from the middle point to a corresponding point of the target rotational speed in the safety accelerating curve.
According to the above description, the accelerating curve adapted in the present invention is quite similar to the characteristic curve but spaced at a safety margin with the characteristic curve. Therefore, the stepper could be accelerated in the safety region, and the “out-of-step” and “out-of-speed” won't be happen in the present invention.
Other objects, advantages, and novel features of the present invention will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings, in which:
Referring to
As described in the prior art, the stepper motor has a characteristic accelerating curve as shown in
Referring to
The safety accelerating curve generating method in embodiments of the present invention comprises the following steps. First, grab a plurality of pull-out dots of the pull-out torque curve 2021. Second, shift each pull-out dot downward along the normal line, which intersects orthogonally with the pull-out torque curve 2021 at the original position of the pull-out dot, with a safety margin to generate a plurality of safety dots. Then, do the curve fitting to fit the plurality of safety dots and then get a quadratic equation to represent the safety dots. The curve graphed from the quadratic equation could be viewed as a safety accelerating curve 204 illustrated in
The curve fitting step is to use a formula to fit the plurality of safety dots. For example, first, presume the safety accelerating curve is:
T(f)=a×f2+b×f+r (1)
wherein f is input pulses per second, T(f) is an output torque T function of pulses per second f, a, b, and r are factors.
Therefore, input at least three dots into the above equation (1) can get the three factors of a, b, and r. This is a simple process for explaining the curve fitting. In real practice, the curve fitting is a very common technology, there has many software in the market has function to do the curve fitting more complexity and precisely.
Due to the safety accelerating curve 204 is a quadratic equation; it can be compiled into the controller 102. The controller 102 is used for controlling the stepper motor to rotate at different rotational speed. When the controller 102 controls the stepper motor 20 to change the rotational speed, the controller 102 would first find the point of the current rotational speed and the point of the target rotational speed on the safety curve and then determine a real accelerating curve. The real accelerating curve is the base for the controller 102 to accelerate the stepper motor 20.
In the first embodiment of the present invention, the controller applys the safety accelerating curve 204 to be the real accelerating curve. The controller 102 takes the current rotational speed as the initial point and takes the target rotational speed as the final point of this acceleration.
Referring to
Referring to the
There must emphasized that while the invention has been described in several preferred embodiments, it is understood that the words which have been used are words of description rather than words of limitation and that changes within the purview of the appended claims may be made without departing from the scope and spirit of the invention in its broader aspect.
After the controller 102 generates the real accelerating curve, the controller 102 would transfer the real accelerating curve as a control signal. The pulse generator 104 is used for receiving the control signal which comprises data represented the real accelerating curve, and then transferring the data to a pulse signal. A driver 106 is used for receiving the pulse signal and then driving the stepper motor 20 accelerating to the target rotational speed in accordance with the real accelerating curve. Therefore, the stepper motor 20 could be accelerated in the safety region and in the efficient way, and the “out-of-step” and “out-of-speed” won't happen in the present invention.
Referring to
Step 30: generate the characteristic curve 202 of the stepper motor 20 by doing a plurality of tests then getting a plurality of pull-out dots.
Step 32: shift the plurality of pull-out dots to get a plurality of safety dots with a safety margin.
Step 34: input a plurality of safety dots into a function T(f)=a×f2+b×f+r, to solve a, b, and r, then get a quadratic equation to represent the safety accelerating curve.
Step 36: compile the quadratic equation into the controller 102.
Step 38: the controller 102 generates a real accelerating curve basing on the quadratic equation, the current rotational speed, and the target rotational speed.
Step 40: the controller 102 generates a control signal and transmits the control signal to the pulse generator 104 basing on the real accelerating curve.
Step 42: the pulse generator 104 transfers the control signal to the pulse signal.
Step 44: the driver 106 accelerates the stepper motor 20 to the target rotational speed in accordance with the real accelerating curve.
The present invention considers the problems generated in the prior art which uses the linear acceleration, and provides a completed solution to solve the problems. The present invention also considers the characteristics of the stepper motor, so the accelerating range is limited below the pull-out torque curve. For this reason, the present invention won't accelerate out of the pull-out torque curve. Moreover, because the accelerating process of the present invention is matched the characteristics of the stepper motor, the efficiency of acceleration is better than prior art.
It is to be understood, however, that even though numerous characteristics and advantages of the present invention have been set forth in the foregoing description, together with details of the structure and function of the invention, the disclosure is illustrative only, and changes may be made in detail, especially in matters of shape, size, and arrangement of parts within the principles of the invention to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed.
Number | Date | Country | Kind |
---|---|---|---|
93125274 | Aug 2004 | TW | national |