Motor control device
The motor control device uses forward and reverse rotations to calculate and compare stopping times, ensuring quick and accurate positioning of industrial machines, thereby improving operational efficiency.
Patent Information
- Application Number
- JP2019193254
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2019-10-24
- Publication Date
- 2024-08-14
- Estimated Expiration
- 2039-10-24
AI Technical Summary
Existing methods struggle to quickly and accurately stop industrial machines equipped with motors at a specific position, leading to prolonged stopping times and reduced yield.
A motor control device that calculates and compares two different times for stopping a rotating shaft at a target position, using forward and reverse rotations to determine the shortest time required for precise positioning.
Enables faster and more effective stopping of motors at specific positions, enhancing the efficiency of industrial machine operations.
Smart Images

Figure 0007534078000003 
Figure 0007534078000009 
Figure 0007534078000008
Abstract
Description
[Technical field]
[0001] The present invention relates to a motor control device. [Background technology]
[0002] For example, servo motors for industrial machines, such as servo motors for driving the spindles of machine tools, are controlled in terms of rotation amount, speed, torque, etc. In addition, servo motor control devices detect the motor position and magnetic pole position (phase (angle) of the motor magnet) using a detector, determine a voltage command value based on various feedback values from the detector, and apply a voltage modulated by a pulse width modulation (PWM) method to control the motor.
[0003] On the other hand, a method for controlling an operation to stop an industrial machine at a specific position, that is, a so-called orientation (stopping at a fixed position) operation, for example, receives an orientation command, and simultaneously flows a maximum current through the motor to execute a maximum deceleration control operation, detects the greatest deceleration acceleration, and obtains a state value for stopping at a fixed position the fastest. Then, based on this state value, a command for stopping at a specific position is created, and the motor drive control is performed according to this command.
[0004] For example, Patent Document 1 discloses "a control method for a spindle motor that drives a disk-shaped storage medium, characterized in that when stopped, application of a forward rotation drive current is stopped and a reverse rotation drive current is applied, and the rotation speed and rotation acceleration of the spindle motor are detected to calculate the required stop time and required stop rotation number required to stop the motor, and when the required stop rotation number becomes smaller than a predetermined value, application of the reverse rotation drive current is stopped when the required stop time has elapsed from that point."
[0005] Patent Document 2 describes a method for manufacturing a continuous material winding machine, comprising: "A control device for emergency stopping each motor in a process line including a plurality of motors including a motor and a motor drive device for controlling the motors, the control device comprising: an input unit to which coil diameter information of the payout machine and the winding machine and rotation speed information of each motor are input in real time; a recording unit in which the rating of each motor and the moment of inertia of a mechanical part connected to each motor are recorded in advance; a stop time calculation unit that calculates a stop time for each motor when regenerative braking is performed at a predetermined constant torque at that time based on the information input to the input unit and the information recorded in the recording unit; a torque limit value calculation unit that specifies the maximum stop time of each motor calculated by the stop time calculation unit and calculates a torque limit value for each motor to stop the motor in accordance with the specified maximum stop time; and an output unit that outputs each torque limit value calculated by the torque limit value calculation unit to the motor drive device when an emergency stop command for emergency stopping the line is input, and causes regenerative braking to be performed with torque limited by the torque limit value." [Prior art documents] [Patent documents]
[0006] [Patent Document 1] Patent No. 2948830 [Patent Document 2] JP 2012-175808 A Summary of the Invention [Problem to be solved by the invention]
[0007] Here, in the above-mentioned orientation control method, in order to stop the motor at a specific position quickly and effectively, a maximum current is applied to the motor and a maximum deceleration control operation is executed when an orientation command is issued.
[0008] However, it is difficult to execute maximum deceleration control operation by passing maximum current through the motor and stop it accurately at a specific position in this state, and as a result, there have been cases where the time it takes to stop it at a specific position becomes longer, resulting in a decrease in yield.
[0009] For this reason, a method that enables stopping at a specific position more quickly and effectively has been highly desired. [Means for solving the problem]
[0010] One aspect of the motor control device disclosed herein is a motor control device that stops a rotating shaft rotating at a predetermined speed at a fixed position after a stop command, and is configured to include a first time calculation unit that calculates a first time required to stop the rotating shaft at the target stop position without changing its rotational direction, based on a current speed, a target stop position, and an acceleration at positioning; a second time calculation unit that calculates a second time required to stop the rotation of the rotating shaft and then rotate it in the opposite direction to stop it at the target stop position, based on the current speed, the target stop position, and the acceleration at positioning; a comparison unit that compares the first time with the second time; and a fixed position stop control unit that performs stop control of the motor so as to shorten the time it takes to stop the motor at the target stop position, based on the comparison result of the comparison unit. Effect of the Invention
[0011] According to one aspect of the motor control device of the present disclosure, when an orientation command is issued, the motor, and in turn the operation of industrial machinery driven by the motor, can be stopped quickly and effectively at a specific position. In other words, it is possible to realize high-speed orientation operation. [Brief description of the drawings]
[0012] [Figure 1] FIG. 1 is a block diagram showing a motor control device according to an embodiment. [Diagram 2] FIG. 11 is a diagram showing the relationship between speed and time in a first time motion control. [Diagram 3]FIG. 11 is a diagram showing the operation control during a first period. [Figure 4] FIG. 11 is a diagram showing the operation control during a first period. [Diagram 5] FIG. 11 is a diagram showing the relationship between speed and time in a second time motion control. [Figure 6] FIG. 11 is a diagram showing the operation control during a second period. [Figure 7] FIG. 11 is a diagram showing the operation control during a second period. [Figure 8] FIG. 13 is a diagram showing the relationship between speed and time in a modified example of the first time motion control. [Figure 9] FIG. 11 is a diagram showing a modified example of the operation control in the first period. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] Hereinafter, a motor control device according to a first embodiment will be described with reference to FIGS.
[0014] This embodiment relates to a motor control device for, for example, controlling a motor (rotating shaft of industrial machinery) that drives the spindle of a machine tool, and for suitably controlling orientation (fixed position stopping) operations, such as stopping the spindle position at a specific position where a tool can be changed when changing a tool.
[0015] It should be noted that the motor control device disclosed herein only needs to be capable of controlling the orientation operation of industrial machinery equipped with a motor (rotating shaft), and may of course be applied to the drive control of motors of other industrial machinery, including not only machine tools but also robots, conveyors, measuring instruments, testing equipment, presses, pressing machines, printing machines, die-casting machines, injection molding machines, food machinery, packaging machines, welding machines, cleaning machines, painting machines, assembly equipment, mounting machines, woodworking machines, sealing equipment, cutting machines, etc. Also, the motor does not necessarily have to be a servo motor.
[0016] First, as shown in FIG. 1, the machine tool control system 1 of this embodiment includes a motor control device 3 for controlling a motor 2 that drives the spindle (rotating axis) of the machine tool and controlling the orientation (fixed position stopping) operation based on commands from a CNC (Computer Numerical Control) in a command section.
[0017] The motor control device 3 of this embodiment includes a speed detection unit 4 that detects the speed of the main shaft (rotating shaft) driven by the motor 2, an acceleration calculation unit 5 that calculates the acceleration based on the speed detected by the speed detection unit 4, and a target stop position at the time when an orientation command is issued.
[0018] Furthermore, the motor control device 3 of this embodiment is equipped with a shortage / excess distance calculation unit 6 which calculates a shortage distance and excess distance from the target stop position from the current speed, the target stop position, and the acceleration at the time of positioning when an orientation command is issued; a first time calculation unit 7 which calculates a first time required to stop the rotating shaft (spindle) at the target stop position without changing the rotation direction from the current speed, the target stop position, and the acceleration at the time of positioning when an orientation command is issued; a second time calculation unit 8 which calculates a second time required to stop the rotation of the rotating shaft once and then rotate it in the reverse direction to stop it at the target stop position from the current speed, the target stop position, and the acceleration at the time of positioning; a comparison unit 9 which compares the first time with the second time; and a fixed position stop control unit 10 which performs stop control of the motor 2 so as to shorten the time required to stop the motor at the target stop position based on the comparison result of the comparison unit 9.
[0019] The motor control device 3 of this embodiment is configured to, when switching from speed control to position control at a predetermined speed after an orientation (stop at fixed position) command is issued, calculate the first time and the second time according to the current speed, the distance (angle) to the target position (command position), and the acceleration during positioning, and select the operation that results in the shortest positioning time.
[0020] <First time calculation> Specifically, the first time calculation unit 7 of the control device 1 for the motor 2 in this embodiment calculates the first time as follows.
[0021] As shown in Figures 2, 3, and 4 (Figure 1), when an orientation command is issued, based on the current speed detected by the speed detection unit 4, the acceleration calculation unit 5 calculates the acceleration at which the motor 2 is decelerated from the position control start position at its maximum capacity (intrinsic maximum torque) to stop, and the fixed position stop control unit 10 controls the deceleration at this acceleration.
[0022] The shortfall / excess distance calculation unit 6 calculates the shortfall or excess distance with respect to the target stop position when the motor is decelerated and stopped from the position control start position in this manner.
[0023] If the result of the shortfall / excess distance calculation unit 6 indicates that the robot will stop at a position where the distance S1 is insufficient for the target stop position, an orientation command is issued to change the speed control state to position control so as to correct the shortfall S1.
[0024] The transition from speed control to position control is performed when an orientation command is issued and the motor is decelerated at maximum capacity to reach a preset speed V0 (time t0).
[0025] The fixed position stop control unit performs a correction operation control by accelerating and decelerating by an amount equivalent to the distance S1 during the time (t1-t0) when (time, speed) = (t0, V0). This correction operation causes the speed to become V0 at time t1, and by decelerating from (time, speed) = (t1, V0), it moves by the distance S0 and stops at the target stop position ((time, speed) = (t2, 0)).
[0026] When the calculation result of the shortfall / excess distance calculation unit 6 is thus a shortfall of the distance S1 from the target stop position, the fixed position stop control unit 10 controls the drive of the motor 2 so as to stop the motor 2 at the target stop position only by forward rotation of the shaft of the motor 2 after the orientation command is issued, as shown in Fig. 2. The first time calculation unit 7 calculates a first time from the issuance of the orientation command at this time to the stop at the target stop position.
[0027] <Second time calculation> The second time calculation unit 8 of the motor control device 3 of this embodiment calculates the second time as follows.
[0028] As shown in Figures 5, 6, and 7 (Figure 1), when an orientation command is issued, the acceleration calculation unit 5 calculates the acceleration at which the motor 2 is decelerated and stopped at its maximum capacity from the position control start position based on the current speed detected by the speed detection unit 4, and the fixed position stop control unit 10 controls the deceleration at this acceleration.
[0029] The shortfall / excess distance calculation unit 6 calculates the shortfall or excess distance with respect to the target stop position when the vehicle is decelerated and stopped from the position control start position at the maximum capacity in this manner.
[0030] If the result of the shortfall / excess distance calculation unit 6 indicates that the motor will stop at a position where the distance S1 exceeds the target stop position, an orientation command is issued to change the motor from speed control to position control so as to correct the excess distance S1. Normally, if the result is that the motor stops at a position that is beyond the target stop position by the distance S1, the spindle is controlled to rotate one more time before stopping at the target stop position. For this reason, it takes time from when the orientation command is issued until the motor stops at the target stop position.
[0031] The transition from speed control to position control is performed when an orientation command is issued and the motor is decelerated to the maximum speed to reach a preset speed V0 (time t0).
[0032] The fixed position stop control section continues to decelerate when (time, speed) = (t0, V0), moves the motor a distance S0 beyond the target position, and stops it temporarily.Then, from (time, speed) = (t1, 0) where the motor has moved the distance S0, it performs correction operation control to rotate the motor in the reverse direction by a distance S1, accelerating and decelerating the motor, and stops the motor at the target stop position ((time, speed) = (t2, 0)).
[0033] When the calculation result of the shortfall / excess distance calculation unit 6 is an excess of the distance S1 from the target stop position, the fixed position stop control unit 10 controls the drive of the motor 2 so as to stop the motor 2 at the target stop position by combining forward and reverse rotations of the shaft of the motor 2 after the orientation command is issued, as shown in Fig. 5. The second time calculation unit 8 calculates a second time from the issuance of the orientation command at this time to stopping at the target stop position.
[0034] <Selection of stop control action> Next, the comparison unit 9 compares the first time and the second time calculated as described above to determine which is the shorter time. Then, the operation for the first time or the second time that takes the shortest time to stop at the target stop position is selected, and the fixed position stop control unit 10 performs stop control of the motor 2 so as to shorten the time to stop at the target stop position.
[0035] As a result, the motor control device 3 of this embodiment can stop the motor at a specific position quickly and effectively. That is, it is possible to achieve even faster orientation operation.
[0036] Although one embodiment of the motor control device has been described above, the present invention is not limited to the above embodiment and can be modified as appropriate without departing from the spirit of the invention.
[0037] 8 and 9, when an orientation command is issued and speed control is performed by maximum deceleration to reach speed V0 (time t0), the speed control is continued to move the motor by a distance S0' at maximum deceleration and stop the motor ((time, speed) = (t1, 0)), and at this stage the speed control is switched to position control, and the motor is accelerated and decelerated to move the missing distance S1 and stop the motor at the target stop position. In this way, the time from when an orientation command is issued to when the motor 2 shaft is rotated in the forward direction only may be the first time.
[0038] Also, if an excess distance occurs due to deceleration at the maximum capacity of the motor, a reverse rotation operation may be performed to correct this. [Explanation of symbols]
[0039] 1. Industrial machine control systems 2 Motors 3 Motor control device 4 Speed detection section 5 Acceleration calculation section 6 Shortage / excess distance calculation section 7 First time calculation unit 8 Second time calculation unit 9 Comparison section 10 Fixed position stop control unit
Claims
1. A motor control device that switches from speed control to position control after a stop command is received to stop a spindle rotating shaft, which rotates at a predetermined speed, at a target stop position, and stops the spindle rotating shaft at the target stop position, comprising: The switching from the speed control to the position control is performed at a stage when the stop command is issued and the motor is decelerated at a maximum capacity to reach a preset speed, an acceleration calculation unit that calculates an acceleration when the motor is decelerated at a maximum capacity in the speed control, and an acceleration when the motor is accelerated and decelerated at a maximum capacity from a start position of the position control, or when the motor is decelerated and stopped; a first time calculation unit that calculates a first time required for stopping the spindle rotation shaft at the target stop position without changing a rotation direction of the spindle rotation shaft, based on the preset speed, the target stop position, the start position of the position control, and the acceleration calculated by the acceleration calculation unit; a second time calculation unit that calculates a second time required for stopping the rotation of the spindle rotating shaft at the target stop position by rotating the spindle rotating shaft in a reverse direction after the rotation of the spindle rotating shaft is stopped based on the preset speed, the target stop position, the start position of the position control, and the acceleration calculated by the acceleration calculation unit; A comparison unit that compares the first time with the second time; a fixed-position stop control unit that selects the motor that takes the shortest time to stop the motor at the target stop position based on a comparison result of the comparison unit, and performs stop control of the motor; A motor control device comprising:
2. when it is determined that the second time is shorter than the first time, the spindle rotating shaft is decelerated at a maximum speed to a stop, and then rotated in a reverse direction to perform positioning at the target stop position. The motor control device according to claim 1 .
Citation Information
Patent Citations
Position and speed controller
JP1988120313A
Carrying servo motor system
JP1989064018A
Controller for motor stop
JP2012175808A
Motor drive controller and machine tool providing them
JP2017022810A
Spindle motor control method
JP2948830B2
