Numerical control device

By segmenting and processing the interpolation pulse groups in the numerical control device, the problem of speed change during acceleration and deceleration of the control axis was solved, and a smooth acceleration and deceleration transition was achieved.

CN123187101APending Publication Date: 2026-11-27FANUC LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202480090944.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In the prior art, the control axis is affected by different gravitational acceleration during acceleration and deceleration, making it difficult to perform optimal acceleration and deceleration processing, and large speed changes occur when switching between acceleration and deceleration.

Method used

A numerical control device is used to generate interpolation pulse groups by analyzing the machining program, and then divides them into partial interpolation pulse groups. These partial interpolation pulse groups are input into acceleration and deceleration circuits with different time constants for processing. The summed pulses are output to smoothly transition between acceleration and deceleration.

Benefits of technology

It achieves acceleration and deceleration processing under different time constants, reduces speed variations of the control axis, and improves the smoothness and stability of acceleration and deceleration processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123187101A_ABST
    Figure CN123187101A_ABST
Patent Text Reader

Abstract

A numerical control device (1) includes at least one memory (2), at least one processor (3), and a speed change circuit capable of setting different time constants, the processor (3) is configured to: acquire at least one instruction block contained in a program for causing a control shaft (53) of an industrial machine (5) to act by analyzing the program; generate a plurality of interpolation pulse groups each composed of a plurality of interpolation pulses of a fixed specified number allocated along a time axis at each specified interpolation period, the plurality of interpolation pulses being required for an action of the control shaft (53) based on the instruction block; divide the interpolation pulse groups into a pair of partial interpolation pulse groups in which a trailing edge and a leading edge in the time axis direction overlap, the number of unit pulses of the trailing edge of the pair of partial interpolation pulse groups monotonically decreasing in the time axis direction, and the number of unit pulses of the leading edge monotonically increasing in the time axis direction; and output output pulses output from the different speed change circuits after adding the output pulses by inputting each partial interpolation pulse group to the different speed change circuits.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to numerical control devices. Background Technology

[0002] It is known that multiple instruction blocks included in a machining program that controls the control axis of industrial machinery perform acceleration and deceleration processes with different time constants (for example, see Patent Document 1).

[0003] Existing technical documents

[0004] Patent documents

[0005] Patent Document 1: Japanese Patent No. 7415093 Summary of the Invention

[0006] The problem the invention aims to solve

[0007] For example, when a control axis moves along the direction of gravity, the effect of gravitational acceleration on the control axis differs during acceleration and deceleration. Therefore, as mentioned above, when performing acceleration / deceleration processing with a single time constant for a single instruction block, it is difficult to achieve optimal acceleration / deceleration processing for both acceleration and deceleration. Furthermore, when different time constants are used for acceleration and deceleration processing for a single instruction block, significant speed changes occur on the control axis at the point of switching between the two acceleration / deceleration processes.

[0008] Therefore, it is desirable to minimize the impact on the control axis for a single instruction block, even when performing acceleration and deceleration processes with different time constants.

[0009] Solution for solving the problem

[0010] One aspect of this disclosure is a numerical control device comprising at least one memory, at least one processor, and multiple acceleration / deceleration circuits capable of setting different time constants. The processor is configured to: parse a program that causes the control axis of industrial machinery to move, and obtain at least one instruction block contained in the program; generate an interpolation pulse group consisting of multiple interpolation pulses comprising a fixed number of unit pulses required for the movement of the control axis based on the instruction block, distributed along the time axis at each predetermined interpolation cycle; divide the interpolation pulse group into a pair of partial interpolation pulse groups such that the trailing edge and the leading edge overlap in the time axis direction, wherein the number of unit pulses at the trailing edge of the pair of partial interpolation pulse groups monotonically decreases in the time axis direction, and the number of unit pulses at the leading edge monotonically increases in the time axis direction; and input each of the partial interpolation pulse groups to different acceleration / deceleration circuits, and output the sum of the output pulses from each acceleration / deceleration circuit. Attached Figure Description

[0011] Figure 1 This is a schematic diagram showing the structure of a numerical control device in one embodiment of the present disclosure.

[0012] Figure 2 It is based on each function Figure 1 The diagram shows a conceptual breakdown of the information stored in the memory of the numerical control device.

[0013] Figure 3 yes Figure 1 An example of a machining program stored in the memory of the numerical control device shown.

[0014] Figure 4 Yes Figure 1 The diagram shows a conceptual representation of the interpolation pulse group in the numerical control device.

[0015] Figure 5 It is a segmentation Figure 4 The diagram shows a conceptual representation of a pair of partially interpolated pulse groups obtained from the interpolated pulse groups shown.

[0016] Figure 6 It is formed according to the prescribed ratio Figure 5 The diagram shows a conceptual representation of a pair of partially interpolated pulse groups.

[0017] Figure 7 It means by passing through Figure 6 The diagram shows the output pulses of a pair of partially interpolated pulse groups input to an acceleration / deceleration circuit.

[0018] Figure 8 It means Figure 7 The graph shows the sum of the two output pulses.

[0019] Figure 9 Yes Figure 1 The flowchart illustrates the numerical control method performed by the numerical control device shown.

[0020] Figure 10 It is based on each function Figure 1 A block diagram showing a conceptual breakdown of the information stored in the memory of a variant of the numerical control device.

[0021] Figure 11 It means Figure 1 A diagram showing the output pulses of a variant of the numerical control device.

[0022] Figure 12 yes Figure 11 The diagram shows the sum of the five output pulses. Detailed Implementation

[0023] Hereinafter, with reference to the accompanying drawings, a numerical control device 1, a numerical control method, and a numerical control program according to one embodiment of the present disclosure will be described.

