Power consumption adjustment device, numerical control device, and power consumption adjustment method
Patent Information
- Application Number
- JP2023558262
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2023-05-10
- Publication Date
- 2025-04-15
- Estimated Expiration
- 2043-05-10
AI Technical Summary
Existing power consumption adjustment technologies for machine tools fail to adapt to changing processing conditions, such as friction and heat, leading to inefficiencies in power usage.
A power consumption adjustment device that monitors and adjusts machining conditions based on previous and current power consumption, using machine learning to optimize power usage by adjusting parameters like override amounts, acceleration time, and feed rates.
The device effectively reduces power consumption by adapting to changing conditions, ensuring efficient operation of machine tools by minimizing power usage through simple processing adjustments.
Smart Images

Figure 00000023_0000 
Figure 00000023_0001 
Figure 00000024_0000
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a power consumption adjustment device, a numerical control device, and a power consumption adjustment method that reduce the power consumption of a machine tool that performs machining according to a machining program while bringing it closer to an optimal value. [Background technology]
[0002] In industrial machine tools that repeatedly machine the same parts, such as machine tools that drive motors and perform machining according to machining programs, there is a demand to reduce the amount of power consumed during machining of each part.
[0003] The control device described in Patent Document 1 determines a target time constant that has a relative relationship with at least one of the acceleration time and deceleration time of the feed axis drive motor based on the sum of the power consumption of the feed axis drive motor and the power consumption of equipment that operates at a constant power, and controls the feed axis drive motor based on this target time constant, thereby reducing the power consumption of the entire machine tool. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2010-250697 A Summary of the Invention [Problem to be solved by the invention]
[0005] However, with the technology of Patent Document 1, even if the target time constant is determined once, various processing conditions including the target time constant for minimizing power consumption change due to friction and heat generated during the processing, and it is not possible to keep up with these changes.
[0006] The present disclosure has been made in consideration of the above, and aims to provide a power consumption adjustment device that can easily achieve a reduction in power consumption through simple processing, even when various processing conditions for minimizing power consumption change due to friction or heat generated by processing. [Means for solving the problem]
[0007] In order to solve the above-mentioned problems and achieve the objective, the present disclosure provides a power consumption adjustment device that adjusts the power consumption of a numerically controlled machine tool that drives a motor and performs machining in accordance with a machining program, and is equipped with a machining condition information generation unit that generates machining condition information for determining next machining conditions that are machining conditions for the next execution of the machining program and that affect the next power consumption, based on a previous power consumption that is the power consumption when the previous machining program was executed, a current power consumption that is the power consumption when the current machining program is executed, and a current machining condition that is the machining condition when the current machining program is executed and that affects the current power consumption, so that the next power consumption that is the power consumption when the next machining program is executed is smaller than the current power consumption. Effect of the Invention
[0008] The power consumption adjustment device disclosed herein has the advantage of being able to easily achieve a reduction in power consumption through simple processing, even when various processing conditions for minimizing power consumption change due to friction or heat generated by processing. [Brief description of the drawings]
[0009] [Figure 1] FIG. 1 is a diagram showing a configuration of a machine tool device of a numerically controlled machine tool to which a power consumption adjustment device according to a first embodiment is applied; [Diagram 2] FIG. 1 is a block diagram showing a configuration of a numerically controlled machining system including a power consumption adjustment device according to a first embodiment. [Diagram 3] FIG. 1 is a block diagram showing a configuration of a power consumption adjusting device according to a first embodiment; [Figure 4]1 is a flowchart showing a processing procedure of a process for adjusting an override amount in a numerically controlled machining system according to a first embodiment. [Diagram 5] FIG. 1 is a diagram for explaining a process of adjusting an override amount in the numerical control machining system according to the first embodiment; [Figure 6] FIG. 11 is a block diagram showing a configuration of a numerically controlled machine tool according to a second embodiment. [Figure 7] FIG. 11 is a block diagram showing a configuration of a numerical control device according to a second embodiment. [Figure 8] FIG. 11 is a block diagram showing a configuration of a numerically controlled machining system including a power consumption adjustment device according to a third embodiment. [Figure 9] FIG. 11 is a block diagram showing a configuration of a power consumption adjusting device according to a third embodiment. [Figure 10] FIG. 13 is a block diagram showing a configuration of a power consumption adjusting device according to a fourth embodiment. [Figure 11] FIG. 13 is a block diagram showing a configuration of a machine learning device included in a power consumption adjusting device according to a fourth embodiment. [Figure 12] FIG. 13 is a diagram showing an example of a hardware configuration for implementing a power consumption adjustment device according to a fourth embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A power consumption adjustment device, a numerical control device, and a power consumption adjustment method according to embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.
[0011] Embodiment 1 1 is a diagram showing the configuration of a numerically controlled machine tool to which a power consumption adjustment device according to a first embodiment is applied. In the following description, two axes in a plane parallel to the top surface of table 22 and perpendicular to each other are defined as the X-axis and the Y-axis. Also, the axis perpendicular to the X-axis and the Y-axis is defined as the Z-axis.
[0012] The power consumption adjustment device according to the first embodiment (power consumption adjustment device 30A described later) is applied to a numerically controlled machine tool (numerically controlled machine tool 100A described later) equipped with a machine tool device 50. In Fig. 1, an outline of the machine tool device 50 is diagrammatically shown.
[0013] The machine tool 50 is a machine included in the numerically controlled machine tool 100A, and repeatedly performs cutting of the same workpiece (component). The machine tool 50 is, for example, a three-axis machining center.
[0014] The machine tool device 50 includes an X-axis motor 14X, a Y-axis motor 14Y, a Z-axis motor 14Z, a spindle motor 14S, an X-axis section 35X, a Y-axis section 35Y, a Z-axis section 35Z, and a spindle section 36S. The X-axis motor 14X, the Y-axis motor 14Y, and the Z-axis motor 14Z are servo motors.
[0015] The machine tool device 50 uses the tool 20 to cut the workpiece 21 to achieve a desired shape. At this time, the machine tool device 50 drives the workpiece 21 placed on the table 22 in the X-axis and Y-axis directions using an X-axis section 35X that extends in the X-axis direction and moves in the X-axis direction, and a Y-axis section 35Y that extends in the Y-axis direction and moves in the Y-axis direction. The machine tool device 50 also drives the tool 20 in the Z-axis direction using a Z-axis section 35Z that extends in the Z-axis direction and moves in the Z-axis direction. In this way, the machine tool device 50 creates three-dimensional motion.
[0016] The machine tool device 50 rotates the tool 20 by the spindle unit 36S, whose axial direction is the Z-axis direction, thereby causing the tool 20 to move relative to the workpiece 21 and removing material from the surface of the workpiece 21. At this time, the machine tool device 50 drives the X-axis unit 35X, the Y-axis unit 35Y, and the Z-axis unit 35Z by the X-axis motor 14X, the Y-axis motor 14Y, and the Z-axis motor 14Z, respectively, and drives the spindle unit 36S by the spindle motor 14S.
[0017] In the following description, when there is no need to distinguish between the X-axis motor 14X, the Y-axis motor 14Y, the Z-axis motor 14Z, and the spindle motor 14S, the X-axis motor 14X, the Y-axis motor 14Y, the Z-axis motor 14Z, and the spindle motor 14S may be referred to as motors.
[0018] Each of the X-axis section 35X, the Y-axis section 35Y, and the Z-axis section 35Z has a feed shaft. The feed shaft is a device that converts the rotational motion of the X-axis motor 14X, the Y-axis motor 14Y, and the Z-axis motor 14Z into linear motion of the shaft by a mechanical device called a ball screw.
[0019] 2 is a block diagram showing the configuration of a numerically controlled machining system including a power consumption adjustment device according to embodiment 1. The numerically controlled machining system 1A includes a power consumption adjustment device 30A and a numerically controlled machine tool 100A.
[0020] In the numerically controlled machining system 1A, a numerically controlled machine tool 100A is connected to a power consumption adjustment device 30A. Furthermore, the numerically controlled machine tool 100A is connected to a main power supply (main power supply unit) 51 which is an AC power supply.
[0021] Numerically controlled machine tool 100A includes power consumption detection unit 19, main breaker 18, peripheral devices 17A and 17B, converter device 16, DC power supply 52, and numerical control device 40A. Numerically controlled machine tool 100A also includes X-axis inverter device 15X, Y-axis inverter device 15Y, Z-axis inverter device 15Z, spindle inverter device 15S, and machine tool device 50.
[0022] In the following description, when there is no need to distinguish between the X-axis inverter device 15X, the Y-axis inverter device 15Y, the Z-axis inverter device 15Z, and the spindle inverter device 15S, the X-axis inverter device 15X, the Y-axis inverter device 15Y, the Z-axis inverter device 15Z, and the spindle inverter device 15S may be referred to as inverter devices.
[0023] In FIG. 2, among the components of the machine tool device 50, only the X-axis motor 14X, the Y-axis motor 14Y, the Z-axis motor 14Z, and the spindle motor 14S are shown, and components other than the X-axis motor 14X, the Y-axis motor 14Y, the Z-axis motor 14Z, and the spindle motor 14S are not shown.
[0024] Power consumption detection unit 19 is disposed on the connection line connecting main power supply 51 and main breaker 18, and detects the amount of power consumption of numerically controlled machine tool 100A. That is, power consumption detection unit 19 detects the amount of power consumption of main power supply 51 which inputs power to numerically controlled machine tool 100A. Power consumption detection unit 19 sends the detected amount of power consumption (current power consumption P, etc.) to power consumption adjustment device 30A.
[0025] The main breaker 18 is connected to the peripheral device 17A and the converter device 16. The peripheral device 17A is connected to the peripheral device 17B and a DC power supply 52, and the DC power supply 52 is connected to the numerical control device 40A. The numerical control device 40A is connected to the power consumption adjustment device 30A.
[0026] The converter device 16 is connected to an X-axis inverter device 15X, a Y-axis inverter device 15Y, a Z-axis inverter device 15Z, and a spindle inverter device 15S. The inverter devices are connected to motors and drive the motors. That is, the X-axis inverter device 15X is connected to the X-axis motor 14X and drives the X-axis motor 14X. The Y-axis inverter device 15Y is connected to the Y-axis motor 14Y and drives the Y-axis motor 14Y. The Z-axis inverter device 15Z is connected to the Z-axis motor 14Z and drives the Z-axis motor 14Z. The spindle inverter device 15S is connected to the spindle motor 14S and drives the spindle motor 14S.
[0027] AC power from a main power supply 51 is input through a main breaker 18 and sent to a converter device 16 , a peripheral device 17 A, a peripheral device 17 B, and a DC power supply 52 .
[0028] The DC power supply 52 generates DC power required to drive the numerical control device 40A from the AC power supply. The converter device 16 generates DC power to be supplied to the inverter device from the AC power supply.
[0029] In the numerically controlled machine tool 100A, machining is performed by repeatedly executing a machining program by the numerical control device 40A. The machining program is written in a language such as EIA (Electronic Industries Alliance) code, and for example, the command position of each feed axis, the command speed at that time, the rotation speed of the main spindle, etc. are written in order.
[0030] The numerical control device 40A analyzes a machining program and generates a position command value for a motor connected to the machine tool device 50. The numerical control device 40A transmits the generated position command value to the inverter device. Note that in FIG. 2, the connection line between the numerical control device 40A and the inverter device is omitted.
[0031] The inverter device generates an AC current to be passed to the motor from the DC power supply generated by the converter device 16. The inverter device controls the AC current to be passed to the motor so that the motor follows a position command. Methods for controlling the AC current by the inverter device include, for example, PWM (Pulse Width Modulation) control, but any control method may be used for controlling the AC current. The motor generates a torque according to the AC current supplied by the inverter device, which drives the machine tool device 50 connected to the motor.
[0032] Peripheral devices 17A and 17B use AC power from main power supply 51 to drive driven devices not shown in Fig. 2. Examples of driven devices driven by peripheral devices 17A and 17B are a chiller that circulates a coolant to machine tool device 50, a pump that circulates the coolant, etc. The driven devices driven by peripheral devices 17A and 17B are just examples, and include all devices that consume power other than motors that generate axis motion required for machining, such as fans for cooling switchboards and sensors attached to machine tool device 50.
[0033] The numerical control device 40A of the first embodiment controls machining with machining conditions that affect the power consumption. The elements of the machining conditions used by the numerical control device 40A include, for example, five elements, namely, the override amount of a specific element during machining, the acceleration time constant, the feed rate, the spindle rotation speed, and the PWM (pulse width modulation) carrier frequency. The numerical control device 40A of the first embodiment controls machining with machining conditions used in the current machining (hereinafter, referred to as the current machining conditions W), and outputs the current machining conditions W to the power consumption adjustment device 30A. The current machining conditions W are current machining conditions that affect the current power consumption P, which is the power consumption in the current machining. The next machining conditions, which will be described later, are next machining conditions that affect the next power consumption, which is the power consumption in the next machining.
[0034] Furthermore, when machining is completed, the numerical control device 40A receives a machining condition change amount R from the power consumption adjustment device 30A. The machining condition change amount R is an amount of change to the machining conditions (next machining conditions) to be used in the next machining with respect to the current machining conditions W. In the first embodiment, the machining condition change amount R is information on the machining conditions to be used in the next machining (machining condition information).
[0035] The numerical control device 40A changes the current machining conditions W based on the machining condition change amount R. The numerical control device 40A sets the current machining conditions W changed based on the machining condition change amount R as the next machining conditions to be used in the next machining.
[0036] The power consumption adjustment device 30A calculates a machining condition change amount R based on a current power consumption P, which is the amount of power consumption detected when the numerically controlled machine tool 100A machined under the current machining conditions W, and outputs the machining condition change amount R to the numerical control device 40A.
[0037] 3 is a block diagram showing the configuration of a power consumption adjustment device according to the first embodiment. Every time machining of one workpiece (workpiece 21) is executed, power consumption adjustment device 30A acquires current power consumption P and current machining conditions W required for the current machining from numerically controlled machine tool 100A. Power consumption adjustment device 30A acquires the amount of power supplied to main breaker 18 from power consumption detection unit 19 as current power consumption P.
[0038] The power consumption detection unit 19 calculates the current power consumption P by, for example, using a clamp meter to measure the voltage applied to the main breaker 18 and the current flowing through the main breaker 18. However, the clamp meter is just one example, and the power consumption detection unit 19 may use any measurement means as long as it can measure the amount of power consumption.
[0039] The power consumption adjustment device 30A has a machining condition information generation unit 31 and a machining condition recording unit 32. The machining condition information generation unit 31 receives the current power consumption P from the power consumption detection unit 19, and receives the current machining conditions W from the numerical control device 40A. In addition, the machining condition recording unit 32 receives the current power consumption P from the power consumption detection unit 19, and receives the current machining conditions W from the numerical control device 40A.
[0040] The current power consumption P is recorded as the current power consumption until the processing condition change amount R for setting the next processing condition, which is the next processing condition, is determined. However, after the processing condition change amount R is determined, the current power consumption P is recorded as the previous power consumption (hereinafter referred to as the previous power consumption T).
[0041] In addition, the current machining conditions W are recorded as the current machining conditions until the machining condition change amount R for setting the next machining conditions is determined, but after the machining condition change amount R is determined, they are recorded as the previous machining conditions.
[0042] The previous power consumption T during the previous execution of the machining program is associated with the previous machining conditions during the previous execution of the machining program and recorded in the machining condition recording unit 32. Also, the current power consumption P during the current execution of the machining program is associated with the current machining conditions W during the current execution of the machining program and recorded in the machining condition recording unit 32. The machining condition recording unit 32 records the associated power consumption and machining conditions for each execution. The power consumption and machining conditions for each execution recorded in the machining condition recording unit 32 can be used when learning the correspondence between the power consumption and the machining conditions by machine learning.
[0043] The machining condition information generating unit 31 generates, as machining condition information, a machining condition change amount R corresponding to the next machining conditions to be used in the next machining based on the previous power consumption T recorded in the machining condition recording unit 32, the current power consumption P acquired this time, and the current machining conditions W acquired this time. The machining condition change amount R is the difference between the current machining conditions W and the next machining conditions. The machining condition information generating unit 31 calculates the machining condition change amount R for the current machining conditions W, and sends it to the numerical control device 40A.
[0044] The current machining conditions W and the next machining conditions include, for example, at least one of the override amount of a specific element during machining, the acceleration time constant, the feed rate, the spindle speed, and the PWM (pulse width modulation) carrier frequency. That is, the machining condition change amount R includes at least one change amount such as the acceleration time constant, the feed rate, the spindle speed, and the PWM (pulse width modulation) carrier frequency. Here, the current machining conditions W and the next machining conditions are the override amount during machining, and an example of adjusting the override amount will be described.
[0045] The override amount is a parameter commanded by the numerical control device 40A. The numerical control device 40A changes the command speed for the feed axis described in the machining program at a ratio described in the override amount. For example, when the command feed speed for the feed axis described in the machining program is 1000 mm / min and the override amount is set to 120%, the numerical control device 40A changes the command so that the feed axis is driven at a speed of 1200 mm / min.
[0046] As the override amount increases, the command speed increases and the time required for machining decreases, so that the power consumption of a device that operates with a constant power consumption decreases. On the other hand, as the override amount increases, the motor needs to accelerate and decelerate quickly in a short time, so the current flowing to the motor increases and the power consumption of the motor increases. Therefore, whether the power consumption of the entire numerically controlled machine tool 100A increases or decreases depends on the override amount that is set. In addition, the optimal value of the override amount differs depending on the type and characteristics of peripheral devices 17A, 17B attached to numerically controlled machine tool 100A. In the first embodiment, the optimal value of the override amount is the value at which the power consumption becomes optimal (minimum).
[0047] The power consumption adjustment device 30A of the first embodiment executes a power consumption adjustment process. The power consumption adjustment process of the first embodiment is a process of reducing the power consumption while bringing the power consumption closer to an optimal value. The power consumption adjustment device 30A calculates a machining condition change amount R so that the power consumption the next time a machining program is executed is smaller than the current power consumption P. Specifically, the machining condition information generation unit 31 calculates a machining condition change amount R for increasing the override amount of a specific element when the current power consumption P is larger than the previous power consumption T. The machining condition information generation unit 31 calculates a machining condition change amount R for decreasing the override amount of a specific element when the current power consumption P is equal to or smaller than the previous power consumption T.
[0048] In this way, the power consumption adjustment device 30A updates the processing conditions (amount of change in processing conditions R) for each command (each machining operation). For this reason, when multiple machining operations are performed, the processing conditions for minimizing the amount of power consumption change due to friction and heat generated as the machining operation proceeds. Even in such a case, the power consumption adjustment device 30A updates the processing conditions for each machining operation, and therefore can follow the changes in the processing conditions for minimizing the amount of power consumption. Note that the power consumption adjustment device 30A is not limited to updating the processing conditions for each command, and may update the processing conditions for each multiple commands (multiple machining operations). For example, the power consumption adjustment device 30A may update the processing conditions for every n (n is a natural number equal to or greater than 2) machining operations.
[0049] Note that the machining condition information generating unit 31 may calculate a machining condition change amount R that does not change the override amount when the current power consumption P is the same as the previous power consumption T. The power consumption adjustment device 30A sends the calculated machining condition change amount R to the numerical control device 40A.
[0050] 4 is a flowchart showing a processing procedure of a process for adjusting an override amount in the numerical control machining system according to the embodiment 1. The numerical control device 40A of the numerically controlled machine tool 100A sets an override amount based on a machining program (step S10).
[0051] The numerical controller 40A executes a program operation using the machining program and the override amount (step S20). For example, 100% is set as an initial value of the override amount in the numerical controller 40A.
[0052] The numerical control device 40A uses the override amount to generate command values for the feed axis and executes machining control. The numerical control device 40A sends current machining conditions W used for machining control to the power consumption adjustment device 30A. The current machining conditions W are sent to the machining condition information generation unit 31 and the machining condition recording unit 32. The machining condition recording unit 32 records the current machining conditions W sent from the numerical control device 40A.
[0053] The power consumption detection unit 19 of the numerically controlled machine tool 100A determines the current power consumption P when machining is performed under the current machining conditions W (step S30). That is, the power consumption detection unit 19 calculates the current power consumption P corresponding to the override amount. The power consumption detection unit 19 sends the calculated current power consumption P to the power consumption adjustment device 30A. This current power consumption P is sent to the machining condition information generation unit 31 and the machining condition recording unit 32. It is noted that either the current machining conditions W or the current power consumption P may be sent to the numerical control device 40A first.
[0054] The machining condition recording unit 32 records the current power consumption P sent from the power consumption detection unit 19. The current power consumption P recorded by the machining condition recording unit 32 is read out by the machining condition information generating unit 31 at the time of the next machining as the previous power consumption T, which is the power consumption for the previous machining.
[0055] In numerically controlled machine tool 100A, voltage values and current values are detected in the drive unit, converter unit, etc. Therefore, machining condition information generating unit 31 can calculate the power consumption in each state of the motor alone, the drive unit alone, the converter unit alone, peripheral devices 17A, 17B, and numerically controlled machine tool 100A as a whole, based on the current power consumption P sent from power consumption detecting unit 19. Note that in numerically controlled machine tool 100A, any measuring means may be used as long as it can measure the power consumption of each part.
[0056] The machining condition information generating unit 31 compares the current power consumption P sent from the power consumption detecting unit 19 with the previous power consumption T read from the machining condition recording unit 32. That is, the machining condition information generating unit 31 compares the previous power consumption T during the previous machining program operation with the current power consumption P during the current machining program operation.
[0057] The machining condition information generating unit 31 determines whether the current power consumption P is greater than the previous power consumption T. If the current power consumption P is greater than the previous power consumption T (step S40, Yes), the machining condition information generating unit 31 generates a machining condition change amount R that increases the override amount (step S50). Then, the machining condition information generating unit 31 sends this machining condition change amount R to the numerical control device 40A.
[0058] On the other hand, if the current power consumption P is equal to or less than the previous power consumption T (step S40, No), the machining condition information generating unit 31 generates a machining condition change amount R that reduces the override amount (step S60). Then, the machining condition information generating unit 31 sends this machining condition change amount R to the numerical control device 40A.
[0059] In addition, When the current power consumption amount P is equal to the previous power consumption amount T, the machining condition information generating unit 31 determines a machining condition change amount R that does not change the override amount. May In this case, the machining condition information generating unit 31 does not need to send this machining condition change amount R to the numerical control device 40A.
[0060] The numerical control device 40A changes the current override amount by the machining condition change amount R received from the machining condition information generating unit 31, and determines it as a new override amount (step S70). The numerical control device 40A executes the next machining using the new override amount.
[0061] In the first machining, the previous power consumption T to be compared is not recorded in the machining condition recording unit 32. Therefore, the machining condition information generating unit 31 determines and generates the change amount (e.g., -5%) preset for each type of machining condition as the machining condition change amount R. As a result, the numerical control device 40A changes the initial value of the override amount (100%) by the change amount (e.g., -5%), which is a parameter fixed value preset for each type of machining condition, to obtain a new override amount (95%).
[0062] In addition, the machining condition information generating unit 31 may determine the machining condition change amount R to be "0" during the first machining. In this case, machining is performed with the initial override amount (100%).
[0063] In the first machining, the machining condition information generating unit 31 records the override amount of the initial value or the override amount of the initial value changed by a preset parameter fixed value in the machining condition recording unit 32 as the current machining condition W. In addition, the machining condition information generating unit 31 records the current power consumption P in the case where machining is performed with the override amount applied to the first machining in the machining condition recording unit 32 in association with the current machining condition W. That is, in the first machining, the machining condition information generating unit 31 records the override amount set in step S10 and the current power consumption P calculated in step S30 in the machining condition recording unit 32.
[0064] Furthermore, in the second and subsequent machining operations, the numerical control device 40A sets the new override amount set in the previous step S70 as the current override amount. Then, the machining condition information generating unit 31 records the currently set override amount (the new override amount determined in the previous step S70) and the current power consumption amount P calculated in step S30 in the machining condition recording unit 32.
[0065] In this manner, the machining condition information generating unit 31 records in the machining condition recording unit 32 the determined new override amount and the amount of power consumption when machining is performed with this override amount in association with each other.
[0066] When the numerical control machining system 1A sets a new override amount in step S70, it returns to the process of step S20 and repeats the processes of steps S20 to S70. That is, the numerical control machining system 1A repeatedly changes the override amount based on the power consumption measured when the machining program is running, and determines the override amount that minimizes the power consumption. In this way, the numerical control machining system 1A repeatedly changes the override amount based on the power consumption measured when the machining program is running, so it is possible to bring machining conditions such as the override amount closer to the optimal value while reducing the power consumption. That is, the numerical control machining system 1A can track the minimum point of the power consumption by repeatedly changing the override amount.
[0067] In addition, in the first machining, the machining condition information generating unit 31 determined the machining condition change amount R by changing the override amount of the initial value with a fixed parameter value that was set in advance for each type of machining condition, but in the second machining or later, the machining condition information generating unit 31 may determine the machining condition change amount R by any method.
[0068] In the second and subsequent machining operations, similarly to the first machining operation, the machining condition information generating unit 31 may determine the machining condition change amount R by changing the override amount of the initial value with a parameter fixed value preset for each type of machining condition. That is, the machining condition information generating unit 31 may change the machining condition change amount R by a constant value preset for each type of machining condition.
[0069] Furthermore, the machining condition information generating unit 31 may determine the machining condition change amount R as a value obtained by multiplying the current machining condition W by a specific ratio (coefficient) that is preset for each type of machining condition with respect to the previous override amount.
[0070] The processing condition information generating unit 31 may determine the processing condition change amount R based on the ratio between the previous power consumption amount T and the amount of change in the power consumption from the previous time to the current time (hereinafter, may be referred to as the power fluctuation amount). In this case, the processing condition information generating unit 31 determines the processing condition change amount R by multiplying the current processing condition W by the ratio between the previous power consumption amount T and the power fluctuation amount.
[0071] The machining condition information generating unit 31 may determine the machining condition change amount R based on the ratio between the current power consumption amount P and the power fluctuation amount. In this case, the machining condition information generating unit 31 determines the machining condition change amount R by multiplying the current machining condition W by the ratio between the current power consumption amount P and the power fluctuation amount, for example.
[0072] Furthermore, the processing condition information generating unit 31 may determine the processing condition change amount R based on the ratio between the previous power consumption amount T and the current power consumption amount P. In this case, the processing condition information generating unit 31 determines the processing condition change amount R by multiplying the current processing condition W by the ratio between the previous power consumption amount T and the current power consumption amount P, for example.
[0073] In addition, the machining condition information generation unit 31 may determine the machining condition change amount R according to the rate of increase from the sum of motor energy loss calculated from the previous power consumption T to the sum of motor energy loss calculated from the current power consumption P.
[0074] For example, the machining condition information generation unit 31 determines the machining condition change amount R by multiplying the current machining condition W by the increase rate (ratio of increase / decrease) from the sum of motor energy loss calculated from the previous power consumption T to the sum of motor energy loss calculated from the current power consumption P.
[0075] In addition, the processing condition information generation unit 31 may determine the processing condition change amount R according to the rate of increase from the sum of energy loss of the drive unit calculated from the previous power consumption T to the sum of energy loss of the drive unit calculated from the current power consumption P.
[0076] For example, the processing condition information generation unit 31 determines the processing condition change amount R by multiplying the current processing condition W by the increase rate from the sum of energy loss of the drive unit calculated from the previous power consumption T to the sum of energy loss of the drive unit calculated from the current power consumption P.
[0077] The machining condition information generating unit 31 may also be configured not to change machining conditions such as the override amount when the power fluctuation amount, which is the difference between the previous power consumption amount T and the current power consumption amount P, is equal to or less than a first threshold value. The machining condition information generating unit 31 may also be configured not to change machining conditions such as the override amount when the energy loss fluctuation amount, which is the difference between the energy loss of the motor or drive unit calculated from the previous power consumption amount T and the energy loss of the motor or drive unit calculated from the current power consumption amount P, is equal to or less than a second threshold value. This allows the numerically controlled machining system 1A to avoid the phenomenon in which the values of the machining conditions behave oscillatingly near the optimal values of the machining conditions, and to resume adjustments when the optimal conditions change while repeating machining over a long period of time.
[0078] FIG. 5 is a diagram for explaining a process in which the numerically controlled machining system according to the first embodiment adjusts the override amount. The horizontal axis of the graph shown in FIG. 5 is the override amount, and the vertical axis is the power consumption amount. In FIG. 5, the power consumption amount in the mth (m is a natural number) machining is expressed as the power consumption amount U m Similarly, the energy consumption during the (m+1)th to (m+4)th machining operations is shown as energy consumption U m+1 ~U m+4 In addition, the minimum value that is the optimum value of the power consumption is illustrated as a minimum power value V1.
[0079] The power consumption adjustment device 30A of the numerically controlled machining system 1A judges whether the current power consumption P is equal to or less than the previous power consumption T. That is, the power consumption adjustment device 30A judges whether the power consumption U m+1 The power consumption during the mth machining is U mThe power consumption adjustment device 30A determines whether the power consumption U m+1 The power consumption during the mth machining is U m If it is less than this, the override amount is reduced.
[0080] Similarly, the power consumption adjustment device 30A calculates the power consumption U m+2 The power consumption in the (m+1)th processing step is U m+1 If the power consumption amount is equal to or less than the (m+3)th machining operation, the power consumption amount adjustment device 30A reduces the override amount. m+3 The power consumption in the (m+2)th processing step is U m+2 If it is less than this, the override amount is reduced.
[0081] On the other hand, the power consumption adjusting device 30A calculates the power consumption U m+4 The power consumption in the (m+3)th processing step is U m+3 If it is greater than , increase the override amount.
[0082] In this way, the power consumption adjustment device 30A adjusts the override amount so that the power consumption is reduced. The power consumption adjustment device 30A repeats the adjustment of the override amount to bring the power consumption closer to the minimum power value V1, which is the optimal value. In this way, the power consumption adjustment device 30A adjusts the power consumption.
[0083] The machining condition information generating unit 31 may select and adjust only one of the machining conditions to be adjusted in accordance with the workpiece 21 or the machine tool 50, or may adjust a plurality of machining conditions simultaneously.
[0084] Furthermore, the processing condition information generating unit 31 may adjust the processing conditions one by one in order, such that when adjustment of one specific processing condition is completed, the next specific processing condition is adjusted. For example, when optimizing N (N is a natural number of 2 or more) types of processing conditions, the processing condition information generating unit 31 may adjust the processing conditions from the first type to the Nth type in order, and then adjust the processing conditions from the first type to the Nth type again. In other words, the processing condition information generating unit 31 may repeat the process of adjusting the processing conditions from the first type to the Nth type multiple times.
[0085] In this way, the numerical control machining system 1A of the first embodiment calculates the power consumption for the override amount set based on the machining program. Then, the numerical control machining system 1A changes the override amount by a specific ratio, and calculates the power consumption when the machining program is operated using the changed override amount. The numerical control machining system 1A compares the calculated current power consumption P with the previous power consumption T for the override amount set based on the previous machining program. The numerical control machining system 1A increases the override amount when the current power consumption P is greater than the previous power consumption T, and decreases the override amount when the current power consumption P is equal to or less than the previous power consumption T. This makes it possible for the numerical control machining system 1A to bring the override amount closer to an optimal value while reducing the power consumption.
[0086] In order to adjust the power consumption, the numerical control machining system 1A does not need to identify in advance the coefficient of the power consumption per unit time of the feed axis driving motor, which is difficult to identify accurately, and the coefficient of the power consumption per unit time of the peripheral devices that operate with a constant power. In addition, the numerical control machining system 1A does not need to calculate the cycle time when the machining conditions are changed, which is difficult to calculate accurately, and does not need to calculate the power consumption from the estimated value of the machining time. In other words, the numerical control machining system 1A can determine the machining conditions that can reduce the power consumption without calculating the coefficient of the power consumption per unit time and the cycle time, which are difficult to calculate. Therefore, the numerical control machining system 1A can easily achieve the reduction of the power consumption with simple processing.
[0087] Meanwhile, the machine tool 50 has various motors involved in machining, such as a spindle motor 14S that rotates the spindle 36S, servo motors (X-axis motor 14X, Y-axis motor 14Y, and Z-axis motor 14Z) that drive the workpiece 21 and the spindle 36S, and motors (not shown) that drive peripheral axes such as a tool changer.
[0088] When the override amount is changed, the rotation speed of the servo motor is changed, but the speed of the spindle motor 14S and the peripheral axis motor is not changed. Also, when the override amount of the spindle unit 36S is changed, the rotation speed of the spindle motor 14S is changed, and the change amount when changing the machining conditions and the corresponding motor are different. In other words, since the parameters are separate for the servo motor, the peripheral axis motor, and the spindle motor 14S, changing the override amount does not affect all the motors.
[0089] For example, if the only thing to be changed this time is the override amount, power consumption adjustment device 30A need only obtain and adjust the current power consumption P(W) of the servo motor belonging to machine tool 50. In this case, power consumption adjustment device 30A obtains angular velocity ω(rad / s)=2π×N from motor speed N(rev / s), obtains Tq (motor torque)=Jm (motor inertia)×dω / dt (derivative of angular velocity), and calculates current power consumption P(W) of the servo motor from current power consumption P(W)=Tq(motor torque)×ω(angular velocity).
[0090] Also, there are various devices that consume energy, such as motors and drive units. For example, if it is desired to suppress heat generation from a control panel, the power consumption adjustment device 30A may make adjustments using the sum of the power consumption of the drive units installed in the control panel. Also, if it is desired to suppress the amount of heat generated by a motor, the power consumption adjustment device 30A can adjust the heat generated by the motor by using the sum of the power consumption of the motor. Also, the power consumption adjustment device 30A may usually use reactive power or apparent power instead of power consumption.
[0091] As described above, the machining condition information generating unit 31 determines the machining condition change amount R by multiplying the current machining condition W by the rate of increase or decrease from the previous time in the sum of the energy losses of the motor or drive unit, for example.
[0092] The power consumption adjustment device 30A according to the first embodiment is implemented as software of a computer connected to the numerically controlled machine tool 100A via a network. The power consumption adjustment device 30A may be a computer such as a PC (Personal Computer) installed near the numerically controlled machine tool 100A, a server connected to a network in a factory in which the numerically controlled machine tool 100A is installed, or may be implemented in a cloud installed in a remote location. The power consumption adjustment device 30A may also be software of a tablet PC or smartphone connected to the numerically controlled machine tool 100A via a wireless network.
[0093] As described above, according to the first embodiment, the power consumption adjustment device 30A determines the next processing conditions based on the previous power consumption T, the current power consumption P, and the current processing conditions W so that the next power consumption is equal to or less than the current power consumption P. Therefore, a reduction in power consumption can be easily achieved by simple processing.
[0094] Embodiment 2 Next, a second embodiment will be described with reference to Figures 6 and 7. In the second embodiment, the current and voltage values of each motor and converter device 16 are sent to a numerical control device, and the numerical control device adjusts the power consumption based on the current and voltage values of each motor and converter device 16.
[0095] Fig. 6 is a block diagram showing a configuration of a numerically controlled machine tool according to embodiment 2. Among the components in Fig. 6, components that achieve the same functions as those in the numerically controlled machine tool 100A according to embodiment 1 shown in Fig. 2 are given the same reference numerals, and duplicated explanations will be omitted.
[0096] Compared to numerically controlled machine tool 100A, numerically controlled machine tool 100B of embodiment 2 includes a numerical control device 40B instead of numerical control device 40A. That is, numerically controlled machine tool 100B has a similar configuration to numerically controlled machine tool 100A, but does not include numerical control device 40A but includes numerical control device 40B.
[0097] Numerically controlled machine tool 100B also has current and voltage detection units 24, 23X, 23Y, 23Z, and 23S. Current and voltage detection unit 24 is disposed on the connection line connecting main breaker 18 and converter device 16, and detects the current and voltage values input to converter device 16. Current and voltage detection unit 24 sends the detected current and voltage values to numerical control device 40B.
[0098] The current and voltage detection units 23X, 23Y, 23Z, and 23S are disposed on the connection line connecting the inverter device and the motor, and detect the current value and voltage value input from the inverter device to the motor. Specifically, the current and voltage detection unit 23X is disposed on the connection line connecting the X-axis inverter device 15X and the X-axis motor 14X, and detects the current value and voltage value input from the X-axis inverter device 15X to the X-axis motor 14X. The current and voltage detection unit 23Y is disposed on the connection line connecting the Y-axis inverter device 15Y and the Y-axis motor 14Y, and detects the current value and voltage value input from the Y-axis inverter device 15Y to the Y-axis motor 14Y. The current and voltage detection unit 23Z is disposed on the connection line connecting the Z-axis inverter device 15Z and the Z-axis motor 14Z, and detects the current value and voltage value input from the Z-axis inverter device 15Z to the Z-axis motor 14Z. The current / voltage detection unit 23S is disposed on a connection line connecting the spindle inverter device 15S and the spindle motor 14S, and detects the current and voltage values input from the spindle inverter device 15S to the spindle motor 14S. The current / voltage detection units 23X, 23Y, 23Z, and 23S send the detected current and voltage values to the numerical control device 40B.
[0099] Numerical control device 40B has the functions of numerical control device 40A and power consumption adjustment device 30A. Numerically controlled machine tool 100B is connected to main power supply 51, but is not connected to power consumption adjustment device 30A. In other words, numerically controlled machining system 1B of the second embodiment does not have power consumption adjustment device 30A.
[0100] 7 is a block diagram showing the configuration of a numerical control device according to embodiment 2. The numerical control device 40B has a machining condition information generating unit 41, a machining condition recording unit 42, a power consumption calculating unit 43, a machining program executing unit 44, and a machining program analyzing unit 45.
[0101] The machining condition information generating unit 41 has the same function as the machining condition information generating unit 31. The machining condition recording unit 42 has the same function as the machining condition recording unit 32. The power consumption calculating unit 43 is connected to the machining condition information generating unit 41 and the machining condition recording unit 42. The machining condition information generating unit 41 is connected to the machining condition recording unit 42 and the machining program executing unit 44. The machining program executing unit 44 is connected to the machining program analyzing unit 45.
[0102] The machining program analysis unit 45 is connected to a machining program storage unit 46 arranged outside the numerical control device 40B, and reads out the machining program from the machining program storage unit 46. The machining program storage unit 46 may be arranged inside the numerical control device 40B.
[0103] The power consumption calculation unit 43 receives the current values and voltage values from the current / voltage detection units 24, 23X, 23Y, 23Z, and 23S. The power consumption calculation unit 43 calculates the current power consumption P from the received current values and voltage values.
[0104] Specifically, the power consumption calculation unit 43 calculates the amount of power consumption in the converter device 16 from the current value and voltage value received from the current / voltage detection unit 24. The power consumption calculation unit 43 also calculates the amount of power consumption in the X-axis motor 14X from the current value and voltage value received from the current / voltage detection unit 23X, and calculates the amount of power consumption in the Y-axis motor 14Y from the current value and voltage value received from the current / voltage detection unit 23Y. The power consumption calculation unit 43 also calculates the amount of power consumption in the Z-axis motor 14Z from the current value and voltage value received from the current / voltage detection unit 23Z, and calculates the amount of power consumption in the spindle motor 14S from the current value and voltage value received from the current / voltage detection unit 23S.
[0105] In this way, the power consumption calculation unit 43 calculates the current power consumption P from the measured values of the current and voltage of the motor and converter device 16. The inverter device and converter device 16 monitor the current and voltage values input and output to control the motor current as instructed using sensors mounted on the inverter device and converter device 16, and perform feedback control. That is, the inverter device monitors the input current and voltage values using sensors and performs feedback control. The converter device 16 monitors the output current and voltage values using sensors and performs feedback control. Information such as the current and voltage values used in these feedback controls is transmitted to the numerical control device 40B, and the numerical control device 40B uses it to calculate the current power consumption P when the machining program is executed.
[0106] The current power consumption amount P may be calculated using a microcomputer inside the inverter device and converter device 16. Also, information from a measuring instrument such as a clamp meter instead of a sensor inside the inverter device and converter device 16 may be directly transmitted to the numerical control device 40B, and the numerical control device 40B may calculate the current power consumption amount P.
[0107] The power consumption calculation unit 43 sends each current power consumption P calculated for each device to the machining condition recording unit 42. That is, the power consumption calculation unit 43 sends the current power consumption P of the converter device 16, the current power consumption P of the X-axis motor 14X, the current power consumption P of the Y-axis motor 14Y, the current power consumption P of the Z-axis motor 14Z, and the current power consumption P of the spindle motor 14S to the machining condition information generation unit 41 and the machining condition recording unit 42.
[0108] The machining condition recording unit 42 records, for each device, the current power consumption P during execution of the current machining program and the current machining conditions W corresponding to the current power consumption P. That is, the machining condition recording unit 42 records the power consumption and machining conditions for each time for each device. When the machining condition recording unit 42 newly records the next power consumption and machining conditions, the current power consumption P and current machining conditions W that were previously recorded become the previous power consumption T and previous machining conditions.
[0109] The machining condition information generating unit 41 compares the previous power consumption T with the current power consumption P for each device, and generates the next machining conditions V for the next execution of the machining program for each device based on the comparison result. That is, the machining condition information generating unit 41 determines the next machining conditions V so that the power consumption (next power consumption) for the next execution of the machining program is lower than the current power consumption P for the current execution of the machining program. In the second embodiment, the machining condition information to be used for the next machining is the next machining conditions V.
[0110] In the second embodiment, the machining condition information generating unit 41 adjusts the power consumption by adjusting, for example, the PWM carrier frequency as a machining condition related to the power consumption. The lower the PWM carrier frequency, the lower the power consumption does not necessarily mean, and there is a PWM carrier frequency that can minimize the power consumption. The PWM carrier frequency for optimizing the power consumption differs depending on the machining conditions.
[0111] The machining condition information generating unit 41 sends the determined next machining conditions V to the machining program executing unit 44 and the machining condition recording unit 42. The machining condition recording unit 42 records the next machining conditions V.
[0112] The machining program analysis unit 45 reads out the machining program from the machining program storage unit 46 and analyzes the machining program. The machining program analysis unit 45 sends the analysis result to the machining program execution unit 44.
[0113] The analysis results obtained by the machining program analysis unit 45 include, for example, the amount of power consumed during acceleration / deceleration, the amount of power consumed when the machining program is executed for a specific period of time, and the amount of power consumed when the machining program is executed for one cycle.
[0114] The machining program execution unit 44 executes the machining program using the next machining conditions V sent from the machining condition information generation unit 41 and the analysis results sent from the machining program analysis unit 45. The machining program execution unit 44 calculates a position command under the next machining conditions V for each device, for example, based on the power consumption during acceleration and deceleration. That is, the machining program execution unit 44 executes the machining program to output a command C to each device. The command C includes a position command for each feed axis and a rotation command for the spindle. Specifically, the command C includes an X-axis position command, a Y-axis position command, a Z-axis position command, and a spindle rotation command.
[0115] In addition, the processing units (machining condition information generating unit 41, machining condition recording unit 42, and power consumption calculating unit 43) that adjust the power consumption may be implemented as software executed by a CPU (Central Processing Unit) inside the numerical control device 40B, or may be implemented as hardware such as an ASIC (Application Specific Integrated Circuit) or an FPGA (Field Programmable Gate Array).
[0116] Thus, in the second embodiment, the current and voltage values of each motor and converter device 16 are input to the numerical control device 40B, which then adjusts the amount of power consumption. This allows the numerical control device 40B to easily achieve a reduction in power consumption through simple processing, without using the power consumption adjustment device 30A.
[0117] Embodiment 3 Next, a third embodiment will be described with reference to Fig. 8. The power consumption adjustment device of the third embodiment monitors the power consumption of the main breaker 18, and calculates the power consumption based on the current and voltage values of each motor, converter device 16, and peripheral devices 17A and 17B. The power consumption adjustment device of the third embodiment adjusts the power consumption based on multiple types of power measurement results (power consumption).
[0118] Fig. 8 is a block diagram showing the configuration of a numerically controlled machining system equipped with a power consumption adjustment device according to embodiment 3. Among the components in Fig. 8, components that achieve the same functions as those in numerically controlled machine tool 100A according to embodiment 1 shown in Fig. 2 or numerically controlled machine tool 100B according to embodiment 2 shown in Fig. 6 are given the same reference numerals, and duplicated explanations will be omitted.
[0119] The numerically controlled machining system 1C includes a power consumption adjustment device 30C and a numerically controlled machine tool 100C. The numerically controlled machine tool 100C includes the components included in the numerically controlled machine tool 100A, and current and voltage detection units 24, 23X, 23Y, 23Z, 23S, 25, and .
[0120] Current / voltage detection unit 25 is disposed on the connection line connecting peripheral device 17A and peripheral device 17B, and detects the current and voltage values input to peripheral device 17B. Current / voltage detection unit 25 sends the detected current and voltage values to power consumption adjustment device 30C.
[0121] Current / voltage detection unit 26 is disposed on the connection line connecting main breaker 18 and peripheral device 17A, and detects the current and voltage values input to peripheral device 17A. Current / voltage detection unit 26 sends the detected current and voltage values to power consumption adjustment device 30C.
[0122] Also, similar to the first embodiment, power consumption detection unit 19 detects the amount of power consumption of numerically controlled machine tool 100C and sends the detected amount of power consumption to power consumption adjustment device 30C. Also, similar to the second embodiment, current / voltage detection units 23X, 23Y, 23Z, 23S detect the current and voltage values input to the motors from the inverter devices and send the detected current and voltage values to power consumption adjustment device 30C.
[0123] In this way, the numerically controlled machining system 1C monitors the power consumption of the main breaker 18, and the current and voltage values of each motor and converter device 16 and the current and voltage values of the peripheral devices 17A, 17B are input to the power consumption adjustment device 30C. The power consumption adjustment device 30C adjusts the power consumption based on the power consumption of the main breaker 18, the current and voltage values of each motor and converter device 16, and the current and voltage values of the peripheral devices 17A, 17B.
[0124] 9 is a block diagram showing the configuration of a power consumption adjustment device according to embodiment 3. The power consumption adjustment device 30C includes the components included in the power consumption adjustment device 30A, and a power consumption calculation unit 33. That is, the power consumption adjustment device 30C includes a processing condition information generation unit 31, a processing condition recording unit 32, and a power consumption calculation unit 33.
[0125] The power consumption calculation unit 33 has the same function as the power consumption calculation unit 43 included in the numerical control device 40B. The power consumption calculation unit 33 is connected to the machining condition information generation unit 31 and the machining condition recording unit 32.
[0126] Similar to the power consumption calculation unit 43, the power consumption calculation unit 33 receives current values and voltage values from the current / voltage detection units 24, 23X, 23Y, 23Z, 23S, 25, and 26. The power consumption calculation unit 33 calculates the power consumption from the received current values and voltage values.
[0127] Specifically, the power consumption calculation unit 33 calculates the amount of power consumption in the converter device 16 from the current value and voltage value received from the current / voltage detection unit 24. The power consumption calculation unit 33 also calculates the amounts of power consumption in the X-axis motor 14X, the Y-axis motor 14Y, the Z-axis motor 14Z, and the spindle motor 14S from the current value and voltage value received from the current / voltage detection units 23X, 23Y, 23Z, and 23S.
[0128] Moreover, power consumption calculation unit 33 calculates the amount of power consumption in peripheral device 17B from the current value and voltage value received from current / voltage detection unit 25. Moreover, power consumption calculation unit 33 calculates the amount of power consumption in peripheral device 17A from the current value and voltage value received from current / voltage detection unit 26.
[0129] The power consumption calculation unit 33 sends the calculated power consumption to the machining condition information generation unit 31 and the machining condition recording unit 32. The machining condition information generation unit 31 and the machining condition recording unit 32 receive the power consumption of the converter device 16, the X-axis motor 14X, the Y-axis motor 14Y, the Z-axis motor 14Z, the spindle motor 14S, and the peripheral devices 17A and 17B from the power consumption calculation unit 33.
[0130] Similarly to the power consumption adjustment device 30A, the machining condition information generation unit 31 and the machining condition recording unit 32 receive the current power consumption P from the power consumption detection unit 19 and the current machining conditions W from the numerical control device 40A. The machining condition information generation unit 31 calculates a machining condition change amount R based on the current power consumption P, previous power consumption T, and current machining conditions W, and outputs the calculated amount R to the numerical control device 40A. In the third embodiment, the machining condition information to be used for the next machining is the machining condition change amount R.
[0131] The power consumption may be calculated using microcomputers inside the inverter device, converter device 16, and peripheral devices 17A and 17B. Information from a measuring device such as a clamp meter instead of the sensors inside the inverter device, converter device 16, and peripheral devices 17A and 17B may be transmitted to power consumption adjustment device 30C, and power consumption adjustment device 30C may calculate the power consumption.
[0132] Power consumption calculation unit 33 calculates at least one of the following power consumption amounts (p1) to (p5) from the start of execution of a machining program to the end of execution of the machining program as the power consumption amount of numerically controlled machine tool 100C. (p1) The sum of the power consumption of one or more motors driven by the numerically controlled machine tool 100C (p2) The sum of the power consumption of one or more inverter devices that perform servo control of the motor (p3) The sum of the power consumption of one or more converter devices that supply power to the inverter device (p4) The sum of the power consumption of one or more peripheral devices (p5) Power consumption of the main power source 51 which supplies power to the numerically controlled machine tool 100C
[0133] When using a plurality of power measurement results (power consumption) acquired by power consumption calculation unit 33, machining condition information generation unit 31 of the third embodiment may adjust the power consumption for a plurality of elements included in numerically controlled machine tool 100C. Machining condition information generation unit 31 may adjust the power consumption for each axis driven by numerically controlled machine tool 100C, for example. Furthermore, machining condition information generation unit 31 may adjust the power consumption by combining a method of adjusting the power consumption for each axis driven by numerically controlled machine tool 100C and a method of controlling peripheral devices 17A, 17B in accordance with the usage conditions.
[0134] When adjusting the amount of power consumption for each axis driven by the numerically controlled machine tool 100C, the machining condition information generation unit 31 adjusts the amount of power consumption for each axis driven by the numerically controlled machine tool 100C by adjusting at least one of the motor override amount during machining, the acceleration time constant, the feed rate, the spindle rotation speed, and the PWM carrier frequency.
[0135] The numerical control device 40A may also have the functions of the power consumption adjustment device 30C. In this case, the numerical control device 40A has the same functions as the numerical control device 40B described in the second embodiment.
[0136] In this way, the numerically controlled machining system 1C of the third embodiment adjusts the multiple elements of the numerically controlled machine tool 100C based on the results of multiple power measurements, and therefore can easily and precisely adjust the multiple elements. Therefore, the numerically controlled machining system 1C can adjust the amount of power consumption in a short time.
[0137] Embodiment 4 Next, a fourth embodiment will be described with reference to Figures 10 and 11. In the fourth embodiment, the power consumption adjustment device includes a machine learning device as a machining condition information generation unit, and the machine learning device learns machining conditions for adjusting the power consumption. Note that, in the fourth embodiment, a case will be described in which the machine learning device is applied to a numerically controlled machining system 1C, but the machine learning device may also be applied to the numerically controlled machining systems 1A and 1B.
[0138] Fig. 10 is a block diagram showing the configuration of a power consumption adjusting device according to embodiment 4. Among the components in Fig. 10, components that achieve the same functions as those in the power consumption adjusting device 30C according to embodiment 3 shown in Fig. 9 are given the same reference numerals, and duplicated explanations will be omitted.
[0139] The power consumption adjustment device 30D of the fourth embodiment includes a power consumption calculation unit 43, a processing condition recording unit 42, and a machine learning device 60 that is a processing condition information generation unit. The power consumption calculation unit 43 causes the processing condition recording unit 42 to record the current power consumption P calculated based on the current values and voltage values sent from the current / voltage detection units 24, 23X, 23Y, 23Z, 23S, etc. The processing condition recording unit 42 also records the current processing conditions W and the current power consumption P in association with each other. When the processing condition recording unit 42 records the new current power consumption P, the recorded current power consumption P becomes the previous power consumption T.
[0140] The machine learning device 60 reads out the current processing conditions W, the current power consumption P, and the previous power consumption T (not shown in FIG. 10) from the processing condition recording unit 42. In addition, additional processing conditions, which are additional information of the processing conditions, are input to the machine learning device 60.
[0141] The additional machining conditions are machining conditions that are added to improve the accuracy of learning. Examples of the additional machining conditions are the shape of the workpiece 21, the material of the workpiece 21, the tool diameter, the tool material, the tool shape, the number of teeth, the feed rate per tooth, the rotation speed of the tool 20, information on the mechanical structure of the machine tool device 50, information on tool friction, and tool use time. The information on the mechanical structure of the machine tool device 50 is information that characterizes the configuration of the machine tool device 50.
[0142] When the machine learning device 60 receives the additional processing conditions, the machine learning device 60 includes the additional processing conditions in the current processing conditions W. In this case, the processing conditions for each time include the additional processing conditions. Note that the additional processing conditions do not need to be input to the machine learning device 60.
[0143] The current machining conditions W, the current power consumption P, and the previous power consumption T received by the machine learning device 60 are a training data set. The machine learning device 60 learns the relationship between the power consumption and the machining conditions according to the training data set, and outputs the next machining conditions V. In the fourth embodiment, the next machining conditions V are the machining condition information to be used for the next machining.
[0144] The machine learning device 60 calculates and outputs next machining conditions V which result in smaller power consumption than the current power consumption P. The machine learning device 60 outputs the next machining conditions V to the numerically controlled machine tool 100C and the machining condition recording unit 42.
[0145] As a result, the numerically controlled machine tool 100C executes the next machining using the next machining conditions V. The machining condition recording unit 42 records the next machining conditions V output from the machine learning device 60. When machining is executed using the next machining conditions V, the next machining conditions V recorded by the machining condition recording unit 42 become the current machining conditions W. In addition, the power consumption when machining is performed using the next machining conditions V becomes the current power consumption P.
[0146] As described above, when the machine learning device 60 calculates the next machining conditions V using the additional processing conditions, the additional processing conditions are entered into the current machining conditions W. That is, the additional processing conditions are included in the condition items of the current machining conditions W. When the machine learning device 60 calculates the next machining conditions V using the current machining conditions W that include the additional processing conditions, the next machining conditions V will include the condition items included in the current machining conditions W and the condition items included in the additional processing conditions. On the other hand, when the machine learning device 60 calculates the next machining conditions V using the current machining conditions W that do not include the additional processing conditions, the next machining conditions V will not include the condition items included in the additional processing conditions.
[0147] 11 is a block diagram showing the configuration of a machine learning device provided in a power consumption adjustment device according to a fourth embodiment. The machine learning device 60 has a learning unit 61 and a state observation unit 64. The state observation unit 64 observes a training data set including current power consumption P, previous power consumption T, and current processing conditions W as state variables. The state observation unit 64 sends the training data set created based on the state variables to the learning unit 61.
[0148] The learning unit 61 learns the relationship between power consumption and processing conditions according to a training data set created based on state variables. The learning unit 61 may use any learning algorithm. Here, a case where reinforcement learning is applied to the learning algorithm will be described.
[0149] In reinforcement learning, an agent, which is the subject of action in a certain environment, observes the current state indicated by state variables and decides on the action to be taken based on the observation results. The agent obtains rewards from the environment by selecting an action, and learns a strategy that will obtain the most rewards through a series of actions. Q-learning and TD-learning are well-known as representative methods of reinforcement learning. For example, in the case of Q-learning, the action value table, which is a general update formula for the action value function Q(s,a), is expressed by the following formula (1). The action value function Q(s,a) represents the action value Q, which is the value of the action of selecting action "a" in environment "s".
[0150]
number
[0151] In formula (1), "s t " represents the environment at time "t". t " represents an action at time "t". t "The environment is "s t+1 " will be changed to "r t+1 " represents the reward that can be obtained by the change in the environment. "γ" represents the discount rate. "α" represents the learning coefficient. When Q-learning is applied, if the processing condition W is the action "a t "
[0152] The update formula expressed by the above formula (1) increases the action value Q if the action value of the best action "a" at time "t+1" is greater than the action value Q of the action "a" executed at time "t", and decreases the action value Q in the opposite case. In other words, the action value function Q(s,a) is updated so that the action value Q of the action "a" at time "t" approaches the best action value at time "t+1". As a result, the best action value in a certain environment is propagated sequentially to the action value in the previous environment.
[0153] The learning unit 61 includes a function update unit 62 and a reward calculation unit 63. The reward calculation unit 63 calculates a reward based on the state variables. The function update unit 62 updates a function for determining a processing condition (next processing condition V) according to the reward calculated by the reward calculation unit 63.
[0154] Specifically, the reward calculation unit 63 calculates the reward "r" based on the current power consumption P and the previous power consumption T. For example, when the processing conditions are changed from the previous processing conditions to the current processing conditions W, and as a result the current power consumption P becomes equal to or less than the previous power consumption T, the reward calculation unit 63 increases the reward "r". The reward calculation unit 63 increases the reward "r", for example, by giving a reward value of "1". Note that the reward value is not limited to "1".
[0155] Furthermore, when the processing conditions are changed from the previous processing conditions to the current processing conditions W, and as a result the current power consumption P becomes greater than the previous power consumption T, the reward calculation unit 63 reduces the reward "r". For example, the reward calculation unit 63 reduces the reward "r" by giving the reward value "-1". Note that the reward value is not limited to "-1".
[0156] Furthermore, when the processing conditions are changed from the previous processing conditions to the current processing conditions W, and as a result the current power consumption P and the previous power consumption T become the same, the reward calculation unit 63 does not change the reward "r". The reward calculation unit 63 does not change the reward "r", for example, by giving the reward value "0". Note that the reward value is not limited to "0".
[0157] The learning unit 61 acquires, from the current machining conditions W, next machining conditions V that are predicted to enable the next power consumption amount to be reduced below the current power consumption amount P.
[0158] The function update unit 62 updates the function, which is a judgment model for determining the next processing condition V, according to the reward calculated by the reward calculation unit 63. The function can be updated by, for example, updating an action value table according to the training data set. The action value table is a data set in which any action is associated with its action value and stored in the form of a table. For example, in the case of Q-learning, the action value function Q(s t ,a t ) is used as a function to determine the next processing condition V.
[0159] Although the above has described a case where reinforcement learning is applied to the learning algorithm used by the learning unit 61, learning other than reinforcement learning may be applied to the learning algorithm. The learning unit 61 may execute machine learning using a known learning algorithm other than reinforcement learning, such as a learning algorithm such as deep learning, neural network, genetic programming, inductive logic programming, or support vector machine.
[0160] The learning unit 61 may construct a training data set including information on all axes of the numerically controlled machine tool 100C and learn a judgment model for determining the next machining condition V, or may construct a training data set for each axis of the numerically controlled machine tool 100C and learn a judgment model for each axis for determining the next machining condition V.
[0161] The learning unit 61 is not limited to being built into the power consumption adjustment device 30D. The learning unit 61 may be realized by a device external to the power consumption adjustment device 30D. In this case, the device functioning as the learning unit 61 may be a device that can be connected to the power consumption adjustment device 30D via a network. The device functioning as the learning unit 61 may be a device that exists on a cloud server.
[0162] When the machine learning device 60 is applied to the numerical control machining system 1A, the training data set includes the machining condition change amount R applied to the current machining instead of the current machining condition W. Moreover, the machine learning device 60 calculates and outputs the machining condition change amount R applied to the next machining instead of the next machining condition V. That is, the machine learning device 60 learns the relationship between the machining conditions and the power consumption based on the machining condition change amount R applied to the current machining, the current power consumption P, and the previous power consumption T, and calculates and outputs the machining condition change amount R applied to the next machining. Moreover, when the machine learning device 60 is applied to the numerical control machining system 1B, the machine learning device 60 is arranged in place of the machining condition information generation unit 41 in the numerical control device 40B.
[0163] Here, we will explain the hardware configurations of the power consumption adjustment devices 30A, 30C, and 30D and the numerical control device 40B. Note that the power consumption adjustment devices 30A, 30C, and 30D and the numerical control device 40B have similar hardware configurations, so here we will explain the hardware configuration of the power consumption adjustment device 30D.
[0164] 12 is a diagram showing an example of a hardware configuration for realizing a power consumption adjustment device according to the fourth embodiment. The power consumption adjustment device 30D can be realized by an input device 300, a processor 100, a memory 200, and an output device 400. An example of the processor 100 is a CPU (also called a central processing unit, processing unit, arithmetic unit, microprocessor, microcomputer, or DSP (Digital Signal Processor)) or a system LSI (Large Scale Integration). An example of the memory 200 is a RAM (Random Access Memory) or a ROM (Read Only Memory).
[0165] The power consumption adjustment device 30D is realized by the processor 100 reading and executing a computer-executable processing program for executing the operations of the power consumption adjustment device 30D stored in the memory 200. The processing program for executing the operations of the power consumption adjustment device 30D can also be said to cause a computer to execute the procedures or methods of the power consumption adjustment device 30D.
[0166] The processing program executed by the power consumption adjustment device 30D has a modular configuration including a power consumption calculation unit 43 and a machine learning device 60, which are loaded onto the main storage device and generated on the main storage device.
[0167] The processing programs executed by the power consumption adjustment device 30D include a calculation program for calculating the amount of power consumption, a learning program for learning the next processing conditions, and the like.
[0168] The input device 300 receives the previous power consumption T, the current power consumption P, the current processing conditions W, etc., and sends them to the processor 100. The memory 200 stores the processing conditions, the power consumption, the action value function Q(s, a), a calculation program, a learning program, etc. The memory 200 stores, for example, the previous power consumption T, the current power consumption P, etc. as the power consumption, and the current processing conditions W, etc. as the processing conditions. The memory 200 also stores the latest action value function Q(s, a).
[0169] The calculation program, the learning program, the processing conditions, the power consumption amount, and the action value function Q(s, a) are read out from the memory 200 by the processor 100. The memory 200 is also used as a temporary memory when the processor 100 executes various processes.
[0170] The process executed by the output device 400 corresponds to the process of outputting the next processing condition V by the power consumption adjusting device 30D.
[0171] The calculation program and the learning program may be provided as a computer program product by being stored in a computer-readable storage medium as an installable or executable file. The calculation program and the learning program may also be provided to the power consumption adjustment device 30D via a network such as the Internet. Note that some of the functions of the power consumption adjustment device 30D may be realized by dedicated hardware such as a dedicated circuit, and some may be realized by software or firmware.
[0172] Thus, according to the fourth embodiment, the power consumption adjustment device 30D can determine optimal processing conditions even in a situation where various factors affect the power consumption by learning the correspondence relationship between the power consumption and the processing conditions.
[0173] The configurations shown in the above embodiments are merely examples, and may be combined with other known technologies, or the embodiments may be combined with each other. Also, parts of the configurations may be omitted or modified without departing from the spirit of the invention. [Explanation of symbols]
[0174] 1A to 1C numerical control machining system, 14S spindle motor, 14X X-axis motor, 14Y Y-axis motor, 14Z Z-axis motor, 15S spindle inverter device, 15X X-axis inverter device, 15Y Y-axis inverter device, 15Z Z-axis inverter device, 16 converter device, 17A, 17B peripheral device, 18 main breaker, 19 power consumption detection unit, 20 tool, 21 workpiece, 22 table, 23S, 23X, 23Y, 23Z, 24 to 26 current / voltage detection unit, 30A, 30C, 30D power consumption adjustment device, 31, 41 machining condition information generation unit, 32, 42 machining condition recording unit, 33, 43 power consumption calculation unit, 35X X-axis unit, 35Y Y-axis unit, 35Z Z-axis unit, 36S spindle unit, 40A, 40B numerical control device, 44 Machining program execution unit, 45 machining program analysis unit, 46 machining program storage unit, 50 machine tool device, 51 main power supply, 52 DC power supply, 60 machine learning device, 61 learning unit, 62 function update unit, 63 reward calculation unit, 64 state observation unit, 100 processor, 100A to 100C numerically controlled machine tool, 200 memory, 300 input device, 400 output device.
Claims
1. A power consumption adjustment device that adjusts the power consumption of a numerically controlled machine tool that drives a motor and performs machining according to a machining program, comprising: a machining condition information generating unit that generates machining condition information for determining next machining conditions that are machining conditions when the machining program is next executed and that affect the next power consumption, based on a previous power consumption that is the power consumption when the machining program was last executed, a current power consumption that is the power consumption when the machining program was currently executed, and a current machining condition that is a machining condition when the machining program was currently executed and that affects the current power consumption, so that a next power consumption that is the power consumption when the machining program is next executed is smaller than the current power consumption; A power consumption adjustment device comprising:
2. The processing condition information is a change amount of the next processing condition with respect to the current processing condition.
2. The power consumption adjustment device according to claim 1 .
3. the processing condition information generating unit compares the previous power consumption amount with the current power consumption amount, and determines an amount of change to the next processing condition based on a comparison result; 3. The power consumption adjustment device according to claim 2.
4. the change amount is a change amount of a specific override amount, the machining condition information generation unit determines the change amount by increasing the specific override amount when the current power consumption amount is greater than the previous power consumption amount, and determines the change amount by decreasing the specific override amount when the current power consumption amount is smaller than the previous power consumption amount. The power consumption adjusting device according to claim 3 .
5. The machining condition information is the next machining condition, which is the machining condition when the machining program is executed next time.
2. The power consumption adjustment device according to claim 1 .
6. The machining condition information includes at least one of information on a motor override amount during machining, an acceleration time constant, a feed rate, a spindle rotation speed, and a pulse width modulation carrier frequency for each axis driven by the numerically controlled machine tool.
2. The power consumption adjustment device according to claim 1 .
7. The previous power consumption amount and the current power consumption amount are at least one of a sum of power consumption amounts of motors driven by the numerically controlled machine tool from the start of execution of the machining program to the end of execution, a sum of power consumption amounts of inverter devices performing servo control of the motors, a sum of power consumption amounts of converter devices that supply power to the inverter devices, a sum of power consumption amounts of peripheral devices of the numerically controlled machine tool, and a power consumption amount of a main power supply unit that inputs power to the numerically controlled machine tool.
2. The power consumption adjustment device according to claim 1 .
8. the change amount is a change amount preset for each type of the processing condition, a change amount calculated by multiplying the current processing condition by a specific coefficient preset for each type of the processing condition, or a change amount calculated by multiplying the current processing condition by a ratio of an increase or decrease from the previous power consumption to the current power consumption; 3. The power consumption adjustment device according to claim 2.
9. the change amount is a change amount calculated according to an increase or decrease from the sum of motor energy losses calculated from the previous power consumption amount to the sum of motor energy losses calculated from the current power consumption amount, or an increase or decrease from the sum of drive unit energy losses calculated from the previous power consumption amount to the sum of drive unit energy losses calculated from the current power consumption amount.
3. The power consumption adjustment device according to claim 2.
10. The change amount is a change amount calculated by multiplying the current machining condition by a ratio of an increase or decrease in the sum of the energy losses of the motor, or a change amount calculated by multiplying the current machining condition by a ratio of an increase or decrease in the sum of the energy losses of the drive unit. The power consumption adjusting device according to claim 9 .
11. the machining condition information generation unit is a machine learning device that learns the machining condition information, The machine learning device includes: a state observation unit that observes the previous power consumption amount, the current power consumption amount, and the current processing conditions as state variables; a learning unit that learns the processing condition information in accordance with a data set created based on the state variables; having 2. The power consumption adjustment device according to claim 1 .
12. the processing condition information generation unit does not change the processing condition information when a power fluctuation amount, which is a difference between the previous power consumption amount and the current power consumption amount, is equal to or less than a first threshold value, or when an energy loss fluctuation amount, which is a difference between an energy loss calculated from the previous power consumption amount and an energy loss calculated from the current power consumption amount, is equal to or less than a second threshold value. The power consumption adjustment device according to any one of claims 1 to 11.
13. A numerical control device that adjusts the amount of power consumption of a numerically controlled machine tool that drives a motor and performs machining according to a machining program, a power consumption calculation unit for calculating a power consumption amount of the numerically controlled machine tool; a machining condition information generating unit that generates machining condition information for determining a next machining condition that is a machining condition when the machining program is next executed and that affects the next power consumption, based on a previous power consumption that is a power consumption when the machining program was last executed, a current power consumption that is a power consumption when the machining program was currently executed, and a current machining condition that is a machining condition when the machining program was currently executed and that affects the current power consumption, so that a next power consumption that is a power consumption when the machining program is next executed is smaller than the current power consumption; a machining program execution unit which repeatedly executes the machining program and uses the machining condition information determined by the machining condition information generation unit when executing the machining program; Equipped with A numerical control device comprising:
14. A power consumption adjustment method for adjusting power consumption of a numerically controlled machine tool that drives a motor and performs machining according to a machining program, comprising the steps of: a power consumption adjustment device for adjusting the power consumption includes a processing condition information generation step of generating processing condition information for determining a next processing condition that is a processing condition when the processing program is next executed and that affects the next power consumption, based on a previous power consumption that is the power consumption when the processing program was last executed, a current power consumption that is the power consumption when the processing program is currently executed, and a current processing condition that is a processing condition when the processing program is currently executed and that affects the current power consumption, so that a next power consumption that is the power consumption when the processing program is next executed is smaller than the current power consumption; A power consumption adjustment method comprising: