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

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

Info

Publication number
WO2022186135A1
WO2022186135A1 PCT/JP2022/008286 JP2022008286W WO2022186135A1 WO 2022186135 A1 WO2022186135 A1 WO 2022186135A1 JP 2022008286 W JP2022008286 W JP 2022008286W WO 2022186135 A1 WO2022186135 A1 WO 2022186135A1
Authority
WO
WIPO (PCT)
Prior art keywords
spindle
load
machining time
unit
machining
Prior art date
Application number
PCT/JP2022/008286
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 JP2023503822A priority Critical patent/JPWO2022186135A1/ja
Priority to DE112022000458.4T priority patent/DE112022000458T5/de
Priority to US18/276,942 priority patent/US20240118678A1/en
Priority to CN202280016914.XA priority patent/CN116917820A/zh
Publication of WO2022186135A1 publication Critical patent/WO2022186135A1/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/406Numerical 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 monitoring or safety
    • G05B19/4063Monitoring general control system
    • 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/35Nc in input of data, input till input file format
    • G05B2219/35519Machining data and tool data
    • 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/49295Drive spindle motor at maximum, limit torque for rapid machining time

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 storage medium capable of predicting the machining time in advance when controlling the feed speed of the spindle so that the load applied to the spindle is constant. With the goal.
  • the numerical controller comprises a spindle load detection unit that detects time-series data of the load applied to the spindle when the workpiece is machined, a target load setting unit that sets the target load applied to the spindle, and a load applied to the spindle. a machining time prediction unit that predicts the machining time when the feed rate of the spindle is controlled to achieve the target load based on time-series data; a machining time output unit that outputs data of the predicted machining time; Prepare.
  • a computer-readable storage medium detects time-series data of a load applied to a spindle when a workpiece is machined, sets a target load applied to the spindle, and sets the load applied to the spindle to the target load. storing a command for causing a computer to predict, based on time-series data, the machining time when the feed rate of the spindle is controlled so as to obtain and output the data of the predicted machining time; .
  • FIG. 3 is a block diagram showing an example of functions of a numerical control device;
  • FIG. It is a figure explaining an example of the time series data memorize
  • FIG. 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 machining time prediction part provided with a learning part. It is a figure which shows the example of a display of the machining time displayed on an input/output device.
  • 3 is a block diagram showing an example of functions of a numerical control device;
  • 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 equipment 8 operates based on commands received from the I/O unit 210 .
  • the auxiliary device 8 may be a device installed around the machine tool 1 .
  • 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 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 data of the load applied to the spindle, the numerical control device 2 predicts the machining time required for machining the workpiece so that the load applied to the spindle becomes the target load.
  • 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 target load reception unit 215, a target load setting unit 216, and a machining time prediction unit 217. and a machining time output unit 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 the load set by the target load setting unit 216 .
  • 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 target load receiving unit 215 receives input of a value indicating the target load applied to the spindle when constant load control is performed.
  • the target load receiving unit 215 receives a value input by the worker using the input/output device 3, for example.
  • the operator uses, for example, the input/output device 3 to input the target load applied to the spindle when the workpiece is machined under constant load control.
  • the target load setting unit 216 sets the target load applied to the spindle received by the target load receiving unit 215 .
  • the target load setting unit 216 sets the target load by, for example, storing data indicating the target load in a predetermined register (not shown).
  • the machining time prediction unit 217 predicts the machining time when the feed speed of the spindle is controlled so that the load applied to the spindle becomes the target load, based on the time-series data stored in the spindle load storage unit 214. That is, the machining time predicted by the machining time prediction unit 217 is the same as when the machining program executed when the time-series data stored in the spindle load storage unit 214 was acquired was executed under constant load control. is the processing time of In other words, the machining time prediction unit 217 detects the machining time when the machining program is executed so that the target load set by the target load setting unit 216 is applied to the spindle when the constant speed control is performed. Prediction based on time series data. The machining time prediction unit 217 predicts the machining time assuming that the load applied to the spindle is proportional to the feed speed of the spindle.
  • FIG. 4A-4D and FIG. 5 are diagrams explaining how the machining time prediction unit 217 predicts the machining time.
  • the machining time prediction 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 every predetermined cycle T.
  • the machining time prediction unit 217 calculates the machining time when machining is performed by changing the load applied to the spindle at T in each cycle to the target load.
  • the spindle feed rate must be doubled.
  • the machining time for machining the section where the load L is detected is T/2 (see FIG. 4A). Since the load in the section where the load 2L is detected is the same as the target load, the feed speed of the spindle is not changed. That is, the machining time T does not change (see FIG. 4B).
  • the machining time for machining this section is 3T/2 (see FIG. 4C).
  • the machining time for machining this section is 2T (see FIG. 4D).
  • the machining time prediction unit 217 adds up the machining times when the load applied to the spindle in each cycle T is changed to the target load (see FIG. 5). Thereby, the machining time prediction unit 217 can predict the machining time when constant load control is performed so that the load applied to the spindle becomes the target load. The machining time prediction unit 217 may further predict the feed rate in each cycle when the feed rate is controlled so that the load applied to the spindle becomes the target load.
  • the machining time output unit 218 outputs data indicating the machining time predicted by the machining time prediction unit 217.
  • the machining time output unit 218 outputs, for example, data indicating the machining time and data indicating the target load to the input/output device 3, and causes the input/output device 3 to display the machining time and the target load.
  • the machining time output unit 218 may output the feed rate of the spindle calculated by the machining time prediction unit 217 in the process of predicting the machining time. In this case, the machining time output unit 218 may output data indicating the feed speed of the spindle so that the feed speed of the spindle for each period T is displayed in a graph.
  • control unit 212 may machine the workpiece by executing the machining program under constant load control so that the target load received by the target load receiving unit 215 is applied to the spindle.
  • the workpiece can be machined in the machining time predicted by the machining time prediction unit 217 or in a machining time approximate thereto.
  • 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 target load receiving unit 215 receives input of a value indicating the target load applied to the spindle (step S3).
  • the target load setting unit 216 sets the target load received by the target load receiving unit 215 (step S4).
  • the machining time prediction unit 217 predicts the machining time when the feed speed of the spindle is controlled so that the load applied to the spindle becomes the target load (step S5).
  • the machining time output unit 218 outputs data indicating the machining time predicted by the machining time prediction unit 217 (step S6), and ends the process.
  • the numerical controller 2 includes 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 target load setting unit 213 for setting the target load applied to the spindle.
  • a machining time prediction unit 217 that predicts the machining time based on time-series data when the feed rate of the spindle is controlled so that the load applied to the spindle becomes the target load; and a processing time output unit 218 that outputs data.
  • the numerical controller 2 can output the machining time when the feed speed of the spindle is controlled so that the target load is applied to the spindle.
  • the operator can determine the load applied to the spindle in consideration of the output machining time. For example, the operator can determine the load applied to the spindle so that the machining time matches the machining cycle time of the previous process.
  • the numerical control device 2 further includes a target load receiving section 215 that receives input of a value indicating the target load set by the target load setting section 216 . Therefore, the numerical controller 2 can predict the machining time according to the input target load.
  • the machining time prediction unit 217 predicts the machining time assuming that the load applied to the spindle is proportional to the feed rate. Therefore, the machining time prediction unit 217 can predict the machining time without performing complicated calculations.
  • the machining time prediction unit 217 predicts the feed speed when the feed speed of the spindle is controlled so that the load applied to the spindle becomes the target load. This allows the operator to determine whether the feed speed of the spindle is suitable for machining the workpiece and to set the target load.
  • 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 machining time prediction unit 217 can predict the machining time any number of times based on various target loads received by the target load reception unit 215 .
  • the machining time prediction unit 217 predicts the machining time assuming that the load applied to the spindle is proportional to the feed speed of the spindle.
  • the machining time prediction unit 217 may predict the machining time based on a correlation model that shows the relationship between the load applied to the spindle and the feed speed of the spindle.
  • FIG. 7 is a diagram illustrating an example of the machining time prediction unit 217.
  • the processing time prediction section 217 includes a learning section 221 , a correlation model storage section 222 and a prediction section 223 .
  • the configuration other than the machining time prediction unit 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 uses the correlation model stored in the correlation model storage unit 222 to predict the machining time when the spindle is controlled so that the load applied to the spindle becomes the target load.
  • the prediction unit 223 may also use a correlation model to predict the feed rate of the spindle when the spindle is controlled so that the load applied to the spindle becomes the target load.
  • Data indicating the machining time predicted by the prediction unit 223 is output by the processing time output unit 218.
  • the machining time prediction unit 217 further includes a learning unit 221 that learns the relationship between the load applied to the spindle and the feed speed. to predict the machining time. Therefore, the machining time prediction unit 217 can predict the machining time with high accuracy.
  • the target load receiving unit 215 may receive, for example, a value indicating the ratio of the target torque to the rated torque as the value indicating the target load applied to the spindle.
  • the target load can be set by receiving numerical input such as 50%, 55%, 60%, or 65%.
  • the numerical controller 2 of the above-described embodiment includes the target load reception unit 215, the numerical controller 2 does not necessarily have to include the target load reception unit 215.
  • the numerical controller 2 stores values indicating a plurality of target loads in advance, and predicts the respective machining times when constant load control is performed so that each of the plurality of target loads is applied to the spindle.
  • FIG. 8 is a diagram showing a display example of machining times displayed on the input/output device 3 when machining times are predicted for each of a plurality of target loads.
  • a value indicating the ratio of the target torque to the rated torque is stored in advance as the target load.
  • 50%, 53%, 56%, 59%, 62%, 65%, 68%, and 71% are stored as target loads.
  • the machining time prediction unit 217 predicts each machining time when constant load control is performed so that each of these target loads is applied to the spindle.
  • Data indicating the machining time predicted by the machining time prediction unit 217 is output by the machining time 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.
  • a value indicating the ratio of the target torque to the rated torque is displayed above the straight line as the target load.
  • the predicted machining time corresponding to each target load is displayed. For example, a machining time of 11:00 is displayed corresponding to a target load of 50%. Also, a machining time of 10:30 is displayed corresponding to the target load of 53%. Also, a machining time of 10:00 is displayed corresponding to the target load of 56%. Also, a machining time of 9:30 is displayed corresponding to the target load of 59%. Also, machining time 9:00 is displayed corresponding to the target load of 62%. Also, the machining time of 8:00 is displayed corresponding to the target load of 65%. Also, the machining time of 7:00 is displayed corresponding to the target load of 68%. Also, the machining time of 6:00 is displayed corresponding to the target load of 71%.
  • each machining time is displayed below the area where each machining time is displayed, the machining time when the machining program is executed under constant speed control, and the machining time when constant load control is performed with each target load.
  • a percentage may be displayed. For example, in the example shown in FIG. 8, the machining time when constant speed control is performed is 10:00, and the ratio of the machining time when constant load control is performed with each target load to this machining time is shown in parentheses. displayed within.
  • one of the target loads may be selected on the display screen.
  • the workpiece may be machined under constant load control so that the selected target load is applied to the spindle.
  • 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 of the load applied to the spindle 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, the generation unit 224 sorts the load of 1.5 L or more and less than 2.5 L into class 2L. Similarly, loads of 2.5 L or more and less than 3.5 L are sorted into class 3L. Similarly, the generation unit 224 sorts the loads of 3.5 L or more and less than 4.5 L into class 4L. In the example shown in FIG. 11, data indicating four loads are assigned to class L, five to class 2L, two to class 3L, and one to class 4L.
  • the frequency distribution storage unit 225 stores the frequency distribution data generated by the generation unit 224 .
  • the machining time prediction unit 217 predicts the machining time based on the frequency distribution data stored in the frequency distribution storage unit 225 .
  • the machining time prediction unit 217 calculates the machining time when machining is performed by changing the load indicated by each class to the target load, and adds up the machining times of each class to calculate the machining time. Machining times T L , T 2L , T 3L and T 4L for each class L, 2L, 3L and 4L can be obtained by (frequency) x (class value) x (cycle) / (target load). .
  • the machining time 12T is obtained by summing the machining times calculated for each class.
  • 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.
  • processing time calculated for each class does not have to be calculated in the order described above. For example, after summing the value of (frequency) x (value of class) calculated for each class, the summed value may be multiplied by (cycle)/(target load) to obtain the machining time.
  • 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 target load reception unit 216 target load setting unit 217 machining time prediction unit 218 machining time 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は、I/Oユニット210から受けた指令に基づいて動作する。補助機器8は、工作機械1の周辺に設置される装置であってもよい。補助機器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は、加工プログラムに基づいて、定負荷制御を行う。定負荷制御とは、主軸に掛かる負荷が目標負荷設定部216で設定された負荷となるように、加工プログラムで指定された主軸の送り速度を変化させる制御である。定負荷制御では、定速制御よりも主軸に掛かる負荷の変動を抑えることができる。
 主軸負荷検出部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を利用して作業者が入力する値を受け付ける。作業者は、定負荷制御でワークの加工が行われるときの主軸に掛かる目標負荷を、例えば、入出力装置3を用いて入力する。
 目標負荷設定部216は、目標負荷受付部215が受け付けた主軸に掛かる目標負荷を設定する。目標負荷設定部216は、例えば、あらかじめ定められたレジスタ(不図示)に目標負荷を示すデータを記憶させることによって、目標負荷を設定する。
 加工時間予測部217は、主軸に掛かる負荷が目標負荷となるように主軸の送り速度が制御された場合の加工時間を、主軸負荷記憶部214に記憶された時系列データに基づいて予測する。つまり、加工時間予測部217が予測する加工時間は、主軸負荷記憶部214に記憶された時系列データが取得されたときに実行された加工プログラムが、定負荷制御のもとで実行された場合の加工時間である。言い換えれば、加工時間予測部217は、目標負荷設定部216によって設定された目標負荷が主軸に掛かるように加工プログラムが実行された場合の加工時間を、定速制御が行われたときに検出された時系列データに基づいて予測する。加工時間予測部217は、主軸に掛かる負荷と主軸の送り速度とが比例するものとして加工時間を予測する。
 図4A-図4Dおよび図5は、加工時間予測部217が加工時間を予測する方法を説明する図である。加工時間予測部217は、まず、主軸負荷記憶部214に記憶された主軸に掛かる負荷の時系列データを読み出す。主軸に掛かる負荷を示す時系列データは、所定周期Tごとに検出されたデータである。
 次に、加工時間予測部217は、各周期にTおける主軸に掛かる負荷を目標負荷に変更して加工を行った場合の加工時間を算出する。
 例えば、主軸に掛かる負荷と主軸の送り速度とが比例するとの前提のもとで負荷Lを目標負荷2Lに変更するには、主軸の送り速度を2倍の速度にする必要がある。この場合、負荷Lが検出された区間を加工するための加工時間はT/2となる(図4A参照)。負荷2Lが検出された区間の負荷は目標負荷と同じであるため、主軸の送り速度は変更されない。つまり、加工時間Tは変化しない(図4B参照)。
 負荷3Lが検出された区間の負荷を2Lに変更した場合、この区間を加工するための加工時間は3T/2となる(図4C参照)。同様に、負荷4Lが検出された区間の負荷を2Lに変更した場合、この区間を加工するための加工時間は2Tとなる(図4D参照)。
 次に、加工時間予測部217は、各周期Tにおける主軸に掛かる負荷を目標負荷に変更した場合における加工時間を合算する(図5参照。)。これにより、加工時間予測部217は、主軸に掛かる負荷が目標負荷となるように定負荷制御が行われた場合の加工時間を予測することができる。なお、加工時間予測部217は、さらに、主軸に掛かる負荷が目標負荷となるように送り速度が制御された場合の各周期における送り速度を予測してもよい。
 加工時間出力部218は、加工時間予測部217によって予測された加工時間を示すデータを出力する。加工時間出力部218は、例えば、入出力装置3に加工時間を示すデータ、および目標負荷を示すデータを出力し、入出力装置3に加工時間および目標負荷を表示させる。加工時間出力部218は、加工時間予測部217が加工時間を予測する過程で算出する主軸の送り速度を出力してもよい。この場合、加工時間出力部218は、各周期Tの主軸の送り速度がグラフで表示されるように主軸の送り速度を示すデータを出力してもよい。
 なお、制御部212は、目標負荷受付部215が受け付けた目標負荷が主軸に掛かるように、定負荷制御のもとで加工プログラムを実行してワークの加工を行ってもよい。この場合、加工時間予測部217によって予測された加工時間で、あるいは、これに近似する加工時間でワークの加工を行うことができる。
 次に、数値制御装置2が実行する処理の流れについて説明する。
 図6は、数値制御装置2が実行する処理の流れの一例を示すフローチャートである。まず、主軸負荷検出部213は、加工プログラムに基づいて定速制御にてワークの加工が行われたときの主軸に掛かる負荷を示す時系列データを検出する(ステップS1)。
 次に、主軸負荷記憶部214は、主軸負荷検出部213によって検出された主軸に掛かる負荷を示す時系列データを記憶する(ステップS2)。
 次に、目標負荷受付部215は、主軸に掛かる目標負荷を示す値の入力を受け付ける(ステップS3)。
 次に、目標負荷設定部216は、目標負荷受付部215が受け付けた目標負荷を設定する(ステップS4)。
 次に、加工時間予測部217は、主軸に掛かる負荷が目標負荷となるように主軸の送り速度が制御されたときの加工時間を予測する(ステップS5)。
 最後に、加工時間出力部218は、加工時間予測部217によって予測された加工時間を示すデータを出力し(ステップS6)、処理を終了する。
 以上説明したように、数値制御装置2は、ワークの加工が行われたときの主軸に掛かる負荷の時系列データを検出する主軸負荷検出部213と、主軸に掛かる目標負荷を設定する目標負荷設定部216と、主軸に掛かる負荷が目標負荷となるように主軸の送り速度が制御されたときの加工時間を、時系列データに基づいて予測する加工時間予測部217と、予測された加工時間のデータを出力する加工時間出力部218と、を備える。これにより、数値制御装置2は、目標負荷が主軸に掛かるように主軸の送り速度が制御された場合における加工時間を出力することができる。その結果、作業者は、出力された加工時間を考慮して、主軸に掛かる負荷を決定することができる。例えば、前工程の加工のサイクルタイムに合わせた加工時間となるように、主軸に掛かる負荷を作業者が決定することを可能にする。
 また、数値制御装置2は、目標負荷設定部216によって設定される目標負荷を示す値の入力を受け付ける目標負荷受付部215をさらに備える。そのため、数値制御装置2は、入力される目標負荷に応じて加工時間を予測することができる。
 また、加工時間予測部217は、主軸に掛かる負荷と送り速度とが比例するものとして加工時間を予測する。そのため、加工時間予測部217は、複雑な計算を行わずに加工時間を予測することができる。
 また、加工時間予測部217は、さらに、主軸に掛かる負荷が目標負荷となるように主軸の送り速度が制御された場合の送り速度を予測する。これにより、作業者は、主軸の送り速度がワークの加工に適切な速度であるか否かを判断し、目標負荷の設定をすることができる。
 また、数値制御装置2は、主軸負荷検出部213によって検出された時系列データを記憶する主軸負荷記憶部214をさらに備える。これにより、加工時間予測部217は、目標負荷受付部215が受け付けた様々な目標負荷に基づいて、何度でも加工時間を予測することができる。
 上述した実施形態では、加工時間予測部217は、主軸に掛かる負荷と主軸の送り速度とが比例するものとして加工時間を予測する。しかし、加工時間予測部217は、主軸に掛かる負荷と主軸の送り速度との関係を示す相関モデルに基づいて加工時間を予測してもよい。
 図7は、加工時間予測部217の一例を説明する図である。加工時間予測部217は、学習部221と、相関モデル記憶部222と、予測部223とを備える。なお、加工時間予測部217以外の構成は、上述した実施形態の構成と同じである。
 学習部221は、主軸負荷記憶部214に記憶された主軸に掛かる負荷を示す時系列データと主軸の送り速度を示す時系列データとに基づいて、主軸に掛かる負荷と主軸の送り速度との関係を示す相関モデルを生成する。学習部221は、例えば、回帰式、SVM(Support Vector Machine)、ニューラルネットワークを用いて相関モデルを生成する。
 相関モデル記憶部222は、学習部221によって生成された相関モデルを記憶する。
 予測部223は、主軸に掛かる負荷が目標負荷となるように主軸が制御されたときの加工時間を相関モデル記憶部222に記憶された相関モデルを用いて予測する。また、予測部223は、相関モデルを用いて、主軸に掛かる負荷が目標負荷となるように主軸が制御されたときの主軸の送り速度を予測してもよい。
 予測部223によって予測された加工時間を示すデータは、加工時間出力部218によって出力される。
 上述した実施形態では、加工時間予測部217が、主軸に掛かる負荷と送り速度との関係を学習する学習部221をさらに備え、加工時間予測部217は、学習部221によって学習された関係に基づいて、加工時間を予測する。したがって、加工時間予測部217は、高精度に加工時間を予測することができる。
 なお、目標負荷受付部215は、主軸に掛かる目標負荷を示す値として、例えば、定格トルクに対する目標トルクの割合を示す値を受け付けてもよい。例えば、50%、55%、60%、または65%などの数値の入力を受け付けることにより、目標負荷を設定することができる。
 また、上述した実施形態の数値制御装置2は目標負荷受付部215を備えているが、数値制御装置2は、必ずしも、目標負荷受付部215を備えていなくてもよい。この場合、数値制御装置2は、あらかじめ複数の目標負荷を示す値を記憶し、複数の目標負荷のそれぞれが主軸に掛かるように定負荷制御が行われた場合におけるそれぞれの加工時間を予測するようにすればよい。
 図8は、複数の目標負荷のそれぞれに対して加工時間が予測された場合における入出力装置3に表示される加工時間の表示例を示す図である。数値制御装置2には、例えば、あらかじめ定格トルクに対する目標トルクの割合を示す値が目標負荷として記憶される。図8に示す例では、50%、53%、56%、59%、62%、65%、68%、および71%が目標負荷として記憶される。
 加工時間予測部217は、これらの目標負荷のそれぞれが主軸に掛かるように定負荷制御が行なわれる場合におけるそれぞれの加工時間を予測する。加工時間予測部217によって予測された加工時間を示すデータは加工時間出力部218によって出力され、入出力装置3の表示画面に表示される。
 表示画面には、例えば、左右に延びる目盛り付きの直線が表示される。この直線の上側には、目標負荷として、定格トルクに対する目標トルクの割合を示す値が表示される。
 直線の下側には、目標負荷のそれぞれに対応して予測された加工時間が表示される。例えば、目標負荷50%に対応させて加工時間11:00が表示される。また、目標負荷53%に対応させて加工時間10:30が表示される。また、目標負荷56%に対応させて加工時間10:00が表示される。また、目標負荷59%に対応させて加工時間9:30が表示される。また、目標負荷62%に対応させて加工時間9:00が表示される。また、目標負荷65%に対応させて加工時間8:00が表示される。また、目標負荷68%に対応させて加工時間7:00が表示される。また、目標負荷71%に対応させて加工時間6:00が表示される。
 このような態様で加工時間が表示されることにより、作業者は、各負荷が掛かるように主軸が制御された場合におけるそれぞれの加工時間を容易に把握することができる。
 なお、各加工時間が表示される領域の下側には、定速制御のもとで加工プログラムが実行されたときの加工時間に対する、それぞれの目標負荷で定負荷制御されたときの加工時間の割合が表示されてもよい。例えば、図8に示す例では、定速制御が行われたときの加工時間は10:00であり、この加工時間に対する、それぞれの目標負荷で定負荷制御されたときの加工時間の割合が括弧内に表示される。
 また、図8に示すように、目標負荷と目標負荷に対応する加工時間とが並べて入出力装置3に表示される場合、いずれかの目標負荷が表示画面上で選択されるようにしてもよい。この場合、選択された目標負荷が主軸に掛かるように定負荷制御のもとでワークの加工が行われるようにしてもよい。
 上述した実施形態では、数値制御装置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に振り分ける。同様に、生成部224は、1.5L以上、2.5L未満の大きさの負荷を階級2Lに振り分ける。同様に、2.5L以上、3.5L未満の大きさの負荷を階級3Lに振り分ける。同様に、生成部224は、3.5L以上、4.5L未満の大きさの負荷を階級4Lに振り分ける。図11が示す例では、階級Lに4個、階級2Lに5個、階級3Lに2個、階級4Lに1個の負荷を示すデータが振り分けられている。
 度数分布記憶部225は、生成部224によって生成された度数分布のデータを記憶する。
 加工時間予測部217は、度数分布記憶部225に記憶された度数分布のデータに基づいて加工時間を予測する。加工時間予測部217は、各階級が示す負荷を目標負荷に変更して加工を行った場合の加工時間を算出し、各階級の加工時間を合算することにより加工時間を算出する。各階級L、2L、3Lおよび4Lの加工時間T、T2L、T3LおよびT4L、は、それぞれ(度数)×(階級の値)×(周期)/(目標負荷)によって求めることができる。
 例えば、図11に示す階級Lについて算出される加工時間Tは、T=4×L×T/2L=2Tである。同様に、階級2Lについて算出される加工時間T2Lは、T2L=5×2L×T/2L=5Tである。同様に、階級3Lについて算出される加工時間T3Lは、T3L=2×3L×T/2L=3Tである。同様に、階級4Lについて算出される加工時間T4Lは、T4L=1×4L×T/2L=2Tである。これら各階級について算出される加工時間を合算することにより加工時間12Tが求められる。
 上述した実施形態では、数値制御装置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/008286 2021-03-02 2022-02-28 数値制御装置、およびコンピュータ読み取り可能な記憶媒体 WO2022186135A1 (ja)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2023503822A JPWO2022186135A1 (ja) 2021-03-02 2022-02-28
DE112022000458.4T DE112022000458T5 (de) 2021-03-02 2022-02-28 Numerische Steuerung und computerlesbares Speichermedium
US18/276,942 US20240118678A1 (en) 2021-03-02 2022-02-28 Numerical controller and computer readable storage medium
CN202280016914.XA CN116917820A (zh) 2021-03-02 2022-02-28 数值控制装置以及计算机可读取的存储介质

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2021032836 2021-03-02
JP2021-032836 2021-03-02

Publications (1)

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

Family

ID=83153806

Family Applications (1)

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

Country Status (5)

Country Link
US (1) US20240118678A1 (ja)
JP (1) JPWO2022186135A1 (ja)
CN (1) CN116917820A (ja)
DE (1) DE112022000458T5 (ja)
WO (1) WO2022186135A1 (ja)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
JP2010092405A (ja) * 2008-10-10 2010-04-22 Brother Ind Ltd 数値制御工作機械
JP2013188831A (ja) * 2012-03-14 2013-09-26 Mitsubishi Electric Corp 工作機械の制御装置およびそれを備えた工作機械
WO2019016892A1 (ja) * 2017-07-19 2019-01-24 三菱電機株式会社 品質分析装置及び品質分析方法
JP2019117458A (ja) * 2017-12-26 2019-07-18 ファナック株式会社 制御装置及び機械学習装置
JP2019149041A (ja) * 2018-02-27 2019-09-05 ファナック株式会社 数値制御装置
JP2020171973A (ja) * 2019-04-08 2020-10-22 ファナック株式会社 主軸及び送り軸を有する工作機械の制御装置

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
JP2010092405A (ja) * 2008-10-10 2010-04-22 Brother Ind Ltd 数値制御工作機械
JP2013188831A (ja) * 2012-03-14 2013-09-26 Mitsubishi Electric Corp 工作機械の制御装置およびそれを備えた工作機械
WO2019016892A1 (ja) * 2017-07-19 2019-01-24 三菱電機株式会社 品質分析装置及び品質分析方法
JP2019117458A (ja) * 2017-12-26 2019-07-18 ファナック株式会社 制御装置及び機械学習装置
JP2019149041A (ja) * 2018-02-27 2019-09-05 ファナック株式会社 数値制御装置
JP2020171973A (ja) * 2019-04-08 2020-10-22 ファナック株式会社 主軸及び送り軸を有する工作機械の制御装置