[0024] like Figure 1 As shown, the numerical control device 1 in this embodiment is a device for controlling the operation of a machine tool (industrial machinery) 5 that processes workpiece W. The numerical control device 1 includes: a memory 2 equipped with volatile storage media such as RAM and non-volatile storage media such as ROM, HDD, and SSD; and at least one processor 3 such as a CPU or PLC. Furthermore, an externally configured input device 4 is connected to the numerical control device 1.

[0025] Input device 4 is, for example, a keyboard, touch panel, control panel, serial interface such as USB, or a combination thereof. Input device 4 accepts various program inputs from the user, as well as inputs of feature point data representing the shape of the machine tool 5 and the workpiece W.

[0026] The machine tool 5 includes, for example, a worktable 51 for supporting the workpiece W to be processed and a tool 52 for cutting the workpiece W, as well as multiple control axes 53. In addition, the machine tool 5 includes multiple servo motors M and servo amplifiers (not shown) for moving each control axis 53.

[0027] Here, regarding the program stored in memory 2, such as Figure 2 As shown, a more specific explanation is provided using a block diagram that conceptually breaks down each function.

[0028] The memory 2 stores a control program (numerical control program) 21 that causes each control axis 53 of the machine tool 5 to move according to the machining program 22 described later. Additionally, the memory 2 stores a machining program (program) 22 that describes the various action commands required when the machine tool 5 performs cutting machining on the workpiece W. Furthermore, the memory 2 stores acceleration parameters 23, deceleration parameters 24, and multiple acceleration / deceleration circuits 25.

[0029] Control program 21 is a program responsible for the basic functions of numerical control device 1, and is a program stored in memory 2 beforehand. Control program 21 includes programs that function as the analysis unit 31, interpolation unit 32, selection unit 33, arithmetic unit 34, addition unit 35, and control unit 36, which will be described later.

[0030] like Figure 3 As shown, the machining program 22 is composed of multiple instruction blocks 22a arranged in the execution order, and the multiple instruction blocks 22a specify each action of the machine tool 5 for cutting the workpiece W.

[0031] Acceleration parameter 23 is, for example, the acceleration or acceleration time required for the acceleration action of the control axis 53 controlled by each instruction block 22a. Similarly, deceleration parameter 24 is the acceleration or deceleration time required for the deceleration action of the control axis 53 controlled by each instruction block 22a.

[0032] Acceleration parameter 23 and deceleration parameter 24 are values ​​that are predetermined through prior experiments, etc., and are input to the numerical control device 1 together when the user inputs the machining program 22.

[0033] Each acceleration / deceleration circuit 25 is a pre-stored arithmetic program, i.e., a software circuit, in the memory 2. In this case, each acceleration / deceleration circuit 25 is a program that executes acceleration / deceleration processing based on a predetermined time constant for each input pulse signal. That is, each acceleration / deceleration circuit 25 is a program for outputting output pulses, which, in response to the input instruction block 22a, cause the speed of the corresponding control axis 53 to accelerate or decelerate by a predetermined time constant at the start and stop times.

[0034] The processor 3 executes the parsing unit 31, interpolation unit 32, selection unit 33, arithmetic unit 34, addition unit 35, and control unit 36 ​​of the control program 21 stored in the memory 2.

[0035] The parsing unit 31 parses the processing program 22 stored in the memory 2 and extracts multiple instruction blocks 22a from the processing program 22.

[0036] The interpolation unit 32 performs interpolation processing for each instruction block 22a. That is, as... Figure 4 As shown, the interpolation unit 32 generates multiple unit pulses as drive signals required to execute the instruction content for each instruction block 22a, and generates an interpolation pulse group P consisting of multiple interpolation pulses consisting of a fixed number of these unit pulses allocated to each of the specified interpolation periods f.

[0037] like Figure 5 As shown, the selection unit 33 divides the interpolation pulse group P generated according to each instruction block 22a along the time axis, and divides the interpolation pulse group P into a pair of partial interpolation pulse groups P1 and P2. Furthermore, the selection unit 33 multiplies the portion of the partial interpolation pulse group P2 corresponding to time t1 to time t2 by a predetermined ratio, dividing it into two parts. That is, the selection unit 33 divides the partial interpolation pulse group P2 such that one part monotonically decreases the number of unit pulses per interpolation period f during time t1 to t2, while the other part monotonically increases the number of unit pulses per interpolation period f during time t1 to t2.

[0038] In addition, such as Figure 6As shown, the selection unit 33 generates a partial interpolation pulse group P1' that is added to the partial interpolation pulse group P1 after dividing the partial interpolation pulse group P2. That is, the selection unit 33 divides the interpolation pulse group P into the partial interpolation pulse group P1', and another partial interpolation pulse group P2' is formed by dividing the partial interpolation pulse group P2.

[0039] That is, the trailing edge of the partial interpolation pulse group P1', which includes the leading edge of the original interpolation pulse group P, monotonically decreases the number of unit pulses in each interpolation pulse from time t1 to time t2. On the other hand, the leading edge of the partial interpolation pulse group P2', which includes the trailing edge of the original interpolation pulse group P, monotonically increases the number of unit pulses in each interpolation pulse from time t1 to time t2 in a manner opposite to the decrease in the number of unit pulses in the trailing edge of the partial interpolation pulse group P1'. That is, the selection unit 33 segments the interpolation pulse group P in a manner that maintains the total number of unit pulses allocated per interpolation period f and overlaps the leading edge of the partial interpolation pulse group P1' and the trailing edge of the partial interpolation pulse group P2' in the time axis direction.

[0040] Furthermore, for each instruction block 22a, the selection unit 33 selects one from the plurality of acceleration / deceleration circuits 25 and sets a time constant (first time constant) T1 corresponding to the acceleration parameter 23 for the selected acceleration / deceleration circuit 25. Similarly, for each instruction block 22a, the selection unit 33 selects another from the plurality of acceleration / deceleration circuits 25 and sets a time constant (second time constant) T2 corresponding to the deceleration parameter 24 for the selected other acceleration / deceleration circuit 25.

