WO2022186140A1 - 数値制御装置、およびコンピュータ読み取り可能な記憶媒体 - Google Patents

数値制御装置、およびコンピュータ読み取り可能な記憶媒体 Download PDF

Info

Publication number
WO2022186140A1
WO2022186140A1 PCT/JP2022/008301 JP2022008301W WO2022186140A1 WO 2022186140 A1 WO2022186140 A1 WO 2022186140A1 JP 2022008301 W JP2022008301 W JP 2022008301W WO 2022186140 A1 WO2022186140 A1 WO 2022186140A1
Authority
WO
WIPO (PCT)
Prior art keywords
spindle
load
machining
machining time
load applied
Prior art date
Application number
PCT/JP2022/008301
Other languages
English (en)
French (fr)
Inventor
宏祐 宇野
Original Assignee
ファナック株式会社
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 ファナック株式会社 filed Critical ファナック株式会社
Priority to DE112022000464.9T priority Critical patent/DE112022000464T5/de
Priority to JP2023503827A priority patent/JPWO2022186140A1/ja
Priority to CN202280017150.6A priority patent/CN116940905A/zh
Priority to US18/276,735 priority patent/US20240126240A1/en
Publication of WO2022186140A1 publication Critical patent/WO2022186140A1/ja

Links

Images

Classifications

    • 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/4155Numerical 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 programme execution, i.e. part programme or machine function execution, e.g. selection of a programme
    • 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
    • G05B19/4163Adaptive control of feed or cutting velocity
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/37Measurements
    • G05B2219/37336Cutting, machining time
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/49Nc machine tool, till multiple
    • G05B2219/49086Adjust feeding speed or rotational speed of main spindle when load out of range
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/49Nc machine tool, till multiple
    • G05B2219/49108Spindle speed

