US20240201663A1 - Numerical control device - Google Patents

Numerical control device Download PDF

Info

Publication number
US20240201663A1
US20240201663A1 US18/554,929 US202118554929A US2024201663A1 US 20240201663 A1 US20240201663 A1 US 20240201663A1 US 202118554929 A US202118554929 A US 202118554929A US 2024201663 A1 US2024201663 A1 US 2024201663A1
Authority
US
United States
Prior art keywords
speed
command
numerical control
control device
target speed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
US18/554,929
Other languages
English (en)
Inventor
Nobuhito OONISHI
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fanuc Corp
Original Assignee
Fanuc Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fanuc Corp filed Critical Fanuc Corp
Assigned to FANUC CORPORATION reassignment FANUC CORPORATION ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: OONISHI, NOBUHITO
Publication of US20240201663A1 publication Critical patent/US20240201663A1/en
Pending legal-status Critical Current

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/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
    • 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/43Speed, acceleration, deceleration control ADC
    • G05B2219/43052Set for each block time constant and speed target

Definitions

  • the present invention relates to a numerical control device.
  • control of the drive axes of machine tools based on a machining program that specifies a speed for each block may result in driving the machine tool at excessive acceleration, causing vibrations in the machine tool and the risk of overloading. Therefore, widely used numerical control devices have the function to set a restriction on the acceleration/deceleration (change rate of the speed) of the drive axes and allow the machining program to change the speed by reducing the acceleration.
  • Patent Document 1 As disclosed in Patent Document 1, special processing is required to analyze a machining program and reconstruct the change in command speed, complicating the design and increasing the computational load. Users are required to have new knowledge and experience to adjust parameters such as how much the acceleration/deceleration should be restricted. Therefore, a technique that can easily suppress the increase in machining time has been desired.
  • a numerical control device is a numerical control device that controls a drive axis of a machine tool, based on a machining program that includes a plurality of movement blocks each specifying a command speed, in which the device includes a target speed setting unit that sets a target speed acquired by, with respect to two of the movement blocks to be executed consecutively, modifying the command speed of a movement block with a lower command speed in a region adjacent to the other movement block to a value equal to or higher than the lower command speed but equal to or lower than the higher command speed.
  • the increase in machining time can be easily suppressed.
  • FIG. 1 is a block diagram illustrating a configuration of a numerical control device according to a first embodiment of the present disclosure
  • FIG. 2 is a flowchart illustrating a control procedure in the numerical control device of FIG. 1 ;
  • FIG. 3 is a graph illustrating a relationship between the command speed, the target speed, and the speed command value in the numerical control device of FIG. 1 .
  • FIG. 1 is a block diagram illustrating a configuration of a numerical control device 1 according to the first embodiment of the present disclosure.
  • the numerical control device 1 controls the drive axis of a machine tool 2 , based on a machining program.
  • the machine tool 2 that is controlled by the numerical control device 1 includes a plurality of drive axes that move or rotate tools or workpieces.
  • the drive axis is not limited to a drive axis that moves tools and workpieces relative to each other to determine the shape after machining, and may include the main axis that rotates tools or workpieces to perform cutting, and the drive axis that operates other auxiliary equipment.
  • the numerical control device 1 includes a program storage unit 11 , a read control unit 12 , a program analysis unit 13 , a target speed setting unit 14 , a speed command generation unit 15 , and a command output unit 16 .
  • the numerical control device 1 may be implemented by executing an appropriate control program on a computer device having a memory, a processor (CPU), and an input/output interface.
  • the numerical control device 1 is implemented by a numerical control program that causes the processor to execute a plurality of processing units to perform the respective functions of the program storage unit 11 , the read control unit 12 , the program analysis unit 13 , the target speed setting unit 14 , the speed command generation unit 15 , and the command output unit 16 .
  • Such a numerical control program may be provided in a state stored in a non-temporary storage medium.
  • the above components of the numerical control device 1 are classified based on the functions of the numerical control device 1 , and do not necessarily have to be clearly segmented in terms of the physical configuration and program configuration.
  • the program storage unit 11 stores a machining program.
  • the machining program for example, is described in a predetermined language such as G code, and may be configured with a plurality of command blocks that each specify a unit motion or processing of the machine tool 2 .
  • the command blocks include movement blocks that specify the command speed, which is the relative speed of the tool and workpiece, and the target coordinate position.
  • the command speed specified in the machining program may be set without considering the mechanism constraints on the machine tool 2 ; therefore, the command speed specified by two movement blocks to be executed temporally consecutively may change in a discontinuous manner. Therefore, if the drive axis of the machine tool 2 is changed in a speed faithful to the machining program, vibrations may occur in the machine tool 2 , involving a risk of overloading.
  • the read control unit 12 When controlling the machine tool 2 in accordance with the machining program, the read control unit 12 pre-reads the command blocks of the machining program from the program storage unit 11 earlier than actually driving the drive axis.
  • the program analysis unit 13 analyzes the contents of the pre-read command blocks, and shows a motion in accordance with the movement block included in the machining program, as a command speed for each time.
  • the command speed may be the composite speed of a plurality of drive axes (for example, the absolute value of the relative speed of the tool and workpiece), or may be the speed of each drive axis.
  • the target speed setting unit 14 sets a target speed that is a command speed derived from the machining program and partially modified by the program analysis unit 13 . Specifically, the target speed setting unit 14 sets a target speed acquired by, with respect to the two movement blocks to be executed temporally consecutively, modifying the command speed of a movement block with a lower command speed in a region adjacent to the other movement block to a value equal to or higher than the lower command speed but equal to or lower than the higher command speed. In other words, outside the adjacent region, the target speed set by the target speed setting unit 14 is the same speed as the command speed.
  • the target speed is equal to or higher than the command speed of the movement block and equal to or lower than the command speed of the consecutive movement block. If the command speed of the movement block is equal to or lower than the command speed of the consecutive movement block, the target speed is equal to the command speed of the movement block.
  • the target speed setting unit 14 may set the distance width or time width of the adjacent region, for which a target speed different from the command speed specified in the machining program is set, as a preset width.
  • the time width of the adjacent region may be a preset fixed width, or the time when the driving distance becomes a certain preset distance, that is, the time when the integral value of the target speed becomes a certain value. This can suppress the increase in processing time while relatively suppressing the calculation load.
  • the target speed setting unit 14 may vary the distance width or time width of the adjacent region according to the difference in command speed of two movement blocks to be executed consecutively.
  • the target speed setting unit 14 may determine the distance width or time width of the adjacent region according to the difference in command speed of two movement blocks to be executed consecutively and the speed control constraints, described later, set in the speed command generation unit 15 . This allows for optimization of the width of the adjacent region, whereby reducing the difference from the command speed of the speed command value while suppressing the increase in processing time.
  • the time width of the adjacent region can be set to ⁇ 0.5 ⁇ (difference in command speed between two movement blocks) ⁇ (upper limit of acceleration/deceleration speed) ⁇ .
  • the target speed setting unit 14 may determine the width of the adjacent region by further considering jerk restrictions, etc. in the speed command generation unit 15 .
  • the target speed setting unit 14 if the target speed in the adjacent region with the lower command speed is equal to the average speed of the command speeds of the two consecutive movement blocks, then as long as the width of the adjacent region is sufficient, the integral value of the difference between the speed command value and the command speed due to the upper limit of acceleration in the movement block of the higher command speed can be made approximately half the integral value of the difference necessary overall; therefore, the difference due to acceleration restrictions can be substantially evenly distributed between the two movement blocks.
  • the target speed setting unit 14 may set the target speed in the adjacent region with the lower command speed equal to the higher command speed. This can prevent the processing time from extending by having the speed command value hit a ceiling once between the two command speeds. However, in this case, it is important to appropriately set the width of the adjacent region to minimize the difference from the command speed of the speed command value.
  • the target speed setting unit 14 may be configured to stop its function at the user's choice and input the command speed derived by the program analysis unit 13 directly into the speed command generation unit 15 .
  • the numerical control device 1 of the present embodiment can perform the same control as the conventional numerical control device.
  • the speed command generation unit 15 generates a speed command value such that the speed (composite speed) of the drive axis of the machine tool 2 does not exceed the target speed set by the target speed setting unit 14 and adheres to the speed control constraints on at least one of the N-th order derivative elements of the speed of each drive axis or the N-th order derivative elements of the composite speed of a plurality of drive axes (N is any natural number, i.e., a non-negative integer).
  • “speed control constraints” mean that at least one of the speed of each drive axis or the N-th derivative values of the composite speed in the case of following the speed command value does not exceed a set upper limit.
  • the speed command generation unit 15 may be configured to generate a speed command value such that the individual acceleration/deceleration (the first derivative of the speed) of each drive axis or the acceleration/deceleration of a composite motion implemented by a plurality of drive axes does not exceed a preset upper limit of acceleration/deceleration.
  • the speed command generation unit 15 may generate a command value such that the jerk (the second derivative of the speed) of the drive axis of the machine tool 2 does not exceed a preset upper limit of jerk.
  • the target speed set by the target speed setting unit 14 is a target value when the speed command generation unit 15 sets the speed command value and is also one of the constraint conditions that sets the upper limit of the speed according to the intended machining.
  • the speed control constraints are mainly constraints that are set based on the specifications of the machine tool.
  • the processing of generating a speed command value under such constraint conditions is the same as the processing of generating a speed command value, based on a command speed in a conventional numerical control device.
  • the command output unit 16 adjusts the driving current of each drive axis such that each drive axis of the machine tool 2 operates in accordance with the speed command value generated by the speed command generation unit 15 , that is, such that the speed of the drive axis at each moment matches the speed of the speed command value.
  • the control procedure of the numerical control device 1 having the above configuration is illustrated in the flowchart of FIG. 2 .
  • the control by the numerical control device 1 includes the steps of: reading the first movement block to be processed (Step S 01 ); comparing the command speed of the movement block to be processed with the command speed of the immediately preceding movement block (Step S 02 ); adjusting the target speed of the adjacent region on the preceding side (Step S 03 ); pre-reading the machining program (Step S 04 ); checking the presence of absence of the next movement block (Step S 05 ); comparing the command speed of the movement block to be processed with the command speed of the immediately subsequent movement block (Step S 06 ); adjusting the target speed of the adjacent region on the subsequent side (Step S 07 ); performing speed control based on the target speed of the movement block to be processed (Step S 08 ); and checking the end of the machining program (Step S 09 ).
  • This flowchart may be interpreted as sequential processing in real-time from the processing by the read control unit 12 to the processing by the command output unit 16 in accordance with the motion of the machine tool 2 ; however, the reading of the command block in Steps S 01 and S 04 can be interpreted as the step where the target speed setting unit 14 acquires the command speed data from the program analysis unit 13 , and the speed control processing in Step S 08 can be interpreted as the processing where the target speed setting unit 14 passes the target speed data to the speed command generation unit 15 .
  • the motion of each component of the numerical control device 1 may be temporally separated by providing a data buffer for each component as necessary.
  • FIG. 3 is a graph illustrating the temporal change in the command speed, the target speed, and the speed command value in the numerical control device 1 .
  • the command speed following the machining program is indicated with a dashed line
  • the target speed set by the target speed setting unit 14 is indicated with a broken line
  • the speed command value generated by the speed command generation unit 15 based on the target speed is indicated with a solid line
  • the speed command value generated by the speed command generation unit 15 based on the command speed (conventional speed command value) is indicated with a double dashed line.
  • the target speed in the adjacent region of the movement block of a low command speed is set equal to the higher command speed.
  • the graph of FIG. 3 is intended to emphasize the differences in waveforms of the speed change, and does not accurately represent the actual speed command values.
  • the numerical control device 1 includes the target speed setting unit 14 that employs a numerical control method including the step of setting a target speed acquired by, with respect to two movement blocks to be executed consecutively, modifying the command speed of a movement block with a lower command speed in a region adjacent to the other movement block to a value equal to or higher than the lower command speed but equal to or lower than the higher command speed; therefore, even if vibrations and overloads are suppressed by preventing acceleration/deceleration exceeding the upper limit in the speed command generation unit 15 , the speed command value changes similarly to the change in the command speed, allowing for suppressing the increase in machining time.
  • the numerical control device 1 of the present embodiment sets a target speed acquired by modifying the command speed; therefore, a speed change close to the speed change expected by the user can be achieved, and the increase in machining time can be suppressed.
  • the numerical control device 1 has a configuration corresponding to the conventional numerical control device with simple addition of the target speed setting unit 14 , which performs relatively simple calculations; therefore, the increase in computational load can be suppressed as compared to the conventional numerical control, while suppressing the increase in machining time.
  • the numerical control device 1 except for the target speed setting unit 14 setting a slightly modified command speed as a target speed, performs the same processing as the conventional numerical control; therefore, the users familiar with the conventional numerical control device can relatively easily expect the changes in the speed command value caused by adjusting the parameters, so the machining can be easily optimized.

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)
US18/554,929 2021-06-10 2021-06-10 Numerical control device Pending US20240201663A1 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2021/022140 WO2022259469A1 (ja) 2021-06-10 2021-06-10 数値制御装置