Also Published As

Publication number Publication date
US20240118678A1 (en) 2024-04-11
CN116917820A (zh) 2023-10-20
JPWO2022186135A1 (ja) 2022-09-09
DE112022000458T5 (de) 2023-10-12

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) 数値制御システム、及び運転状態異常検知方法
JPH07108443A (ja) 工具寿命管理方式
JP6781242B2 (ja) 制御装置、機械学習装置及びシステム
JP2019063960A (ja) 熱変位補正システム
Haber et al. Embedded fuzzy-control system for machining processes: Results of a case study
JP2020123191A (ja) 数値制御システム
CN110174871B (zh) 控制装置、机器学习装置以及系统
JP7015261B2 (ja) 管理装置及び管理システム
WO2022186135A1 (ja) 数値制御装置、およびコンピュータ読み取り可能な記憶媒体
JP2673543B2 (ja) サーボモータの制御における誤差過大検出方式
JP6730354B2 (ja) 入力ミス検出装置
CN107229253B (zh) 容易实施干扰检测后的对策的数值控制装置
US5200678A (en) Motor driving control apparatus
WO2022186140A1 (ja) 数値制御装置、およびコンピュータ読み取り可能な記憶媒体
WO2022154049A1 (ja) 数値制御装置
US11194313B2 (en) Numerical controller
WO2021241352A1 (ja) 工具診断装置
CN112975004A (zh) 优劣判定装置及优劣判定方法
WO2022239155A1 (ja) 数値制御装置、およびコンピュータ読み取り可能な記憶媒体
JPH0751997A (ja) 加工負荷監視方式
WO2022196622A9 (ja) 数値制御装置
US11231699B2 (en) Program analysis device
WO2023162001A1 (ja) 加工面推定装置およびコンピュータ読み取り可能な記憶媒体
JP7256703B2 (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: 22763191

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2023503822

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 18276942

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 112022000458

Country of ref document: DE

WWE Wipo information: entry into national phase

Ref document number: 202280016914.X

Country of ref document: CN

122 Ep: pct application non-entry in european phase

Ref document number: 22763191

Country of ref document: EP

Kind code of ref document: A1