[go: up one dir, main page]

WO2025099821A1 - Numerical value control device and numerical value control method - Google Patents

Numerical value control device and numerical value control method Download PDF

Info

Publication number
WO2025099821A1
WO2025099821A1 PCT/JP2023/040034 JP2023040034W WO2025099821A1 WO 2025099821 A1 WO2025099821 A1 WO 2025099821A1 JP 2023040034 W JP2023040034 W JP 2023040034W WO 2025099821 A1 WO2025099821 A1 WO 2025099821A1
Authority
WO
WIPO (PCT)
Prior art keywords
acceleration
tool
control device
spindle motor
numerical control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
PCT/JP2023/040034
Other languages
French (fr)
Japanese (ja)
Inventor
健輔 馬場
勇気 各務
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2024523989A priority Critical patent/JP7527524B1/en
Priority to CN202380100078.8A priority patent/CN121444030A/en
Priority to PCT/JP2023/040034 priority patent/WO2025099821A1/en
Publication of WO2025099821A1 publication Critical patent/WO2025099821A1/en
Pending legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23BTURNING; BORING
    • B23B47/00Constructional features of components specially designed for boring or drilling machines; Accessories therefor
    • B23B47/34Arrangements for removing chips out of the holes made; Chip- breaking arrangements attached to the tool
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23QDETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
    • B23Q15/00Automatic control or regulation of feed movement, cutting velocity or position of tool or work
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/4093Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by part programming, e.g. entry of geometrical information as taken from a technical drawing, combining this with machining and material information to obtain control information, named part programme, for the NC machine
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/416Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by control of velocity, acceleration or deceleration