Publications (1)

Publication Number Publication Date
US20240201663A1 true US20240201663A1 (en) 2024-06-20

Family

ID=84426044

Family Applications (1)

Application Number Title Priority Date Filing Date
US18/554,929 Pending US20240201663A1 (en) 2021-06-10 2021-06-10 Numerical control device

Country Status (5)

Country Link
US (1) US20240201663A1 (de)
JP (1) JPWO2022259469A1 (de)
CN (1) CN117255976A (de)
DE (1) DE112021007127T5 (de)
WO (1) WO2022259469A1 (de)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4163184A (en) * 1974-10-04 1979-07-31 The Superior Electric Company Arcuate movement numerical control method and system
JP3152404B2 (ja) * 1991-10-30 2001-04-03 株式会社牧野フライス製作所 数値制御における送り速度制御方法および装置
JP3354494B2 (ja) * 1998-07-02 2002-12-09 株式会社不二越 数値制御装置
JP2004030540A (ja) * 2002-06-28 2004-01-29 Yaskawa Electric Corp 数値制御装置の速度制御方法
JP5009010B2 (ja) * 2007-03-13 2012-08-22 新日本工機株式会社 数値制御装置
JP7376260B2 (ja) * 2019-06-19 2023-11-08 ファナック株式会社 数値制御装置