[0041] For ease of explanation, the acceleration / deceleration circuit 25 with a set time constant T1 will be referred to as acceleration / deceleration circuit 25a, and the acceleration / deceleration circuit 25 with a set time constant T2 will be referred to as acceleration / deceleration circuit 25b.

[0042] The arithmetic unit 34 and the summing unit 35 are configured, for example, by timing processing of software.

[0043] The arithmetic unit 34 inputs the partial interpolation pulse groups P1' and P2' of each instruction block 22a to the corresponding acceleration / deceleration circuits 25a and 25b, respectively. That is, as shown... Figure 7 As shown, the arithmetic unit 34 performs acceleration and deceleration processing on the partial interpolation pulse group P1´ with a time constant T1, thereby outputting the output pulse OP1. Similarly, the arithmetic unit 34 performs acceleration and deceleration processing on the partial interpolation pulse group P2´ with a time constant T2, and outputs the output pulse OP2.

[0044] The relationship between the output pulse OP1 and the partially interpolated pulse group P1' is explained in detail. The portion of the output pulse OP1 from time 0 to t1' is the waveform output by accelerating or decelerating the portion of the partially interpolated pulse group P1' from time 0 to t1 using the acceleration / deceleration circuit 25a. Similarly, the portion of the output pulse OP1 from time t1' to t2' is the waveform output by accelerating or decelerating the portion of the partially interpolated pulse group P1' from time t1 to t2, where the number of pulses decreases monotonically, using the acceleration / deceleration circuit 25a. In this case, times t1' and t2' are later than times t1 and t2, respectively. The relationship between the output pulse OP2 and the partially interpolated pulse group P2' is the same.

[0045] like Figure 8 As shown, the summing unit 35 sums a pair of output pulses OP1 and OP2 output according to each instruction block 22a, and inputs the resulting summing pulse OP to the control unit 36.

[0046] The control unit 36 ​​inputs the summing pulse OP received from the summing unit 35 to the servo amplifier according to the control program 21 stored in the memory 2, and drives the corresponding servo motor M.

[0047] The numerical control method performed by the numerical control device 1 in the embodiment configured as described below will be explained.

[0048] The following is in accordance with Figure 9 The flowchart illustrates the numerical control method used by machine tool 5 to perform cutting machining on workpiece W.

[0049] First, the user operates the input device 4 to input the machining program 22 for the machine tool 5 to perform cutting on the workpiece W. Additionally, the user operates the input device 4 to input the acceleration parameters 23 and deceleration parameters 24 required for the cutting process.

[0050] In this state, the processor 3 of the numerical control device 1 in this embodiment executes the control program 21 stored in the memory 2. As a result, the parsing unit 31 parses the input processing program 22 (step S1) and extracts and obtains the multiple instruction blocks 22a contained in the processing program 22 one by one (step S2).

[0051] In the following steps, the processing of one instruction block 22a used to move the tool 52 of the machine tool 5 vertically upward will be described as an example among the multiple instruction blocks 22a obtained.

[0052] Next, the interpolation unit 32 calculates the position (interpolation point) of the tool 52 for each interpolation cycle f according to the instruction content of the acquired instruction block 22a, that is, it performs interpolation processing. Then, the interpolation unit 32 allocates a predetermined number of the multiple unit pulses required to execute the instruction block 22a to each interpolation cycle f, and generates an interpolation pulse group P, so that the tool 52 moves along the calculated interpolation points (step S3).

[0053] The generated interpolation pulse group P is divided into a partial interpolation pulse group P1' and a partial interpolation pulse group P2' by the selection unit 33 (step S4).

[0054] In addition, the selection unit 33 selects two from the plurality of acceleration and deceleration circuits 25 stored in the memory 2, and sets the time constant T1 corresponding to the acceleration parameter 23 and the time constant T2 corresponding to the deceleration parameter 24 for each (step S5).

[0055] Next, the arithmetic unit 34 inputs one of the segmented interpolation pulse groups P1' to the acceleration / deceleration circuit 25a with a set time constant T1, and inputs the other segmented interpolation pulse group P2' to the acceleration / deceleration circuit 25b with a set time constant T2. That is, the arithmetic unit 34 performs acceleration / deceleration processing with time constant T1 and acceleration / deceleration processing with time constant T2 in parallel for the segmented interpolation pulse groups P1' and P2', respectively, and outputs output pulses OP1 and OP2 (step S6).

[0056] Then, the summing unit 35 sums the output pulses OP1 and OP2 (step S7) and outputs the summed pulse OP to the control unit 36.

[0057] Subsequently, the control unit 36 ​​inputs the summing pulse OP received from the summing unit 35 to the corresponding servo amplifier and controls the servo motor M (step S8). As a result, the tool 52 moves vertically upward to the target location, completing the execution of one instruction block 22a.

[0058] Thus, according to this embodiment, by dividing the interpolation pulse group P of an instruction block 22a into two partial interpolation pulse groups P1' and P2', two acceleration / deceleration processes with different time constants can be performed simultaneously. Therefore, as Figure 8 As shown, it is possible to perform optimal acceleration and deceleration processing with optimal time constants for both acceleration and deceleration actions in the action commanded by an instruction block 22a.

[0059] In addition, such as Figure 7 As shown, output pulses OP1 and OP2 overlap at times t1´ to t2´, with output pulse OP2 increasing to compensate for the decrease in output pulse OP1. Therefore, as... Figure 7 , 8As shown, when the output pulses OP1 and OP2 are added together, their boundary portion can be smoothly connected. Therefore, even when two acceleration / deceleration processes with different time constants are executed for a single instruction block 22a, it is possible to prevent an increase in the speed change of the shaft 53 at the time of switching between the two acceleration / deceleration processes.