Definitions

  • This disclosure relates to a numerical control device and a numerical control method for controlling a machine tool.
  • One type of machine tool is one that rotates a tool to drill holes in a workpiece. This machine tool generates chips when drilling holes, and the chips can get tangled around the tool. If the machine tool continues to drill holes in the workpiece with chips tangled around the tool, the machining accuracy deteriorates. For this reason, it is desirable to remove the chips tangled around the tool from the tool. If the chips tangled around the tool are removed manually, it is necessary to stop the machine tool before removing the chips from the tool, which reduces the machining efficiency of the drilling process.
  • the numerical control device described in Patent Document 1 reverses the rotation of a tool in a machine tool that performs drilling after the tool has cut a workpiece, and removes chips by terminating the reverse rotation when a specific time has elapsed.
  • Patent Document 1 reverses the rotation of the tool without taking into account the mechanical characteristics, which causes a problem in that excessive load may be placed on the spindle motor that rotates the tool when reversing the rotation direction of the tool.
  • the present disclosure has been made in consideration of the above, and aims to provide a numerical control device that can prevent an overload from being applied to the spindle motor that rotates the tool when reversing the rotation direction of the tool.
  • the numerical control device disclosed herein includes a servo motor control unit that controls a spindle motor of a machine tool that rotates a tool in the forward direction to drill a hole in a workpiece and rotates the tool in the reverse direction to remove chips entangled in the tool from the tool.
  • the numerical control device disclosed herein also includes a current load determination unit that compares the magnitude of a current feedback value of the spindle motor, which corresponds to the load on the spindle motor, with a preset reference value, and determines whether or not to change the acceleration of the rotation of the spindle motor based on the comparison result, and an acceleration change unit that changes the acceleration based on the result of the determination.
  • the numerical control device disclosed herein has the effect of preventing an overload from being applied to the spindle motor that rotates the tool when reversing the rotation direction of the tool.
  • FIG. 1 is a diagram showing a configuration of a numerical control device according to an embodiment
  • 1 is a flowchart showing a procedure of processing executed by a numerical control device according to an embodiment
  • FIG. 1 is a diagram for explaining a procedure of a drilling process executed by a machine tool controlled by a numerical control device according to an embodiment
  • FIG. 1 is a diagram for explaining an example of a spindle rotation speed and an acceleration of a spindle motor when a numerical control device according to an embodiment controls a machine tool
  • FIG. 1 is a diagram showing an example of a hardware configuration for implementing a numerical control device according to an embodiment
  • Embodiment 1 is a diagram showing the configuration of a numerical control device according to an embodiment.
  • the numerical control device 1 is connected to a machine tool 2 and controls the machine tool 2.
  • the machine tool 2 performs machining such as drilling a hole on a workpiece by rotating a tool (not shown) in the normal direction.
  • the machine tool 2 is equipped with a servo motor 70.
  • the servo motor 70 has a spindle motor (spindle servo motor) 71 and a feed axis motor (feed axis servo motor) 72.
  • spindle servo motor spindle servo motor
  • feed axis motor feed axis servo motor
  • FIG. 1 a case is described in which the machine tool 2 has one feed axis motor 72 and the tool or workpiece is moved in one direction by the one feed axis motor 72, but the machine tool 2 may have multiple feed axis motors 72. In this case, the machine tool 2 moves the tool or workpiece in multiple directions by the multiple feed axis motors 72. For example, when moving a tool in three axial directions, the machine tool 2 has three feed axis motors 72.
  • the machine tool 2 may also have multiple servo motors 70.
  • a tool is attached to the spindle motor 71.
  • the spindle motor 71 rotates the tool by rotating the rotating shaft.
  • the feed axis motor 72 moves the tool or the workpiece in a specific direction, thereby moving the tool and the workpiece relatively in a specific direction. Below, a case where the feed axis motor 72 moves the tool in a specific direction is described, but the feed axis motor 72 may also move the workpiece in a specific direction.
  • the machine tool 2 also has a detector (not shown) that detects the rotational position and rotational speed of the rotating shaft mounted on the spindle motor 71.
  • the machine tool 2 also has a detector (not shown) that detects the rotational position and rotational speed of the rotating shaft mounted on the feed shaft motor 72. The rotational position and rotational speed detected by these detectors are sent to the numerical control device 1.
  • the numerical control device 1 is a computer that controls the spindle motor 71 and the feed shaft motor 72.
  • the numerical control device 1 feedback controls the spindle motor 71 based on the rotational position and rotational speed of the rotating shaft of the spindle motor 71 detected by a detector.
  • the numerical control device 1 also feedback controls the feed shaft motor 72 based on the rotational position and rotational speed of the rotating shaft of the feed shaft motor 72 detected by a detector.
  • the numerical control device 1 controls the machine tool 2 to rotate the tool attached to the machine tool 2 in the forward direction, thereby causing the machine tool 2 to perform drilling on the workpiece.
  • the numerical control device 1 also controls the machine tool 2 to rotate the tool attached to the machine tool 2 in the reverse direction, thereby causing the machine tool 2 to remove chips entangled in the tool.
  • the numerical control device 1 When rotating the tool, the numerical control device 1 rotates the spindle of the spindle motor 71 at an acceleration (spindle rotation acceleration) corresponding to the current load based on the current load of the spindle motor 71. When reversing the rotation direction from forward rotation to reverse rotation, the numerical control device 1 rotates the spindle of the spindle motor 71 at an acceleration corresponding to the current load. Also, when reversing the rotation direction from reverse rotation to forward rotation, the numerical control device 1 rotates the spindle of the spindle motor 71 at an acceleration corresponding to the current load.
  • spindle rotation acceleration spindle rotation acceleration
  • the numerical control device 1 includes a memory unit 10, a machining operation generation unit 20, a chip removal operation generation unit 30, an interpolation unit 40, a servo motor control unit 50, and a motor FB (Feedback) information acquisition unit 60.
  • the memory unit 10 stores a machining program and various data (not shown).
  • the machining program is a program for causing the machine tool 2 to perform drilling.
  • the machining program includes a canned cycle.
  • the canned cycle is a command (G code) set so that a frequently used machining operation, such as a drilling operation, can be executed in one block. In a canned cycle, multiple blocks of commands are written in one block.
  • the various data stored in the memory unit 10 includes data used when the machining operation generation unit 20 and the chip removal operation generation unit 30 operate.
  • the machining operation generating unit 20 generates operation commands for the machine tool 2 to execute drilling based on the analysis results of the machining program.
  • the machining operation generating unit 20 operates while using the storage unit 10 as a temporary memory.
  • the machining operation generation unit 20 has a program analysis unit 21 and a cycle generation unit 22.
  • the program analysis unit 21 reads out the machining program from the storage unit 10.
  • the program analysis unit 21 analyzes the machining program and calculates information on the operation commands described in the machining program.
  • the information on the operation commands described in the machining program is information used by the cycle generation unit 22 when generating the operation commands.
  • the information used when generating the operation commands includes, for example, the coordinate values of the start and end points (start and end points) that define the relative movement path between the tool and the workpiece, the interpolation method (linear interpolation, circular interpolation, etc.) of the movement path connecting the start and end points, the feed speed when the tool moves, the rotation speed of the spindle motor 71, and the rotation direction of the spindle motor 71.
  • the program analysis unit 21 transmits the information on the operation commands described in the machining program as the analysis result to the cycle generation unit 22 and the chip removal operation generation unit 30.
  • the cycle generation unit 22 generates a drilling cycle command based on the analysis results sent from the program analysis unit 21.
  • the cycle generation unit 22 transmits the generated drilling cycle command to the interpolation unit 40.
  • the motor feedback information acquisition unit 60 acquires a current feedback value (current feedback value) corresponding to the current load on the spindle motor 71, i.e., load information.
  • the current feedback value is the current value required to drive the spindle motor 71, and is used for feedback control of the spindle motor 71.
  • the motor feedback information acquisition unit 60 acquires the current feedback value of the spindle motor 71 from the machine tool 2, and transmits it to the chip removal operation generation unit 30.
  • the motor feedback information acquisition unit 60 continuously acquires the current feedback value of the spindle motor 71 and constantly monitors it.
  • the motor feedback information acquisition unit 60 constantly monitors the spindle speed of the spindle motor 71.
  • the motor feedback information acquisition unit 60 acquires the spindle speed of the spindle motor 71 from the machine tool 2 and transmits it to the chip removal operation generation unit 30.
  • the motor FB information acquisition unit 60 also constantly monitors the position of the tool.
  • the motor FB information acquisition unit 60 acquires the FB position, which is the position of the tool, from the machine tool 2 and transmits it to the chip removal operation generation unit 30.
  • the motor FB information acquisition unit 60 may also calculate the position of the tool based on a position command transmitted to the servo motor 70 by the servo motor control unit 50.
  • the chip removal operation generation unit 30 generates operation commands for the machine tool 2 to remove chips based on the analysis results sent from the program analysis unit 21.
  • the chip removal operation generation unit 30 operates while using the storage unit 10 as temporary memory.
  • the chip removal operation generation unit 30 has a current load determination unit 31, an acceleration control unit 32, and a rotation direction change unit 33.
  • the rotation direction change unit 33 rotates the tool (spindle) in the reverse direction when removing chips.
  • the rotation direction change unit 33 also rotates the spindle in the forward direction when the machine tool 2 performs the next drilling operation.
  • the rotation direction change unit 33 changes the rotation direction of the spindle motor 71 to reverse rotation, for example, when the tool completes a drilling operation and moves to the initial point (point I), which is the return point (the position where the fixed cycle begins).
  • the rotation direction change unit 33 may change the rotation direction of the spindle motor 71 to reverse rotation when the tool moves to a reference point (the position where the cutting feed starts) after the tool has completed one drilling operation.
  • the rotation direction change unit 33 changes the rotation direction of the spindle motor 71 to reverse rotation when the tool moves to the return point after completing one drilling operation.
  • the rotation direction change unit 33 continues to rotate the spindle motor 71 in reverse until the spindle speed, which is the rotational speed of the spindle motor 71, reaches the command speed included in the analysis result of the machining program.
  • the rotation direction change unit 33 changes the rotation direction of the spindle motor 71 to forward rotation.
  • the current load determination unit 31 compares the current FB value received from the motor FB information acquisition unit 60 during the spindle reversal operation with a preset reference value of the current load.
  • the spindle reversal operation is an operation in which the machine tool 2 rotates the tool in the opposite direction from the current rotation direction.
  • Spindle reversal operations include an operation to change the rotation direction of the spindle motor 71 from forward rotation to reverse rotation, and an operation to change the rotation direction of the spindle motor 71 from reverse rotation to forward rotation.
  • the reference value of the current load in the spindle motor 71 is a value smaller than the allowable value of the current load in the spindle motor 71.
  • the current load determination unit 31 compares the current FB value with the reference value and determines whether the current FB value is greater than the reference value, whether the current FB value is smaller than the reference value, or whether the current FB value is the same as the reference value. In this way, the current load determination unit 31 determines which is greater: the reference value of the current load or the current current FB value.
  • the current load determination unit 31 determines whether or not to change the acceleration of the rotation of the spindle motor 71 based on the result of comparing the magnitude of the current FB value with the reference value. Specifically, when the current FB value of the spindle motor 71 is greater than the reference value, the current load determination unit 31 determines that the spindle motor 71 should be operated at a lower acceleration than the current one. On the other hand, when the current FB value is smaller than the reference value, the current load determination unit 31 determines that the spindle motor 71 should be operated at a higher acceleration than the current one.
  • the acceleration is the absolute value of the acceleration. Therefore, a low acceleration in the embodiment is an acceleration whose absolute value is smaller than the absolute value of the current acceleration. Also, a high acceleration in the embodiment is an acceleration whose absolute value is larger than the absolute value of the current acceleration.
  • the current load determination unit 31 determines that the spindle motor 71 should be operated at a slower acceleration than the current acceleration, it sends a command to the acceleration control unit 32 to operate the spindle motor 71 at a slower acceleration than the current acceleration (hereinafter, sometimes referred to as a low acceleration command).
  • the current load determination unit 31 determines that the spindle motor 71 should be operated at a higher acceleration than the current speed, it sends a command to the acceleration control unit 32 to operate the spindle motor 71 at a higher acceleration than the current speed (hereinafter, sometimes referred to as a high acceleration command).
  • the current load determination unit 31 may also calculate the difference between the current FB value and the reference value (hereinafter, sometimes referred to as the current difference value). In this case, the current load determination unit 31 calculates the amount of change (amount of increase or decrease) in acceleration that corresponds to the magnitude of the current difference value.
  • the current load determination unit 31 generates an acceleration command (low acceleration command or high acceleration command) that changes the acceleration by a larger amount of increase or decrease as the current difference value increases. In other words, when the current FB value is greater than the reference value, the current load determination unit 31 generates a low acceleration command that decreases the acceleration by a larger amount as the current difference value increases.
  • the current load determination unit 31 when the current FB value is smaller than the reference value, the current load determination unit 31 generates a high acceleration command that increases the acceleration more as the current difference value increases. When the current FB value and the reference value are the same value, the current load determination unit 31 does not generate an acceleration command. Note that the current load determination unit 31 does not need to generate an acceleration command when the current difference value is smaller than a specific value.
  • the reference value used by the current load determination unit 31 may be in a specific range. That is, the reference value to be compared with the current FB value may be within the allowable range of the current FB value. In this case, the current load determination unit 31 determines whether the current FB value is smaller than the minimum value of the allowable range, whether the current FB value is larger than the maximum value of the allowable range, or whether the current FB value is within the allowable range.
  • the current load determination unit 31 When the current FB value is smaller than the minimum value of the allowable range, the current load determination unit 31 sends a high acceleration command to the acceleration control unit 32. When the current FB value is larger than the maximum value of the allowable range, the current load determination unit 31 sends a low acceleration command to the acceleration control unit 32.
  • the current load determination unit 31 may calculate the difference between the current FB value and the minimum value of the allowable range as the current difference value. Also, when the current FB value is larger than the maximum value of the allowable range, the current load determination unit 31 may calculate the difference between the current FB value and the maximum value of the allowable range as the current difference value. In these cases as well, the current load determination unit 31 calculates the amount of change in acceleration that corresponds to the magnitude of the current difference value.
  • the acceleration control unit 32 changes the acceleration of the spindle motor 71 (the acceleration of the rotational operation) based on the result of the judgment performed by the current load judgment unit 31. For example, the acceleration control unit 32 generates an operation command for controlling the acceleration of the spindle motor 71 based on the acceleration command received from the current load judgment unit 31 during the spindle reversal operation (while removing chips entangled in the tool).
  • the acceleration control unit 32 When the acceleration control unit 32 receives a low acceleration command, it generates an operation command to decrease the acceleration of the spindle motor 71. On the other hand, when the acceleration control unit 32 receives a high acceleration command, it generates an operation command to increase the acceleration of the spindle motor 71.
  • the acceleration control unit 32 If the acceleration is a positive value, the acceleration control unit 32 generates an operation command to change the acceleration to a positive value, and if the acceleration is a negative value, the acceleration control unit 32 generates an operation command to change the acceleration to a negative value.
  • the acceleration control unit 32 when the acceleration control unit 32 receives a low acceleration command, it generates an operation command to decrease the acceleration of the spindle motor 71 by a constant value. Also, when the acceleration control unit 32 receives a high acceleration command, it generates an operation command to increase the acceleration of the spindle motor 71 by a constant value.
  • the amount of increase (constant value) when increasing the acceleration and the amount of decrease (constant value) when decreasing the acceleration may be set by the user using parameters, for example, or may be preregistered in the numerical control device 1.
  • the acceleration control unit 32 When the acceleration command (low acceleration command or high acceleration command) includes a change amount (increase or decrease amount) in acceleration, the acceleration control unit 32 generates an operation command corresponding to this change amount. In other words, when the received low acceleration command includes a change amount in acceleration, the acceleration control unit 32 generates an operation command to decrease the acceleration by this change amount. When the received high acceleration command includes a change amount in acceleration, the acceleration control unit 32 generates an operation command to increase the acceleration by this change amount.
  • the current load determination unit 31 may determine the amount of change in acceleration so that the current FB value does not exceed the reference value. In other words, even if the current FB value is smaller than the reference value, if the current load determination unit 31 determines that increasing the acceleration by a certain value will cause the current FB value to become larger than the reference value, the current load determination unit 31 may not need to increase the acceleration. In other words, the current load determination unit 31 may determine the amount of increase or decrease in acceleration so that the acceleration of the spindle motor 71 becomes smaller than the reference value and approaches the reference value.
  • the acceleration control unit 32 When the current load determination unit 31 generates an acceleration command based on the allowable range of the current FB value, upon receiving an acceleration command from the current load determination unit 31, the acceleration control unit 32 generates an operation command that brings the current FB value into the allowable range.
  • the acceleration control unit 32 when the acceleration control unit 32 receives a high acceleration command from the current load determination unit 31, it generates an operation command to increase the acceleration so that the current FB value is within the allowable range. As a result, if the current FB value is smaller than the minimum value of the allowable range, the current FB value is brought within the allowable range by increasing the acceleration.
  • the acceleration control unit 32 receives a low acceleration command from the current load determination unit 31, it generates an operation command to bring the current FB value within the allowable range by lowering the acceleration.
  • the current FB value is greater than the maximum value of the allowable range, the current FB value is brought within the allowable range by lowering the acceleration.
  • the acceleration control unit 32 decreases the acceleration when the current load determination unit 31 determines that the spindle motor 71 should be operated at a lower acceleration than the current acceleration. Also, the acceleration control unit 32 increases the acceleration when the current load determination unit 31 determines that the spindle motor 71 should be operated at a higher acceleration than the current acceleration. That is, the acceleration control unit 32 determines the acceleration of the spindle motor 71 based on the determination result (acceleration command) of the current load determination unit 31. The acceleration control unit 32 generates an operation command corresponding to the determined acceleration of the spindle motor 71 and transmits the generated operation command to the interpolation unit 40. The acceleration control unit 32 generates an operation command to change the acceleration for each control cycle or each specific period (for example, 10 msec) and transmits it to the interpolation unit 40.
  • the interpolation unit 40 receives a drilling cycle command from the cycle generation unit 22.
  • the interpolation unit 40 also receives a command to change the rotation direction of the spindle motor 71 from the rotation direction change unit 33.
  • the interpolation unit 40 also receives an acceleration operation command from the acceleration control unit 32.
  • the interpolation unit 40 generates a control command (movement command) for the servo motor 70 based on the command received from the cycle generation unit 22 and the command received from the chip removal operation generation unit 30. Specifically, based on the command for the drilling cycle, it generates a control command for the spindle motor 71 and a control command for the feed axis motor 72 to perform drilling. In addition, based on a command to change the rotation direction of the spindle motor 71, the interpolation unit 40 generates a control command for the spindle motor 71 to change the rotation direction of the spindle motor 71. In addition, the interpolation unit 40 generates a control command for the spindle motor 71 to rotate the spindle at an acceleration corresponding to the acceleration operation command. The interpolation unit 40 transmits the generated control commands to the servo motor control unit 50.
  • the servo motor control unit 50 generates a position command according to the control command received from the interpolation unit 40, and controls the servo motor 70 using the position command.
  • the servo motor control unit 50 may also generate a speed command according to the control command received from the interpolation unit 40, and control the servo motor 70 using the speed command.
  • FIG. 2 is a flowchart showing the processing procedure of the process executed by the numerical control device according to the embodiment.
  • the motor feedback information acquisition unit 60 acquires the current feedback value of the spindle motor 71 from the machine tool 2 (step S10) and transmits it to the chip removal operation generation unit 30.
  • the current load determination unit 31 of the chip removal operation generation unit 30 compares the current FB value received from the motor FB information acquisition unit 60 with a preset reference value of the current load. That is, the current load determination unit 31 determines whether the current FB value is greater than the reference value (step S20).
  • the current load determination unit 31 determines whether the current FB value is greater than a reference value during a spindle reversal operation. That is, the current load determination unit 31 determines whether the current FB value is greater than a reference value when the rotation direction of the spindle motor 71 is reversed from forward rotation to reverse rotation. The current load determination unit 31 also determines whether the current FB value is greater than a reference value when the rotation direction of the spindle motor 71 is reversed from reverse rotation to forward rotation.
  • the current load determination unit 31 determines that the spindle motor 71 should be rotated at a lower acceleration than the current acceleration (step S30). In this case, the current load determination unit 31 transmits a low acceleration command to the acceleration control unit 32 to operate the spindle motor 71 at a lower acceleration than the current acceleration.
  • the acceleration control unit 32 determines the acceleration of the spindle motor 71 based on the acceleration command from the current load determination unit 31 (step S50).
  • the acceleration control unit 32 generates an operation command corresponding to the determined acceleration of the spindle motor 71, and transmits the generated operation command to the interpolation unit 40.
  • the interpolation unit 40 generates a control command for the servo motor 70 based on the command received from the cycle generation unit 22 and the command received from the chip removal operation generation unit 30, and transmits the control command to the servo motor control unit 50.
  • the servo motor control unit 50 generates a position command according to the control command received from the interpolation unit 40, and controls the servo motor 70 according to the position command.
  • the numerical control device 1 reduces the acceleration of the spindle motor 71, thereby making it possible to suppress overload on the spindle motor 71.
  • the numerical control device 1 increases the acceleration of the spindle motor 71, making it possible to change the rotation direction of the spindle motor 71 in a short time.
  • FIG. 3 is a diagram for explaining the processing procedure of the hole drilling process executed by the machine tool controlled by the numerical control device according to the embodiment.
  • two axes in a plane parallel to the top surface of the workpiece 81 and perpendicular to each other are defined as the X-axis and the Y-axis.
  • the axis perpendicular to the X-axis and the Y-axis is defined as the Z-axis.
  • the numerical control device 1 controls the first hole drilling process H1 and then controls the second hole drilling process H2.
  • the numerical control device 1 When the numerical control device 1 starts drilling, it starts controlling the machine tool 2. As a result, the tool 80 attached to the machine tool 2 is moved by the feed axis motor 72. In addition, the motor feedback information acquisition unit 60 acquires the current feedback value, spindle speed, and feedback position of the spindle motor 71 from the machine tool 2 and transmits them to the chip removal operation generation unit 30.
  • Position P1 is a position that is higher than the top surface of the workpiece 81 by a height Z1.
  • Position P2 is the return point where the fixed cycle begins for the first machining hole.
  • the Z-direction position of the return point, position P2 is the position where the fixed cycle is commanded, and the XY-direction position of the return point is the position on the machining hole where drilling will now take place.
  • the numerical control device 1 moves the tool 80 downward in the Z direction using the feed axis motor 72, thereby moving the tool 80 from position P2, which is the return point, to position P3, which is the reference point (point R). This causes the tool 80 to move in a direction parallel to the Z direction from position P2 to position P3.
  • Position P3 is lower in the Z direction than position P2, and is closer to the workpiece 81 than position P2.
  • the numerical control device 1 accelerates the rotation of the spindle motor 71 to rotate the tool 80 in the forward direction (st1).
  • the numerical control device 1 increases the rotation speed of the spindle motor 71 to the machining speed.
  • the numerical control device 1 also moves the tool 80 from position P3 to position P4, which is the bottom surface position of the machined hole, by the feed axis motor 72.
  • Position P4 is a position within the workpiece 81 and is a position lower in the Z direction than the top surface of the workpiece 81.
  • Position P5 is the same position as position P2. In other words, position P5 is the return point where the fixed cycle was started.
  • the numerical control device 1 reverses the rotation of the spindle motor 71 to change the rotation of the tool 80 from forward to reverse (st3).
  • the rotation direction change unit 33 changes the rotation direction of the spindle motor 71 from forward to reverse.
  • the numerical control device 1 accelerates the spindle motor 71 until the spindle speed of the spindle motor 71 reaches the commanded speed (st4).
  • the rotation direction change unit 33 reverses the spindle motor 71 again to change the tool 80 from reverse rotation to forward rotation in order to perform the next drilling process (st5).
  • the numerical control device 1 rotates the tool 80 in the forward direction by accelerating the spindle motor 71.
  • the numerical control device 1 increases the rotation speed of the spindle motor 71 to the processing speed.
  • the numerical control device 1 moves the tool 80 from position P5 in a plane parallel to the XY plane to position P6 (st6).
  • Position P6 is the return point where the fixed cycle begins for the second machining hole.
  • the Z-direction position of the return point, position P6, is the position where the fixed cycle is commanded, and the XY-direction position of the return point is the position on the machining hole where drilling will now take place.
  • the numerical control device 1 moves the tool 80 downward in the Z direction by the feed axis motor 72 (st7). As a result, the numerical control device 1 moves the tool 80 from position P6, which is the return point, through position P7, which is the reference point, to position P8, which is the bottom position of the machined hole. Position P8 is a position within the workpiece 81, and is a position lower in the Z direction than the top surface of the workpiece 81. By the numerical control device 1 moving the tool 80 from position P7 to position P8, the tool 80 starts drilling a hole from the top surface of the workpiece 81 and reaches position P8. Note that, for ease of explanation, two positions P8 are shown in FIG. 3, but the two positions P8 are the same position.
  • Position P9 is the same position as position P6. In other words, position P9 is the return point where the fixed cycle was started.
  • the numerical control device 1 executes the same processes as steps st3 to st5 described above, and then executes the same processes as steps st6 to st8 described above. Thereafter, the numerical control device 1 repeats the same processes as steps st3 to st8 for the other machined holes.
  • the current load determination unit 31 compares the current FB value received from the motor FB information acquisition unit 60 during the spindle reversal operation with a preset reference value of the current load. Then, the current load determination unit 31 determines whether the current FB value is greater than the reference value, whether the current FB value is less than the reference value, or whether the current FB value is the same as the reference value.
  • the current load determination unit 31 determines that the spindle motor 71 should be operated at a lower acceleration than the current acceleration, and transmits a low acceleration command to the acceleration control unit 32 to operate the spindle motor 71 at a lower acceleration than the current acceleration.
  • the current load determination unit 31 determines that the spindle motor 71 should be operated at a higher acceleration than the current value, and transmits a high acceleration command to the acceleration control unit 32 to operate the spindle motor 71 at a higher acceleration than the current value.
  • the numerical control device 1 of the embodiment compares the current FB value with the reference value of the current load, just as when changing the rotation direction from forward rotation to reverse rotation. Then, if the current FB value is greater than the reference value, the current load determination unit 31 sends a low acceleration command to the acceleration control unit 32, and if the current FB value is less than the reference value, it sends a high acceleration command to the acceleration control unit 32.
  • the numerical control device 1 may set the magnitude of the absolute value of the acceleration of the spindle motor 71 when the rotation direction of the spindle motor 71 is changed from reverse rotation to forward rotation to be the same as the magnitude of the absolute value of the acceleration calculated when the rotation direction is changed from forward rotation to reverse rotation.
  • the numerical control device 1 may also control the spindle motor 71 so that the acceleration of the spindle motor 71 at position P9 is the acceleration used at position P5. In other words, after the second or subsequent hole drilling is completed, the numerical control device 1 may rotate the spindle motor 71 at the acceleration used after the first hole drilling is completed. In this case, at position P9, the current load determination unit 31 does not need to compare the current FB value with the reference value.
  • FIG. 3 illustrates a case in which the machine tool 2 performs multiple drilling operations on the workpiece 81
  • the machine tool 2 may perform only one drilling operation on the workpiece 81.
  • the numerical control device 1 performs processes st1 to st5, and then replaces the tool 80 with another tool. This allows the numerical control device 1 to perform drilling operations using the tool 80 without any cutting chips attached the next time the tool 80 is used.
  • FIG. 4 is a diagram for explaining an example of the spindle rotation speed and acceleration of the spindle motor when the numerical control device according to the embodiment controls the machine tool.
  • the horizontal axis in Figure 4 is time.
  • the vertical axis of the upper graph in Figure 4 is the spindle rotation speed of the spindle motor 71, and the vertical axis of the lower graph is the acceleration of the spindle motor 71.
  • the spindle rotation speed is the machining speed, which is a constant speed VX (>0), from when the tool 80 starts drilling until it reaches position P5, which is the return point.
  • the numerical control device 1 When the tool 80 reaches position P5, the numerical control device 1 reverses the rotation of the spindle motor 71, causing the tool 80 to rotate in the reverse direction instead of forward. As a result, the spindle rotation speed drops from speed VX, and after the spindle rotation speed becomes 0, it becomes a negative value.
  • the numerical control device 1 increases the acceleration above the current acceleration, A3. In other words, the numerical control device 1 controls the acceleration to an acceleration with an absolute value greater than that of acceleration A3.
  • the numerical control device 1 controls the acceleration of the spindle motor 71 to be acceleration A1 (>A3) corresponding to the reference value of the current FB value. This increases the slope of the spindle rotation speed.
  • the numerical control device 1 When the current FB value of the spindle motor 71 is greater than the reference value, the numerical control device 1 decreases the acceleration below the current acceleration, A2. In other words, the numerical control device 1 controls the acceleration to an acceleration with an absolute value smaller than that of acceleration A2.
  • the numerical control device 1 controls the acceleration of the spindle motor 71 to be acceleration A1, which corresponds to the reference value of the current FB value. This reduces the slope of the spindle rotation speed.
  • speed transition V2 the speed transition when the spindle motor 71 is rotating in reverse and the current FB value is greater than the reference value is shown as speed transition V2, and the speed transition after the acceleration is decreased is shown as speed transition V1.
  • the numerical control device 1 accelerates the spindle motor 71 until the spindle speed of the spindle motor 71 reaches the command speed.
  • the numerical control device 1 of the embodiment sends an acceleration command to the spindle motor 71 while changing the acceleration until the rotation speed of the spindle motor 71 during the spindle reversal reaches the command speed.
  • the numerical control device 1 When the spindle speed of the spindle motor 71 reaches the command speed, the numerical control device 1 reverses the spindle motor 71 again to change the tool 80 from reverse rotation to forward rotation in order to perform the next drilling process. As a result, the spindle rotation speed increases from a negative value, and after the spindle rotation speed becomes 0, it becomes a positive value.
  • the numerical control device 1 increases the acceleration above the current acceleration, acceleration A6. In other words, the numerical control device 1 controls the acceleration to an acceleration with an absolute value greater than that of acceleration A6.
  • the numerical control device 1 controls the acceleration of the spindle motor 71 to be acceleration A4 (> A6) corresponding to the reference value of the current FB value. This increases the slope of the spindle rotation speed.
  • speed transition V6 the speed transition when the current FB value is smaller than the reference value while the spindle motor 71 is rotating in the forward direction is shown as speed transition V6, and the speed transition after the acceleration is increased is shown as speed transition V4.
  • the numerical control device 1 decreases the acceleration below the current acceleration A5. In other words, the numerical control device 1 controls the acceleration to an acceleration with an absolute value smaller than that of acceleration A5.
  • the numerical control device 1 controls the acceleration of the spindle motor 71 to be acceleration A4, which corresponds to the reference value of the current FB value. This reduces the slope of the spindle rotation speed.
  • the numerical control device 1 monitors the current load of the spindle motor 71 during the reversing operation of the tool 80, and rotates the tool 80 at an appropriate acceleration that takes into account the load on the spindle motor 71, thereby removing chips from the tool 80.
  • the highest load is placed on the spindle motor 71 at the time the spindle reverses direction.
  • the machine tool 2 is a large machine, performing a reversal operation of the spindle at an acceleration higher than the acceleration corresponding to the allowable value of the current feedback value may cause an excessive load to be placed on the spindle motor 71.
  • the machine tool 2 is a machine that has gears between the spindle motor 71 and the tool 80, performing a reversal operation of the spindle at an acceleration higher than the acceleration corresponding to the allowable value of the current feedback value may accelerate wear of the gears, etc., and may promote wear of parts.
  • the numerical control device 1 of the embodiment reduces the acceleration when the acceleration is higher than the acceleration corresponding to the reference value of the current FB value. This allows the numerical control device 1 to prevent an excessive load from being placed on the spindle motor 71 even when the machine tool 2 is a large machine. Furthermore, the numerical control device 1 can slow down gear wear even when the machine tool 2 is a machine in which there is a gear between the spindle motor 71 and the tool 80.
  • the numerical control device 1 of the embodiment increases the acceleration when the acceleration is lower than the acceleration corresponding to the reference value of the current FB value. This enables the numerical control device 1 to shorten the processing time of the machine tool 2.
  • the numerical control device 1 when a load greater than a reference value is applied to the spindle motor 71, the numerical control device 1 operates the spindle motor 71 at a low acceleration, thereby preventing the occurrence of an excessive load on the spindle motor 71. As a result, the numerical control device 1 can slow down gear wear and therefore suppress wear on parts. Therefore, the numerical control device 1 can extend the mechanical life of the machine tool 2. Furthermore, when a load smaller than a reference value is applied to the spindle motor 71, the numerical control device 1 operates the spindle motor 71 at a higher acceleration than before, thereby shortening the cycle time of the drilling process.
  • FIG. 5 is a diagram showing an example of a hardware configuration for realizing a numerical control device according to an embodiment.
  • the numerical control device 1 can be realized by an input device 300, a processor 100, a memory 200, and an output device 400.
  • An example of the processor 100 is a CPU (also called a Central Processing Unit, central processing unit, processing unit, arithmetic unit, microprocessor, microcomputer, or DSP (Digital Signal Processor)) or a system LSI (Large Scale Integration).
  • An example of the memory 200 is a RAM (Random Access Memory) or a ROM (Read Only Memory).
  • the numerical control device 1 is realized by the processor 100 reading and executing a control operation program (not shown) that is stored in the memory 200 and can be executed by a computer to execute the operations of the numerical control device 1.
  • the control operation program which is a program for executing the operations of the numerical control device 1, can also be said to cause a computer to execute the procedures or methods of the numerical control device 1.
  • the control calculation program executed by the processor 100 has a modular configuration including the numerical control device 1, and these components are loaded onto the main memory device and generated on the main memory device.
  • the control calculation program executed by the processor 100 has a modular configuration including a machining operation generation unit 20, a chip removal operation generation unit 30, an interpolation unit 40, a servo motor control unit 50, and a motor FB information acquisition unit 60, and these components are loaded onto the main memory device and generated on the main memory device.
  • the input device 300 accepts information set by the user and sends it to the processor 100 or the memory 200.
  • the memory 200 stores control calculation programs, machining programs, various data (not shown), etc.
  • the memory 200 is also used as a shared area that is a temporary memory when the processor 100 executes various processes.
  • the output device 400 outputs a position command to the machine tool 2.
  • the control calculation program and machining program may be provided as a computer program product in the form of an installable or executable file stored on a computer-readable storage medium.
  • the control calculation program and machining program may also be provided to the numerical control device 1 via a network such as the Internet. Note that some of the functions of the numerical control device 1 may be realized by dedicated hardware such as a dedicated circuit, and some by software or firmware.
  • the numerical control device 1 of this embodiment operates the spindle motor 71 at a lower acceleration than at present, making it possible to reduce the load on the spindle motor 71 that rotates the tool 80 when removing chips entangled in the tool 80 from the tool 80.
  • the spindle motor 71 when the current FB value of the spindle motor 71 is smaller than the reference value, the spindle motor 71 is operated at a higher acceleration than at present, so that chips entangled in the tool 80 can be removed from the tool 80 in a short time.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Mechanical Engineering (AREA)
  • Geometry (AREA)
  • Numerical Control (AREA)
  • Drilling And Boring (AREA)
  • Automatic Control Of Machine Tools (AREA)

Abstract

A numerical value control device (1) comprises: a servo motor control unit (50) that controls a main spindle motor (71) of a machine tool (2) that performs a drilling process on a workpiece by regularly rotating an implement, and removes chips that have clung onto the implement from the implement by reversely rotating the implement; a current load determination unit (31) that compares the magnitude between a current feedback value of the main spindle motor (71) corresponding to a load applied to the main spindle motor (71) and a reference value, and determines whether to change the acceleration of the rotation of the main spindle motor (71) on the basis of the result of the comparison; and an acceleration change unit that changes the acceleration on the basis of the result of the determination.

Description

数値制御装置および数値制御方法Numerical control device and numerical control method

 本開示は、工作機械を制御する数値制御装置および数値制御方法に関する。 This disclosure relates to a numerical control device and a numerical control method for controlling a machine tool.

 工作機械の1つに工具を回転させて被加工物に穴あけ加工を行う工作機械がある。この工作機械は、穴あけ加工を行った際に切粉を発生させるので工具に切粉が絡まる場合がある。そして、工具に切粉が絡まった状態で工作機械が被加工物への穴あけ加工を継続すると、加工精度が悪化する。このため、工具に絡まった切粉は工具から除去することが望まれる。工具に絡まった切粉の除去が手作業で行わる場合、工作機械を停止したうえで工具から切粉を除去する必要があるので、穴あけ加工の加工効率が悪化する。 One type of machine tool is one that rotates a tool to drill holes in a workpiece. This machine tool generates chips when drilling holes, and the chips can get tangled around the tool. If the machine tool continues to drill holes in the workpiece with chips tangled around the tool, the machining accuracy deteriorates. For this reason, it is desirable to remove the chips tangled around the tool from the tool. If the chips tangled around the tool are removed manually, it is necessary to stop the machine tool before removing the chips from the tool, which reduces the machining efficiency of the drilling process.

 特許文献1に記載の数値制御装置は、穴あけ加工を行う工作機械に対し、工具がワークを切削した後に工具を逆回転させ、逆回転の時間が特定時間に到達した場合に逆回転を終了させることで切粉を除去している。 The numerical control device described in Patent Document 1 reverses the rotation of a tool in a machine tool that performs drilling after the tool has cut a workpiece, and removes chips by terminating the reverse rotation when a specific time has elapsed.

国際公開第2021/141016号International Publication No. 2021/141016

 しかしながら、上記特許文献1の技術では、機械特性が考慮されることなく工具を逆回転させているので、工具の回転方向を反転させる際に、工具を回転させる主軸モータに過大な負荷が発生する場合があるという問題があった。 However, the technology in Patent Document 1 above reverses the rotation of the tool without taking into account the mechanical characteristics, which causes a problem in that excessive load may be placed on the spindle motor that rotates the tool when reversing the rotation direction of the tool.

 本開示は、上記に鑑みてなされたものであって、工具の回転方向を反転させる際に、工具を回転させる主軸モータにかかる過負荷がかかることを防止することができる数値制御装置を得ることを目的とする。 The present disclosure has been made in consideration of the above, and aims to provide a numerical control device that can prevent an overload from being applied to the spindle motor that rotates the tool when reversing the rotation direction of the tool.

 上述した課題を解決し、目的を達成するために、本開示の数値制御装置は、工具を正回転させることで被加工物への穴あけ加工を行い且つ工具を逆回転させることで工具に絡まった切粉を工具から除去する工作機械の主軸モータを制御するサーボモータ制御部を備える。また、本開示の数値制御装置は、主軸モータにかかる負荷に対応する主軸モータの電流フィードバック値と、予め設定された基準値との大きさを比較し、比較の結果に基づいて、主軸モータの回転の加速度を変更するか否かを判定する電流負荷判定部と、判定の結果に基づいて加速度を変更する加速度変更部とを備える。 In order to solve the above problems and achieve the object, the numerical control device disclosed herein includes a servo motor control unit that controls a spindle motor of a machine tool that rotates a tool in the forward direction to drill a hole in a workpiece and rotates the tool in the reverse direction to remove chips entangled in the tool from the tool. The numerical control device disclosed herein also includes a current load determination unit that compares the magnitude of a current feedback value of the spindle motor, which corresponds to the load on the spindle motor, with a preset reference value, and determines whether or not to change the acceleration of the rotation of the spindle motor based on the comparison result, and an acceleration change unit that changes the acceleration based on the result of the determination.

 本開示にかかる数値制御装置は、工具の回転方向を反転させる際に、工具を回転させる主軸モータにかかる過負荷がかかることを防止することができるという効果を奏する。 The numerical control device disclosed herein has the effect of preventing an overload from being applied to the spindle motor that rotates the tool when reversing the rotation direction of the tool.

実施の形態にかかる数値制御装置の構成を示す図FIG. 1 is a diagram showing a configuration of a numerical control device according to an embodiment; 実施の形態にかかる数値制御装置が実行する処理の処理手順を示すフローチャート1 is a flowchart showing a procedure of processing executed by a numerical control device according to an embodiment; 実施の形態にかかる数値制御装置によって制御される工作機械が実行する穴あけ加工処理の処理手順を説明するための図FIG. 1 is a diagram for explaining a procedure of a drilling process executed by a machine tool controlled by a numerical control device according to an embodiment; 実施の形態にかかる数値制御装置が工作機械を制御する場合の主軸モータの主軸回転速度および加速度の例を説明するための図FIG. 1 is a diagram for explaining an example of a spindle rotation speed and an acceleration of a spindle motor when a numerical control device according to an embodiment controls a machine tool; 実施の形態にかかる数値制御装置を実現するハードウェア構成例を示す図FIG. 1 is a diagram showing an example of a hardware configuration for implementing a numerical control device according to an embodiment;

 以下に、本開示の実施の形態にかかる数値制御装置および数値制御方法を図面に基づいて詳細に説明する。 The numerical control device and numerical control method according to the embodiments of the present disclosure are described in detail below with reference to the drawings.

実施の形態.
 図1は、実施の形態にかかる数値制御装置の構成を示す図である。数値制御装置1は、工作機械2に接続されており、工作機械2を制御する。工作機械2は、工具(図示せず)を正回転させることで被加工物であるワークに穴あけ加工などの加工を行う。工作機械2は、サーボモータ70を備えている。
