Numerical control systems for industrial machinery
By releasing the torque limit during deceleration and setting the acceleration and deceleration time constant in the CNC system, the problem of insufficient acceleration caused by the torque limit of the servo motor is solved, achieving accurate acceleration and deceleration of the machine and preventing overshoot, ensuring the accuracy of position control. reliability.
Patent Information
- Application Number
- CN202010171814.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-03-14
- Filing Date
- 2020-03-12
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2040-03-12
AI Technical Summary
In the CNC system, due to the torque limit of the servo motor, the acceleration becomes smaller, and the acceleration and deceleration of the machine cannot be accurately controlled, which may lead to overshoot and position deviation, thereby triggering alarms of mechanical interference and excessive error.
The torque limit is released during deceleration, and through the acceleration and deceleration time constant calculation and automatic setting of the time constant, it is ensured that sufficient torque can be output for acceleration and deceleration after the torque limit, thereby preventing overshoot and mechanical interference.
It effectively prevents overshoot and interference when the machine is stopped, ensures the accuracy of position control and reduces position deviation, and avoids the occurrence of excessive error alarms.
Smart Images

Figure CN111694322B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a numerical control system for industrial machinery. Background Art
[0002] As is known to all, in the field of mechanical work, CNC (Computerized Numerical Control) technology is applied to numerically control the movement amount and movement speed of tools using computers, thereby making the repetition of the same processing sequence and the processing of complex shapes highly automated.
[0003] On the other hand, the CNC has a function to limit the torque of the servo motor used as the feed axis. By limiting the torque during test operation and manual operation of the machining program, the damage caused by unexpected operation causing interference to the machine can be minimized. In addition, through functions such as collision reference point setting, even if the machine is intentionally pushed against the stopper, the impact of the collision will be suppressed to a small extent through torque limitation.
[0004] For example, Patent Document 1 describes providing a torque limit to an X-axis motor of a machine tool.
[0005] Prior art literature
[0006] Patent Literature
[0007] Patent Document 1: Japanese Patent Application Publication No. 2010-176375 Summary of the invention
[0008] Problem that the invention aims to solve
[0009] However, for example Figure 8 , Fig. 9 As shown in the figure, when the torque of the servo motor of the feed axis of the worktable 100 is limited to reduce the torque that can be output, the torque required for acceleration and deceleration is sometimes insufficient. As a result, the acceleration becomes smaller, or the moving distance required to reach the instructed speed becomes longer, or the deceleration distance becomes longer, so that it does not stop at the instructed position but overshoots, which may cause interference with other parts of the worktable 100.
[0010] Here, Figure 3 The upper left figure of is a diagram showing the movement of a motor (workbench 100) without torque limitation in terms of speed versus time. Figure 3 The lower left figure shows the movement of the motor (workbench 100) when overshoot occurs due to torque limitation, in terms of the relationship between speed and time. Figure 3The area of the symbol S1 in the lower left figure represents the distance traveled, and the area of the symbol S2 represents the distance returned by the distance traveled. In addition, the area of the symbol S3 before deceleration starts (movement distance) is the same as Figure 3 The area (movement distance) of the portion marked S4 without torque limitation before deceleration starts is the same as that of the upper left figure.
[0011] Incidentally, since the position control is performed using a servo motor, control is performed to return to the command position when the command position is exceeded.
[0012] In addition, when the torque of the servo motor is limited by the CNC, there are also cases where acceleration or deceleration cannot be performed according to the instruction depending on the size of the torque limit value. That is, there are cases where the torque limit value is reached and acceleration or deceleration cannot be performed according to the instruction. In this case, the deviation (position deviation) between the command position and the actual position becomes larger, thereby generating an alarm of excessive error. Therefore, when the torque is limited, there is the following disadvantage: it is necessary to take measures such as slowing down the feed speed of the workbench 100 or increasing the allowable value of the position deviation to prevent the alarm caused by the excessive error.
[0013] Solutions for solving problems
[0014] One mode of the numerical control system for industrial machinery disclosed in the present invention comprises a command unit and a control unit, wherein the control unit controls the drive of the motor of the industrial machinery according to the command from the command unit, and accepts the command of the end position from the command unit, or does not accept the command of the end position from the command unit to perform position control. In the numerical control system for industrial machinery, the control unit is configured to have a deceleration torque limit release unit, and when the torque limitation of the motor is applied, the deceleration torque limit release unit releases the torque limitation only during deceleration.
[0015] In addition, other methods of the numerical control system of industrial machinery disclosed in the present invention include a command unit and a control unit, which controls the drive of the motor of the industrial machinery according to the command from the command unit, and receives the command of the end position from the command unit to perform position control. In the numerical control system of industrial machinery, the control unit is configured to include: an acceleration and deceleration time constant calculation unit, which, when the torque of the motor is limited, calculates the time constant for acceleration and deceleration to ensure the position control function by accelerating and decelerating with the output torque that can be output after the torque limitation; and a time constant setting unit, which, when the torque of the motor is limited, automatically sets the acceleration and deceleration time constant calculated by the acceleration and deceleration time constant calculation unit before driving the motor.
[0016] Effects of the Invention
[0017] According to the above aspect of the present disclosure, for example, when the torque of a motor such as a servo motor used in a feed axis of a machine tool is limited by a CNC command unit, overshoot does not occur when the motor stops, thereby preventing mechanical interference. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 This is a block diagram showing a numerical control system for industrial machinery according to a first embodiment.
[0019] Figure 2 This is a flowchart showing a control method of a numerical control system for industrial machinery using the first embodiment.
[0020] Figure 3 This is a diagram for explaining how to prevent overshoot using a numerical control system for industrial machinery according to a first embodiment.
[0021] Figure 4 This is a block diagram showing a numerical control system for industrial machinery according to a second embodiment.
[0022] Figure 5 This is a flowchart showing a control method of a numerical control system for industrial machinery using the second embodiment.
[0023] Figure 6 This is a diagram for explaining how to prevent overshoot using a numerical control system for industrial machinery according to the second embodiment.
[0024] Figure 7 This is a diagram showing the shock reduction effect obtained by advancing the start of deceleration using the numerical control system for industrial machinery according to the second embodiment.
[0025] Figure 8 This is a diagram showing a situation where interference occurs due to overshoot.
[0026] Fig. 9 This is a diagram for explaining the occurrence of overshoot due to torque limitation.
[0027] Description of Reference Numerals
[0028] 1: CNC (command unit); 2: machine tool; 3: drive unit (motor); 4: control unit; 5: motor torque limit setting unit; 6: acceleration and deceleration calculation unit; 7: deceleration detection unit; 8: deceleration torque limit release unit; 10: output torque calculation unit; 11: acceleration and deceleration time constant calculation unit; 12: time constant setting unit; A: numerical control system for industrial machinery (machine tool control system). DETAILED DESCRIPTION
[0029] Below, refer to Figures 1 to 3 A numerical control system for industrial machinery according to a first embodiment will be described.
[0030] Here, in the present embodiment, the industrial machine is described as a machine tool.
[0031] However, the industrial machinery involved in the present invention can of course also be other industrial machinery such as robots, PLCs (Programmable Logic Controllers), transporters, measuring instruments, testing equipment, presses, presses, printers, die-casting machines, injection molding machines, food machinery, packaging machines, welding machines, cleaning machines, coating machines, assembly devices, installation machines, woodworking machines, sealing devices or cutting machines.
[0032] like Figure 1 As shown, a control system A for a machine tool according to the present embodiment includes a CNC 1 as a command unit and a control unit 4 that controls a drive unit 3 of a machine tool 2 based on a command from the CNC 1 .
[0033] In this embodiment, CNC 1 also has control unit 4, and drive unit 3 is, for example, a motor such as a servo motor that drives a feed axis of table 100. When control unit 4 is provided independently of CNC 1, control unit 4 may be, for example, a servo amplifier.
[0034] On the other hand, Figure 1 As shown, the control unit 4 of the control system A of the machine tool of the present embodiment comprises: a motor torque limit setting unit 5, which is used to set the torque limit of the motor 3; an acceleration / deceleration calculation unit 6, which calculates the acceleration / deceleration speed of the motor 3 and then calculates the acceleration / deceleration speed of the workbench 100; a deceleration detection unit 7, which detects the deceleration state of the motor 3 and then detects the deceleration state of the workbench 100; and a deceleration torque limit release unit 8, which releases the torque limit only during deceleration when the torque limit of the motor 3 is applied.
[0035] Furthermore, when the drive unit 3 of the machine tool 2 is controlled by the machine tool control system A of this embodiment, as shown in FIG. Figure 2 As shown, when a loop is started based on a command from the CNC 1 (step 1), the NC program is analyzed (progress is confirmed) (step 2), and it is confirmed whether the program has been completed (step 3).
[0036] If the program is not finished, interpolation is performed (step 4), and the acceleration / deceleration calculation unit 6 calculates the acceleration / deceleration of the motor (step 5).
[0037] In addition, based on the calculation results of the acceleration / deceleration calculation unit 6, the deceleration detection unit 7 confirms whether the deceleration of the motor has started (step 6). If deceleration is not detected, the torque limit set by the motor torque limit setting unit 5 is kept effective (step 7) and the motor 3 is controlled (continued: step 8).
[0038] When the deceleration detector 7 detects the deceleration of the motor 3, the deceleration torque limit release unit 8 releases the torque limit set by the motor torque limit setting unit 5 (step 9). Then, during deceleration, the motor is controlled with the torque limit released (step 8).
[0039] The control system A of the machine tool of the present embodiment detects the deceleration of the motor 3 as described above and the torque limit release unit 8 releases the torque limit set by the motor torque limit setting unit 5 during deceleration when position control (rapid feed, cutting feed) is performed by indicating the end position through a program, or when position control (manual operation) is performed without indicating the end position.
[0040] Therefore, in the control system A of the machine tool of this embodiment, if Figure 3 As shown in the lower right figure of , the torque limit is released only during deceleration, so that 100% torque can be output, as shown in Figure 3 The same as the case of no torque limit in the upper right figure, 100% torque can be output during deceleration. Therefore, it can stop at the command position without overshooting.
[0041] Therefore, according to the control system A of the machine tool of this embodiment, when the torque of the motor 3 such as the servo motor used on the feed axis of the machine tool 2 is automatically or manually limited by the command unit of the CNC 1, no overshoot will occur during stopping, and mechanical interference can be reliably prevented.
[0042] As mentioned above, the first embodiment of the numerical control system for industrial machinery has been described, but the present invention is not limited to the above-mentioned one embodiment, and appropriate changes can be made without departing from the scope of the present invention.
[0043] Next, refer to Figures 4 to 7 , a numerical control system for industrial machinery according to a second embodiment will be described.
[0044] Here, in this embodiment, as in the first embodiment, no overshoot occurs, mechanical interference is reliably prevented, and the industrial machine is described as a machine tool. Therefore, in this embodiment, the same reference numerals are used for the same structures as in the first embodiment, and detailed description thereof is omitted.
[0045] like Figure 4As shown, the control system A for a machine tool according to the present embodiment includes a CNC 1 as a command unit and a control unit 4 for controlling a drive unit 3 of a machine tool 2 based on a command from the CNC 1 , similarly to the first embodiment.
[0046] On the other hand, Figure 4 As shown, the control unit 4 of the control system A of the machine tool of the present embodiment comprises: a motor torque limit setting unit 5, which is used to set the torque limit of the motor 3; an output torque calculation unit 10, which calculates the output torque value of the motor 3; an acceleration / deceleration time constant calculation unit 11, which calculates the acceleration / deceleration time constant; a time constant setting unit 12, which sets the acceleration / deceleration time constant calculated by the acceleration / deceleration time constant calculation unit 11; and an acceleration / deceleration calculation unit 6, which calculates the acceleration / deceleration speed of the motor 3 and then calculates the acceleration / deceleration speed of the workbench 100.
[0047] Here, when selecting the servo motor to be used, the most required torque (acceleration torque) T is calculated by the following equations (1) and (2): a , becomes the most required torque T a The speed at which the a The motor's rotation speed when it starts to decrease) V r .
[0048] [Formula 1]
[0049]
[0050] [Formula 2]
[0051]
[0052] V m is the rotation speed of the motor during rapid feed, t a is the acceleration time, J M is the rotor inertia moment, J L is the load moment of inertia, k s is the position loop gain, η is the mechanical efficiency, and e is the base of the natural logarithm.
[0053] Moreover, among them, t a The acceleration time is a time constant. If the torque T that can be output after the torque limit is a If is determined, the time constant can be obtained using equations (1) and (2).
[0054] Accordingly, when the control system A of the machine tool of this embodiment controls the driving unit 3 of the machine tool 2, similarly to the first embodiment, Figure 5As shown, when a loop is started based on a command from the CNC 1 (step 1), the NC program is analyzed (progress is confirmed) (step 2), and it is confirmed whether the program has been completed (step 3).
[0055] If the program is not finished, interpolation is performed (step 4), the acceleration / deceleration calculation unit 6 calculates the acceleration / deceleration of the motor (step 5), and the motor 3 is controlled (continued: step 8).
[0056] On the other hand, when the interpolation is completed (step 4), the motor torque limit setting unit 5 sets the torque limit, and checks whether it is effective (step 10).
[0057] When the torque limit is effective, the output torque calculation unit 10 calculates the output torque (T a )(Step 11).
[0058] In addition, the acceleration / deceleration time constant calculation unit 11 calculates the output torque (T a ) to find the optimal time constant (t a )(Step 12).
[0059] Then, the time constant setting unit 12 resets and changes the time constant (t a )(Step 13), the acceleration / deceleration calculation unit 6 calculates the acceleration / deceleration value based on the time constant (t a ) performs acceleration and deceleration operations (step 5) to control the motor 3 (step 8).
[0060] The control system A of the machine tool of the present embodiment can make the time constant (t a ) is increased to enable acceleration and deceleration within the torque that can be output after torque limitation.
[0061] That is, Figure 6 As shown in the lower right figure of FIG. , in the control system A of the machine tool of this embodiment, the time constant (t a ) increases, automatically performs the optimal setting, thereby starting to decelerate from the front in a time series, and being able to decelerate and stop without overshooting within the limit torque. In addition, since acceleration and deceleration can be performed according to the command, the position deviation will not become larger.
[0062] Therefore, according to the machine tool control system A of this embodiment, when the torque of the motor 3 such as the servo motor used on the feed axis of the machine tool 2 is automatically limited by the command unit of the CNC 1, no overshoot occurs when it stops, and mechanical interference can be reliably prevented.
[0063] In addition, in the control system A of the machine tool of this embodiment, acceleration and deceleration can be performed according to instructions within the limit torque without increasing the position deviation. Therefore, there is no need to slow down the feed speed or increase the allowable value of the position deviation to avoid the generation of excessive error alarms.
[0064] And, if Figure 7 As shown, in the machine tool control system A of this embodiment, when the machine 2 is intentionally pressed against a stopper or the like during deceleration in automatic operation, deceleration starts earlier than before, so the speed during pressing can be made slower than before.
[0065] The second embodiment of the numerical control system for industrial machinery has been described above, but the present invention is not limited to the above-described embodiment, and includes modified examples of the first embodiment, and can be appropriately modified within the scope of the present invention.
Claims
1. A numerical control system for industrial machinery, comprising an instruction unit and a control unit, wherein the control unit controls the driving of a motor of the industrial machinery according to an instruction from the instruction unit, and performs position control by accepting an instruction of an end position from the instruction unit or not accepting an instruction of an end position from the instruction unit, wherein: The control unit comprises: an acceleration / deceleration calculation unit for calculating the acceleration / deceleration of the electric motor; and The deceleration torque limit release unit releases the torque limit when the torque of the motor is limited and deceleration of the motor is confirmed based on the calculation result of the acceleration / deceleration calculation unit, wherein the deceleration torque limit release unit releases the torque limit only during deceleration.
2. A numerical control system for industrial machinery, comprising an instruction unit and a control unit, wherein the control unit controls the driving of a motor of the industrial machinery according to an instruction from the instruction unit and receives an instruction of an end position from the instruction unit to perform position control, wherein: The control unit comprises: a motor torque limit setting unit, which is used to set a torque limit for the motor; an outputtable torque calculation unit that calculates, when the motor torque limit setting unit sets the torque limit of the motor, an outputtable torque that the motor can output after the torque limit is set, based on the torque limit value set by the motor torque limit setting unit; an acceleration / deceleration time constant calculation unit for calculating an acceleration / deceleration time constant for accelerating / decelerating with the outputtable torque to ensure a position control function and thereby enabling deceleration within a torque limit without causing overshoot; and A time constant setting unit automatically sets the acceleration / deceleration time constant obtained by the acceleration / deceleration time constant calculation unit before driving the motor when torque limitation of the motor is performed.