Definitions

  • the present disclosure relates to a numerical controller for controlling machine tools and a computer-readable storage medium.
  • the present disclosure provides a numerical control device and a computer readable memory capable of setting a desired time for machining a workpiece when the feed rate of the spindle is controlled so that the load applied to the spindle is constant.
  • the purpose is to provide a medium.
  • the numerical controller comprises a spindle load detection unit for detecting time-series data of the load applied to the spindle when the workpiece is machined, a machining time setting unit for setting the machining time when machining the workpiece, and a machining time.
  • the load applied to the spindle when the workpiece is machined in the machining time set by the setting unit and the feed rate of the spindle is controlled so that the load applied to the spindle becomes a constant load is shown in time-series data.
  • a spindle load output section for outputting data indicating the load applied to the spindle calculated by the spindle load calculation section.
  • a computer-readable storage medium detects time-series data of the load applied to the spindle when the work is machined, setting the machining time when machining the work, and the set machining time Calculating the load applied to the spindle based on time-series data when the workpiece is machined at and the feed rate of the spindle is controlled so that the load applied to the spindle is a constant load; and outputting data indicating the load applied to the spindle that has been processed, and storing instructions for causing a computer to execute the above.
  • the spindle feed speed is controlled so that the load applied to the spindle is constant, it is possible to set the workpiece machining time to a desired time.
  • FIG. 4 is a diagram illustrating a method of calculating a load applied to a spindle by a spindle load calculator;
  • FIG. 4 is a diagram illustrating a method of calculating a load applied to a spindle by a spindle load calculator;
  • FIG. 4 is a diagram illustrating a method of calculating a load applied to a spindle by a spindle load calculator;
  • FIG. 4 is a diagram illustrating a method of calculating a load applied to a spindle by a spindle load calculator; 4 is a flow chart showing an example of the flow of processing executed by a numerical control device; It is a figure which shows an example of a spindle load calculation part.
  • FIG. 4 is a diagram showing a display example of a load applied to a spindle displayed on an input/output device; 3 is a block diagram showing an example of functions of a numerical control device;
  • FIG. FIG. 4 is a diagram showing an example of time-series data of a load applied to a spindle; It is a figure which shows an example of frequency distribution.
  • FIG. 1 is a diagram showing an example of the hardware configuration of a machine tool.
  • Machine tool 1 is, for example, a lathe, a machining center, or a multitasking machine.
  • the machine tool 1 includes, for example, a numerical control device 2, an input/output device 3, a servo amplifier 4 and a servo motor 5, a spindle amplifier 6 and a spindle motor 7, and auxiliary equipment 8.
  • the numerical controller 2 is a device that controls the machine tool 1 as a whole.
  • the numerical controller 2 includes a CPU (Central Processing Unit) 201 , a bus 202 , a ROM (Read Only Memory) 203 , a RAM (Random Access Memory) 204 and a nonvolatile memory 205 .
  • a CPU Central Processing Unit
  • ROM Read Only Memory
  • RAM Random Access Memory
  • the CPU 201 is a processor that controls the entire numerical controller 2 according to the system program.
  • the CPU 201 reads a system program and the like stored in the ROM 203 via the bus 202 . Also, the CPU 201 controls the servo motor 5 and the spindle motor 7 according to the machining program.
  • the CPU 201 analyzes the machining program and outputs a control command to the servomotor 5 for each control cycle.
  • a bus 202 is a communication path that connects each piece of hardware in the numerical controller 2 to each other. Each piece of hardware within the numerical controller 2 exchanges data via the bus 202 .
  • the ROM 203 is a storage device that stores system programs and the like for controlling the numerical controller 2 as a whole. ROM 203 functions as a computer-readable storage medium.
  • the RAM 204 is a storage device that temporarily stores various data.
  • a RAM 204 functions as a work area for the CPU 201 to process various data.
  • the nonvolatile memory 205 is a storage device that retains data even when the machine tool 1 is powered off and power is not supplied to the numerical controller 2 .
  • the nonvolatile memory 205 stores, for example, machining programs and various parameters input from the input/output device 3 .
  • Non-volatile memory 205 functions as a computer-readable storage medium.
  • the nonvolatile memory 205 is composed of, for example, an SSD (Solid State Drive).
  • the numerical controller 2 further comprises an interface 206 , an axis control circuit 207 , a spindle control circuit 208 , a PLC (Programmable Logic Controller) 209 and an I/O unit 210 .
  • an interface 206 an interface 206 , an axis control circuit 207 , a spindle control circuit 208 , a PLC (Programmable Logic Controller) 209 and an I/O unit 210 .
  • the interface 206 connects the bus 202 and the input/output device 3 .
  • the interface 206 sends various data processed by the CPU 201 to the input/output device 3, for example.
  • the input/output device 3 is a device that receives various data via the interface 206 and displays various data.
  • the input/output device 3 also accepts input of various data and sends the various data to the CPU 201 via the interface 206 .
  • the input/output device 3 includes a display such as an LCD (Liquid Crystal Display), a keyboard, a mouse, and the like. Also, the input/output device 3 may be a touch panel.
  • the axis control circuit 207 is a circuit that controls the servo motor 5 .
  • the axis control circuit 207 receives a control command from the CPU 201 and outputs a command for driving the servo motor 5 to the servo amplifier 4 .
  • the axis control circuit 207 sends a torque command for controlling the torque of the servo motor 5 to the servo amplifier 4, for example.
  • the servo amplifier 4 receives a command from the axis control circuit 207 and supplies current to the servo motor 5 .
  • the servo motor 5 is driven by being supplied with current from the servo amplifier 4 .
  • the servomotor 5 is connected to, for example, a ball screw that drives a tool post, a spindle head, and a table.
  • structures of the machine tool 1 such as the tool post, the spindle head, and the table move, for example, in the X-axis direction, the Y-axis direction, or the Z-axis direction.
  • the servomotor 5 may incorporate a speed detector (not shown) for detecting the feed speed of each axis.
  • a spindle control circuit 208 is a circuit for controlling the spindle motor 7 .
  • a spindle control circuit 208 receives a control command from the CPU 201 and outputs a command for driving the spindle motor 7 to the spindle amplifier 6 .
  • the spindle control circuit 208 for example, sends a torque command for controlling the torque of the spindle motor 7 to the spindle amplifier 6 .
  • the spindle amplifier 6 receives a command from the spindle control circuit 208 and supplies current to the spindle motor 7 .
  • the spindle amplifier 6 incorporates an ammeter 61 for measuring the current value of the current supplied to the spindle motor 7 .
  • the ammeter 61 detects the current value of the current supplied to the spindle motor 7 .
  • the ammeter 61 sends data indicating the detected current value to the CPU 201 .
  • the spindle motor 7 is driven by being supplied with current from the spindle amplifier 6 .
  • a spindle motor 7 is connected to the main shaft and rotates the main shaft.
  • the PLC 209 is a device that executes the ladder program and controls the auxiliary equipment 8. PLC 209 sends commands to auxiliary equipment 8 via I/O unit 210 .
  • the I/O unit 210 is an interface that connects the PLC 209 and the auxiliary device 8.
  • the I/O unit 210 sends commands received from the PLC 209 to the auxiliary equipment 8 .
  • the auxiliary equipment 8 is installed in the machine tool 1 and performs auxiliary operations in the machine tool 1.
  • the auxiliary device 8 may be a device installed around the machine tool 1 .
  • the auxiliary equipment 8 operates based on commands received from the I/O unit 210 .
  • the auxiliary device 8 is, for example, a tool changer, a cutting fluid injection device, or an opening/closing door drive.
  • the numerical controller 2 detects time-series data of the load applied to the spindle when the work is machined at the feed rate commanded by the machining program. Furthermore, based on the detected time-series data of the load applied to the spindle, the numerical control device 2 performs machining of the workpiece so that the machining time is the set machining time, and the load applied to the spindle is constant. Predict the load on the spindle when the feed rate is controlled so that the load is .
  • FIG. 2 is a block diagram showing an example of functions of the numerical controller 2.
  • the numerical controller 2 includes a program storage unit 211, a control unit 212, a spindle load detection unit 213, a spindle load storage unit 214, a machining time reception unit 215, a machining time setting unit 216, and a spindle load calculation unit 217. and a spindle load output section 218 .
  • a program storage unit 211 and a spindle load storage unit 214 store a machining program input from the input/output device 3 or the like, and data input from the ammeter 61 and various sensors in the RAM 204 or the nonvolatile memory 205. It is realized by
  • the program storage unit 211 stores machining programs.
  • the machining program is a program for operating each part of the machine tool 1 to machine a workpiece.
  • the movement path of the tool, the feed speed of the tool, the rotation speed of the spindle, etc. are commanded using G code, M code, and the like.
  • the control unit 212 controls each part of the machine tool 1 based on the machining program.
  • the control unit 212 controls the servo motor 5 and the spindle motor 7, for example.
  • the control unit 212 performs constant speed control based on the machining program. Constant-speed control is control that moves the spindle at the feed rate specified by the machining program.
  • control unit 212 performs constant load control based on the machining program.
  • Constant load control is control that changes the feed rate of the spindle specified in the machining program so that the load applied to the spindle becomes a constant load. Constant load control can suppress fluctuations in the load applied to the spindle more than constant speed control.
  • the spindle load detection unit 213 detects time-series data of the load applied to the spindle when the workpiece is machined based on the machining program.
  • the spindle load detection unit 213 also detects time-series data indicating the feed speed of the spindle. That is, the spindle load detection unit 213 detects the load applied to the spindle and the feed speed of the spindle at predetermined intervals while the workpiece is being machined based on the machining program.
  • the spindle load detection unit 213 detects the load applied to the spindle based on the current value indicated by the ammeter 61 built in the spindle amplifier 6, for example.
  • the spindle load detector 213 also detects the feed speed of the spindle based on data detected by a speed detector built into the servo motor 5 .
  • the load applied to the main shaft is load torque applied in the opposite direction to the rotation direction of the main shaft.
  • the spindle load storage unit 214 stores time-series data of the load applied to the spindle detected by the spindle load detection unit 213 . That is, the spindle load storage unit 214 stores time-series data indicating the load applied to the spindle when the workpiece is machined. The spindle load storage unit 214 also stores time-series data indicating the feed speed of the spindle when the workpiece is machined. The time-series data stored in the spindle load storage unit 214 is time-series data detected when constant-speed control of the spindle is performed based on the machining program.
  • FIG. 3 is a diagram illustrating an example of time-series data stored in the spindle load storage unit 214.
  • the time-series data shown in FIG. 3 is data detected when machining is performed under constant-speed control.
  • FIG. 3 shows that the spindle load storage unit 214 sequentially stores time-series data L, 2L, 3L, 4L, 3L, 2L, and L indicating the load detected at each predetermined cycle T.
  • the machining time reception unit 215 receives input of the machining time required for machining when the machining program is executed under constant load control.
  • the processing time reception unit 215 receives a value input by the operator using the input/output device 3, for example.
  • the operator inputs a desired machining time for machining the workpiece based on the machining program.
  • the machining time setting unit 216 sets the machining time accepted by the machining time accepting unit 215 . That is, the machining time setting unit 216 sets the machining time for machining the workpiece.
  • the machining time setting unit 216 sets the machining time by, for example, storing data indicating the machining time in a predetermined register (not shown).
  • the spindle load calculation unit 217 is used when the workpiece is machined in the machining time set by the machining time setting unit 216 and the spindle feed rate is controlled so that the load applied to the spindle becomes a constant load.
  • the load applied to the spindle is calculated based on the time-series data stored in the spindle load storage unit 214 .
  • the spindle load calculation unit 217 calculates the load applied to the spindle when the machining program is executed under constant load control for the machining time set by the machining time setting unit 216. Make predictions based on the time series data that is detected when.
  • the spindle load calculator 217 calculates the load applied to the spindle assuming that the load applied to the spindle is proportional to the feed rate of the spindle.
  • the spindle load calculation unit 217 first reads the time-series data of the load applied to the spindle stored in the spindle load storage unit 214 .
  • the time-series data indicating the load applied to the spindle is data detected at every predetermined cycle T.
  • the spindle load calculation unit 217 multiplies the value T indicating the length of the predetermined cycle by the value indicating the load applied to the spindle. For example, when the load shown in FIG. 3 is detected during execution of the machining program, the load detected in the first period is L. Therefore, the value obtained by multiplying the value T indicating the length of the predetermined cycle by the value L indicating the load applied to the spindle is LT (see FIG. 4A). Also, the load applied to the spindle detected in the next cycle is 2L. Therefore, the value obtained by multiplying the value T indicating the predetermined cycle by the value 2L indicating the load applied to the spindle is 2LT (see FIG. 4B). Similarly, the values calculated for the third and subsequent cycles are 3LT, 4LT, 3LT, 2LT, and LT, respectively.
  • the spindle load calculation unit 217 sums the values calculated by multiplying the value T indicating the length of the predetermined period and the value indicating the load applied to the spindle.
  • the total value is 16LT.
  • the spindle load calculator 217 calculates the load applied to the spindle by dividing the total value calculated by summing the values by the value indicating the machining time set by the machining time setting part 216 . For example, when the total value is 16LT and the machining time set by the machining time setting unit 216 is 10T, the load applied to the spindle is 1.6L (see FIG. 5). As a result, the spindle load calculator 217 can calculate the load 1.6 L applied to the spindle when the load applied to the spindle is proportional to the feed rate of the spindle.
  • the spindle load calculator 217 further controls the feed of the spindle so that the workpiece is machined in the machining time set by the machining time setting part 216 and the load applied to the spindle becomes a constant load.
  • the feed rate of the spindle in the case may be calculated.
  • the spindle load output unit 218 outputs data indicating the load applied to the spindle calculated by the spindle load calculation unit 217 .
  • the spindle load output unit 218 outputs data indicating the calculated load applied to the spindle and data indicating the machining time set by the machining time setting unit 216 to the input/output device 3, for example. Display the load on the spindle and the machining time.
  • the spindle load output unit 218 may output the spindle feed rate calculated by the spindle load calculation unit 217 in the process of calculating the load applied to the spindle. In this case, the spindle load output unit 218 may output data indicating the spindle feed speed so that the spindle feed speed for each cycle is displayed in a graph.
  • FIG. 6 is a flowchart showing an example of the flow of processing executed by the numerical controller 2.
  • the spindle load detection unit 213 detects time series data indicating the load applied to the spindle when the workpiece is machined under constant speed control based on the machining program (step S1).
  • the spindle load storage unit 214 stores time-series data indicating the load applied to the spindle detected by the spindle load detection unit 213 (step S2).
  • the machining time accepting unit 215 accepts input of a value indicating the machining time when machining the workpiece under constant load control based on the machining program (step S3).
  • the machining time setting unit 216 sets the value accepted by the machining time accepting unit 215 as the machining time (step S4).
  • the spindle load calculator 217 calculates the load applied to the spindle when the machining program is executed in the machining time set by the machining time setting part 216 (step S5).
  • the spindle load output unit 218 outputs data indicating the load applied to the spindle calculated by the spindle load calculation unit 217 (step S6), and ends the process.
  • the control unit 212 can process the workpiece in the processing time set by the processing time setting unit 216 .
  • the numerical controller 2 sets the spindle load detection unit 213 for detecting the time-series data of the load applied to the spindle when the workpiece is machined, and the machining time for machining the workpiece.
  • the machining time setting unit 216 and the machining time set by the machining time setting unit 216 are used to machine the workpiece, and the spindle feed rate is controlled so that the load applied to the spindle becomes a constant load.
  • a spindle load calculation unit 217 that calculates the load applied to the spindle based on time-series data, and a spindle load output unit 218 that outputs data indicating the load applied to the spindle calculated by the spindle load calculation unit 217.
  • the numerical controller 2 can set the workpiece machining time to a desired time when the spindle feed rate is controlled so that the load applied to the spindle is constant.
  • the numerical control device 2 further includes a machining time reception section 215 that receives input of a value indicating the machining time set by the machining time setting section 216 . Therefore, the numerical controller 2 can predict the machining time according to the input target load. Further, since the numerical controller 2 outputs a value indicating the load applied to the spindle, the operator can set the machining time in consideration of the balance between the load applied to the spindle and the machining time.
  • the spindle load calculation unit 217 calculates the load applied to the spindle assuming that the load applied to the spindle is proportional to the feed rate. Therefore, the spindle load calculator 217 can calculate the load applied to the spindle without performing complicated calculations.
  • the spindle load calculator 217 controls the spindle feed rate so that the workpiece is machined in the machining time set by the machining time setting part 216 and the load applied to the spindle becomes a constant load. Calculate the feedrate of the spindle when This allows the operator to determine whether the feed speed of the spindle is suitable for machining the workpiece and to set the machining time.
  • the numerical controller 2 further includes a spindle load storage section 214 that stores the time-series data detected by the spindle load detection section 213 .
  • the spindle load calculation unit 217 can calculate the load applied to the spindle for various machining times based on the time-series data stored in the spindle load storage unit 214 .
  • the spindle load calculator 217 calculates the load applied to the spindle assuming that the load applied to the spindle is proportional to the feed speed of the spindle.
  • the spindle load calculator 217 may predict the load applied to the spindle based on a correlation model showing the relationship between the load applied to the spindle and the feed speed of the spindle.
  • FIG. 7 is a diagram showing an example of the spindle load calculator 217 that calculates the load applied to the spindle based on the correlation model.
  • the spindle load calculation unit 217 includes a learning unit 221 , a correlation model storage unit 222 and a prediction unit 223 .
  • the configuration other than the spindle load calculator 217 is the same as the configuration of the embodiment described above.
  • the learning unit 221 calculates the relationship between the load applied to the spindle and the feed speed of the spindle based on the time series data indicating the load applied to the spindle and the time series data indicating the feed speed of the spindle stored in the spindle load storage unit 214. Generate a correlation model showing The learning unit 221 generates a correlation model using, for example, a regression equation, an SVM (Support Vector Machine), and a neural network.
  • SVM Small Vector Machine
  • the correlation model storage unit 222 stores the correlation model generated by the learning unit 221.
  • the prediction unit 223 stores in the correlation model storage unit 222 the load applied to the spindle when machining is performed so that the machining performed based on the machining program is completed in the machining time set by the machining time setting unit 216. calculated using the modeled correlation model. Further, the feed rate of the spindle when machining is performed so that the machining performed based on the machining program is completed in the machining time set by the machining time setting unit 216 may be calculated.
  • the numerical control device 2 further includes a learning unit 221 that learns the relationship between the load applied to the spindle and the feed speed. Calculate the load on the spindle. Therefore, the spindle load calculator 217 can predict the load applied to the spindle with high accuracy.
  • the numerical controller 2 of the above-described embodiment includes the machining time reception unit 215
  • the numerical controller 2 does not necessarily have to include the machining time reception unit 215 .
  • the numerical controller 2 stores values indicating a plurality of machining times in advance, and calculates the load applied to the spindle when the feed rate of the spindle is controlled so that the execution of the machining program is completed at each machining time. Predict.
  • FIG. 8 is a diagram showing a display example of the load applied to the spindle displayed on the input/output device 3 when the numerical control device 2 stores values indicating a plurality of machining times.
  • the numerical controller 2 stores, for example, a preset machining time. In the example shown in FIG. 8, 11:00, 10:30, 10:00, 9:30, 9:00, 8:00, 7:00, and 6:00 are stored as machining times.
  • the spindle load calculation unit 217 calculates the load applied to the spindle when constant load control is performed so that the machining of the workpiece is completed within these machining times. Data indicating the load calculated by the spindle load calculation unit 217 is output by the spindle load output unit 218 and displayed on the display screen of the input/output device 3 .
  • a straight line with a scale extending left and right is displayed.
  • the set machining time is displayed below the straight line.
  • a value indicating the ratio of the target torque to the rated torque is displayed as the calculated load applied to the main shaft.
  • a load of 50% is displayed in association with the set machining time of 11:00. Also, a load of 53% is displayed in association with the set machining time of 10:30. Also, a load of 56% is displayed in association with the set machining time of 10:00. Also, a load of 59% is displayed in association with the set machining time of 9:30. Also, a load of 62% is displayed in association with the set machining time of 9:00. Also, a load of 65% is displayed in association with the set machining time of 8:00. Also, a load of 68% is displayed in association with the set machining time of 7:00. Also, a load of 71% is displayed in association with the set machining time of 6:00.
  • the operator can easily grasp the load applied to the spindle when constant load control is performed so that the workpiece is machined at each machining time. can do.
  • the set machining time may be displayed as a percentage of the machining time when the workpiece is machined under constant speed control. For example, in the example shown in FIG. 8, the machining time is 10:00 when the constant speed control is performed, and each set machining time is displayed in parenthesis as a ratio to 10:00.
  • one of the machining times may be selected on the display screen.
  • the control unit 212 may execute the machining program under constant load control so that the workpiece is machined within the selected machining time.
  • the numerical control device 2 is provided with the spindle load storage section 214.
  • the numerical controller 2 does not necessarily have to include the spindle load storage section 214 .
  • FIG. 9 is a block diagram showing an example of functions of the numerical controller 2. As shown in FIG.
  • the numerical control device 2 includes a generation section 224 and a frequency distribution storage section 225 instead of the spindle load storage section 214 .
  • Other configurations are the same as those of the numerical controller 2 shown in FIG.
  • the generation unit 224 is realized, for example, by the CPU 201 performing arithmetic processing using the system program stored in the ROM 203 and the processing program and various data stored in the non-volatile memory 205 .
  • the frequency distribution storage unit 225 is realized, for example, by storing in the RAM 204 or the nonvolatile memory 205 data generated by arithmetic processing performed by the CPU 201 using the system program and various data.
  • the generation unit 224 generates frequency distribution data based on the time-series data detected by the spindle load detection unit 213 .
  • FIG. 10 is a diagram showing time-series data detected by the spindle load detection unit 213.
  • FIG. 10 is data detected when machining is performed under constant-speed control.
  • FIG. 11 is a diagram showing an example of frequency distribution.
  • the generator 224 classifies the load applied to the spindle detected by the spindle load detector 213 into a plurality of classes, and counts the frequency of each class.
  • the generator 224 sorts the detected load into one of four classes L, 2L, 3L and 4L, for example.
  • the generation unit 224 divides the load value detected by the spindle load detection unit 213 into one of L, 2L, 3L, and 4L classes by, for example, rounding off.
  • the generation unit 224 distributes the load having a size of 0.5 L or more and less than 1.5 L to class L, for example. Similarly, loads of 1.5 L or more and less than 2.5 L are sorted into class 2L. Also, a load of 2.5 L or more and less than 3.5 L is sorted into class 3L. Also, a load of 3.5 L or more and less than 4.5 L is sorted into class 4L. In the example shown in FIG. 11, four values are assigned to class L, five values to class 2L, two values to class 3L, and one value to class 4L.
  • the frequency distribution storage unit 225 stores the frequency distribution data generated by the generation unit 224 .
  • the spindle load calculation unit 217 calculates the load applied to the spindle when the workpiece is machined for the set machining time based on the frequency distribution data stored in the frequency distribution storage unit 225 .
  • the spindle load calculation unit 217 divides the calculated total value by the machining time set by the machining time setting unit 216 . For example, if the obtained total value is 24LT and the machining time set by the machining time setting unit 216 is 10T, the load applied to the spindle is calculated to be 2.4L.
  • the numerical control device 2 further includes the frequency distribution storage section 225 that stores data representing the frequency distribution generated based on the time-series data detected by the spindle load detection section 213. Therefore, the amount of data to be stored can be reduced compared to when the spindle load storage unit 214 stores time-series data. Therefore, the amount of data stored in the memory can be reduced.
  • machine tool 2 numerical controller 201 CPU 202 bus 203 ROM 204 RAMs 205 non-volatile memory 206 interface 207 axis control circuit 208 spindle control circuit 209 PLC 210 I/O unit 211 program storage unit 212 control unit 213 spindle load detection unit 214 spindle load storage unit 215 machining time reception unit 216 machining time setting unit 217 spindle load calculation unit 218 spindle load output unit 221 learning unit 222 correlation model storage unit 223 prediction unit 224 generation unit 225 frequency distribution storage unit 3 input/output device 4 servo amplifier 5 servo motor 6 spindle amplifier 61 ammeter 7 spindle motor 8 auxiliary device

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Numerical Control (AREA)