Embodiment
1 is a diagram showing the configuration of a numerical control device according to an embodiment. The numerical control device 1 is connected to a machine tool 2 and controls the machine tool 2. The machine tool 2 performs machining such as drilling a hole on a workpiece by rotating a tool (not shown) in the normal direction. The machine tool 2 is equipped with a servo motor 70.

 サーボモータ70は、主軸モータ(主軸サーボモータ)71と、送り軸モータ(送り軸サーボモータ)72とを有している。なお、図1では、工作機械2が1つの送り軸モータ72を備え、1つの送り軸モータ72によって工具または被加工物を1つの方向に移動させる場合について説明するが、工作機械2は複数の送り軸モータ72を備えていてもよい。この場合、工作機械2は、複数の送り軸モータ72によって工具または被加工物を複数の方向に移動させる。工作機械2は、例えば、3軸方向に工具を移動させる場合、3つの送り軸モータ72を有している。また、工作機械2は、複数のサーボモータ70を有していてもよい。 The servo motor 70 has a spindle motor (spindle servo motor) 71 and a feed axis motor (feed axis servo motor) 72. Note that in FIG. 1, a case is described in which the machine tool 2 has one feed axis motor 72 and the tool or workpiece is moved in one direction by the one feed axis motor 72, but the machine tool 2 may have multiple feed axis motors 72. In this case, the machine tool 2 moves the tool or workpiece in multiple directions by the multiple feed axis motors 72. For example, when moving a tool in three axial directions, the machine tool 2 has three feed axis motors 72. The machine tool 2 may also have multiple servo motors 70.

 主軸モータ71には、工具が取り付けられる。主軸モータ71は、回転軸を回転させることで工具を回転させる。送り軸モータ72は、工具または被加工物を特定方向に移動させることで、工具と被加工物とを特定方向に相対移動させる。以下では、送り軸モータ72が工具を特定方向に移動させる場合について説明するが、送り軸モータ72が被加工物を特定方向に移動させてもよい。 A tool is attached to the spindle motor 71. The spindle motor 71 rotates the tool by rotating the rotating shaft. The feed axis motor 72 moves the tool or the workpiece in a specific direction, thereby moving the tool and the workpiece relatively in a specific direction. Below, a case where the feed axis motor 72 moves the tool in a specific direction is described, but the feed axis motor 72 may also move the workpiece in a specific direction.

 また、工作機械2は、主軸モータ71に搭載された回転軸の回転位置および回転速度を検出する検出器(図示せず)を備えている。また、工作機械2は、送り軸モータ72に搭載された回転軸の回転位置および回転速度を検出する検出器(図示せず)を備えている。これらの検出器が検出した回転位置および回転速度は、数値制御装置1に送られる。 The machine tool 2 also has a detector (not shown) that detects the rotational position and rotational speed of the rotating shaft mounted on the spindle motor 71. The machine tool 2 also has a detector (not shown) that detects the rotational position and rotational speed of the rotating shaft mounted on the feed shaft motor 72. The rotational position and rotational speed detected by these detectors are sent to the numerical control device 1.

 数値制御装置1は、主軸モータ71および送り軸モータ72を制御するコンピュータである。数値制御装置1は、検出器が検出した主軸モータ71の回転軸の回転位置および回転速度に基づいて、主軸モータ71をフィードバック制御する。また、数値制御装置1は、検出器が検出した送り軸モータ72の回転軸の回転位置および回転速度に基づいて、送り軸モータ72をフィードバック制御する。 The numerical control device 1 is a computer that controls the spindle motor 71 and the feed shaft motor 72. The numerical control device 1 feedback controls the spindle motor 71 based on the rotational position and rotational speed of the rotating shaft of the spindle motor 71 detected by a detector. The numerical control device 1 also feedback controls the feed shaft motor 72 based on the rotational position and rotational speed of the rotating shaft of the feed shaft motor 72 detected by a detector.

 数値制御装置1は、工作機械2を制御することで、工作機械2に取り付けられた工具を正回転させ、これにより工作機械2に被加工物への穴あけ加工を行わせる。また、数値制御装置1は、工作機械2を制御することで、工作機械2に取り付けられた工具を逆回転させ、これにより、工具に絡まった切粉を工作機械2に除去させる。 The numerical control device 1 controls the machine tool 2 to rotate the tool attached to the machine tool 2 in the forward direction, thereby causing the machine tool 2 to perform drilling on the workpiece. The numerical control device 1 also controls the machine tool 2 to rotate the tool attached to the machine tool 2 in the reverse direction, thereby causing the machine tool 2 to remove chips entangled in the tool.

 数値制御装置1は、工具を回転させる際には、主軸モータ71の電流負荷に基づいて、電流負荷に応じた加速度(主軸回転加速度)で主軸モータ71の主軸を回転させる。数値制御装置1は、回転方向を正回転から逆回転に反転させる際に、電流負荷に応じた加速度で主軸モータ71の主軸を回転させる。また、数値制御装置1は、回転方向を逆回転から正回転に反転させる際に、電流負荷に応じた加速度で主軸モータ71の主軸を回転させる。 When rotating the tool, the numerical control device 1 rotates the spindle of the spindle motor 71 at an acceleration (spindle rotation acceleration) corresponding to the current load based on the current load of the spindle motor 71. When reversing the rotation direction from forward rotation to reverse rotation, the numerical control device 1 rotates the spindle of the spindle motor 71 at an acceleration corresponding to the current load. Also, when reversing the rotation direction from reverse rotation to forward rotation, the numerical control device 1 rotates the spindle of the spindle motor 71 at an acceleration corresponding to the current load.

 数値制御装置1は、記憶部10と、加工動作生成部20と、切粉除去動作生成部30と、補間部40と、サーボモータ制御部50と、モータFB(Feedback、フィードバック)情報取得部60とを備えている。 The numerical control device 1 includes a memory unit 10, a machining operation generation unit 20, a chip removal operation generation unit 30, an interpolation unit 40, a servo motor control unit 50, and a motor FB (Feedback) information acquisition unit 60.

 記憶部10は、加工プログラムおよび種々のデータ(図示せず)を記憶する。加工プログラムは、工作機械2に穴あけ加工をさせるためのプログラムである。加工プログラムには、固定サイクルが含まれている。固定サイクルは、穴あけ加工などの使用頻度が高い加工を1ブロックで実行できるように設定された指令(Gコード)である。固定サイクルでは、複数ブロックの指令が1ブロックで記述されている。記憶部10が記憶する種々のデータには、加工動作生成部20および切粉除去動作生成部30が動作する際に用いるデータなどが含まれている。 The memory unit 10 stores a machining program and various data (not shown). The machining program is a program for causing the machine tool 2 to perform drilling. The machining program includes a canned cycle. The canned cycle is a command (G code) set so that a frequently used machining operation, such as a drilling operation, can be executed in one block. In a canned cycle, multiple blocks of commands are written in one block. The various data stored in the memory unit 10 includes data used when the machining operation generation unit 20 and the chip removal operation generation unit 30 operate.

 加工動作生成部20は、加工プログラムの解析結果に基づいて、工作機械2が穴あけ加工を実行する際の動作指令を生成する。加工動作生成部20は、記憶部10を一時メモリとして用いながら動作する。 The machining operation generating unit 20 generates operation commands for the machine tool 2 to execute drilling based on the analysis results of the machining program. The machining operation generating unit 20 operates while using the storage unit 10 as a temporary memory.

 加工動作生成部20は、プログラム解析部21と、サイクル生成部22とを有している。プログラム解析部21は、記憶部10から加工プログラムを読み出す。プログラム解析部21は、加工プログラムを解析し、加工プログラムに記述されている動作指令の情報を算出する。 The machining operation generation unit 20 has a program analysis unit 21 and a cycle generation unit 22. The program analysis unit 21 reads out the machining program from the storage unit 10. The program analysis unit 21 analyzes the machining program and calculates information on the operation commands described in the machining program.

 加工プログラムに記述されている動作指令の情報は、サイクル生成部22が動作指令を生成する際に用いられる情報である。動作指令を生成する際に用いられる情報は、例えば、工具と被加工物との相対的な移動経路を定義する始終点(始点および終点)の座標値、始終点を結ぶ移動経路の補間方法(直線補間、円弧補間など)、工具が移動する際の送り速度、主軸モータ71の回転数、主軸モータ71の回転方向などである。プログラム解析部21は、解析結果として、加工プログラムに記述されている動作指令の情報をサイクル生成部22および切粉除去動作生成部30に送信する。 The information on the operation commands described in the machining program is information used by the cycle generation unit 22 when generating the operation commands. The information used when generating the operation commands includes, for example, the coordinate values of the start and end points (start and end points) that define the relative movement path between the tool and the workpiece, the interpolation method (linear interpolation, circular interpolation, etc.) of the movement path connecting the start and end points, the feed speed when the tool moves, the rotation speed of the spindle motor 71, and the rotation direction of the spindle motor 71. The program analysis unit 21 transmits the information on the operation commands described in the machining program as the analysis result to the cycle generation unit 22 and the chip removal operation generation unit 30.

 サイクル生成部22は、プログラム解析部21から送られてくる解析結果に基づいて、穴あけサイクルの指令を生成する。サイクル生成部22は、生成した穴あけサイクルの指令を補間部40に送信する。 The cycle generation unit 22 generates a drilling cycle command based on the analysis results sent from the program analysis unit 21. The cycle generation unit 22 transmits the generated drilling cycle command to the interpolation unit 40.

 モータFB情報取得部60は、主軸モータ71にかかる電流負荷に対応する電流フィードバック値(電流FB値)、すなわち負荷情報を取得する。電流FB値は、主軸モータ71の駆動に要した電流値であり、主軸モータ71のフィードバック制御に用いられる。モータFB情報取得部60は、工作機械2から主軸モータ71の電流FB値を取得し、切粉除去動作生成部30に送信する。なお、モータFB情報取得部60は、主軸モータ71の電流FB値を継続的に取得し、常時監視している。 The motor feedback information acquisition unit 60 acquires a current feedback value (current feedback value) corresponding to the current load on the spindle motor 71, i.e., load information. The current feedback value is the current value required to drive the spindle motor 71, and is used for feedback control of the spindle motor 71. The motor feedback information acquisition unit 60 acquires the current feedback value of the spindle motor 71 from the machine tool 2, and transmits it to the chip removal operation generation unit 30. The motor feedback information acquisition unit 60 continuously acquires the current feedback value of the spindle motor 71 and constantly monitors it.

 また、モータFB情報取得部60は、主軸モータ71の主軸速度を常時監視する。モータFB情報取得部60は、工作機械2から主軸モータ71の主軸速度を取得し、切粉除去動作生成部30に送信する。 In addition, the motor feedback information acquisition unit 60 constantly monitors the spindle speed of the spindle motor 71. The motor feedback information acquisition unit 60 acquires the spindle speed of the spindle motor 71 from the machine tool 2 and transmits it to the chip removal operation generation unit 30.

 また、モータFB情報取得部60は、工具の位置を常時監視する。モータFB情報取得部60は、工作機械2から工具の位置であるFB位置を取得し、切粉除去動作生成部30に送信する。なお、モータFB情報取得部60は、サーボモータ制御部50がサーボモータ70に送信する位置指令に基づいて工具の位置を算出してもよい。 The motor FB information acquisition unit 60 also constantly monitors the position of the tool. The motor FB information acquisition unit 60 acquires the FB position, which is the position of the tool, from the machine tool 2 and transmits it to the chip removal operation generation unit 30. The motor FB information acquisition unit 60 may also calculate the position of the tool based on a position command transmitted to the servo motor 70 by the servo motor control unit 50.

 切粉除去動作生成部30は、プログラム解析部21から送られてくる解析結果に基づいて、工作機械2が切粉の除去を実行する際の動作指令を生成する。切粉除去動作生成部30は、記憶部10を一時メモリとして用いながら動作する。切粉除去動作生成部30は、電流負荷判定部31と、加速度制御部32と、回転方向変更部33とを有している。 The chip removal operation generation unit 30 generates operation commands for the machine tool 2 to remove chips based on the analysis results sent from the program analysis unit 21. The chip removal operation generation unit 30 operates while using the storage unit 10 as temporary memory. The chip removal operation generation unit 30 has a current load determination unit 31, an acceleration control unit 32, and a rotation direction change unit 33.

 回転方向変更部33は、モータFB情報取得部60から工具の位置を示すFB位置を受信する。回転方向変更部33は、FB位置が特定位置(後述する復帰点)に戻ってくると、主軸モータ71の回転方向を変更する指令(反転指令)を補間部40に出力する。具体的には、回転方向変更部33は、FB位置が復帰点に戻ってくると、主軸モータ71の回転方向を正回転から逆回転に反転させる指令を補間部40に出力し、その後、逆回転から正回転に反転させる指令を補間部40に出力する。これにより、回転方向変更部33は、工具の回転方向を変更させる。 The rotation direction change unit 33 receives the FB position indicating the position of the tool from the motor FB information acquisition unit 60. When the FB position returns to a specific position (the return point described below), the rotation direction change unit 33 outputs a command (reverse command) to change the rotation direction of the spindle motor 71 to the interpolation unit 40. Specifically, when the FB position returns to the return point, the rotation direction change unit 33 outputs a command to the interpolation unit 40 to reverse the rotation direction of the spindle motor 71 from forward rotation to reverse rotation, and then outputs a command to the interpolation unit 40 to reverse from reverse rotation to forward rotation. As a result, the rotation direction change unit 33 changes the rotation direction of the tool.

 回転方向変更部33は、切粉を除去させる際に、工具(主軸)を逆回転させる。また、回転方向変更部33は、工作機械2が次の穴あけ加工を実行する際に、主軸を正回転させる。 The rotation direction change unit 33 rotates the tool (spindle) in the reverse direction when removing chips. The rotation direction change unit 33 also rotates the spindle in the forward direction when the machine tool 2 performs the next drilling operation.

 回転方向変更部33は、例えば、工具が1つの穴あけ加工を完了した後、工具がイニシャル点(I点)である復帰点(固定サイクルが開始される位置)に移動した際に、主軸モータ71の回転方向を逆回転に変更させる。 The rotation direction change unit 33 changes the rotation direction of the spindle motor 71 to reverse rotation, for example, when the tool completes a drilling operation and moves to the initial point (point I), which is the return point (the position where the fixed cycle begins).

 なお、回転方向変更部33は、工具が1つの穴あけ加工を完了した後、工具がリファレンス点(切削送りを開始する位置)に移動した際に、主軸モータ71の回転方向を逆回転に変更してもよい。 In addition, the rotation direction change unit 33 may change the rotation direction of the spindle motor 71 to reverse rotation when the tool moves to a reference point (the position where the cutting feed starts) after the tool has completed one drilling operation.

 実施の形態では、回転方向変更部33は、工具が1つの穴あけ加工を完了した後、工具が復帰点に移動すると、主軸モータ71の回転方向を逆回転に変更する場合について説明する。 In this embodiment, the rotation direction change unit 33 changes the rotation direction of the spindle motor 71 to reverse rotation when the tool moves to the return point after completing one drilling operation.

 回転方向変更部33は、工具が復帰点に移動して主軸を逆回転させた後、主軸モータ71の回転速度である主軸速度が、加工プログラムの解析結果に含まれている指令速度に到達するまで主軸モータ71の逆回転を継続する。回転方向変更部33は、主軸速度が指令速度に到達すると、主軸モータ71の回転方向を正回転に変更する。 After the tool moves to the return point and the spindle is rotated in reverse, the rotation direction change unit 33 continues to rotate the spindle motor 71 in reverse until the spindle speed, which is the rotational speed of the spindle motor 71, reaches the command speed included in the analysis result of the machining program. When the spindle speed reaches the command speed, the rotation direction change unit 33 changes the rotation direction of the spindle motor 71 to forward rotation.

 電流負荷判定部31は、主軸反転動作中にモータFB情報取得部60から受信した電流FB値と、予め設定された電流負荷の基準値とを比較する。主軸反転動作は、工作機械2が工具を現在の回転方向から逆方向に回転させる動作である。主軸反転動作には、主軸モータ71の回転方向を正回転から逆回転に変更する動作と、主軸モータ71の回転方向を逆回転から正回転に変更する動作とがある。主軸モータ71における電流負荷の基準値は、主軸モータ71における電流負荷の許容値よりも小さな値である。 The current load determination unit 31 compares the current FB value received from the motor FB information acquisition unit 60 during the spindle reversal operation with a preset reference value of the current load. The spindle reversal operation is an operation in which the machine tool 2 rotates the tool in the opposite direction from the current rotation direction. Spindle reversal operations include an operation to change the rotation direction of the spindle motor 71 from forward rotation to reverse rotation, and an operation to change the rotation direction of the spindle motor 71 from reverse rotation to forward rotation. The reference value of the current load in the spindle motor 71 is a value smaller than the allowable value of the current load in the spindle motor 71.

 電流負荷判定部31は、電流FB値と基準値とを比較し、電流FB値が基準値よりも大きいか、電流FB値が基準値よりも小さいか、電流FB値が基準値と同じであるかを判定する。このように、電流負荷判定部31は、電流負荷の基準値と、現在の電流FB値との何れが大きいかを判定する。 The current load determination unit 31 compares the current FB value with the reference value and determines whether the current FB value is greater than the reference value, whether the current FB value is smaller than the reference value, or whether the current FB value is the same as the reference value. In this way, the current load determination unit 31 determines which is greater: the reference value of the current load or the current current FB value.

 電流負荷判定部31は、電流FB値と基準値との大きさの比較結果に基づいて、主軸モータ71の回転の加速度を変更するか否かを判定する。具体的には、電流負荷判定部31は、主軸モータ71の電流FB値が基準値よりも大きい場合には、現在よりも低加速度で主軸モータ71を動作させると判定する。一方、電流負荷判定部31は、電流FB値が基準値よりも小さい場合には、現在よりも高加速度で主軸モータ71を動作させると判定する。 The current load determination unit 31 determines whether or not to change the acceleration of the rotation of the spindle motor 71 based on the result of comparing the magnitude of the current FB value with the reference value. Specifically, when the current FB value of the spindle motor 71 is greater than the reference value, the current load determination unit 31 determines that the spindle motor 71 should be operated at a lower acceleration than the current one. On the other hand, when the current FB value is smaller than the reference value, the current load determination unit 31 determines that the spindle motor 71 should be operated at a higher acceleration than the current one.

 実施の形態における加速度は、加速度の絶対値である。したがって、実施の形態における低加速度は、現在の加速度の絶対値よりも、絶対値が小さい加速度である。また、実施の形態における高加速度は、現在の加速度の絶対値よりも、絶対値が大きい加速度である。 In the embodiment, the acceleration is the absolute value of the acceleration. Therefore, a low acceleration in the embodiment is an acceleration whose absolute value is smaller than the absolute value of the current acceleration. Also, a high acceleration in the embodiment is an acceleration whose absolute value is larger than the absolute value of the current acceleration.

 電流負荷判定部31は、現在よりも低加速度で主軸モータ71を動作させると判定した場合には、現在よりも低加速度で主軸モータ71を動作させる指令(以下、低加速度指令という場合がある)を加速度制御部32に送信する。 If the current load determination unit 31 determines that the spindle motor 71 should be operated at a slower acceleration than the current acceleration, it sends a command to the acceleration control unit 32 to operate the spindle motor 71 at a slower acceleration than the current acceleration (hereinafter, sometimes referred to as a low acceleration command).

 一方、電流負荷判定部31は、現在よりも高加速度で主軸モータ71を動作させると判定した場合には、現在よりも高加速度で主軸モータ71を動作させる指令(以下、高加速度指令という場合がある)を加速度制御部32に送信する。 On the other hand, if the current load determination unit 31 determines that the spindle motor 71 should be operated at a higher acceleration than the current speed, it sends a command to the acceleration control unit 32 to operate the spindle motor 71 at a higher acceleration than the current speed (hereinafter, sometimes referred to as a high acceleration command).

 なお、電流負荷判定部31は、電流FB値と基準値との差分(以下、電流差分値という場合がある)を算出してもよい。この場合、電流負荷判定部31は、電流差分値の大きさに対応する加速度の変更量(上昇量または下降量)を算出する。 The current load determination unit 31 may also calculate the difference between the current FB value and the reference value (hereinafter, sometimes referred to as the current difference value). In this case, the current load determination unit 31 calculates the amount of change (amount of increase or decrease) in acceleration that corresponds to the magnitude of the current difference value.

 電流負荷判定部31は、電流差分値が大きいほど、大きな上昇量または下降量で加速度を変化させる加速度指令(低加速度指令または高加速度指令)を生成する。すなわち、電流負荷判定部31は、電流FB値が基準値よりも大きい場合、電流差分値が大きいほど加速度を大きく下降させる低加速度指令を生成する。 The current load determination unit 31 generates an acceleration command (low acceleration command or high acceleration command) that changes the acceleration by a larger amount of increase or decrease as the current difference value increases. In other words, when the current FB value is greater than the reference value, the current load determination unit 31 generates a low acceleration command that decreases the acceleration by a larger amount as the current difference value increases.

 また、電流負荷判定部31は、電流FB値が基準値よりも小さい場合、電流差分値が大きいほど加速度を大きく上昇させる高加速度指令を生成する。電流負荷判定部31は、電流FB値と基準値とが同じ値である場合には、加速度指令を生成しない。なお、電流負荷判定部31は、電流差分値が特定値よりも小さい場合には、加速度指令を生成しなくてもよい。 In addition, when the current FB value is smaller than the reference value, the current load determination unit 31 generates a high acceleration command that increases the acceleration more as the current difference value increases. When the current FB value and the reference value are the same value, the current load determination unit 31 does not generate an acceleration command. Note that the current load determination unit 31 does not need to generate an acceleration command when the current difference value is smaller than a specific value.

 電流負荷判定部31が用いる基準値は、特定の範囲であってもよい。すなわち、電流FB値と比較される基準値は、電流FB値の許容範囲であってもよい。この場合、電流負荷判定部31は、電流FB値が許容範囲の最小値よりも小さいか、電流FB値が許容範囲の最大値よりも大きいか、電流FB値が許容範囲内であるかを判定する。 The reference value used by the current load determination unit 31 may be in a specific range. That is, the reference value to be compared with the current FB value may be within the allowable range of the current FB value. In this case, the current load determination unit 31 determines whether the current FB value is smaller than the minimum value of the allowable range, whether the current FB value is larger than the maximum value of the allowable range, or whether the current FB value is within the allowable range.

 電流負荷判定部31は、電流FB値が許容範囲の最小値よりも小さい場合に、高加速度指令を加速度制御部32に送信する。電流負荷判定部31は、電流FB値が許容範囲の最大値よりも大きい場合に、低加速度指令を加速度制御部32に送信する。 When the current FB value is smaller than the minimum value of the allowable range, the current load determination unit 31 sends a high acceleration command to the acceleration control unit 32. When the current FB value is larger than the maximum value of the allowable range, the current load determination unit 31 sends a low acceleration command to the acceleration control unit 32.

 電流負荷判定部31は、電流FB値が許容範囲の最小値よりも小さい場合、電流FB値と許容範囲の最小値との差分を電流差分値として算出してもよい。また、電流負荷判定部31は、電流FB値が許容範囲の最大値よりも大きい場合、電流FB値と許容範囲の最大値との差分を電流差分値として算出してもよい。これらの場合も、電流負荷判定部31は、電流差分値の大きさに対応する加速度の変更量を算出する。 When the current FB value is smaller than the minimum value of the allowable range, the current load determination unit 31 may calculate the difference between the current FB value and the minimum value of the allowable range as the current difference value. Also, when the current FB value is larger than the maximum value of the allowable range, the current load determination unit 31 may calculate the difference between the current FB value and the maximum value of the allowable range as the current difference value. In these cases as well, the current load determination unit 31 calculates the amount of change in acceleration that corresponds to the magnitude of the current difference value.

 加速度制御部32は、電流負荷判定部31により実行された判定の結果に基づいて、主軸モータ71の加速度(回転動作の加速度)を変更する。例えば、加速度制御部32は、主軸反転動作中(工具に絡まった切粉を除去する間)に電流負荷判定部31から受信した加速度指令に基づいて、主軸モータ71の加速度を制御するための動作指令を生成する。 The acceleration control unit 32 changes the acceleration of the spindle motor 71 (the acceleration of the rotational operation) based on the result of the judgment performed by the current load judgment unit 31. For example, the acceleration control unit 32 generates an operation command for controlling the acceleration of the spindle motor 71 based on the acceleration command received from the current load judgment unit 31 during the spindle reversal operation (while removing chips entangled in the tool).

 加速度制御部32は、低加速度指令を受信した場合には、主軸モータ71の加速度を下降させる動作指令を生成する。一方、加速度制御部32は、高加速度指令を受信した場合には、主軸モータ71の加速度を上昇させる動作指令を生成する。 When the acceleration control unit 32 receives a low acceleration command, it generates an operation command to decrease the acceleration of the spindle motor 71. On the other hand, when the acceleration control unit 32 receives a high acceleration command, it generates an operation command to increase the acceleration of the spindle motor 71.

 加速度制御部32は、加速度がプラスの値である場合、プラスの値の加速度にさせる動作指令を生成し、加速度がマイナスの値である場合、マイナスの値の加速度にさせる動作指令を生成する。 If the acceleration is a positive value, the acceleration control unit 32 generates an operation command to change the acceleration to a positive value, and if the acceleration is a negative value, the acceleration control unit 32 generates an operation command to change the acceleration to a negative value.

 加速度制御部32は、例えば、低加速度指令を受信した場合には、主軸モータ71の加速度を一定値ずつ下降させる動作指令を生成する。また、加速度制御部32は、例えば、高加速度指令を受信した場合には、主軸モータ71の加速度を一定値ずつ上昇させる動作指令を生成する。 For example, when the acceleration control unit 32 receives a low acceleration command, it generates an operation command to decrease the acceleration of the spindle motor 71 by a constant value. Also, when the acceleration control unit 32 receives a high acceleration command, it generates an operation command to increase the acceleration of the spindle motor 71 by a constant value.

 加速度を上昇させる際の上昇量(一定値)および下降させる際の下降量(一定値)は、例えば、ユーザによってパラメータなどで設定されてもよいし、数値制御装置1に予め登録されていてもよい。 The amount of increase (constant value) when increasing the acceleration and the amount of decrease (constant value) when decreasing the acceleration may be set by the user using parameters, for example, or may be preregistered in the numerical control device 1.

 なお、加速度制御部32は、加速度指令(低加速度指令または高加速度指令)に加速度の変更量(上昇量または下降量)が含まれている場合には、この変更量に対応する動作指令を生成する。すなわち、加速度制御部32は、受信した低加速度指令に加速度の変更量が含まれている場合、この変更量の分だけ加速度を下降させる動作指令を生成する。また、加速度制御部32は、受信した高加速度指令に加速度の変更量が含まれている場合、この変更量の分だけ加速度を上昇させる動作指令を生成する。 When the acceleration command (low acceleration command or high acceleration command) includes a change amount (increase or decrease amount) in acceleration, the acceleration control unit 32 generates an operation command corresponding to this change amount. In other words, when the received low acceleration command includes a change amount in acceleration, the acceleration control unit 32 generates an operation command to decrease the acceleration by this change amount. When the received high acceleration command includes a change amount in acceleration, the acceleration control unit 32 generates an operation command to increase the acceleration by this change amount.

 なお、電流負荷判定部31は、電流FB値が基準値を超えないように加速度の変更量を決定してもよい。すなわち、電流負荷判定部31は、電流FB値が基準値よりも小さい場合であっても、加速度を一定値だけ上昇させると、電流FB値が基準値よりも大きくなると判定した場合は、加速度を上昇させなくてもよい。換言すると、電流負荷判定部31は、主軸モータ71の加速度が基準値よりも小さくなり、且つ主軸モータ71の加速度が基準値に近付くように加速度の上昇量または下降量を決定してもよい。 The current load determination unit 31 may determine the amount of change in acceleration so that the current FB value does not exceed the reference value. In other words, even if the current FB value is smaller than the reference value, if the current load determination unit 31 determines that increasing the acceleration by a certain value will cause the current FB value to become larger than the reference value, the current load determination unit 31 may not need to increase the acceleration. In other words, the current load determination unit 31 may determine the amount of increase or decrease in acceleration so that the acceleration of the spindle motor 71 becomes smaller than the reference value and approaches the reference value.

 電流負荷判定部31が電流FB値の許容範囲に基づいて加速度指令を生成する場合、加速度制御部32は、電流負荷判定部31から加速度指令を受信すると、電流FB値が許容範囲内となる動作指令を生成する。 When the current load determination unit 31 generates an acceleration command based on the allowable range of the current FB value, upon receiving an acceleration command from the current load determination unit 31, the acceleration control unit 32 generates an operation command that brings the current FB value into the allowable range.

 具体的には、加速度制御部32は、電流負荷判定部31から高加速度指令を受信すると、加速度を上昇させることで、電流FB値が許容範囲内となる動作指令を生成する。これにより、電流FB値が許容範囲の最小値よりも小さい場合には、加速度を上昇させることで電流FB値が許容範囲内となる。 Specifically, when the acceleration control unit 32 receives a high acceleration command from the current load determination unit 31, it generates an operation command to increase the acceleration so that the current FB value is within the allowable range. As a result, if the current FB value is smaller than the minimum value of the allowable range, the current FB value is brought within the allowable range by increasing the acceleration.

 また、加速度制御部32は、電流負荷判定部31から低加速度指令を受信すると、加速度を下降させることで、電流FB値が許容範囲内となる動作指令を生成する。これにより、電流FB値が許容範囲の最大値よりも大きい場合には、加速度を下降させることで、電流FB値が許容範囲内となる。 Furthermore, when the acceleration control unit 32 receives a low acceleration command from the current load determination unit 31, it generates an operation command to bring the current FB value within the allowable range by lowering the acceleration. As a result, when the current FB value is greater than the maximum value of the allowable range, the current FB value is brought within the allowable range by lowering the acceleration.

 このように、加速度制御部32は、電流負荷判定部31が現在よりも低加速度で主軸モータ71を動作させると判定した場合には加速度を下げる。また、加速度制御部32は、電流負荷判定部31が現在よりも高加速度で主軸モータ71を動作させると判定した場合は加速度を上げる。すなわち、加速度制御部32は、電流負荷判定部31の判定結果(加速度指令)に基づいて、主軸モータ71の加速度を決定する。加速度制御部32は、決定した主軸モータ71の加速度に対応する動作指令を生成し、生成した動作指令を補間部40に送信する。加速度制御部32は、制御周期毎または特定期間(例えば、10msec)毎に加速度を変更させる動作指令を生成して補間部40に送信する。 In this way, the acceleration control unit 32 decreases the acceleration when the current load determination unit 31 determines that the spindle motor 71 should be operated at a lower acceleration than the current acceleration. Also, the acceleration control unit 32 increases the acceleration when the current load determination unit 31 determines that the spindle motor 71 should be operated at a higher acceleration than the current acceleration. That is, the acceleration control unit 32 determines the acceleration of the spindle motor 71 based on the determination result (acceleration command) of the current load determination unit 31. The acceleration control unit 32 generates an operation command corresponding to the determined acceleration of the spindle motor 71 and transmits the generated operation command to the interpolation unit 40. The acceleration control unit 32 generates an operation command to change the acceleration for each control cycle or each specific period (for example, 10 msec) and transmits it to the interpolation unit 40.

 補間部40は、サイクル生成部22から穴あけサイクルの指令を受信する。また、補間部40は、回転方向変更部33から主軸モータ71の回転方向を変更させる指令を受信する。また、補間部40は、加速度制御部32から加速度の動作指令を受信する。 The interpolation unit 40 receives a drilling cycle command from the cycle generation unit 22. The interpolation unit 40 also receives a command to change the rotation direction of the spindle motor 71 from the rotation direction change unit 33. The interpolation unit 40 also receives an acceleration operation command from the acceleration control unit 32.

 補間部40は、サイクル生成部22から受信した指令と、切粉除去動作生成部30から受信した指令とに基づいて、サーボモータ70の制御命令(移動指令)を生成する。具体的には、穴あけサイクルの指令に基づいて、穴あけ加工を行うための、主軸モータ71の制御命令および送り軸モータ72の制御命令を生成する。また、補間部40は、主軸モータ71の回転方向を変更させる指令に基づいて、主軸モータ71の回転方向を変更するための、主軸モータ71の制御命令を生成する。また、補間部40は、主軸を加速度の動作指令に対応する加速度で回転させるための、主軸モータ71の制御命令を生成する。補間部40は、生成した制御命令をサーボモータ制御部50に送信する。 The interpolation unit 40 generates a control command (movement command) for the servo motor 70 based on the command received from the cycle generation unit 22 and the command received from the chip removal operation generation unit 30. Specifically, based on the command for the drilling cycle, it generates a control command for the spindle motor 71 and a control command for the feed axis motor 72 to perform drilling. In addition, based on a command to change the rotation direction of the spindle motor 71, the interpolation unit 40 generates a control command for the spindle motor 71 to change the rotation direction of the spindle motor 71. In addition, the interpolation unit 40 generates a control command for the spindle motor 71 to rotate the spindle at an acceleration corresponding to the acceleration operation command. The interpolation unit 40 transmits the generated control commands to the servo motor control unit 50.

 サーボモータ制御部50は、補間部40から受信した制御命令に従って位置指令を生成し、位置指令によってサーボモータ70を制御する。なお、サーボモータ制御部50は、補間部40から受信した制御命令に従って速度指令を生成し、速度指令によってサーボモータ70を制御してもよい。 The servo motor control unit 50 generates a position command according to the control command received from the interpolation unit 40, and controls the servo motor 70 using the position command. The servo motor control unit 50 may also generate a speed command according to the control command received from the interpolation unit 40, and control the servo motor 70 using the speed command.

 つぎに、数値制御装置1が実行する処理の処理手順について説明する。図2は、実施の形態にかかる数値制御装置が実行する処理の処理手順を示すフローチャートである。数値制御装置1は、穴あけ加工の制御を開始すると、モータFB情報取得部60が、工作機械2から主軸モータ71の電流FB値を取得し(ステップS10)、切粉除去動作生成部30に送信する。 Next, the processing procedure of the process executed by the numerical control device 1 will be described. FIG. 2 is a flowchart showing the processing procedure of the process executed by the numerical control device according to the embodiment. When the numerical control device 1 starts controlling the drilling process, the motor feedback information acquisition unit 60 acquires the current feedback value of the spindle motor 71 from the machine tool 2 (step S10) and transmits it to the chip removal operation generation unit 30.

 切粉除去動作生成部30の電流負荷判定部31は、モータFB情報取得部60から受信した電流FB値と、予め設定された電流負荷の基準値とを比較する。すなわち、電流負荷判定部31は、電流FB値が基準値よりも大きいか否かを判定する(ステップS20)。 The current load determination unit 31 of the chip removal operation generation unit 30 compares the current FB value received from the motor FB information acquisition unit 60 with a preset reference value of the current load. That is, the current load determination unit 31 determines whether the current FB value is greater than the reference value (step S20).

 電流負荷判定部31は、例えば、主軸反転動作中に電流FB値が基準値よりも大きいか否かを判定する。すなわち、電流負荷判定部31は、主軸モータ71の回転方向を正回転から逆回転に反転させる際に電流FB値が基準値よりも大きいか否かを判定する。また、電流負荷判定部31は、主軸モータ71の回転方向を逆回転から正回転に反転させる際に電流FB値が基準値よりも大きいか否かを判定する。 The current load determination unit 31, for example, determines whether the current FB value is greater than a reference value during a spindle reversal operation. That is, the current load determination unit 31 determines whether the current FB value is greater than a reference value when the rotation direction of the spindle motor 71 is reversed from forward rotation to reverse rotation. The current load determination unit 31 also determines whether the current FB value is greater than a reference value when the rotation direction of the spindle motor 71 is reversed from reverse rotation to forward rotation.

 電流FB値が基準値よりも大きい場合(ステップS20、Yes)、電流負荷判定部31は、主軸モータ71を現在よりも低加速度で回転させると判定する(ステップS30)。この場合、電流負荷判定部31は、現在よりも低加速度で主軸モータ71を動作させるための低加速度指令を加速度制御部32に送信する。 If the current FB value is greater than the reference value (step S20, Yes), the current load determination unit 31 determines that the spindle motor 71 should be rotated at a lower acceleration than the current acceleration (step S30). In this case, the current load determination unit 31 transmits a low acceleration command to the acceleration control unit 32 to operate the spindle motor 71 at a lower acceleration than the current acceleration.

 一方、電流FB値が基準値よりも小さい場合(ステップS20、No)、電流負荷判定部31は、主軸モータ71を現在よりも高加速度で回転させると判定する(ステップS40)。この場合、電流負荷判定部31は、現在よりも高加速度で主軸モータ71を動作させるための高加速度指令を加速度制御部32に送信する。電流負荷判定部31は、電流FB値と基準値とが同じ値である場合には、加速度指令を生成しない。 On the other hand, if the current FB value is smaller than the reference value (step S20, No), the current load determination unit 31 determines that the spindle motor 71 should be rotated at a higher acceleration than the current acceleration (step S40). In this case, the current load determination unit 31 transmits a high acceleration command to the acceleration control unit 32 to operate the spindle motor 71 at a higher acceleration than the current acceleration. The current load determination unit 31 does not generate an acceleration command if the current FB value and the reference value are the same value.

 加速度制御部32は、電流負荷判定部31からの加速度指令に基づいて、主軸モータ71の加速度を決定する(ステップS50)。加速度制御部32は、決定した主軸モータ71の加速度に対応する動作指令を生成し、生成した動作指令を補間部40に送信する。 The acceleration control unit 32 determines the acceleration of the spindle motor 71 based on the acceleration command from the current load determination unit 31 (step S50). The acceleration control unit 32 generates an operation command corresponding to the determined acceleration of the spindle motor 71, and transmits the generated operation command to the interpolation unit 40.

 補間部40は、サイクル生成部22から受信した指令と、切粉除去動作生成部30から受信した指令とに基づいてサーボモータ70の制御命令を生成し、サーボモータ制御部50に送信する。サーボモータ制御部50は、補間部40から受信した制御命令に従って位置指令を生成し、位置指令によってサーボモータ70を制御する。 The interpolation unit 40 generates a control command for the servo motor 70 based on the command received from the cycle generation unit 22 and the command received from the chip removal operation generation unit 30, and transmits the control command to the servo motor control unit 50. The servo motor control unit 50 generates a position command according to the control command received from the interpolation unit 40, and controls the servo motor 70 according to the position command.

 これにより、数値制御装置1は、主軸モータ71の回転方向を変更させる際に、主軸モータ71の電流FB値(電流負荷)が基準値よりも大きい場合には、主軸モータ71の加速度を下げるので、主軸モータ71にかかる過負荷を抑制することが可能となる。 As a result, when changing the rotation direction of the spindle motor 71, if the current FB value (current load) of the spindle motor 71 is greater than the reference value, the numerical control device 1 reduces the acceleration of the spindle motor 71, thereby making it possible to suppress overload on the spindle motor 71.

 また、数値制御装置1は、主軸モータ71の回転方向を変更させる際に、主軸モータ71の電流FB値が基準値よりも小さい場合には、主軸モータ71の加速度を上げるので、短時間で主軸モータ71の回転方向を変更させることが可能となる。 In addition, when changing the rotation direction of the spindle motor 71, if the current FB value of the spindle motor 71 is smaller than a reference value, the numerical control device 1 increases the acceleration of the spindle motor 71, making it possible to change the rotation direction of the spindle motor 71 in a short time.

 つぎに、数値制御装置1によって制御される工作機械2が実行する穴あけ加工処理の処理手順について説明する。図3は、実施の形態にかかる数値制御装置によって制御される工作機械が実行する穴あけ加工処理の処理手順を説明するための図である。図3では、被加工物81の上面と平行な面内の2つの軸であって互いに直交する2つの軸をX軸およびY軸とする。また、X軸およびY軸に直交する軸をZ軸とする。ここでは、数値制御装置1が1つ目の穴あけ加工処理H1を制御した後に、2つ目の穴あけ加工処理H2を制御する場合について説明する。 Next, the processing procedure of the hole drilling process executed by the machine tool 2 controlled by the numerical control device 1 will be described. FIG. 3 is a diagram for explaining the processing procedure of the hole drilling process executed by the machine tool controlled by the numerical control device according to the embodiment. In FIG. 3, two axes in a plane parallel to the top surface of the workpiece 81 and perpendicular to each other are defined as the X-axis and the Y-axis. The axis perpendicular to the X-axis and the Y-axis is defined as the Z-axis. Here, a case will be described in which the numerical control device 1 controls the first hole drilling process H1 and then controls the second hole drilling process H2.

 数値制御装置1は、穴あけ加工を開始すると、工作機械2の制御を開始する。これにより、工作機械2に取り付けられた工具80は、送り軸モータ72によって移動させられる。また、モータFB情報取得部60は、工作機械2から主軸モータ71の電流FB値、主軸速度、およびFB位置を取得し、切粉除去動作生成部30に送信する。 When the numerical control device 1 starts drilling, it starts controlling the machine tool 2. As a result, the tool 80 attached to the machine tool 2 is moved by the feed axis motor 72. In addition, the motor feedback information acquisition unit 60 acquires the current feedback value, spindle speed, and feedback position of the spindle motor 71 from the machine tool 2 and transmits them to the chip removal operation generation unit 30.

 数値制御装置1は、被加工物81上の初期位置である位置P1から工具80の移動を開始させる。この時点では、まだ工具80は回転していない。位置P1は、被加工物81の上面よりも高さZ1だけ高い位置である。 The numerical control device 1 starts moving the tool 80 from position P1, which is the initial position on the workpiece 81. At this point, the tool 80 has not yet rotated. Position P1 is a position that is higher than the top surface of the workpiece 81 by a height Z1.

 数値制御装置1は、工具80を位置P1からXY平面に平行な面内で移動させ、位置P2まで移動させる。位置P2は、1つ目の加工穴に対して固定サイクルを開始する復帰点である。復帰点である位置P2のZ方向の位置は、固定サイクルが指令される位置であり、復帰点のXY方向の位置は、これから穴あけが行われる加工穴上の位置である。 The numerical control device 1 moves the tool 80 from position P1 in a plane parallel to the XY plane to position P2. Position P2 is the return point where the fixed cycle begins for the first machining hole. The Z-direction position of the return point, position P2, is the position where the fixed cycle is commanded, and the XY-direction position of the return point is the position on the machining hole where drilling will now take place.

 数値制御装置1は、工具80を、送り軸モータ72によってZ方向の下方に移動させることで、復帰点である位置P2からリファレンス点(R点)である位置P3に移動させる。これにより、工具80は、位置P2から位置P3までZ方向に平行な方向に移動する。位置P3は、位置P2よりもZ方向の下方の位置であり、位置P2よりも被加工物81に近い位置である。 The numerical control device 1 moves the tool 80 downward in the Z direction using the feed axis motor 72, thereby moving the tool 80 from position P2, which is the return point, to position P3, which is the reference point (point R). This causes the tool 80 to move in a direction parallel to the Z direction from position P2 to position P3. Position P3 is lower in the Z direction than position P2, and is closer to the workpiece 81 than position P2.

 工具80が位置P3に到達すると、数値制御装置1は、主軸モータ71の回転を加速させることで工具80を正回転させる(st1)。数値制御装置1は、主軸モータ71の回転速度を加工速度まで上昇させる。また、数値制御装置1は、工具80を、送り軸モータ72によって位置P3から加工穴の底面位置である位置P4にまで移動させる。位置P4は、被加工物81内の位置であり、被加工物81の上面よりもZ方向に低い位置である。数値制御装置1が、工具80を位置P3から位置P4まで移動させることにより、工具80は、被加工物81の上面から穴あけを開始し位置P4に到達する。なお、図3では、説明の便宜上2つの位置P4を図示しているが、2つの位置P4は同じ位置である。 When the tool 80 reaches position P3, the numerical control device 1 accelerates the rotation of the spindle motor 71 to rotate the tool 80 in the forward direction (st1). The numerical control device 1 increases the rotation speed of the spindle motor 71 to the machining speed. The numerical control device 1 also moves the tool 80 from position P3 to position P4, which is the bottom surface position of the machined hole, by the feed axis motor 72. Position P4 is a position within the workpiece 81 and is a position lower in the Z direction than the top surface of the workpiece 81. By the numerical control device 1 moving the tool 80 from position P3 to position P4, the tool 80 starts drilling a hole from the top surface of the workpiece 81 and reaches position P4. Note that in FIG. 3, two positions P4 are shown for convenience of explanation, but the two positions P4 are the same position.

 この後、数値制御装置1は、工具80を、送り軸モータ72によってZ方向の上方に移動させることで、位置P4から位置P5まで移動させる(st2)。位置P5は、位置P2と同じ位置である。すなわち、位置P5は、固定サイクルが開始された復帰点である。 Then, the numerical control device 1 moves the tool 80 upward in the Z direction by the feed axis motor 72, thereby moving the tool 80 from position P4 to position P5 (st2). Position P5 is the same position as position P2. In other words, position P5 is the return point where the fixed cycle was started.

 工具80が位置P5まで到達すると、数値制御装置1は、主軸モータ71を反転させることで工具80を正回転から逆回転にする(st3)。具体的には、回転方向変更部33は、工具80のFB位置が復帰点である位置P5に到達すると、主軸モータ71の回転方向を正回転から逆回転に変更する。 When the tool 80 reaches position P5, the numerical control device 1 reverses the rotation of the spindle motor 71 to change the rotation of the tool 80 from forward to reverse (st3). Specifically, when the FB position of the tool 80 reaches position P5, which is the return point, the rotation direction change unit 33 changes the rotation direction of the spindle motor 71 from forward to reverse.

 数値制御装置1は、主軸モータ71を反転させた後、主軸モータ71の主軸速度が指令速度に到達するまで主軸モータ71を加速させる(st4)。回転方向変更部33は、主軸モータ71の主軸速度が指令速度に到達すると、次の穴あけ加工を行うため、主軸モータ71を再度反転させることで工具80を逆回転から正回転にする(st5)。 After reversing the spindle motor 71, the numerical control device 1 accelerates the spindle motor 71 until the spindle speed of the spindle motor 71 reaches the commanded speed (st4). When the spindle speed of the spindle motor 71 reaches the commanded speed, the rotation direction change unit 33 reverses the spindle motor 71 again to change the tool 80 from reverse rotation to forward rotation in order to perform the next drilling process (st5).

 数値制御装置1は、主軸モータ71を加速させることで工具80を正回転させる。数値制御装置1は、主軸モータ71の回転速度を加工速度まで上昇させる。 The numerical control device 1 rotates the tool 80 in the forward direction by accelerating the spindle motor 71. The numerical control device 1 increases the rotation speed of the spindle motor 71 to the processing speed.

 数値制御装置1は、工具80を位置P5からXY平面に平行な面内で移動させ、位置P6まで移動させる(st6)。位置P6は、2つ目の加工穴に対して固定サイクルが開始される復帰点である。復帰点である位置P6のZ方向の位置は、固定サイクルが指令される位置であり、復帰点のXY方向の位置は、これから穴あけが行われる加工穴上の位置である。 The numerical control device 1 moves the tool 80 from position P5 in a plane parallel to the XY plane to position P6 (st6). Position P6 is the return point where the fixed cycle begins for the second machining hole. The Z-direction position of the return point, position P6, is the position where the fixed cycle is commanded, and the XY-direction position of the return point is the position on the machining hole where drilling will now take place.

 数値制御装置1は、工具80を、送り軸モータ72によってZ方向の下方に移動させる(st7)。これにより、数値制御装置1は、工具80を、復帰点である位置P6からリファレンス点である位置P7を介して加工穴の底面位置である位置P8まで移動させる。位置P8は、被加工物81内の位置であり、被加工物81の上面よりもZ方向に低い位置である。数値制御装置1が、工具80を位置P7から位置P8まで移動させることにより、工具80は、被加工物81の上面から穴あけを開始し、位置P8に到達する。なお、図3では、説明の便宜上2つの位置P8を図示しているが、2つの位置P8は同じ位置である。 The numerical control device 1 moves the tool 80 downward in the Z direction by the feed axis motor 72 (st7). As a result, the numerical control device 1 moves the tool 80 from position P6, which is the return point, through position P7, which is the reference point, to position P8, which is the bottom position of the machined hole. Position P8 is a position within the workpiece 81, and is a position lower in the Z direction than the top surface of the workpiece 81. By the numerical control device 1 moving the tool 80 from position P7 to position P8, the tool 80 starts drilling a hole from the top surface of the workpiece 81 and reaches position P8. Note that, for ease of explanation, two positions P8 are shown in FIG. 3, but the two positions P8 are the same position.

 この後、数値制御装置1は、工具80を、送り軸モータ72によってZ方向の上方に移動させることで、位置P8から位置P9まで移動させる(st8)。位置P9は、位置P6と同じ位置である。すなわち、位置P9は、固定サイクルが開始された復帰点である。 Then, the numerical control device 1 moves the tool 80 upward in the Z direction by the feed axis motor 72, thereby moving the tool 80 from position P8 to position P9 (st8). Position P9 is the same position as position P6. In other words, position P9 is the return point where the fixed cycle was started.

 工具80が位置P9まで到達した後、数値制御装置1は、上述したst3~st5と同様の処理を実行し、さらに上述したst6~st8と同様の処理を実行する。以下、数値制御装置1は、st3~st8と同様の処理を他の加工穴に対して繰り返す。 After the tool 80 reaches position P9, the numerical control device 1 executes the same processes as steps st3 to st5 described above, and then executes the same processes as steps st6 to st8 described above. Thereafter, the numerical control device 1 repeats the same processes as steps st3 to st8 for the other machined holes.

 実施の形態の数値制御装置1は、位置P5,P9において主軸モータ71の回転方向を正回転から逆回転に変更すると、電流負荷判定部31が、主軸反転動作中にモータFB情報取得部60から受信した電流FB値と、予め設定された電流負荷の基準値とを比較する。そして、電流負荷判定部31は、電流FB値が基準値よりも大きいか、電流FB値が基準値よりも小さいか、電流FB値が基準値と同じであるかを判定する。 In the embodiment of the numerical control device 1, when the rotation direction of the spindle motor 71 is changed from forward to reverse at positions P5 and P9, the current load determination unit 31 compares the current FB value received from the motor FB information acquisition unit 60 during the spindle reversal operation with a preset reference value of the current load. Then, the current load determination unit 31 determines whether the current FB value is greater than the reference value, whether the current FB value is less than the reference value, or whether the current FB value is the same as the reference value.

 電流負荷判定部31は、電流FB値が基準値よりも大きい場合には、現在よりも低加速度で主軸モータ71を動作させると判定し、現在よりも低加速度で主軸モータ71を動作させる低加速度指令を加速度制御部32に送信する。 If the current FB value is greater than the reference value, the current load determination unit 31 determines that the spindle motor 71 should be operated at a lower acceleration than the current acceleration, and transmits a low acceleration command to the acceleration control unit 32 to operate the spindle motor 71 at a lower acceleration than the current acceleration.

 一方、電流負荷判定部31は、電流FB値が基準値よりも小さい場合には、現在よりも高加速度で主軸モータ71を動作させると判定し、現在よりも高加速度で主軸モータ71を動作させる高加速度指令を加速度制御部32に送信する。 On the other hand, if the current FB value is smaller than the reference value, the current load determination unit 31 determines that the spindle motor 71 should be operated at a higher acceleration than the current value, and transmits a high acceleration command to the acceleration control unit 32 to operate the spindle motor 71 at a higher acceleration than the current value.

 また、実施の形態の数値制御装置1は、位置P5,P9において主軸モータ71の回転方向を逆回転から正回転に変更する場合も、回転方向を正回転から逆回転に変更する場合と同様に、電流FB値と電流負荷の基準値とを比較する。そして、電流負荷判定部31は、電流FB値が基準値よりも大きい場合には、低加速度指令を加速度制御部32に送信し、電流FB値が基準値よりも小さい場合には、高加速度指令を加速度制御部32に送信する。 In addition, when changing the rotation direction of the spindle motor 71 from reverse rotation to forward rotation at positions P5 and P9, the numerical control device 1 of the embodiment compares the current FB value with the reference value of the current load, just as when changing the rotation direction from forward rotation to reverse rotation. Then, if the current FB value is greater than the reference value, the current load determination unit 31 sends a low acceleration command to the acceleration control unit 32, and if the current FB value is less than the reference value, it sends a high acceleration command to the acceleration control unit 32.

 なお、数値制御装置1は、主軸モータ71の回転方向を逆回転から正回転に変更する場合の主軸モータ71の加速度の絶対値の大きさを、回転方向を正回転から逆回転に変更した場合に算出した加速度の絶対値の大きさと同じにしてもよい。 In addition, the numerical control device 1 may set the magnitude of the absolute value of the acceleration of the spindle motor 71 when the rotation direction of the spindle motor 71 is changed from reverse rotation to forward rotation to be the same as the magnitude of the absolute value of the acceleration calculated when the rotation direction is changed from forward rotation to reverse rotation.

 また、数値制御装置1は、位置P9における主軸モータ71の加速度が、位置P5で用いた加速度となるように主軸モータ71を制御してもよい。すなわち、数値制御装置1は、2つ目以降の穴あけ加工の完了後に、1つ目の穴あけ加工の完了後に用いた加速度で主軸モータ71を回転させてもよい。この場合、位置P9では、電流負荷判定部31が、電流FB値と基準値とを比較しなくてもよい。 The numerical control device 1 may also control the spindle motor 71 so that the acceleration of the spindle motor 71 at position P9 is the acceleration used at position P5. In other words, after the second or subsequent hole drilling is completed, the numerical control device 1 may rotate the spindle motor 71 at the acceleration used after the first hole drilling is completed. In this case, at position P9, the current load determination unit 31 does not need to compare the current FB value with the reference value.

 なお、図3では、工作機械2が被加工物81に対して複数の穴あけ加工を実行する場合について説明したが、工作機械2は、被加工物81に対して1つのみの穴あけ加工を実行してもよい。この場合、数値制御装置1は、st1~st5の処理を実行し、その後、工具80を他の工具に交換させる。これにより、数値制御装置1は、次に工具80を使用する際に、切粉の付着していない状況で工具80を用いた穴あけ加工を実行することができる。 Note that while FIG. 3 illustrates a case in which the machine tool 2 performs multiple drilling operations on the workpiece 81, the machine tool 2 may perform only one drilling operation on the workpiece 81. In this case, the numerical control device 1 performs processes st1 to st5, and then replaces the tool 80 with another tool. This allows the numerical control device 1 to perform drilling operations using the tool 80 without any cutting chips attached the next time the tool 80 is used.

 ここで、数値制御装置1が工作機械2を制御する場合の主軸モータ71の回転速度(主軸回転速度)および加速度について説明する。図4は、実施の形態にかかる数値制御装置が工作機械を制御する場合の主軸モータの主軸回転速度および加速度の例を説明するための図である。図4における横軸は時間である。図4における上段のグラフの縦軸は主軸モータ71の主軸回転速度であり、下段のグラフの縦軸は主軸モータ71の加速度である。 Here, we will explain the rotation speed (spindle rotation speed) and acceleration of the spindle motor 71 when the numerical control device 1 controls the machine tool 2. Figure 4 is a diagram for explaining an example of the spindle rotation speed and acceleration of the spindle motor when the numerical control device according to the embodiment controls the machine tool. The horizontal axis in Figure 4 is time. The vertical axis of the upper graph in Figure 4 is the spindle rotation speed of the spindle motor 71, and the vertical axis of the lower graph is the acceleration of the spindle motor 71.

 主軸回転速度は、工具80が穴あけを開始して復帰点である位置P5に到達するまでは、加工時の速度であり、等速の速度VX(>0)である。また、主軸モータ71の回転の加速度は、工具80が穴あけを開始して復帰点である位置P5に到達するまでは、加速度AX=0である。 The spindle rotation speed is the machining speed, which is a constant speed VX (>0), from when the tool 80 starts drilling until it reaches position P5, which is the return point. Also, the rotation acceleration of the spindle motor 71 is acceleration AX = 0 from when the tool 80 starts drilling until it reaches position P5, which is the return point.

 工具80が位置P5まで到達すると、数値制御装置1は、主軸モータ71を反転させることで工具80を正回転から逆回転にする。これにより、主軸回転速度は、速度VXから降下し、主軸回転速度=0となった後に、負の値になる。 When the tool 80 reaches position P5, the numerical control device 1 reverses the rotation of the spindle motor 71, causing the tool 80 to rotate in the reverse direction instead of forward. As a result, the spindle rotation speed drops from speed VX, and after the spindle rotation speed becomes 0, it becomes a negative value.

 この場合において、主軸モータ71の電流FB値が基準値よりも小さい場合、数値制御装置1は、現在の加速度である加速度A3よりも加速度を上昇させる。すなわち、数値制御装置1は、加速度を加速度A3の絶対値よりも大きな絶対値の加速度に制御する。ここでの数値制御装置1は、主軸モータ71の加速度が、電流FB値の基準値に対応する加速度A1(>A3)となるように制御する。これにより、主軸回転速度の傾きが大きくなる。 In this case, if the current FB value of the spindle motor 71 is smaller than the reference value, the numerical control device 1 increases the acceleration above the current acceleration, A3. In other words, the numerical control device 1 controls the acceleration to an acceleration with an absolute value greater than that of acceleration A3. Here, the numerical control device 1 controls the acceleration of the spindle motor 71 to be acceleration A1 (>A3) corresponding to the reference value of the current FB value. This increases the slope of the spindle rotation speed.

 図4では、主軸モータ71が逆回転している際の電流FB値が基準値よりも小さい場合の速度の推移を速度推移V3で示し、加速度を上昇させた後の速度の推移を速度推移V1で示している。 In FIG. 4, the speed transition when the spindle motor 71 is rotating in reverse and the current FB value is smaller than the reference value is shown as speed transition V3, and the speed transition after the acceleration is increased is shown as speed transition V1.

 主軸モータ71の電流FB値が基準値よりも大きい場合、数値制御装置1は、現在の加速度である加速度A2よりも加速度を下降させる。すなわち、数値制御装置1は、加速度を、加速度A2の絶対値よりも小さな絶対値の加速度に制御する。ここでの数値制御装置1は、主軸モータ71の加速度が、電流FB値の基準値に対応する加速度A1となるように制御する。これにより、主軸回転速度の傾きが小さくなる。 When the current FB value of the spindle motor 71 is greater than the reference value, the numerical control device 1 decreases the acceleration below the current acceleration, A2. In other words, the numerical control device 1 controls the acceleration to an acceleration with an absolute value smaller than that of acceleration A2. Here, the numerical control device 1 controls the acceleration of the spindle motor 71 to be acceleration A1, which corresponds to the reference value of the current FB value. This reduces the slope of the spindle rotation speed.

 図4では、主軸モータ71が逆回転している際の電流FB値が基準値よりも大きい場合の速度の推移を速度推移V2で示し、加速度を下降させた後の速度の推移を速度推移V1で示している。 In FIG. 4, the speed transition when the spindle motor 71 is rotating in reverse and the current FB value is greater than the reference value is shown as speed transition V2, and the speed transition after the acceleration is decreased is shown as speed transition V1.

 数値制御装置1は、主軸モータ71を反転させた後、主軸モータ71の主軸速度が指令速度に到達するまで主軸モータ71を加速させる。実施の形態の数値制御装置1は、主軸反転時の主軸モータ71の回転速度が指令速度に到達するまで加速度を変更しながら、主軸モータ71への加速指令を主軸モータ71に送信する。 After reversing the spindle motor 71, the numerical control device 1 accelerates the spindle motor 71 until the spindle speed of the spindle motor 71 reaches the command speed. The numerical control device 1 of the embodiment sends an acceleration command to the spindle motor 71 while changing the acceleration until the rotation speed of the spindle motor 71 during the spindle reversal reaches the command speed.

 数値制御装置1は、主軸モータ71の主軸速度が指令速度に到達すると、次の穴あけ加工を行うため、主軸モータ71を再度反転させることで工具80を逆回転から正回転にする。これにより、主軸回転速度は、負の値から上昇し、主軸回転速度=0となった後に、正の値になる。 When the spindle speed of the spindle motor 71 reaches the command speed, the numerical control device 1 reverses the spindle motor 71 again to change the tool 80 from reverse rotation to forward rotation in order to perform the next drilling process. As a result, the spindle rotation speed increases from a negative value, and after the spindle rotation speed becomes 0, it becomes a positive value.

 この場合において、主軸モータ71の電流FB値が基準値よりも小さい場合、数値制御装置1は、現在の加速度である加速度A6よりも加速度を上昇させる。すなわち、数値制御装置1は、加速度を加速度A6の絶対値よりも大きな絶対値の加速度に制御する。ここでの数値制御装置1は、主軸モータ71の加速度が、電流FB値の基準値に対応する加速度A4(>A6)となるように制御する。これにより、主軸回転速度の傾きが大きくなる。 In this case, if the current FB value of the spindle motor 71 is smaller than the reference value, the numerical control device 1 increases the acceleration above the current acceleration, acceleration A6. In other words, the numerical control device 1 controls the acceleration to an acceleration with an absolute value greater than that of acceleration A6. Here, the numerical control device 1 controls the acceleration of the spindle motor 71 to be acceleration A4 (> A6) corresponding to the reference value of the current FB value. This increases the slope of the spindle rotation speed.

 図4では、主軸モータ71が正回転している際の電流FB値が基準値よりも小さい場合の速度の推移を速度推移V6で示し、加速度を上昇させた後の速度の推移を速度推移V4で示している。 In FIG. 4, the speed transition when the current FB value is smaller than the reference value while the spindle motor 71 is rotating in the forward direction is shown as speed transition V6, and the speed transition after the acceleration is increased is shown as speed transition V4.

 主軸モータ71の電流FB値が基準値よりも大きい場合、数値制御装置1は、現在の加速度である加速度A5よりも加速度を下降させる。すなわち、数値制御装置1は、加速度を加速度A5の絶対値よりも小さな絶対値の加速度に制御する。ここでの数値制御装置1は、主軸モータ71の加速度が、電流FB値の基準値に対応する加速度A4となるように制御する。これにより、主軸回転速度の傾きが小さくなる。 If the current FB value of the spindle motor 71 is greater than the reference value, the numerical control device 1 decreases the acceleration below the current acceleration A5. In other words, the numerical control device 1 controls the acceleration to an acceleration with an absolute value smaller than that of acceleration A5. Here, the numerical control device 1 controls the acceleration of the spindle motor 71 to be acceleration A4, which corresponds to the reference value of the current FB value. This reduces the slope of the spindle rotation speed.

 図4では、主軸モータ71が正回転している際の電流FB値が基準値よりも大きい場合の速度の推移を速度推移V5で示し、加速度を下降させた後の速度の推移を速度推移V4で示している。 In FIG. 4, the speed transition when the current FB value is greater than the reference value while the spindle motor 71 is rotating in the forward direction is shown as speed transition V5, and the speed transition after the acceleration is decreased is shown as speed transition V4.

 このように、数値制御装置1は、工具80の反転動作時に、主軸モータ71の電流負荷を監視することで、主軸モータ71にかかる負荷を考慮した適切な加速度で工具80を回転させて工具80から切粉を除去する。 In this way, the numerical control device 1 monitors the current load of the spindle motor 71 during the reversing operation of the tool 80, and rotates the tool 80 at an appropriate acceleration that takes into account the load on the spindle motor 71, thereby removing chips from the tool 80.

 数値制御装置1が制御する工作機械2は、回転中の主軸を逆回転させる場合に、主軸が反転するタイミングで最も高い負荷が主軸モータ71にかかる。例えば、工作機械2が大型の機械である場合には、電流FB値の許容値に対応する加速度よりも大きな高加速度で主軸の反転動作を行うと、主軸モータ71に過大な負荷が発生する場合がある。また、工作機械2が、主軸モータ71と工具80との間にギアがあるような機械である場合には、電流FB値の許容値に対応する加速度よりも大きな高加速度で主軸の反転動作を行うと、ギアの摩耗が早くなるなどして、部品の消耗を促進してしまう可能性がある。 When the machine tool 2 controlled by the numerical control device 1 reverses the rotation of the spindle, the highest load is placed on the spindle motor 71 at the time the spindle reverses direction. For example, if the machine tool 2 is a large machine, performing a reversal operation of the spindle at an acceleration higher than the acceleration corresponding to the allowable value of the current feedback value may cause an excessive load to be placed on the spindle motor 71. Also, if the machine tool 2 is a machine that has gears between the spindle motor 71 and the tool 80, performing a reversal operation of the spindle at an acceleration higher than the acceleration corresponding to the allowable value of the current feedback value may accelerate wear of the gears, etc., and may promote wear of parts.

 実施の形態の数値制御装置1は、電流FB値の基準値に対応する加速度よりも大きな高加速度の場合には、加速度を下げている。これにより、数値制御装置1は、工作機械2が大型の機械である場合であっても、主軸モータ71に過大な負荷が発生することを防止できる。また、数値制御装置1は、工作機械2が主軸モータ71と工具80との間にギアがあるような機械である場合であっても、ギアの摩耗を遅らせることができる。 The numerical control device 1 of the embodiment reduces the acceleration when the acceleration is higher than the acceleration corresponding to the reference value of the current FB value. This allows the numerical control device 1 to prevent an excessive load from being placed on the spindle motor 71 even when the machine tool 2 is a large machine. Furthermore, the numerical control device 1 can slow down gear wear even when the machine tool 2 is a machine in which there is a gear between the spindle motor 71 and the tool 80.

 また、実施の形態の数値制御装置1は、電流FB値の基準値に対応する加速度よりも小さな低加速度の場合には、加速度を上げている。これにより、数値制御装置1は、工作機械2による加工処理時間を短くすることが可能となる。 In addition, the numerical control device 1 of the embodiment increases the acceleration when the acceleration is lower than the acceleration corresponding to the reference value of the current FB value. This enables the numerical control device 1 to shorten the processing time of the machine tool 2.

 このように、数値制御装置1は、主軸モータ71に基準値よりも大きい負荷がかかる場合には、低加速度で主軸モータ71を動作させるので、主軸モータ71に過大な負荷が発生することを防止できる。これにより、数値制御装置1は、ギアの摩耗を遅らせることができるので、部品の消耗を抑制することができる。したがって、数値制御装置1は、工作機械2の機械寿命を延ばすことができる。また、数値制御装置1は、主軸モータ71に基準値よりも小さい負荷しかかかっていない場合は、従来よりも高加速度で主軸モータ71を動作させるので、穴あけ加工のサイクルタイムを短縮することができる。 In this way, when a load greater than a reference value is applied to the spindle motor 71, the numerical control device 1 operates the spindle motor 71 at a low acceleration, thereby preventing the occurrence of an excessive load on the spindle motor 71. As a result, the numerical control device 1 can slow down gear wear and therefore suppress wear on parts. Therefore, the numerical control device 1 can extend the mechanical life of the machine tool 2. Furthermore, when a load smaller than a reference value is applied to the spindle motor 71, the numerical control device 1 operates the spindle motor 71 at a higher acceleration than before, thereby shortening the cycle time of the drilling process.

 ここで、数値制御装置1のハードウェア構成について説明する。図5は、実施の形態にかかる数値制御装置を実現するハードウェア構成例を示す図である。数値制御装置1は、入力装置300、プロセッサ100、メモリ200、および出力装置400により実現することができる。プロセッサ100の例は、CPU(Central Processing Unit、中央処理装置、処理装置、演算装置、マイクロプロセッサ、マイクロコンピュータ、DSP(Digital Signal Processor)ともいう)またはシステムLSI(Large Scale Integration)である。メモリ200の例は、RAM(Random Access Memory)、ROM(Read Only Memory)である。 Here, the hardware configuration of the numerical control device 1 will be described. FIG. 5 is a diagram showing an example of a hardware configuration for realizing a numerical control device according to an embodiment. The numerical control device 1 can be realized by an input device 300, a processor 100, a memory 200, and an output device 400. An example of the processor 100 is a CPU (also called a Central Processing Unit, central processing unit, processing unit, arithmetic unit, microprocessor, microcomputer, or DSP (Digital Signal Processor)) or a system LSI (Large Scale Integration). An example of the memory 200 is a RAM (Random Access Memory) or a ROM (Read Only Memory).

 数値制御装置1は、プロセッサ100が、メモリ200で記憶されている数値制御装置1の動作を実行するための、コンピュータで実行可能な、制御演算プログラム(図示せず)を読み出して実行することにより実現される。数値制御装置1の動作を実行するためのプログラムである制御演算プログラムは、数値制御装置1の手順または方法をコンピュータに実行させるものであるともいえる。 The numerical control device 1 is realized by the processor 100 reading and executing a control operation program (not shown) that is stored in the memory 200 and can be executed by a computer to execute the operations of the numerical control device 1. The control operation program, which is a program for executing the operations of the numerical control device 1, can also be said to cause a computer to execute the procedures or methods of the numerical control device 1.

 プロセッサ100が実行する制御演算プログラムは、数値制御装置1を含むモジュール構成となっており、これらの構成要素が主記憶装置上にロードされ主記憶装置上に生成される。具体的には、プロセッサ100が実行する制御演算プログラムは、加工動作生成部20と、切粉除去動作生成部30と、補間部40と、サーボモータ制御部50と、モータFB情報取得部60とを含むモジュール構成となっており、これらの構成要素が主記憶装置上にロードされ主記憶装置上に生成される。 The control calculation program executed by the processor 100 has a modular configuration including the numerical control device 1, and these components are loaded onto the main memory device and generated on the main memory device. Specifically, the control calculation program executed by the processor 100 has a modular configuration including a machining operation generation unit 20, a chip removal operation generation unit 30, an interpolation unit 40, a servo motor control unit 50, and a motor FB information acquisition unit 60, and these components are loaded onto the main memory device and generated on the main memory device.

 入力装置300は、ユーザによって設定される情報を受け付けてプロセッサ100またはメモリ200に送る。メモリ200は、制御演算プログラム、加工プログラム、各種データ(図示せず)などを記憶する。また、メモリ200は、プロセッサ100が各種処理を実行する際の一時メモリである共有エリアに使用される。出力装置400は、工作機械2に位置指令を出力する。 The input device 300 accepts information set by the user and sends it to the processor 100 or the memory 200. The memory 200 stores control calculation programs, machining programs, various data (not shown), etc. The memory 200 is also used as a shared area that is a temporary memory when the processor 100 executes various processes. The output device 400 outputs a position command to the machine tool 2.

 制御演算プログラムおよび加工プログラムは、インストール可能な形式または実行可能な形式のファイルで、コンピュータが読み取り可能な記憶媒体に記憶されてコンピュータプログラムプロダクトとして提供されてもよい。また、制御演算プログラムおよび加工プログラムは、インターネットなどのネットワーク経由で数値制御装置1に提供されてもよい。なお、数値制御装置1の機能について、一部を専用回路などの専用のハードウェアで実現し、一部をソフトウェアまたはファームウェアで実現するようにしてもよい。 The control calculation program and machining program may be provided as a computer program product in the form of an installable or executable file stored on a computer-readable storage medium. The control calculation program and machining program may also be provided to the numerical control device 1 via a network such as the Internet. Note that some of the functions of the numerical control device 1 may be realized by dedicated hardware such as a dedicated circuit, and some by software or firmware.

 このように実施の形態の数値制御装置1は、主軸モータ71の電流FB値が基準値よりも大きい場合には、主軸モータ71を現在よりも低加速度で動作させるので、工具80に絡まった切粉を工具80から除去する際に、工具80を回転させる主軸モータ71にかかる負荷を抑制することが可能となる。 In this way, when the current FB value of the spindle motor 71 is greater than the reference value, the numerical control device 1 of this embodiment operates the spindle motor 71 at a lower acceleration than at present, making it possible to reduce the load on the spindle motor 71 that rotates the tool 80 when removing chips entangled in the tool 80 from the tool 80.

 また、主軸モータ71の電流FB値が基準値よりも小さい場合には、主軸モータ71を現在よりも高加速度で動作させるので、工具80に絡まった切粉を短時間で工具80から除去することができる。 In addition, when the current FB value of the spindle motor 71 is smaller than the reference value, the spindle motor 71 is operated at a higher acceleration than at present, so that chips entangled in the tool 80 can be removed from the tool 80 in a short time.

 以上の実施の形態に示した構成は、一例を示すものであり、別の公知の技術と組み合わせることも可能であるし、要旨を逸脱しない範囲で、構成の一部を省略、変更することも可能である。 The configurations shown in the above embodiments are merely examples, and may be combined with other known technologies. Parts of the configurations may be omitted or modified without departing from the spirit of the invention.

 1 数値制御装置、2 工作機械、10 記憶部、20 加工動作生成部、21 プログラム解析部、22 サイクル生成部、30 切粉除去動作生成部、31 電流負荷判定部、32 加速度制御部、33 回転方向変更部、40 補間部、50 サーボモータ制御部、60 モータFB情報取得部、70 サーボモータ、71 主軸モータ、72 送り軸モータ、80 工具、81 被加工物、100 プロセッサ、200 メモリ、300 入力装置、400 出力装置、A1~A6,AX 加速度、P1~P9 位置。 1 Numerical control device, 2 Machine tool, 10 Memory unit, 20 Machining operation generation unit, 21 Program analysis unit, 22 Cycle generation unit, 30 Chip removal operation generation unit, 31 Current load determination unit, 32 Acceleration control unit, 33 Rotation direction change unit, 40 Interpolation unit, 50 Servo motor control unit, 60 Motor FB information acquisition unit, 70 Servo motor, 71 Spindle motor, 72 Feed axis motor, 80 Tool, 81 Workpiece, 100 Processor, 200 Memory, 300 Input device, 400 Output device, A1 to A6, AX Acceleration, P1 to P9 Position.

Claims (8)

 工具を正回転させることで被加工物への穴あけ加工を行い且つ前記工具を逆回転させることで前記工具に絡まった切粉を前記工具から除去する工作機械の主軸モータを制御するサーボモータ制御部と、
 前記主軸モータにかかる負荷に対応する前記主軸モータの電流フィードバック値と、予め設定された基準値との大きさを比較し、前記比較の結果に基づいて、前記主軸モータの回転の加速度を変更するか否かを判定する電流負荷判定部と、
 前記判定の結果に基づいて前記加速度を変更する加速度変更部と、
 を備える、
 ことを特徴とする数値制御装置。
a servo motor control unit that controls a spindle motor of a machine tool that rotates a tool in a forward direction to drill a hole in a workpiece and rotates the tool in a reverse direction to remove chips entangled in the tool from the tool;
a current load determination unit that compares a current feedback value of the spindle motor corresponding to a load applied to the spindle motor with a preset reference value, and determines whether or not to change the acceleration of rotation of the spindle motor based on a result of the comparison;
an acceleration change unit that changes the acceleration based on a result of the determination;
Equipped with
A numerical control device comprising:
 前記穴あけ加工の完了後に前記工具の回転方向を正回転から逆回転に反転させる指令を出力する回転方向変更部をさらに備え、
 前記電流負荷判定部は、前記工具の回転方向を正回転から逆回転に反転させる際に前記加速度を変更するか否かを判定する、
 ことを特徴とする請求項1に記載の数値制御装置。
A rotation direction change unit is further provided for outputting a command to reverse the rotation direction of the tool from forward rotation to reverse rotation after the completion of the drilling process.
the current load determination unit determines whether or not to change the acceleration when reversing a rotation direction of the tool from a forward rotation to a reverse rotation.
2. The numerical control device according to claim 1 .
 前記回転方向変更部は、前記工具の回転方向を正回転から逆回転に反転させた後、前記工具の回転方向を逆回転から正回転にさらに反転させる指令を出力し、
 前記電流負荷判定部は、前記工具の回転方向を逆回転から正回転に反転させる際に前記加速度を変更するか否かを判定する、
 ことを特徴とする請求項2に記載の数値制御装置。
the rotation direction changing unit outputs a command to further reverse the rotation direction of the tool from reverse rotation to forward rotation after reversing the rotation direction of the tool from forward rotation to reverse rotation;
the current load determination unit determines whether or not to change the acceleration when reversing a rotation direction of the tool from reverse rotation to forward rotation.
3. The numerical control device according to claim 2 .
 前記電流負荷判定部は、前記電流フィードバック値が前記基準値よりも大きい場合に前記加速度を下降させると判定し、
 前記加速度変更部は、前記加速度を下降させる、
 ことを特徴とする請求項2または3に記載の数値制御装置。