[0060] Furthermore, in this embodiment, such as Figure 6 As shown, the interpolation pulse group P is segmented so that the trailing edge of the partial interpolation pulse group P1' and the leading edge of the partial interpolation pulse group P2' decrease monotonically and increase monotonically as linear functions, respectively. Alternatively, the interpolation pulse group P can also be segmented so that the trailing edge of the partial interpolation pulse group P1' and the leading edge of the partial interpolation pulse group P2' decrease or increase complementaryly along arbitrary functions such as quadratic functions.

[0061] In addition, in this embodiment, an interpolation pulse group P is divided into a pair of partial interpolation pulse groups P1' and P2'. Alternatively, an interpolation pulse group P can be divided into multiple pairs of partial interpolation pulse groups.

[0062] In this case, for example, the memory 2 stores a plurality of acceleration / deceleration circuits 25 and their number, and the selection unit 33 divides the interpolation pulse group P into a number of partial interpolation pulse groups equal to the number of acceleration / deceleration circuits 25. In addition, the selection unit 33 sets the time constant of each of the plurality of acceleration / deceleration circuits 25 stored in the memory 2 to divide the time constant T1 to time constant T2 at equal intervals, for example.

[0063] Furthermore, the arithmetic unit 34 inputs the beginning and end portions of the original interpolation pulse group P into the acceleration / deceleration circuits 25a and 25b, which are set with time constants T1 and T2, respectively. Therefore, as described above, acceleration and deceleration processing with appropriate time constants can be performed on the acceleration and deceleration actions in an instruction block 22a.

[0064] In addition, in this case, the time constant of each acceleration / deceleration circuit 25 that receives interpolation pulse groups other than those input to acceleration / deceleration circuits 25a and 25b is set to approach T2 along the execution sequence.

[0065] Therefore, the time constant in the acceleration / deceleration process from the acceleration action (starting action) to the deceleration action (stopping action) can be changed from T1 to T2 in stages. Thus, the acceleration / deceleration process for acceleration actions and the acceleration / deceleration process for deceleration actions can be smoothly connected.

[0066] Hereinafter, the numerical control device 1' and the numerical control method performed by the numerical control device 1' in the second embodiment of the present disclosure will be described with reference to the accompanying drawings.

[0067] In the following description, parts with the same structure as the numerical control device 1 described above are marked with the same reference numerals and the descriptions are omitted.

[0068] The numerical control device 1' in this embodiment includes, for example, a memory 2' and a processor 3.

[0069] like Figure 10 As shown, the memory 2' stores a control program 21' which includes programs that function as a parsing unit 31, a partitioning unit 37, an interpolation unit 32', a selection unit 33', an arithmetic unit 34', an addition unit 35', and a control unit 36'.

[0070] The partitioning unit 37 divides the instruction block 22a obtained by the parsing unit 31 into multiple partitioned instruction blocks. For example, the partitioning unit 37 divides it into five partitioned instruction blocks to evenly distribute the motion amount of the control axis 53 based on the instruction block 22a.

[0071] The interpolation unit 32' generates interpolation pulse groups P for each of the five partitioning instruction blocks divided by the partitioning unit 37. That is, the interpolation unit 32' generates five consecutive interpolation pulse groups P in the time axis direction.

[0072] The selection unit 33' shapes each pair of interpolation pulse groups P that are adjacent to each other in the time axis direction, so that the trailing edge of one of them overlaps with the leading edge of the other along the time axis. In this case, the trailing and leading edges of each pair of interpolation pulse groups P have the same relationship as the partial interpolation pulse groups P1' and P2' of the numerical control device 1. That is, the number of unit pulses in each interpolation cycle f in each pair of interpolation pulse groups P is maintained at a predetermined number, and the number of unit pulses at the trailing edge of one interpolation pulse group P monotonically decreases, while the number of unit pulses at the leading edge of the other interpolation pulse group P monotonically increases.

[0073] In addition, the selection unit 33' selects five acceleration / deceleration circuits 25a' to 25e' from the plurality of acceleration / deceleration circuits 25 stored in the memory 2 for a single instruction block 22a.

[0074] Then, the selection unit 33' sets the time constant T1 corresponding to the acceleration parameter 23 for the selected acceleration / deceleration circuit 25a', and sets the time constant T2 corresponding to the deceleration parameter 24 for the selected acceleration / deceleration circuit 25e'. Furthermore, the selection unit 33' sets the time constants of the selected acceleration / deceleration circuits 25b', 25c', and 25d' to three values ​​that divide the difference between time constant T1 and time constant T2 into four equal parts. That is, the time constants of the five acceleration / deceleration circuits 25a' to 25e' selected by the selection unit 33' are set to values ​​that divide the time constants T1 to T2 into equal intervals.

[0075] The arithmetic unit 34' inputs the five interpolation pulse groups P, formed by the selection unit 33' and corresponding to each partitioned instruction block, to the five acceleration / deceleration circuits 25a' to 25e' respectively. In this case, the five interpolation pulse groups P are input along the time axis in the order of the acceleration / deceleration circuits 25a' to 25e'. Therefore, the arithmetic unit 34' performs acceleration / deceleration processing based on the acceleration / deceleration circuits 25a' to 25e' for each of the five interpolation pulse groups P, such as... Figure 11 As shown, five output pulses OP1' to OP5' are output. The output pulses OP1' to OP5' are the same as the output pulses OP1 and OP2 in the numerical control device 1 mentioned above, and are formed such that adjacent output pulses in the time axis direction partially overlap each other.

[0076] like Figure 11 , 12 As shown, the summing unit 35' adds the five output pulses OP1'~OP5' output by the arithmetic unit 34' to generate a summing pulse OP'. The generated summing pulse OP' is output to the control unit 36'.

[0077] The control unit 36' controls the servo motor M based on the summing pulse OP' received from the summing unit 35'.

[0078] The numerical control method performed by the numerical control device 1' in the embodiment configured as described below will be explained.

[0079] As above, for ease of explanation, the following will only describe the processing of one instruction block 22a among multiple instruction blocks 22a.

[0080] First, the parsing unit 31 extracts multiple instruction blocks 22a from the processing program 22 input by the user.

[0081] Next, the partitioning unit 37 divides the extracted instruction block 22a into five partitioning instruction blocks in order to divide the motion amount of the control axis 53 based on its instruction into five equal parts.

[0082] Secondly, the interpolation unit 32' generates interpolation pulse groups P for each of the five partitioning instruction blocks.

[0083] Then, the selection section 33' is shaped so that the boundary portions of each pair of interpolation pulse groups P adjacent to each other in the time axis direction overlap in the time axis direction. In this case, the number of unit pulses per interpolation period f on the trailing edge of one interpolation pulse group P is multiplied by a predetermined ratio and monotonically decreased. In addition, the number of unit pulses on the leading edge of another interpolation pulse group P is multiplied by the rate of decrease in the number of unit pulses that can fill the trailing edge of one interpolation pulse group P and monotonically increased.

[0084] Subsequently, the selection unit 33' selects five acceleration / deceleration circuits 25a' to 25e' from the plurality of acceleration / deceleration circuits 25. Then, the time constants of the five selected acceleration / deceleration circuits 25a' to 25e' are set such that the range of time constants T1 to T2 is equally divided. Then, the calculation unit 34' inputs five interpolation pulse groups P to the five acceleration / deceleration circuits 25a' to 25e' respectively, as follows: Figure 11 As shown, the output pulses are OP1´~OP5´.

[0085] In this case, the output pulse OP1' is a pulse output after accelerating or decelerating the interpolation pulse group P corresponding to the first partitioning instruction block executed among the five partitioning instruction blocks with a time constant T1. Similarly, the output pulse OP5' is a pulse output after accelerating or decelerating the interpolation pulse group P corresponding to the last partitioning instruction block executed among the five partitioning instruction blocks with a time constant T2.

[0086] That is, it can perform acceleration and deceleration processing by changing the time constant from T1 to T2 in stages according to the execution order of the five interpolation pulse groups P according to their respective division instruction blocks.

[0087] Furthermore, the output pulses OP1' to OP5' generated through this acceleration / deceleration process are added together by the summing unit 35', resulting in the generated summing pulse OP' being input to the control unit 36'. Then, the control unit 36' controls each control axis 53 according to the received summing pulse OP'.

[0088] Thus, even when an instruction block 22a is divided into multiple sub-instruction blocks, acceleration and deceleration operations of instruction block 22a can be performed with different time constants T1 and T2. Furthermore, in this case, acceleration and deceleration operations can be performed by varying the time constant from T1 to T2 in stages for the five interpolation pulse groups P according to the execution order of their respective sub-instruction blocks.

[0089] Therefore, even when the difference between acceleration parameter 23 and deceleration parameter 24 is large, the acceleration / deceleration processing for acceleration actions and the acceleration / deceleration processing for deceleration actions can be smoothly connected.

[0090] Furthermore, in this embodiment, instruction block 22a is divided into five partitioned instruction blocks, but the number of partitions is not limited to this. By increasing the number of partitioned instruction blocks, the acceleration / deceleration processing for acceleration actions and the acceleration / deceleration processing for deceleration actions in an instruction block 22a can be connected more smoothly.

[0091] In this embodiment, the selection unit 33' selects the acceleration / deceleration circuits 25a'~25e' that input the interpolation pulse group P corresponding to each partitioned instruction block from the plurality of acceleration / deceleration circuits 25 pre-stored in the memory 2. Alternatively, the partitioning unit 37 may divide the instruction block 22a into a number of partitioned instruction blocks corresponding to the number of acceleration / deceleration circuits 25 stored in the memory 2. In either case, it is sufficient to pre-store in the memory 2 the acceleration / deceleration circuits 25 required for the optimal acceleration / deceleration processing for the acceleration and deceleration actions in each instruction block 22a, as well as their number.

[0092] Furthermore, in this embodiment, the partitioning unit 37 divides the instruction block 22a so that the amount of action specified by each partitioned instruction block is equal, but the partitioning method is not limited to this. For example, the partitioning unit 37 may also divide the instruction block according to the instruction content of the instruction block 22a so that the amount of action of a specific partitioned instruction block reaches a predetermined size. Alternatively, the instruction block 22a may be divided according to the action time of each partitioned instruction block.

[0093] Furthermore, in the above embodiment, the selection units 33 and 33' set time constants T1 and T2 based on acceleration parameter 23 and deceleration parameter 24 for the acceleration / deceleration circuit 25 selected from the plurality of acceleration / deceleration circuits 25.

[0094] Instead, the multiple acceleration / deceleration circuits 25 can each have different time constants in advance. In this case, each time constant set in the multiple acceleration / deceleration circuits 25 only needs to include time constants T1 and T2 based on acceleration parameter 23 and deceleration parameter 24.

[0095] Therefore, the selection units 33 and 33' only need to select the acceleration / deceleration circuit 25 from the plurality of acceleration / deceleration circuits 25 that has a set time constant T1 and T2. That is, each time the acceleration / deceleration processing of each instruction block 22a is executed, it is not necessary to set a time constant for the acceleration / deceleration circuit 25 selected from the plurality of acceleration / deceleration circuits 25.

[0096] Therefore, it is possible to reduce the computational load performed in processor 3.

[0097] Furthermore, in the above embodiments, the acceleration / deceleration circuits 25 are all computational programs (software circuits) stored in the memory 2. Therefore, the number of acceleration / deceleration circuits or the time constants set in each circuit can be easily changed. Alternatively, when the processing content is predetermined and cannot be changed, the numerical control devices 1 and 1' can be equipped with acceleration / deceleration circuits 25 as hardware circuits. In this case, the user does not need to set the time constants of the acceleration / deceleration circuits 25, which reduces the user's burden.

[0098] The embodiments of this disclosure have been described in detail above, but this disclosure is not limited to the above embodiments. Various additions, substitutions, modifications, and partial deletions can be made to these embodiments without departing from the spirit of the invention or the ideas and key points derived from the claims and their equivalents. For example, in the above embodiments, the order of each action and the order of each process are merely examples and are not limited thereto.

[0099] The following notes are also disclosed regarding the above-described embodiments and variations.

[0100] Postscript 1

[0101] A numerical control device includes at least one memory, at least one processor, and multiple acceleration / deceleration circuits capable of setting different time constants. The processor is configured to: parse a program that causes the control axis of industrial machinery to move, and obtain at least one instruction block contained in the program; generate an interpolation pulse group consisting of multiple interpolation pulses, each consisting of a fixed number of unit pulses required for the movement of the control axis based on the instruction block, distributed along a time axis at each predetermined interpolation cycle; divide the interpolation pulse group into a pair of partial interpolation pulse groups such that the trailing edge and the leading edge overlap in the time axis direction, wherein the number of unit pulses at the trailing edge of the pair of partial interpolation pulse groups decreases monotonically in the time axis direction, and the number of unit pulses at the leading edge increases monotonically in the time axis direction; and input each of the partial interpolation pulse groups to different acceleration / deceleration circuits, and then sum and output the output pulses from each acceleration / deceleration circuit.

[0102] Appendix 2

[0103] According to the numerical control device described in Appendix 1, the memory stores acceleration parameters related to acceleration actions and deceleration parameters related to deceleration actions. The processor is configured to: select two of the acceleration / deceleration circuits from a plurality of acceleration / deceleration circuits; for one of the selected acceleration / deceleration circuits, set a first time constant corresponding to the acceleration parameter and input the partial interpolation pulse group including the beginning of the interpolation pulse group; for the other selected acceleration / deceleration circuit, set a second time constant corresponding to the deceleration parameter and input the partial interpolation pulse group including the end of the interpolation pulse group.

[0104] Appendix 3

[0105] According to the numerical control device described in Appendix 2, the memory stores the number of the acceleration / deceleration circuits, and the processor is configured to: divide the interpolation pulse group into the same number of partial interpolation pulse groups as the number of interpolation pulse groups; for the remaining acceleration / deceleration circuits among the plurality of acceleration / deceleration circuits other than the two selected acceleration / deceleration circuits, set a time constant that divides the difference between the first time constant and the second time constant at equal intervals; and input the partial interpolation pulse groups excluding the beginning and the end.

[0106] Appendix 4

[0107] According to the numerical control device described in Appendix 1, the memory stores acceleration parameters related to acceleration actions and deceleration parameters related to deceleration actions. The processor is configured to: select, from a plurality of acceleration / deceleration circuits, an acceleration / deceleration circuit having a first time constant corresponding to the acceleration parameters as the acceleration / deceleration circuit for inputting the partial interpolation pulse group including the beginning of the interpolation pulse group; and select an acceleration / deceleration circuit having a second time constant corresponding to the deceleration parameters as the acceleration / deceleration circuit for inputting the partial interpolation pulse group including the end of the interpolation pulse group.

[0108] Appendix 5

[0109] A numerical control device includes at least one memory, at least one processor, and multiple acceleration / deceleration circuits capable of setting different time constants. The processor is configured to: parse a program that causes the control axis of industrial machinery to move, obtain at least one instruction block contained in the program, divide the instruction block into multiple sub-instruction blocks, generate multiple unit pulses required for the movement of the control axis based on each sub-instruction block, and form multiple interpolation pulse groups consisting of multiple interpolation pulses of a fixed predetermined number allocated along the time axis at each predetermined interpolation period. The interpolation pulse groups corresponding to adjacent sub-instruction blocks in the time axis direction are configured such that their trailing and leading edges overlap in the time axis direction, the number of unit pulses at the trailing edge monotonically decreases in the time axis direction, and the number of unit pulses at the leading edge monotonically increases in the time axis direction. The processor also inputs the interpolation pulse groups corresponding to each sub-instruction block to different acceleration / deceleration circuits, and outputs the sum of the output pulses from each acceleration / deceleration circuit.

[0110] Appendix 6

[0111] According to the numerical control device described in Appendix 5, the memory stores acceleration parameters related to acceleration actions and deceleration parameters related to deceleration actions. The processor is configured to: select two of the acceleration / deceleration circuits from a plurality of acceleration / deceleration circuits; for one of the selected acceleration / deceleration circuits, set a first time constant corresponding to the acceleration parameter and input the interpolation pulse group corresponding to the initially executed partitioning instruction block; for the other selected acceleration / deceleration circuit, set a second time constant corresponding to the deceleration parameter and input the interpolation pulse group corresponding to the last executed partitioning instruction block.

[0112] Postscript 7

[0113] According to the numerical control device described in Appendix 6, the memory stores the number of the acceleration / deceleration circuits, and the processor is configured to: divide the instruction block into the same number of partition instruction blocks as the number of such blocks; for the remaining acceleration / deceleration circuits among the plurality of acceleration / deceleration circuits except for the two selected acceleration / deceleration circuits, set a time constant that divides the difference between the first time constant and the second time constant at equal intervals; and input the interpolation pulse group except for the interpolation pulse group corresponding to the first and last executed partition instruction blocks.

[0114] Postscript 8