Abstract

数値制御装置が、ワークの加工が行われたときの主軸に掛かる負荷の時系列データを検出する主軸負荷検出部と、ワークを加工する際の加工時間を設定する加工時間設定部と、加工時間設定部によって設定された加工時間でワークの加工が行われ、かつ、主軸に掛かる負荷が一定の負荷となるように主軸の送り速度が制御される場合における主軸に掛かる負荷を、時系列データに基づいて計算する主軸負荷計算部と、主軸負荷計算部によって計算された主軸に掛かる負荷を示すデータを出力する主軸負荷出力部と、を備える。

Description

数値制御装置、およびコンピュータ読み取り可能な記憶媒体
 本開示は、工作機械を制御する数値制御装置、およびコンピュータ読み取り可能な記憶媒体に関する。
 工作機械において、主軸に掛かる負荷が一定になるように主軸の送り速度を制御する技術が知られている(例えば、特許文献1)。この制御によって、工具の寿命を延ばすことができる。
特開2019-117458号公報
 しかし、主軸に掛かる負荷が一定になるように主軸の送り速度を制御する場合、負荷に合わせて送り速度が変化するため、加工時間を事前に予測することが困難である。したがって、ワークの加工を所望の加工時間で完了させようとすると、主軸に掛かる負荷を調整して何度もテスト加工を行うことが必要になる。
 本開示は、主軸に掛かる負荷が一定となるように主軸の送り速度が制御される場合において、ワークの加工時間を所望の時間に設定することが可能な数値制御装置、およびコンピュータ読み取り可能な記憶媒体を提供することを目的とする。
 数値制御装置が、ワークの加工が行われたときの主軸に掛かる負荷の時系列データを検出する主軸負荷検出部と、ワークを加工する際の加工時間を設定する加工時間設定部と、加工時間設定部によって設定された加工時間でワークの加工が行われ、かつ、主軸に掛かる負荷が一定の負荷となるように主軸の送り速度が制御される場合における主軸に掛かる負荷を、時系列データに基づいて計算する主軸負荷計算部と、主軸負荷計算部によって計算された主軸に掛かる負荷を示すデータを出力する主軸負荷出力部と、を備える。
 コンピュータ読み取り可能な記憶媒体が、ワークの加工が行われたときの主軸に掛かる負荷の時系列データを検出することと、ワークを加工する際の加工時間を設定することと、設定された加工時間でワークの加工が行われ、かつ、主軸に掛かる負荷が一定の負荷となるように主軸の送り速度が制御される場合における主軸に掛かる負荷を、時系列データに基づいて計算することと、計算された主軸に掛かる負荷を示すデータを出力することと、をコンピュータに実行させる命令を記憶する。
 本開示により、主軸に掛かる負荷が一定となるように主軸の送り速度が制御される場合において、ワークの加工時間を所望の時間に設定することが可能になる。
工作機械のハードウェア構成の一例を示す図である。 数値制御装置の機能の一例を示すブロック図である。 主軸負荷記憶部に記憶される時系列データの一例を説明する図である。 主軸負荷計算部が主軸に掛かる負荷を計算する方法を説明する図である。 主軸負荷計算部が主軸に掛かる負荷を計算する方法を説明する図である。 主軸負荷計算部が主軸に掛かる負荷を計算する方法を説明する図である。 数値制御装置が実行する処理の流れの一例を示すフローチャートである。 主軸負荷計算部の一例を示す図である。 入出力装置に表示される主軸に掛かる負荷の表示例を示す図である。 数値制御装置の機能の一例を示すブロック図である。 主軸に掛かる負荷の時系列データの一例を示す図である。 度数分布の一例を示す図である。
 以下、本開示の一実施形態について図面を用いて説明する。なお、以下の実施形態で説明する特徴のすべての組み合わせが課題解決に必ずしも必要であるとは限らない。また、必要以上の詳細な説明を省略する場合がある。また、以下の実施形態の説明、および図面は、当業者が本開示を十分に理解するために提供されるものであり、請求の範囲を限定することを意図していない。
 図1は、工作機械のハードウェア構成の一例を示す図である。工作機械1は、例えば、旋盤、マシニングセンタ、または複合加工機である。
 工作機械1は、例えば、数値制御装置2と、入出力装置3と、サーボアンプ4およびサーボモータ5と、スピンドルアンプ6およびスピンドルモータ7と、補助機器8とを備えている。
 数値制御装置2は、工作機械1全体を制御する装置である。数値制御装置2は、CPU(Central Processing Unit)201と、バス202と、ROM(Read Only Memory)203と、RAM(Random Access Memory)204と、不揮発性メモリ205とを備えている。
 CPU201は、システムプログラムに従って数値制御装置2全体を制御するプロセッサである。CPU201は、バス202を介してROM203に格納されたシステムプログラムなどを読み出す。また、CPU201は、加工プログラムに従って、サーボモータ5およびスピンドルモータ7を制御する。
 CPU201は、制御周期ごとに、例えば、加工プログラムの解析、およびサーボモータ5に対する制御指令の出力を行う。
 バス202は、数値制御装置2内の各ハードウェアを互いに接続する通信路である。数値制御装置2内の各ハードウェアはバス202を介してデータをやり取りする。
 ROM203は、数値制御装置2全体を制御するためのシステムプログラムなどを記憶する記憶装置である。ROM203は、コンピュータ読み取り可能な記憶媒体として機能する。
 RAM204は、各種データを一時的に格納する記憶装置である。RAM204は、CPU201が各種データを処理するための作業領域として機能する。
 不揮発性メモリ205は、工作機械1の電源が切られ、数値制御装置2に電力が供給されていない状態でもデータを保持する記憶装置である。不揮発性メモリ205は、例えば、加工プログラム、および入出力装置3から入力される各種パラメータを記憶する。不揮発性メモリ205は、コンピュータ読み取り可能な記憶媒体として機能する。不揮発性メモリ205は、例えば、SSD(Solid State Drive)で構成される。
 数値制御装置2は、さらに、インタフェース206と、軸制御回路207と、スピンドル制御回路208と、PLC(Programmable Logic Controller)209と、I/Oユニット210とを備えている。
 インタフェース206は、バス202と入出力装置3とを接続する。インタフェース206は、例えば、CPU201が処理した各種データを入出力装置3に送る。
 入出力装置3は、インタフェース206を介して各種データを受け、各種データを表示する装置である。また、入出力装置3は、各種データの入力を受け付けてインタフェース206を介して各種データをCPU201に送る。入出力装置3は、LCD(Liquid Crystal Display)などのディスプレイ、キーボード、およびマウスなどを含む。また、入出力装置3は、タッチパネルであってもよい。
 軸制御回路207は、サーボモータ5を制御する回路である。軸制御回路207は、CPU201からの制御指令を受けてサーボモータ5を駆動させるための指令をサーボアンプ4に出力する。軸制御回路207は、例えば、サーボモータ5のトルクを制御するトルクコマンドをサーボアンプ4に送る。
 サーボアンプ4は、軸制御回路207からの指令を受けて、サーボモータ5に電流を供給する。
 サーボモータ5は、サーボアンプ4から電流の供給を受けて駆動する。サーボモータ5は、例えば、刃物台、主軸頭、テーブルを駆動させるボールねじに連結される。サーボモータ5が駆動することにより、刃物台、主軸頭、テーブルなどの工作機械1の構造物は、例えば、X軸方向、Y軸方向、またはZ軸方向に移動する。なお、サーボモータ5は、各軸の送り速度を検出する速度検出器(不図示)を内蔵していてもよい。
 スピンドル制御回路208は、スピンドルモータ7を制御するための回路である。スピンドル制御回路208は、CPU201からの制御指令を受けてスピンドルモータ7を駆動させるための指令をスピンドルアンプ6に出力する。スピンドル制御回路208は、例えば、スピンドルモータ7のトルクを制御するトルクコマンドをスピンドルアンプ6に送る。
 スピンドルアンプ6は、スピンドル制御回路208からの指令を受けて、スピンドルモータ7に電流を供給する。スピンドルアンプ6はスピンドルモータ7に供給される電流の電流値を測定する電流計61を内蔵している。
 電流計61は、スピンドルモータ7に供給される電流の電流値を検出する。電流計61は、検出した電流値を示すデータをCPU201に送る。
 スピンドルモータ7は、スピンドルアンプ6から電流の供給を受けて駆動する。スピンドルモータ7は、主軸に連結され、主軸を回転させる。
 PLC209は、ラダープログラムを実行して補助機器8を制御する装置である。PLC209は、I/Oユニット210を介して補助機器8に対して指令を送る。
 I/Oユニット210は、PLC209と補助機器8とを接続するインタフェースである。I/Oユニット210は、PLC209から受けた指令を補助機器8に送る。
 補助機器8は、工作機械1に設置され、工作機械1において補助的な動作を行う。補助機器8は、工作機械1の周辺に設置される装置であってもよい。補助機器8は、I/Oユニット210から受けた指令に基づいて動作する。補助機器8は、例えば、工具交換装置、切削液噴射装置、または開閉ドア駆動装置である。
 次に、数値制御装置2の機能の一例について説明する。数値制御装置2は、加工プログラムで指令された送り速度でワークの加工が行われたときの主軸に掛かる負荷の時系列データを検出する。さらに、数値制御装置2は、検出された主軸に掛かる負荷の時系列データに基づいて、加工時間が設定された加工時間となるようにワークの加工が行われ、かつ、主軸に掛かる負荷が一定の負荷となるように送り速度が制御される場合における主軸に掛かる負荷を予測する。
 図2は、数値制御装置2の機能の一例を示すブロック図である。数値制御装置2は、プログラム記憶部211と、制御部212と、主軸負荷検出部213と、主軸負荷記憶部214と、加工時間受付部215と、加工時間設定部216と、主軸負荷計算部217と、主軸負荷出力部218とを備えている。
 プログラム記憶部211、および主軸負荷記憶部214は、入出力装置3などから入力された加工プログラム、ならびに、電流計61および各種センサから入力されたデータが、RAM204、または不揮発性メモリ205に記憶されることにより実現される。
 制御部212、主軸負荷検出部213、加工時間受付部215、加工時間設定部216、主軸負荷計算部217、および主軸負荷出力部218は、例えば、CPU201が、ROM203に記憶されているシステムプログラムならびに不揮発性メモリ205に記憶されている加工プログラムおよび各種データを用いて演算処理することにより実現される。
 プログラム記憶部211は、加工プログラムを記憶する。加工プログラムは、工作機械1の各部を動作させてワークの加工を行うためのプログラムである。加工プログラムでは、工具の移動経路、工具の送り速度、および主軸の回転速度などがGコード、およびMコードなどを用いて指令される。
 制御部212は、加工プログラムに基づいて工作機械1の各部を制御する。制御部212は、例えば、サーボモータ5、およびスピンドルモータ7を制御する。
 制御部212は、加工プログラムに基づいて、定速制御を行う。定速制御とは、加工プログラムで指定された送り速度で主軸を移動させる制御である。
 また、制御部212は、加工プログラムに基づいて、定負荷制御を行う。定負荷制御とは、主軸に掛かる負荷が一定の負荷となるように、加工プログラムで指定された主軸の送り速度を変化させる制御である。定負荷制御では、定速制御よりも主軸に掛かる負荷の変動を抑えることができる。
 主軸負荷検出部213は、加工プログラムに基づいてワークの加工が行われたときの主軸に掛かる負荷の時系列データを検出する。また、主軸負荷検出部213は、主軸の送り速度を示す時系列データを検出する。つまり、主軸負荷検出部213は、加工プログラムに基づいてワークの加工が行われている間、主軸に掛かる負荷と主軸の送り速度とを所定の周期ごとに検出する。
 主軸負荷検出部213は、例えば、スピンドルアンプ6に内蔵されている電流計61が示す電流値に基づいて、主軸に掛かる負荷を検出する。また、主軸負荷検出部213は、サーボモータ5に内蔵された速度検出器によって検出されたデータに基づいて主軸の送り速度を検出する。なお、主軸に掛かる負荷とは、主軸の回転方向に対して逆向きに掛かる負荷トルクである。
 主軸負荷記憶部214は、主軸負荷検出部213によって検出された主軸に掛かる負荷の時系列データを記憶する。つまり、主軸負荷記憶部214は、ワークの加工が行われたときの主軸に掛かる負荷を示す時系列データを記憶する。また、主軸負荷記憶部214は、ワークの加工が行われたときの主軸の送り速度を示す時系列データを記憶する。主軸負荷記憶部214が記憶する時系列データは、加工プログラムに基づいて主軸の定速制御が行われたときに検出された時系列データである。
 図3は、主軸負荷記憶部214に記憶される時系列データの一例を説明する図である。つまり、図3に示す時系列データは、定速制御にて加工が行われたときに検出されたデータである。図3は、主軸負荷記憶部214が、所定の周期Tごとに検出された負荷を示す時系列データL、2L、3L、4L、3L、2L、およびLを順に記憶していることを示している。
 ここで、図2の説明に戻る。
 加工時間受付部215は、定負荷制御のもとで加工プログラムが実行されるときに加工にかかる加工時間の入力を受け付ける。加工時間受付部215は、例えば、入出力装置3を利用して作業者が入力する値を受け付ける。作業者は、加工プログラムに基づいてワークの加工が行われるときの所望の加工時間を入力する。
 加工時間設定部216は、加工時間受付部215が受け付けた加工時間を設定する。つまり、加工時間設定部216は、ワークを加工する際の加工時間を設定する。加工時間設定部216は、例えば、あらかじめ定められたレジスタ(不図示)に加工時間を示すデータを記憶させることによって、加工時間を設定する。
 主軸負荷計算部217は、加工時間設定部216によって設定された加工時間でワークの加工が行われ、かつ、主軸に掛かる負荷が一定の負荷となるように主軸の送り速度が制御される場合における主軸に掛かる負荷を、主軸負荷記憶部214に記憶された時系列データに基づいて計算する。言い換えれば、主軸負荷計算部217は、加工時間設定部216によって設定された加工時間で加工プログラムが定負荷制御のもとで実行された場合の主軸に掛かる負荷を、定速制御が行われたときに検出された時系列データに基づいて予測する。主軸負荷計算部217は、主軸に掛かる負荷と主軸の送り速度とが比例するものとして主軸に掛かる負荷を計算する。
 図4A、図4Bおよび図5は、主軸負荷計算部217が主軸に掛かる負荷を計算する方法を説明する図である。主軸負荷計算部217は、まず、主軸負荷記憶部214に記憶された主軸に掛かる負荷の時系列データを読み出す。主軸に掛かる負荷を示す時系列データは、所定の周期Tごとに検出されたデータである。
 次に、主軸負荷計算部217は、所定の周期の長さを示す値Tと主軸に掛かる負荷を示す値を乗算する。例えば、加工プログラムの実行中に図3に示す負荷が検出された場合、最初の周期で検出された負荷はLである。したがって、所定の周期の長さを示す値Tと主軸に掛かる負荷を示す値Lとを乗算した値は、LTとなる(図4A参照)。また、次の周期に検出された主軸に掛かる負荷は2Lである。したがって、所定の周期を示す値Tと主軸に掛かる負荷を示す値2Lとを乗算した値は、2LTとなる(図4B参照)。同様に、3番目の周期以降について算出される値は、それぞれ、3LT、4LT、3LT、2LT、およびLTとなる。
 次に、主軸負荷計算部217は、所定の周期の長さを示す値Tと主軸に掛かる負荷を示す値とを乗算して算出した各値を合算する。図3に示す例では、合算値は16LTとなる。
 次に、主軸負荷計算部217は、各値を合算して算出した合算値を加工時間設定部216が設定した加工時間を示す値で除算して主軸に掛かる負荷を計算する。例えば、合算値が16LT、加工時間設定部216が設定した加工時間が10Tである場合、主軸に掛かる負荷は、1.6Lとなる(図5参照)。これにより、主軸負荷計算部217は、主軸に掛かる負荷と主軸の送り速度とが比例するものとして計算した場合における主軸に掛かる負荷1.6Lを算出することができる。なお、主軸負荷計算部217は、さらに、加工時間設定部216によって設定された加工時間でワークの加工が行われ、かつ、主軸に掛かる負荷が一定の負荷となるように主軸の送り制御される場合における主軸の送り速度を計算してもよい。
 主軸負荷出力部218は、主軸負荷計算部217によって計算された主軸に掛かる負荷を示すデータを出力する。主軸負荷出力部218は、計算された主軸に掛かる負荷を示すデータ、および加工時間設定部216で設定された加工時間を示すデータを、例えば、入出力装置3に出力し、入出力装置3に主軸に掛かる負荷および加工時間を表示させる。主軸負荷出力部218は、主軸負荷計算部217が主軸に掛かる負荷を計算する過程で算出する主軸の送り速度を出力してもよい。この場合、主軸負荷出力部218は、各周期の主軸の送り速度がグラフで表示されるように主軸の送り速度を示すデータを出力してもよい。
 次に、数値制御装置2が実行する処理の流れについて説明する。
 図6は、数値制御装置2が実行する処理の流れの一例を示すフローチャートである。まず、主軸負荷検出部213は、加工プログラムに基づいて定速制御にてワークの加工が行われたときの主軸に掛かる負荷を示す時系列データを検出する(ステップS1)。
 次に、主軸負荷記憶部214は、主軸負荷検出部213によって検出された主軸に掛かる負荷を示す時系列データを記憶する(ステップS2)。
 次に、加工時間受付部215は、加工プログラムに基づいて定負荷制御にてワークの加工を行う場合の加工時間を示す値の入力を受け付ける(ステップS3)。
 次に、加工時間設定部216は、加工時間受付部215が受け付けた値を加工時間として設定する(ステップS4)。
 次に、主軸負荷計算部217は、加工時間設定部216が設定した加工時間で加工プログラムが実行される場合において主軸に掛かる負荷を計算する(ステップS5)。
 最後に、主軸負荷出力部218は、主軸負荷計算部217によって計算された主軸に掛かる負荷を示すデータを出力し(ステップS6)、処理を終了する。
 数値制御装置2がこのような処理を行うことより、加工時間設定部216によって設定された加工時間でワークが加工されるように定負荷制御に基づいて加工プログラムが実行された場合に主軸に掛かる負荷を、例えば、入出力装置3に表示させることができる。また、制御部212は、加工時間設定部216が設定した加工時間でワークの加工を行うことができる。
 以上説明したように、数値制御装置2は、ワークの加工が行われたときの主軸に掛かる負荷の時系列データを検出する主軸負荷検出部213と、ワークを加工する際の加工時間を設定する加工時間設定部216と、加工時間設定部216によって設定された加工時間でワークの加工が行われ、かつ、主軸に掛かる負荷が一定の負荷となるように主軸の送り速度が制御される場合における主軸に掛かる負荷を、時系列データに基づいて計算する主軸負荷計算部217と、主軸負荷計算部217によって計算された主軸に掛かる負荷を示すデータを出力する主軸負荷出力部218と、を備える。これにより、数値制御装置2は、主軸に掛かる負荷が一定となるように主軸の送り速度が制御される場合において、ワークの加工時間を所望の時間に設定することが可能になる。
 また、数値制御装置2は、加工時間設定部216によって設定される加工時間を示す値の入力を受け付ける加工時間受付部215をさらに備える。そのため、数値制御装置2は、入力される目標負荷に応じて加工時間を予測することができる。また、数値制御装置2は、主軸に掛かる負荷を示す値を出力するため、作業者は、主軸に掛かる負荷と加工時間とのバランスを考慮して加工時間を設定することができる。
 また、主軸負荷計算部217は、主軸に掛かる負荷と送り速度とが比例するものとして主軸に掛かる負荷を計算する。そのため、主軸負荷計算部217は、複雑な計算を行わずに主軸に掛かる負荷を計算することができる
 また、主軸負荷計算部217は、さらに、加工時間設定部216によって設定された加工時間でワークの加工が行われ、かつ、主軸に掛かる負荷が一定の負荷となるように主軸の送り速度が制御される場合における主軸の送り速度を計算する。これにより、作業者は、主軸の送り速度がワークの加工に適切な速度であるか否かを判断し、加工時間を設定することができる。
 また、数値制御装置2は、主軸負荷検出部213によって検出された時系列データを記憶する主軸負荷記憶部214をさらに備える。これにより、主軸負荷計算部217は、主軸負荷記憶部214に記憶された時系列データに基づいて、様々な加工時間に対する主軸に掛かる負荷を計算することができる。
 上述した実施形態では、主軸負荷計算部217は、主軸に掛かる負荷と主軸の送り速度とが比例するものとして主軸に掛かる負荷を計算する。しかし、主軸負荷計算部217は、主軸に掛かる負荷と主軸の送り速度との関係を示す相関モデルに基づいて主軸に掛かる負荷を予測してもよい。
 図7は、相関モデルに基づいて主軸に掛かる負荷を計算する主軸負荷計算部217の一例を示す図である。主軸負荷計算部217は、学習部221と、相関モデル記憶部222と、予測部223とを備える。なお、主軸負荷計算部217以外の構成は、上述した実施形態の構成と同じである。
 学習部221は、主軸負荷記憶部214に記憶された主軸に掛かる負荷を示す時系列データと主軸の送り速度を示す時系列データとに基づいて、主軸に掛かる負荷と主軸の送り速度との関係を示す相関モデルを生成する。学習部221は、例えば、回帰式、SVM(Support Vector Machine)、ニューラルネットワークを用いて相関モデルを生成する。
 相関モデル記憶部222は、学習部221によって生成された相関モデルを記憶する。
 予測部223は、加工プログラムに基づいて行われる加工が加工時間設定部216によって設定された加工時間で完了するように加工が行われたときの主軸に掛かる負荷を、相関モデル記憶部222に記憶された相関モデルを用いて計算する。また、加工プログラムに基づいて行われる加工が加工時間設定部216によって設定された加工時間で完了するように加工が行われたときの主軸の送り速度を計算してもよい。
 予測部223によって予測された主軸に掛かる負荷を示すデータは、主軸負荷出力部218によって出力される。
 上述した実施形態では、数値制御装置2が主軸に掛かる負荷と送り速度との関係を学習する学習部221をさらに備え、主軸負荷計算部217は、学習部221によって学習された関係に基づいて、主軸に掛かる負荷を計算する。したがって、主軸負荷計算部217は、高精度に主軸に掛かる負荷を予測することができる。
 また、上述した実施形態の数値制御装置2は加工時間受付部215を備えているが、数値制御装置2は、必ずしも、加工時間受付部215を備えていなくてもよい。この場合、数値制御装置2は、あらかじめ複数の加工時間を示す値を記憶し、各々の加工時間で加工プログラムの実行が完了するように主軸の送り速度が制御された場合における主軸に掛かる負荷を予測する。
 図8は、数値制御装置2が複数の加工時間を示す値を記憶している場合に入出力装置3に表示される主軸に掛かる負荷の表示例を示す図である。数値制御装置2には、例えば、あらかじめ設定される加工時間が記憶される。図8に示す例では、11:00、10:30、10:00、9:30、9:00、8:00、7:00、および6:00が加工時間として記憶される。
 主軸負荷計算部217は、これらの加工時間でワークの加工が完了するように定負荷制御が行なわれた場合における主軸に掛かる負荷を計算する。主軸負荷計算部217によって計算された負荷を示すデータは主軸負荷出力部218によって出力され、入出力装置3の表示画面に表示される。
 表示画面には、例えば、左右に延びる目盛り付きの直線が表示される。直線の下側には、設定された加工時間が表示される。直線の上側には、計算された主軸に掛かる負荷として、定格トルクに対する目標トルクの割合を示す値が表示される。
 図8に示す例では、設定された加工時間11:00に対応付けて負荷50%が表示されている。また、設定された加工時間10:30に対応付けて負荷53%が表示されている。また、設定された加工時間10:00に対応付けて負荷56%が表示されている。また、設定された加工時間9:30に対応付けて負荷59%が表示されている。また、設定された加工時間9:00に対応付けて負荷62%が表示されている。また、設定された加工時間8:00に対応付けて負荷65%が表示されている。また、設定された加工時間7:00に対応付けて負荷68%が表示されている。また、設定された加工時間6:00に対応付けて負荷71%が表示されている。
 このような態様で加工時間と主軸に掛かる負荷が表示されることにより、作業者は、各加工時間でワークの加工が行われるように定負荷制御される場合における主軸に掛かる負荷を容易に把握することができる。
 なお、各加工時間が表示される領域の下側には、設定された加工時間が、定速制御でワークの加工が行われたときの加工時間に対する割合で表示されてもよい。例えば、図8に示す例では、定速制御が行われたときの加工時間は10:00であり、設定されたそれぞれの加工時間が10:00に対する割合で括弧内に表示されている。
 また、図8に示すように、設定された加工時間と主軸に掛かる負荷とが並べて入出力装置3に表示される場合、いずれかの加工時間が表示画面上で選択されるようにしてもよい。この場合、選択された加工時間でワークの加工が行われるように、制御部212は定負荷制御のもとで加工プログラムを実行してもよい。
 上述した実施形態では、数値制御装置2は主軸負荷記憶部214を備えている。しかし、数値制御装置2は、必ずしも主軸負荷記憶部214を備えていなくてもよい。
 図9は、数値制御装置2の機能の一例を示すブロック図である。数値制御装置2は、主軸負荷記憶部214に代えて、生成部224と、度数分布記憶部225とを備えている。その他の構成については、図2に示す数値制御装置2の構成と同じである。
 生成部224は、例えば、CPU201が、ROM203に記憶されているシステムプログラムならびに不揮発性メモリ205に記憶されている加工プログラムおよび各種データを用いて演算処理することにより実現される。度数分布記憶部225は、例えば、CPU201がシステムプログラム、および各種データを用いて演算処理することによって生成されたデータが、RAM204、または不揮発性メモリ205に記憶されることにより実現される。
 生成部224は、主軸負荷検出部213によって検出された時系列データに基づいて度数分布のデータを生成する。
 図10は、主軸負荷検出部213によって検出された時系列データを示す図である。つまり、図10に示す時系列データは、定速制御にて加工が行われたときに検出されたデータである。図11は、度数分布の一例を示す図である。生成部224は、主軸負荷検出部213によって検出された主軸に掛かる負荷を複数の階級に振り分けて、各階級の度数をカウントする。生成部224は、例えば、検出された負荷を4つの階級L、2L、3Lおよび4Lのいずれかに振り分ける。生成部224は、主軸負荷検出部213が検出した負荷の値を、例えば、四捨五入することにより、L、2L、3L、および4Lのいずれかの階級に振り分ける。
 生成部224は、例えば、0.5L以上、1.5L未満の大きさの負荷を階級Lに振り分ける。同様に、1.5L以上、2.5L未満の大きさの負荷を階級2Lに振り分ける。また、2.5L以上、3.5L未満の大きさの負荷を階級3Lに振り分ける。また、3.5L以上、4.5L未満の大きさの負荷を階級4Lに振り分ける。図11が示す例では、階級Lに4個、階級2Lに5個、階級3Lに2個、階級4Lに1個の値が振り分けられている。
 度数分布記憶部225は、生成部224によって生成された度数分布のデータを記憶する。
 主軸負荷計算部217は、度数分布記憶部225に記憶された度数分布のデータに基づいて設定された加工時間でワークの加工が行われた場合における主軸に掛かる負荷を計算する。主軸負荷計算部217は、まず、各階級の値と、各階級の度数と、主軸に掛かる負荷が検出される周期を乗算した値(階級の値)×(度数)×(周期)をそれぞれ合算する。例えば、図11に示す例では、L×4×T+2L×5×T+3L×2×T+4L×4×T=24LTが求められる。
 次に、主軸負荷計算部217は、求めた合算値を加工時間設定部216が設定した加工時間で除算する。例えば、求めた合算値が24LT、加工時間設定部216によって設定された加工時間が10Tである場合、主軸に掛かる負荷は2.4Lであると計算される。
 上述した実施形態では、数値制御装置2が、主軸負荷検出部213によって検出された時系列データに基づいて生成された度数分布を示すデータを記憶する度数分布記憶部225をさらに備える。したがって、主軸負荷記憶部214が時系列データを記憶する場合よりも記憶するデータ量を少なくすることができる。そのため、メモリに記憶させるデータ量を削減することができる。
  1     工作機械
  2     数値制御装置
  201   CPU
  202   バス
  203   ROM
  204   RAM
  205   不揮発性メモリ
  206   インタフェース
  207   軸制御回路
  208   スピンドル制御回路
  209   PLC
  210   I/Oユニット
  211   プログラム記憶部
  212   制御部
  213   主軸負荷検出部
  214   主軸負荷記憶部
  215   加工時間受付部
  216   加工時間設定部
  217   主軸負荷計算部
  218   主軸負荷出力部
  221   学習部
  222   相関モデル記憶部
  223   予測部
  224   生成部
  225   度数分布記憶部
  3     入出力装置
  4     サーボアンプ
  5     サーボモータ
  6     スピンドルアンプ
  61    電流計
  7     スピンドルモータ
  8     補助機器

Claims (9)

  1.  ワークの加工が行われたときの主軸に掛かる負荷の時系列データを検出する主軸負荷検出部と、
     前記ワークを加工する際の加工時間を設定する加工時間設定部と、
     前記加工時間設定部によって設定された前記加工時間で前記ワークの加工が行われ、かつ、前記主軸に掛かる負荷が一定の負荷となるように前記主軸の送り速度が制御される場合における前記主軸に掛かる負荷を、前記時系列データに基づいて計算する主軸負荷計算部と、
     前記主軸負荷計算部によって計算された前記主軸に掛かる負荷を示すデータを出力する主軸負荷出力部と、
    を備える数値制御装置。
  2.  前記加工時間設定部によって設定される前記加工時間を示す値の入力を受け付ける加工時間受付部をさらに備える請求項1に記載の数値制御装置。
  3.  前記主軸負荷計算部は、前記主軸に掛かる負荷と前記送り速度とが比例するものとして前記主軸に掛かる負荷を計算する請求項1または2に記載の数値制御装置。
  4.  前記主軸に掛かる負荷と前記送り速度との関係を学習する学習部をさらに備え、
     前記主軸負荷計算部は、前記学習部によって学習された前記関係に基づいて、前記主軸に掛かる負荷を計算する請求項1または2に記載の数値制御装置。
  5.  前記主軸負荷出力部は、さらに、前記加工時間設定部によって設定された前記加工時間と前記主軸に掛かる負荷との関係を示すデータを出力する請求項1~4のいずれか1項に記載の数値制御装置。
  6.  前記主軸負荷計算部は、さらに、前記加工時間設定部によって設定された前記加工時間で前記ワークの加工が行われ、かつ、前記主軸に掛かる負荷が一定の負荷となるように前記主軸の送り速度が制御される場合における前記送り速度を計算する請求項1~5のいずれか1項に記載の数値制御装置。
  7.  前記主軸負荷検出部によって検出された前記時系列データを記憶する主軸負荷記憶部をさらに備える請求項1~6のいずれか1項に記載の数値制御装置。
  8.  前記主軸負荷検出部によって検出された前記時系列データに基づいて生成された度数分布のデータを記憶する度数分布記憶部をさらに備える請求項1~6のいずれか1項に記載の数値制御装置。
  9.  ワークの加工が行われたときの主軸に掛かる負荷の時系列データを検出することと、
     前記ワークを加工する際の加工時間を設定することと、
     設定された前記加工時間で前記ワークの加工が行われ、かつ、前記主軸に掛かる負荷が一定の負荷となるように前記主軸の送り速度が制御される場合における前記主軸に掛かる負荷を、前記時系列データに基づいて計算することと、
     計算された前記主軸に掛かる負荷を示すデータを出力することと、
    をコンピュータに実行させる命令を記憶するコンピュータ読み取り可能な記憶媒体。