the current load determination unit determines that the acceleration is to be decreased when the current feedback value is greater than the reference value,
The acceleration change unit decreases the acceleration.
4. The numerical control device according to claim 2 or 3.
 前記電流負荷判定部は、前記電流フィードバック値が前記基準値よりも小さい場合に前記加速度を上昇させると判定し、
 前記加速度変更部は、前記加速度を上昇させる、
 ことを特徴とする請求項2または3に記載の数値制御装置。
the current load determination unit determines that the acceleration is to be increased when the current feedback value is smaller than the reference value,
The acceleration change unit increases the acceleration.
4. The numerical control device according to claim 2 or 3.
 前記電流負荷判定部は、複数の穴あけ加工が実行される場合に、穴あけ加工が完了するたびに前記加速度を変更するか否かを判定し、
 前記加速度変更部は、前記穴あけ加工が完了するたびに判定された結果に基づいて前記加速度を制御する、
 ことを特徴とする請求項1から5の何れか1つに記載の数値制御装置。
the current load determination unit determines whether or not to change the acceleration each time a plurality of drilling processes are completed when the drilling processes are performed;
The acceleration change unit controls the acceleration based on a result determined each time the drilling process is completed.
6. The numerical control device according to claim 1, wherein the numerical control device is a control device for controlling a control operation of the control unit.
 前記電流負荷判定部は、前記電流フィードバック値と前記基準値との差分の大きさに対応する加速度の変更量を算出し、
 前記加速度変更部は、算出された前記変更量を用いて前記加速度を変更する、
 ことを特徴とする請求項1から6の何れか1つに記載の数値制御装置。
the current load determination unit calculates an amount of change in acceleration corresponding to a magnitude of a difference between the current feedback value and the reference value;
The acceleration change unit changes the acceleration using the calculated change amount.
7. The numerical control device according to claim 1, wherein the numerical control device is a control device for controlling a control operation of the control unit.
 工具を正回転させることで被加工物への穴あけ加工を行い且つ前記工具を逆回転させることで前記工具に絡まった切粉を前記工具から除去する工作機械の主軸モータを、数値制御装置が制御するサーボモータ制御ステップと、
 前記数値制御装置が、前記主軸モータにかかる負荷に対応する前記主軸モータの電流フィードバック値と、基準値との大きさを比較し、前記比較の結果に基づいて、前記主軸モータの回転の加速度を変更するか否かを判定する電流負荷判定ステップと、
 前記数値制御装置が、前記判定の結果に基づいて前記加速度を制御する加速度制御ステップと、
 を含む、
 ことを特徴とする数値制御方法。
a servo motor control step in which a numerical control device controls a spindle motor of a machine tool that rotates a tool in a forward direction to drill a hole in a workpiece and rotates the tool in a reverse direction to remove chips entangled in the tool from the tool;
a current load determination step in which the numerical control device compares a current feedback value of the spindle motor corresponding to a load applied to the spindle motor with a reference value, and determines whether or not to change the acceleration of rotation of the spindle motor based on a result of the comparison;
an acceleration control step in which the numerical control device controls the acceleration based on a result of the determination;
Including,
A numerical control method comprising:
PCT/JP2023/040034 2023-11-07 2023-11-07 Numerical value control device and numerical value control method Pending WO2025099821A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2024523989A JP7527524B1 (en) 2023-11-07 2023-11-07 Numerical control device and numerical control method
CN202380100078.8A CN121444030A (en) 2023-11-07 2023-11-07 Numerical control device and numerical control method
PCT/JP2023/040034 WO2025099821A1 (en) 2023-11-07 2023-11-07 Numerical value control device and numerical value control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2023/040034 WO2025099821A1 (en) 2023-11-07 2023-11-07 Numerical value control device and numerical value control method

Publications (1)

Publication Number Publication Date
WO2025099821A1 true WO2025099821A1 (en) 2025-05-15

Family

ID=91969352

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2023/040034 Pending WO2025099821A1 (en) 2023-11-07 2023-11-07 Numerical value control device and numerical value control method

Country Status (3)

Country Link
JP (1) JP7527524B1 (en)
CN (1) CN121444030A (en)
WO (1) WO2025099821A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0592143A (en) * 1991-09-30 1993-04-16 Meiko Shokai:Kk Paper sheet shredder
CN101281400A (en) * 2007-08-21 2008-10-08 四川普什宁江机床有限公司 Numerical control deep hole drilling machine dual-overload protection method
JP2015187799A (en) * 2014-03-27 2015-10-29 ブラザー工業株式会社 Numerical control device and control method of numerical control device
JP2016078223A (en) * 2014-10-17 2016-05-16 ファナック株式会社 Control device and control method for controlling machine tool for controlling synchronous operation of main spindle and feed shaft
JP2021041503A (en) * 2019-09-12 2021-03-18 株式会社マキタ Electric work machine
WO2021141016A1 (en) * 2020-01-07 2021-07-15 ファナック株式会社 Numerical control device, chip removal system, chip removal method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1031509A (en) * 1996-07-15 1998-02-03 Mitsubishi Electric Corp Numerical control unit
JP2004334914A (en) * 2004-08-23 2004-11-25 Mitsubishi Electric Corp Numerical control unit
JP6279432B2 (en) * 2014-08-26 2018-02-14 Dmg森精機株式会社 Tool changing method and tool changing device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0592143A (en) * 1991-09-30 1993-04-16 Meiko Shokai:Kk Paper sheet shredder
CN101281400A (en) * 2007-08-21 2008-10-08 四川普什宁江机床有限公司 Numerical control deep hole drilling machine dual-overload protection method
JP2015187799A (en) * 2014-03-27 2015-10-29 ブラザー工業株式会社 Numerical control device and control method of numerical control device
JP2016078223A (en) * 2014-10-17 2016-05-16 ファナック株式会社 Control device and control method for controlling machine tool for controlling synchronous operation of main spindle and feed shaft
JP2021041503A (en) * 2019-09-12 2021-03-18 株式会社マキタ Electric work machine
WO2021141016A1 (en) * 2020-01-07 2021-07-15 ファナック株式会社 Numerical control device, chip removal system, chip removal method

Also Published As

Publication number Publication date
JPWO2025099821A1 (en) 2025-05-15
JP7527524B1 (en) 2024-08-02
CN121444030A (en) 2026-01-30

Similar Documents

Publication Publication Date Title
CN108732989B (en) Control device for machine tool for performing swing cutting
JP5506945B2 (en) Numerical control method and numerical control device for machine tool
JP5355356B2 (en) Method for creating part programs
WO2022085114A1 (en) Numerical control device and numerical control method
JP2010123122A6 (en) Method for creating part programs
CN1781659A (en) control device
JP4115925B2 (en) Machine tool control method and control device therefor
US11402822B2 (en) Numerical controller
US11281187B2 (en) Numerical controller
US11114967B2 (en) Controller of rotary axis
US11340587B2 (en) Numerical controller
US11402824B2 (en) Numerical controller
JP7527524B1 (en) Numerical control device and numerical control method
JP7280310B2 (en) Numerical controller
US11003161B2 (en) Numerical controller
JP5886717B2 (en) Iterative learning position controller
US20240142947A1 (en) Numerical control device and machining method
JP2004202594A (en) Numerical control device
JP7599594B1 (en) Numerical control device and numerical control method
JP4037087B2 (en) Thread cutting control method and control device for numerically controlled machine tool and numerically controlled machine tool incorporating the same
JP6316919B2 (en) Numerical control device for machine tools
CN114258632B (en) Method for operating a stepper motor in a dental machine tool
JP6605926B2 (en) Machine tool control apparatus and control method for controlling synchronous operation of main shaft and feed shaft
JP2007000941A (en) Thread cutting control method and apparatus
JP7481447B2 (en) Machine tool control device and control method

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2024523989

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 2024523989

Country of ref document: JP

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23958226

Country of ref document: EP

Kind code of ref document: A1