[0115] According to the numerical control device described in Appendix 5, the memory stores acceleration parameters related to acceleration actions and deceleration parameters related to deceleration actions. The processor is configured to: select, from a plurality of acceleration / deceleration circuits, an acceleration / deceleration circuit having a first time constant corresponding to the acceleration parameters as the acceleration / deceleration circuit input to the interpolation pulse group corresponding to the initially executed partitioning instruction block; and select an acceleration / deceleration circuit having a second time constant corresponding to the deceleration parameters as the acceleration / deceleration circuit input to the interpolation pulse group corresponding to the last executed partitioning instruction block.

[0116] Postscript 9

[0117] According to any one of Appendices 5 to 8, the processor divides the instruction blocks in such a way that the amount of motion of the control axis based on each of the divided instruction blocks is equal.

[0118] Postscript 10

[0119] According to any one of Appendices 1 to 9, in the numerical control device, in the trailing edge and the leading edge that overlap each other in the time axis direction, the total number of unit pulses in each interpolation cycle is the predetermined number.

[0120] Postscript 11

[0121] According to any one of the appendices 1 to 10, the acceleration / deceleration circuit is a software circuit stored in the memory.

[0122] Postscript 12

[0123] A numerical control method includes: obtaining at least one instruction block contained in a program that causes a control axis of industrial machinery to move by parsing; generating an interpolation pulse group consisting of multiple interpolation pulses, each consisting of a fixed number of unit pulses required for the movement of the control axis based on the instruction block, distributed along a time axis at each predetermined interpolation cycle; dividing the interpolation pulse group into a pair of partial interpolation pulse groups such that the trailing edge and the leading edge overlap in the time axis direction, wherein the number of unit pulses at the trailing edge of the pair of partial interpolation pulse groups decreases monotonically in the time axis direction, and the number of unit pulses at the leading edge increases monotonically in the time axis direction; and inputting each of the partial interpolation pulse groups into acceleration / deceleration circuits capable of setting different time constants, and then summing the output pulses output from each of the acceleration / deceleration circuits and outputting the sum.

[0124] Postscript 13

[0125] A numerical control program enables a computer to perform the following processing: by parsing a program that causes a control axis of industrial machinery to move, obtaining at least one instruction block contained in the program; generating an interpolation pulse group consisting of multiple interpolation pulses, each consisting of a fixed predetermined number of unit pulses required for the movement of the control axis based on the instruction block, distributed along a time axis at each predetermined interpolation cycle; dividing the interpolation pulse group into a pair of partial interpolation pulse groups such that the trailing edge and the leading edge overlap in the time axis direction, wherein the number of unit pulses at the trailing edge of the pair of partial interpolation pulse groups monotonically decreases in the time axis direction, and the number of unit pulses at the leading edge monotonically increases in the time axis direction; and by inputting each of the partial interpolation pulse groups into acceleration / deceleration circuits capable of setting different time constants, summing the output pulses output from each of the acceleration / deceleration circuits and outputting the sum.

[0126] Postscript 14

[0127] A numerical control method includes: obtaining at least one instruction block contained in a program that causes a control axis of industrial machinery to move by parsing; dividing the instruction block into multiple sub-instruction blocks; generating multiple interpolation pulse groups consisting of multiple unit pulses required for the movement of the control axis based on each sub-instruction block, each sub-instruction block being assigned a fixed number of interpolation pulses along a time axis at each predetermined interpolation period; shaping a pair of interpolation pulse groups corresponding to adjacent sub-instruction blocks in the time axis direction such that their respective trailing edges and leading edges overlap in the time axis direction, the number of unit pulses at the trailing edges monotonically decreases in the time axis direction, and the number of unit pulses at the leading edges monotonically increases in the time axis direction; and inputting the interpolation pulse groups corresponding to each sub-instruction block into acceleration / deceleration circuits capable of setting different time constants, and summing the output pulses output from each acceleration / deceleration circuit and outputting the sum.

[0128] Postscript 15

[0129] A numerical control program enables a computer to perform the following processing: by parsing a program that causes the control axis of industrial machinery to move, at least one instruction block contained in the program is obtained; the instruction block is divided into multiple sub-instruction blocks; multiple interpolation pulse groups are generated, consisting of multiple unit pulses required for the movement of the control axis based on each sub-instruction block, each distributed along the time axis at a fixed predetermined number according to each predetermined interpolation period; a pair of interpolation pulse groups corresponding to adjacent sub-instruction blocks in the time axis direction is shaped such that their respective trailing edges and leading edges overlap in the time axis direction, the number of unit pulses at the trailing edges monotonically decreases in the time axis direction, and the number of unit pulses at the leading edges monotonically increases in the time axis direction; and the output pulses from each acceleration / deceleration circuit are summed and output after inputting the interpolation pulse groups corresponding to each sub-instruction block into acceleration / deceleration circuits capable of setting different time constants.

[0130] Explanation of reference numerals in the attached figures:

[0131] 1.1' Numerical control device

[0132] 2. Memory

[0133] 3 processors

[0134] 5. Machine tools (industrial machinery)

[0135] 22. Processing Procedure (Program)

[0136] 22a instruction block

[0137] 23 Acceleration Parameters

[0138] 24. Deceleration parameters

[0139] 25 Acceleration / Deceleration Circuit

[0140] 25a and 25b acceleration / deceleration circuits

[0141] 25a', 25b', 25c', 25d', 25e' acceleration / deceleration circuits

[0142] 53 control axes

[0143] f interpolation period

[0144] P interpolation pulse group

[0145] P1', P2' Partial Interpolation Pulse Groups

[0146] OP1 and OP2 output pulses

[0147] OP1´, OP2´, OP3´, OP4´, OP5´ output pulses

[0148] T1 Time constant (first time constant)

[0149] T2 time constant (second time constant)

Claims