PCT/JP2022/008301 2021-03-02 2022-02-28 数値制御装置、およびコンピュータ読み取り可能な記憶媒体 WO2022186140A1 (ja)

Priority Applications (4)

Application Number Priority Date Filing Date Title
DE112022000464.9T DE112022000464T5 (de) 2021-03-02 2022-02-28 Numerische steuerung und computerlesbares speichermedium
JP2023503827A JPWO2022186140A1 (ja) 2021-03-02 2022-02-28
CN202280017150.6A CN116940905A (zh) 2021-03-02 2022-02-28 数值控制装置以及计算机可读取的存储介质
US18/276,735 US20240126240A1 (en) 2021-03-02 2022-02-28 Numerical controller and computer readable storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2021032850 2021-03-02
JP2021-032850 2021-03-02

Publications (1)

Publication Number Publication Date
WO2022186140A1 true WO2022186140A1 (ja) 2022-09-09

Family

ID=83153786

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2022/008301 WO2022186140A1 (ja) 2021-03-02 2022-02-28 数値制御装置、およびコンピュータ読み取り可能な記憶媒体

Country Status (5)

Country Link
US (1) US20240126240A1 (ja)
JP (1) JPWO2022186140A1 (ja)
CN (1) CN116940905A (ja)
DE (1) DE112022000464T5 (ja)
WO (1) WO2022186140A1 (ja)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004284002A (ja) * 2003-01-31 2004-10-14 Fujitsu Ltd 加工制御装置
US20070046238A1 (en) * 2005-08-29 2007-03-01 The Boeing Company Apparatus for machine tool feedrate override using limiting parameters corresponding to actual spindle speed
JP2015184687A (ja) * 2014-03-20 2015-10-22 三菱重工業株式会社 工作機械切削条件最適化装置及び方法
JP2018120357A (ja) * 2017-01-24 2018-08-02 ファナック株式会社 数値制御装置及び機械学習装置
JP2019117458A (ja) * 2017-12-26 2019-07-18 ファナック株式会社 制御装置及び機械学習装置
JP2019209419A (ja) * 2018-06-04 2019-12-12 ファナック株式会社 数値制御装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004284002A (ja) * 2003-01-31 2004-10-14 Fujitsu Ltd 加工制御装置
US20070046238A1 (en) * 2005-08-29 2007-03-01 The Boeing Company Apparatus for machine tool feedrate override using limiting parameters corresponding to actual spindle speed
JP2015184687A (ja) * 2014-03-20 2015-10-22 三菱重工業株式会社 工作機械切削条件最適化装置及び方法
JP2018120357A (ja) * 2017-01-24 2018-08-02 ファナック株式会社 数値制御装置及び機械学習装置
JP2019117458A (ja) * 2017-12-26 2019-07-18 ファナック株式会社 制御装置及び機械学習装置
JP2019209419A (ja) * 2018-06-04 2019-12-12 ファナック株式会社 数値制御装置