Also Published As

Publication number Publication date
JPWO2022259469A1 (de) 2022-12-15
DE112021007127T5 (de) 2023-12-21
CN117255976A (zh) 2023-12-19
WO2022259469A1 (ja) 2022-12-15

Similar Documents

Publication Publication Date Title
US10824121B2 (en) Machine learning device, servo motor controller, servo motor control system, and machine learning method
JP5152443B1 (ja) 数値制御装置
US11029651B2 (en) Machine learning device, control system, control device, and machine learning method
US20190025794A1 (en) Machine learning device, numerical control device, numerical control system, and machine learning method
JP7010877B2 (ja) 機械学習装置、数値制御システム及び機械学習方法
JP6151669B2 (ja) 加工プログラム指令内容に応じてcpu負荷を分散可能な数値制御装置
US10095223B2 (en) Numerical controller having function of speeding up fixed cycle
US9836044B2 (en) Machining time estimating device for estimating machining time after modification of NC program
JP6309986B2 (ja) 数値制御工作機械の加工時間予測装置
US20240201663A1 (en) Numerical control device
US10684594B2 (en) Machine learning device, servo motor controller, servo motor control system, and machine learning method
JP2021002092A (ja) 数値制御装置
JP6325488B2 (ja) テーブル形式データによる運転を行う数値制御装置
US10437234B2 (en) Machining time calculating apparatus and machining time calculating method
JP2011224694A (ja) 多関節型ロボットの速度指令プロファイルの生成方法
US10095221B2 (en) Numerical controller for notifying execution of auxiliary function in advance
JP2020009102A (ja) 数値制御装置、数値制御方法及び数値制御プログラム
JP6836540B2 (ja) 情報処理装置及び情報処理方法
US10671053B2 (en) Numerical controller and machine tool system
KR100898035B1 (ko) 공구경로 수정 방법
JP6823032B2 (ja) プログラム修正装置
WO2024003990A1 (ja) プログラム最適化装置及び記憶媒体
WO2024003972A1 (ja) プログラム最適化装置及び記憶媒体
US20240126231A1 (en) Time difference setting device and numerical control device
JP7448658B2 (ja) 工作機械の制御装置と制御方法及びスレーブ軸制御装置

Legal Events

Date Code Title Description
AS Assignment

Owner name: FANUC CORPORATION, JAPAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:OONISHI, NOBUHITO;REEL/FRAME:065186/0738

Effective date: 20230911

STPP Information on status: patent application and granting procedure in general

Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION