1. Field of the Invention
The present invention applies generally to a system using a servo motor, such as an industrial robot, a machine tool, a positioning device, etc. More particularly, the present invention relates to a servo motor stop controlling method and a servo motor controller in which the rotation of a servo motor provided with a brake is stopped by means of speed control.
2. Description of the Related Art
Conventionally, in various systems comprising a servo motor, in order to stop the rotation of a servo motor safely and in as short a time period as possible at the time of an emergency stop, a dynamic brake utilizing regenerative energy of the servo motor and an electromagnetic brake are used in combination for reducing the speed of, and stopping, the servo motor, and after the servo motor has been stopped, the electromagnetic brake is used to hold the movable part in a stopped state.
As shown in
As has been described above, it is possible to stop a servo motor smoothly by speed control of the servo motor. However, there is a problem that, when a servo motor is quickly stopped from the state of high speed or high load of the servo motor, the decelerating torque saturates and the servo motor may become difficult to accurately control the servo motor and give rise to vibration and delay in response to a control command. Thus, although, in an emergency stop from the state of low speed or low load, it is possible to stop the rotation of servo motor in a short time period by speed control, there is a problem that, in an emergency stop from the condition of nearly maximum speed or maximum load, the servo motor may be unable to provide adequate torque and thus may give rise to vibration or delay in the response to a control signal.
It is an object of the present invention to solve the above-described problem and to provide a servo motor stop controlling method and a servo motor controller that is capable of stopping the rotation of a servo motor, in case of an emergency stop, in a shorter stop time with a reduced stopping distance.
To accomplish the above objects, the present invention provides a servo motor stop controlling method for stopping the rotation of a servo motor provided with a brake, which comprises activating the brake, during speed reduction of the servo motor, by means of a speed control.
According to the present invention, there is further provided a servo motor controller comprising a motor control section for controlling a servo motor provided with a brake, the motor control section comprising: a speed command portion for outputting a speed command to stop a rotation of the servo motor, and a brake switching portion for outputting a switch command for a braking circuit to switch the brake, wherein the brake is activated by the brake switching portion during speed reduction of the servo motor by the speed command portion, and the rotation of the servo motor is stopped.
These and other objects and features of the present invention will become clearer from the following description of the preferred embodiments given with reference to the attached drawings, wherein:
Next, the present invention will be described, in detail, with reference to drawings showing specific examples of embodiments thereof.
A servo motor controller 1 according to the present embodiment is a controller for controlling a servo motor 2 for rotationally driving a joint portion of an unshown multi-joint type industrial robot, including a servo amplifier 3 for supplying a controlled current to the servo motor 2, a motor control section 4 electrically interconnected to the servo motor 2 via the servo amplifier 3, and a braking circuit 5 controlled by the motor control section 4 for ON/OFF switching of an electromagnetic brake (brake) 9.
The servo motor 2 comprises a motor main body 7, an encoder 8 as a position detector for detecting the position information of the motor, and an electromagnetic brake 9 which functions as a frictional brake and a holding brake. The joint portion as a movable part is adapted to be driven by the servo motor 2 via an unshown speed reduction gear to increase output torque by reducing the rotation of the servo motor.
The electromagnetic brake is mainly activated after the rotation of the servo motor 2 is stopped and functions as a so-called holding brake. In the present invention, it is also used to function as a frictional brake during speed reduction of the servo motor 2. It is assumed that decelerating torque of the brake when used as a frictional brake is equal to or smaller than the maximum allowable torque of the motor.
Although the servo motor 2 of the present embodiment is described as applied to an industrial robot, it can also be applied to a horizontal axis displacing apparatus using a linear motor, a positioning apparatus using a servo motor and reduction gear, or to driving of feed axis, comprising a ball screw and a nut, of a machine tool.
The servo amplifier 2 is a controller for accelerating, decelerating and stopping the servo motor 2 based on a speed command from the motor control section 4. When the servo motor is to be decelerated and stopped, the speed command “0” is used, for example, to control the servo motor 2 in a speed reduction control.
The motor control section 4 comprises an unshown controller, an unshown shared memory, and a digital servo-circuit 6. A position command, etc. from the controller is transmitted via the shared memory to the digital servo-circuit 6. Conversely, an error signal from the digital servo-circuit 6 is transmitted via the shared memory to the controller. Thus, transmission and reception are permitted in both direction via the shared memory between the controller and the digital servo-circuit 6.
The digital servo-circuit 6 comprises an I/O circuit having electronic parts such as a CPU, ROM and RAM mounted thereon, of which, together with a control program, the speed command portion 11, the brake switching portion 12, and the monitoring portion 13 are composed. Position data from the encoder 8 are inputted to CPU, and speed data of the servo motor 2 are obtained by differentiating the position data. The value of motor current is also inputted from the servo amplifier 3 to CPU, and torque data for the motor 2 are obtained based on this current value.
The speed command portion 11 constitutes a speed feedback circuit, and calculates the speed command value to be instructed to the motor 2 based on a position data, a speed data, and a torque data, and thus controls the servo motor 2 via the servo amplifier 3. The maximum allowable current is defined, by software, as the current supplied to the servo motor 2. When the instructed motor current exceeds the maximum allowable current, the program has the function of clamping the motor current so as not to exceed the maximum allowable current. When this function is operated, it is determined that the torque has saturated.
For example, in the stop control of the servo motor 2, the speed command is “0”, and as a result, the torque command (current command) calculated by a feedback process is such that the servo motor 2 is driven in the reverse direction. The speed of the servo motor 2 is reduced by a specified decelerating torque, and the servo motor is stopped. In the case of an emergency stop in which the servo motor 2 is stopped from the state of rotation under maximum load, the torque command value (the decelerating torque) is kept to the maximum allowable torque. In the present invention, the electromagnetic brake 9 is activated during a period when the torque command value (the braking torque) is kept to the maximum allowable torque (
The electromagnetic brake 9 can be switched between an activated state and an deactivated state of the electromagnetic brake 9 by switching the braking circuit ON or OFF with the brake switching portion 12 based on the torque command value that is being monitored by the monitoring portion 13.
The above-mentioned monitoring portion 13 is means for monitoring whether or not the torque command value during speed reduction of the servo motor 2 exceeds a set value that has been, in advance, set equal to or lower than the maximum allowable torque of the servo motor. The set value that has been set in the motor controller portion is based on the maximum allowable torque of the motor. By selecting a set value that is smaller than the maximum allowable torque, it is possible to enable the brake in an early stage. This value is adjusted and determined so as to reduce a stopping distance and to stabilize a deceleration control.
The above-mentioned brake switching portion 12 is means for outputting a switching command for the braking circuit 5 to switch the electromagnetic brake 9. Examples of the braking circuit include an electric circuit having a transistor and a relay, etc.
Next, a processing flow of a servo motor stop controller at the time of an emergency stop will be described with reference to
On the other hand, if the speed of the motor at the time of the emergency stop instruction is high, that is, if the servo motor 2 is rotating at a high speed, saturation of the servo motor 2 is detected at step S3 (
As has been described above, in accordance with the present embodiment, by activating the electromagnetic brake 9 during speed reduction of the servo motor 2, it is possible to use deceleration with speed control and braking by the electromagnetic brake 9 in combination to thereby increase the braking force on the servo motor and stop the servo motor within the maximum allowable torque of the servo motor 2. Therefore, in an emergency stop, the servo motor can be stopped in short time without producing vibration or shock.
This embodiment of the present invention can be implemented in many ways. For example, in place of the monitoring portion for monitoring the decelerating torque during speed reduction of the servo motor 2, a monitoring portion for monitoring an error between the speed command value instructed by the speed command portion and the actual rotation of the servo motor 2, or a monitoring portion for monitoring an error between the position command value obtained by integrating the speed command value instructed by the speed command portion and the actual position of the servo motor 2, may be employed.
It is also possible to activate the electromagnetic brake during speed reduction of the servo motor 2, and to deactivate the electromagnetic brake after the load on the motor is reduced and the torque is decreased in order to stop the servo motor solely by deceleration with the speed control of the servo motor, and to enable the electromagnetic brake again after the servo motor has been stopped. In this manner, a control required for compensating excessive braking can be eliminated.
While the invention has been described with reference to specific embodiments chosen for purpose of illustration, it should be apparent that numerous modifications could be made thereto by those skilled in the art without departing from the basic concept and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2005-295053 | Oct 2005 | JP | national |
The present application is based on, and claims priority from, Japanese Application Number 2005-295053, filed Oct. 7, 2005, the disclosure of which is hereby incorporated, by reference, in its entirety.