Also Published As

Publication number Publication date
CN116940905A (zh) 2023-10-24
US20240126240A1 (en) 2024-04-18
DE112022000464T5 (de) 2023-10-05
JPWO2022186140A1 (ja) 2022-09-09

Similar Documents

Publication Publication Date Title
US10585417B2 (en) Machine learning device, numerical control device and machine learning method for learning threshold value of detecting abnormal load
JP6698603B2 (ja) 数値制御システム、及び運転状態異常検知方法
JP6698604B2 (ja) 数値制御システム、及び工具状態検知方法
JP6691087B2 (ja) 熱変位補正システム
US10416645B2 (en) Numerical controller enabling increase in number of analysis digits of program instruction
JP6781242B2 (ja) 制御装置、機械学習装置及びシステム
US12005582B2 (en) Controller and control system
Haber et al. Embedded fuzzy-control system for machining processes: Results of a case study
JP2020123191A (ja) 数値制御システム
JP2014219911A (ja) シミュレーション装置およびシミュレーションプログラム
WO2022186140A1 (ja) 数値制御装置、およびコンピュータ読み取り可能な記憶媒体
CN107229253B (zh) 容易实施干扰检测后的对策的数值控制装置
WO2022186135A1 (ja) 数値制御装置、およびコンピュータ読み取り可能な記憶媒体
US20240012389A1 (en) Numerical controller
US11460825B2 (en) Quality determination device and quality determination method
US11194313B2 (en) Numerical controller
WO2022239155A1 (ja) 数値制御装置、およびコンピュータ読み取り可能な記憶媒体
US11231699B2 (en) Program analysis device
WO2022196622A9 (ja) 数値制御装置
WO2023162001A1 (ja) 加工面推定装置およびコンピュータ読み取り可能な記憶媒体
JP7256703B2 (ja) 制御装置、制御システム、及び機械学習装置
WO2022249305A1 (ja) 産業機械の制御装置
WO2023067699A1 (ja) 加工面推定装置およびコンピュータ読み取り可能な記憶媒体
WO2022113957A1 (ja) 工具損傷検出装置、およびコンピュータ読み取り可能な記憶媒体
JPH0751995A (ja) 加工負荷監視方式

Legal Events

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

Ref document number: 22763196

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2023503827

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 18276735

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 112022000464

Country of ref document: DE

WWE Wipo information: entry into national phase

Ref document number: 202280017150.6

Country of ref document: CN

122 Ep: pct application non-entry in european phase

Ref document number: 22763196

Country of ref document: EP

Kind code of ref document: A1