1. Field of the Invention
The present invention relates to a motor control system and a motor control method which protect a tool and workpiece at the time of a power outage during operation of a machine tool.
2. Description of the Related Art
A numerical control machine tool controls a tool rotation motor which drives rotation of a tool (hereinafter referred to as a “tool motor”) and a workpiece motor which drives a workpiece by a numerical control device by numerical control (NC control) so as to machine a workpiece to a predetermined shape by the tool. Such numerical control machine tools include ones where the tool motor and workpiece motor have to be operated synchronously at all times. For example, a gear-forming machine which machines a workpiece to form a gear corresponds to this.
The motor control systems for synchronously controlling a tool motor and a workpiece motor include NC command synchronization systems and master-slave synchronization systems. An NC command synchronization system is a system in which two shafts are given movement commands for synchronous operation from the NC control device side and these commands are used for synchronous control. On the other hand, the master-slave synchronization system is a system in which a drive command is given from the NC control device side to one shaft (master shaft), position feedback information (pulses) of the master shaft is acquired, a drive command which is proportional to the position feedback information of the master shaft is given to the other shaft (slave shaft), and that command is used for synchronous control.
In the above-mentioned gear-forming machine, if a power outage occurs when the workpiece is being machined by a tool, the tool motor and the workpiece motor will decelerate and stop since the power to the amplifiers which drive them is cut. In this regard, the deceleration of the tool motor and the workpiece motor is deceleration which runs counter to the speed control from the numerical control device, so the operations of the tool motor and the workpiece motor until stopping become asynchronous. If, in this way, the synchronous operations of the tool motor and the workpiece motor become asynchronous operations due to a power outage, the workpiece and the tool are liable to be damaged.
Among general machine tools, there are ones wherein, at the time of a power outage, the drop in a direct current link (DC link) voltage of the alternating current/direct current converter of the machine tool is monitored while forcibly making the shaft of the machine tool decelerate, regenerated energy is used to maintain the DC link voltage, and a linear shaft for moving the tool or workpiece is made to retract. In this regard, in a gear-forming machine which employs the NC command synchronization system, if ignoring the NC command and forcibly making the shaft decelerate in accordance with the drop in the DC link voltage, synchronization with the shaft which operates coordinated with this will be lost, so this technique could not be applied at the time of a power outage.
Therefore, the applicant previously proposed a gear-forming machine which employs a master-slave synchronization system wherein when a power outage occurred during machining, the state of the drop in the DC link voltage was monitored while forcibly making the master shaft constituted by the tool shaft decelerate and making this and the slave shaft constituted by the workpiece shaft decelerate and stop while maintaining synchronization (see Japanese Patent Publication No. 8-227307A). Due to this technique, even if there is a power outage, the synchronization of the tool shaft and the workpiece shaft is substantially maintained. Note that, in the case of applying this art, the workpiece shaft may also be made the master shaft and the tool shaft may be made the slave shaft.
In this regard, even if using the motor control system which is disclosed in Japanese Patent Publication No. 8-227307A, if a power outage occurs right in the middle of cutting a gear and the master shaft is made to forcibly decelerate, the slave shaft cannot keep up with the forced deceleration of the master shaft, the synchronization error ends up becoming larger in an instant, and the workpiece is liable to end up being damaged. In particular, in the case of high precision gear forming, the damage to the workpiece has been an issue.
The present invention has as its object the provision of a motor control system and motor control method which can set a delay time to between a power outage to when forced deceleration of the master shaft is started and can prevent damage to the workpiece at the time of a power outage.
According to one embodiment of the present invention, there is provided a motor control system which makes a tool motor and a workpiece motor operate in synchronization by application of a master-slave synchronization system in a machine tool which is provided with a tool motor which makes a tool shaft rotate to make a tool operate, a workpiece motor which makes a workpiece shaft rotate to make a workpiece move, and a linear shaft motor which drives a linear shaft to change a distance between the two shafts of the tool shaft and the workpiece shaft, the motor control system comprising a power outage detector which detects a power outage of a power supply when the tool motor and the workpiece motor are synchronously rotating, a forced deceleration circuit which forcibly makes the master shaft as constituted by either of the tool motor and the workpiece motor decelerate at the time of detection of a power outage by the power outage detector, a retraction device which makes the linear shaft motor operate to make a distance between the two shafts increase to perform a retraction operation at the time of detection of a power outage by the power outage detector, and a delay circuit which delays a start of operation of the forced deceleration circuit by a predetermined time at the time of detection of a power outage by the power outage detector.
Further, according to another embodiment of the present invention, there is provided a motor control method at the time of a power outage which is used in a motor control system which makes a tool motor and a workpiece motor operate in synchronization by application of a master-slave synchronization system in a machine which is provided with a tool motor which makes a tool shaft rotate to make a tool rotate, a workpiece motor which makes a workpiece shaft rotate to make a workpiece rotate, and a linear shaft motor which drives a linear shaft to change a distance between the two shafts of the tool shaft and the workpiece shaft, the motor control method comprising detecting if a power outage has occurred when the tool motor and the workpiece motor are synchronously rotating, putting a hold on forced deceleration of the master shaft as constituted by either of the tool motor and the workpiece motor at the time of a power outage, making the linear shaft motor operate to make a distance between the two shafts increase as a retraction operation while putting a hold on forced deceleration of either of the tool motor and the workpiece motor, and releasing the hold on forced deceleration of either of the tool motor and the workpiece motor after the elapse of the predetermined time and making either of the tool motor and the workpiece motor perform forced deceleration.
According to the motor control system and motor control method of the present invention, right after a power outage, the linear shaft for driving the tool or workpiece is driven for making the tool and workpiece perform a retraction operation until they are separated by exactly a distance whereby they will not contact and forced deceleration of the tool shaft for maintaining the voltage of the DC link is delayed, so there is the advantageous effect that it becomes possible to prevent damage to the workpiece due to forced deceleration of the master shaft constituted by the tool shaft or workpiece shaft.
The present invention will be understood more clearly by referring to the drawings attached below.
Below, referring to the drawings, an embodiment of the present invention will be explained in detail based on specific examples.
A power regeneration power circuit 18 is connected at its alternating current side terminal with, for example, a three-phase alternating current commercial power supply and is connected at its direct current side terminal with a DC link part which is comprised of a capacitor C. The DC link part is connected in parallel with the amplifiers 12, 13, and 14. Furthermore, the motor control system 1 is provided with a power outage detector 19. The input terminal of the power outage detector 19 is connected to an input power supply, while the output terminal of the power outage detector 19 is connected to the power regeneration power circuit 18, amplifiers 12, 13, and 14, and numerical control device 10. Note that, the power outage detector 19 may also be built into the power regeneration power circuit 18.
Further, the motor control system 1 uses the master-slave synchronization system for synchronous control of a tool shaft 26 of the tool motor 16 and a workpiece shaft 27 of the workpiece motor 17. In the present embodiment, the tool shaft 26 is made the master shaft while the workpiece shaft 27 is made the slave shaft, so the position feedback information which is generated as a result of driving the tool motor 16 is input to the amplifiers 13 and 14. Note that, the master shaft and the slave shaft may be either of the tool shaft 26 and the workpiece shaft 27. Synchronous control of two shafts using position feedback information is known, so here the explanation will be omitted.
When there is no power outage and the gear-forming machine 2 is normally performing a machining operation, the numerical control device 10 controls the tool motor 16 and workpiece motor 17 to operate synchronously at all times. Further, it controls the tool shaft movement motor 15 so as to make the tool approach the workpiece when starting machining and move away from the workpiece when ending machining. At the time of normal control, these tool shaft movement motor 15, tool motor 16, and workpiece motor 17 are controlled to be driven by the supply of power from the power regeneration power circuit 18 through the amplifiers 12, 13, and 14. On the other hand, at the time of deceleration control, the regenerated energy which is produced due to deceleration at the tool motor 16 and workpiece motor 17 is fed back to the input power supply through the amplifiers 12, 13, and 14 and power regeneration power circuit 18.
If a power outage occurs during the machining operation of the gear-forming machine 2, the power outage detector 19 detects the power outage and outputs a power outage signal. The power outage signal is input to the numerical control device 10, the power regeneration power circuit 18, and the amplifiers 12, 13, and 14. When the power regeneration power circuit 18 receives the power outage signal, it stops the power regeneration operation, that is, the inverter function, and prevents the regenerated energy from returning from the DC link part to the input power supply.
Further, in the master-slave synchronization system, the position feedback information which is output from the tool motor 16 which drives the master shaft (tool shaft 26) is input to the tool motor control part 23 in the amplifier 13 and the workpiece motor control part 24 in the amplifier 14. The position feedback information is used for control so that the workpiece shaft 27 operates synchronously while tracking movement of the tool shaft 26.
In the present embodiment, the delay circuit 30 and the forced deceleration circuit 31 are provided at the amplifier 14 which drives the master shaft, while the retraction device 32 is provided at the numerical control device 10. The forced deceleration circuit 31 outputs a forced deceleration command to the tool motor control part 23 and makes the tool motor 16 decelerate through the amplifier 13 at the time of detection of a power outage by the power outage detector 19. At this time, the workpiece motor 17 refers to the position feedback information from the tool motor 16 and performs a deceleration operation while tracking the deceleration operation of the tool motor 16. Further, the retraction device 32 instructs operation of the tool shaft movement motor control part 22 at the time of detection of a power outage by the power outage detector 19. The tool shaft movement motor control part 22 makes the tool shaft movement motor 15 operate through the amplifier 12, makes the intershaft distance between the tool shaft 26 and the workpiece shaft 27 increase, and separates the tool 6 and the workpiece 7 as a retraction operation.
The above operations are operations of the amplifiers 12, 13, and 14 and numerical control device 10 in the case of no delay circuit 30. On the other hand, the present embodiment is provided with a delay circuit 30 for causing the start of operation of the forced deceleration circuit 31 to be delayed by a predetermined time, so at the time of detection of a power outage by the power outage detector 19, the forced deceleration circuit 31 cannot immediately operate. That is, at the time of detection of a power outage by the power outage detector 19, the forced deceleration circuit 31 tries to output a forced deceleration command to the tool motor control part 23, but at this time, the forced deceleration circuit 31 receives an operation hold signal from the delay circuit 30, so the forced deceleration circuit 31 cannot output a forced deceleration command to the tool motor control part 23.
On the other hand, the retraction device 32 does not receive an operation hold signal from the delay circuit 30, so immediately at the time of detection of a power outage by the power outage detector 19, operation of the tool shaft movement motor control part 22 is commanded. As a result, at the time of a power outage, the retraction device 32 operates in advance of the operation of the forced deceleration circuit 31, the tool shaft movement motor 15 operates whereby the intershaft distance between the tool shaft 26 and the workpiece shaft 27 increases, and the tool 6 and the workpiece 7 are separated until the state where they do not contact. Further, after a predetermined time from when the tool shaft movement motor 15 separates the tool 6 and workpiece 7 to a state where they do not contact each other, the delay circuit 30 lifts the operation hold signal which had been input to the forced deceleration circuit 31.
Due to the lifting of the operation hold signal, the forced deceleration circuit 31 outputs a forced deceleration command to the tool motor control part 23 and causes the tool motor 16 to forcibly decelerate through the amplifier 13. At this time, the workpiece motor 17 performs a deceleration operation while tracking the deceleration operation of the tool motor 16. At this time, even if the workpiece motor 17 cannot keep up with the deceleration operation of the tool motor 16 and the synchronization error ends up becoming large, the tool 6 and the workpiece 7 are separated up to a state where they do not contact, so the workpiece is not liable to be damaged.
At step 302, it is judged if the elapsed time after detection of the power outage by the power outage detector has become a set value or more. Further, when the elapsed time after the detection of the power outage by the power outage detector is less than the set value (NO), including when the routine first proceeds to step 302, the routine proceeds to step 305 where the retraction device starts the retraction operation and where the delay circuit puts a hold on the start of operation of the forced deceleration circuit, then this routine is ended. The “retraction device” which is described at step 305, as explained in
When the processing of step 302 and step 305 is repeated several times, then it is judged at step 302 that the elapsed time after the detection of a power outage by the power outage detector has become a set value or more (YES), the routine proceeds to step 303 where the hold on the start of operation of the forced deceleration circuit by the delay circuit is lifted and the forced deceleration operation of the forced deceleration circuit is started. At the next step 304, the retraction operation of the retraction device is made to end to end this routine. In the forced deceleration operation, as explained in
At this time, the regenerated energy which is obtained by deceleration control of the tool motor 16 and the workpiece motor 17 is returned through the amplifiers 13 and 14 which function as converters to the DC link part and is utilized as retraction energy of the tool shaft movement motor 15 through the amplifier 12.
If passing the time T1, the deceleration control of the tool motor and the workpiece motor is started and the motor speed falls. Further, the regenerated energy which is obtained by deceleration control of the tool motor and the workpiece motor is returned to the DC link part, so the DC link maintenance operation is also started.
Due to the above control by the numerical control device 10 which is illustrated by
Note that, in the above explained embodiments, the linear shaft 25 which adjusts the distance between the tool shaft 26 which makes the tool 6 operate and the workpiece shaft 27 which makes the workpiece 7 operate is used to separate the tool shaft 26 from the workpiece shaft 27 at the time of a power outage, but the linear shaft 25 may also be structured to separate the workpiece shaft 27 from the tool shaft 26 at the time of a power outage.
According to the present invention, when, like in a gear-forming machine, the tool which is driven by the tool shaft (master shaft) and the workpiece which is driven by the workpiece shaft (slave shaft) operate synchronously while engaged, even if a power outage occurs, the tool motor and the workpiece motor will never be forcibly decelerated while the two shafts remain in contact. As a result, even if a power outage occurs when the workpiece is being machined by the tool, the workpieces which are in contact with the tool are not liable to end up being damaged.
Above, the present invention was explained with reference to preferred embodiments, but a person skilled in the art would understand that various modifications and changes can be made without departing from the scope of the later explained claims.
Number | Date | Country | Kind |
---|---|---|---|
2014-119915 | Jun 2014 | JP | national |