1. A numerical control device, characterized in that, It has at least one memory, at least one processor, and multiple acceleration / deceleration circuits with different time constants. The processor is used for: By analyzing the program that causes the control axis of industrial machinery to move, at least one instruction block contained in the program can be obtained. Generate an interpolation pulse group consisting of multiple interpolation pulses, which are formed by distributing a fixed number of unit pulses along the time axis according to each specified interpolation period, based on the number of unit pulses required for the movement of the control axis according to the instruction block. The interpolation pulse group is divided into a pair of partial interpolation pulse groups such that the trailing edge and the leading edge overlap in the time axis direction, wherein the number of unit pulses at the trailing edge of the pair of partial interpolation pulse groups decreases monotonically in the time axis direction, and the number of unit pulses at the leading edge increases monotonically in the time axis direction. By inputting each of the interpolation pulse groups into different acceleration / deceleration circuits, the output pulses from each acceleration / deceleration circuit are summed and then output.

2. The numerical control device according to claim 1, characterized in that, The memory stores acceleration parameters related to acceleration actions and deceleration parameters related to deceleration actions. The processor is used for: Select two of the acceleration / deceleration circuits from the plurality of acceleration / deceleration circuits; For the selected acceleration / deceleration circuit, a first time constant corresponding to the acceleration parameter is set, and the partial interpolation pulse group including the beginning of the interpolation pulse group is input. For the selected acceleration / deceleration circuit, a second time constant corresponding to the deceleration parameter is set, and the partial interpolation pulse group including the end of the interpolation pulse group is input.

3. The numerical control device according to claim 2, characterized in that, The memory stores the number of the acceleration / deceleration circuits. The processor is used for: The interpolation pulse group is divided into the same number of partial interpolation pulse groups as the stated number; For the acceleration and deceleration circuits other than the two selected ones among the plurality of acceleration and deceleration circuits, a time constant is set that divides the difference between the first time constant and the second time constant into equal intervals, and the partial interpolation pulse group excluding the beginning and the end is input.

4. The numerical control device according to claim 1, characterized in that, The memory stores acceleration parameters related to acceleration actions and deceleration parameters related to deceleration actions. The processor is used for: From a plurality of acceleration and deceleration circuits, the acceleration and deceleration circuit having a first time constant corresponding to the acceleration parameter is selected as the acceleration and deceleration circuit for the partial interpolation pulse group input including the beginning of the interpolation pulse group, and the acceleration and deceleration circuit having a second time constant corresponding to the deceleration parameter is selected as the acceleration and deceleration circuit for the partial interpolation pulse group input including the end of the interpolation pulse group.

5. A numerical control device, characterized in that, It has at least one memory, at least one processor, and multiple acceleration / deceleration circuits with different time constants. The processor is used for: By analyzing the program that causes the control axis of industrial machinery to move, at least one instruction block contained in the program can be obtained. Divide the instruction block into multiple partition instruction blocks; Generate multiple interpolation pulse groups, which consist of multiple unit pulses required for the action of the control axis based on each of the partitioned instruction blocks, and multiple interpolation pulses that are distributed along the time axis in a fixed number according to each specified interpolation period. The pair of interpolation pulses corresponding to adjacent partitioning instruction blocks in the time axis direction are formed as follows: their respective trailing edges and leading edges overlap in the time axis direction, the number of unit pulses at the trailing edge decreases monotonically in the time axis direction, and the number of unit pulses at the leading edge increases monotonically in the time axis direction. By inputting the interpolation pulse group corresponding to each of the division instruction blocks into different acceleration and deceleration circuits, the output pulses output from each acceleration and deceleration circuit are added together and then output.

6. The numerical control device according to claim 5, characterized in that, The memory stores acceleration parameters related to acceleration actions and deceleration parameters related to deceleration actions. The processor is used for: Select two of the acceleration / deceleration circuits from the plurality of acceleration / deceleration circuits; For the selected acceleration / deceleration circuit, a first time constant corresponding to the acceleration parameter is set, and the interpolation pulse group corresponding to the initially executed partitioning instruction block is input; For the selected acceleration / deceleration circuit, a second time constant corresponding to the deceleration parameter is set, and the interpolation pulse group corresponding to the last executed partitioning instruction block is input.

7. The numerical control device according to claim 6, characterized in that, The memory stores the number of the acceleration / deceleration circuits. The processor is used for: The instruction block is divided into the same number of partitioned instruction blocks as the stated quantity; For the acceleration and deceleration circuits other than the two selected acceleration and deceleration circuits among the plurality of acceleration and deceleration circuits, a time constant is set to divide the difference between the first time constant and the second time constant into equal intervals, and an interpolation pulse group other than the interpolation pulse group corresponding to the first and last executed division instruction blocks is input.

8. The numerical control device according to claim 5, characterized in that, The memory stores acceleration parameters related to acceleration actions and deceleration parameters related to deceleration actions. The processor is used for: From the plurality of acceleration and deceleration circuits, the acceleration and deceleration circuit having a first time constant corresponding to the acceleration parameter is selected as the acceleration and deceleration circuit input to the interpolation pulse group corresponding to the initially executed partitioning instruction block, and the acceleration and deceleration circuit having a second time constant corresponding to the deceleration parameter is selected as the acceleration and deceleration circuit input to the interpolation pulse group corresponding to the last executed partitioning instruction block.

9. The numerical control device according to any one of claims 5 to 8, characterized in that, The processor divides the instruction blocks in such a way that the amount of motion of the control axis is equal for each of the divided instruction blocks.

10. The numerical control device according to any one of claims 1 to 9, characterized in that, In the trailing and leading edges that overlap each other in the time axis direction, the total number of unit pulses in each interpolation cycle is the predetermined number.

11. The numerical control device according to any one of claims 1 to 10, characterized in that, The acceleration / deceleration circuit is a software circuit stored in the memory.