Power consumption adjustment device, numerical control device, and power consumption adjustment method
The power consumption adjustment device addresses the challenge of changing processing conditions by dynamically adjusting machining parameters, resulting in reduced energy usage and improved efficiency in machine tools.
Patent Information
- Application Number
- PCT/JP2023/017550
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-05-10
- Publication Date
- 2024-11-14
AI Technical Summary
Existing power consumption adjustment methods for machine tools fail to effectively minimize power consumption due to changing processing conditions caused by friction and heat, especially in repetitive machining processes.
A power consumption adjustment device that continuously monitors and adjusts machining conditions, such as override amounts, acceleration time constants, and spindle rotation speeds, based on real-time power consumption data to optimize energy usage and reduce overall power consumption.
The device effectively reduces power consumption by dynamically adjusting machining conditions, ensuring that power usage is minimized even as processing conditions change, thereby improving energy efficiency in machine tools.
Smart Images

Figure JP2023017550_14112024_PF_FP_ABST
Abstract
Description
Power consumption adjustment device, numerical control device, and power consumption adjustment method
[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.
[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 for reducing the amount of power consumed during machining per 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.
[0004] JP 2010-250697 A
[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 as the processing progresses, 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 and heat generated by processing.
[0007] In order to solve the above-mentioned problems and achieve the object, 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 includes 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 the previous power consumption, which is the power consumption when the previous machining program was executed, the current power consumption, which is the power consumption when the current machining program is executed, and the current machining conditions, which are machining conditions when the current machining program was executed and that affect the current power consumption, so that the next power consumption, which is the power consumption when the next machining program is executed, is smaller than the current power consumption.
[0008] The power consumption adjustment device disclosed herein has the advantage of being able to easily reduce power consumption through simple processing, even when various processing conditions for minimizing power consumption change due to friction and heat generated by processing.
[0009] FIG. 1 is a diagram showing the 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. Block diagram showing the configuration of a numerically controlled machining system equipped with a power consumption adjustment device according to a first embodiment. Block diagram showing the configuration of a power consumption adjustment device according to a first embodiment. Flowchart showing the processing procedure for adjusting an override amount by a numerically controlled machining system according to a first embodiment. Diagram for explaining the processing for adjusting an override amount by a numerically controlled machining system according to a first embodiment. Block diagram showing the configuration of a numerically controlled machine tool according to a second embodiment. Block diagram showing the configuration of a numerical control device according to a second embodiment. Block diagram showing the configuration of a numerically controlled machining system equipped with a power consumption adjustment device according to a third embodiment. Block diagram showing the configuration of a power consumption adjustment device according to a fourth embodiment. Block diagram showing the configuration of a machine learning device provided in a power consumption adjustment device according to a fourth embodiment. Diagram showing an example of a hardware configuration for realizing a power consumption adjustment device according to a fourth embodiment.
[0010] 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] First Embodiment Figure 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 the table 22 and perpendicular to each other are referred to as the X-axis and Y-axis. The axis perpendicular to the X-axis and Y-axis is referred to 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 schematically illustrated.
[0013] The machine tool device 50 is a machine device included in the numerically controlled machine tool 100A, and repeatedly performs cutting work on the same workpiece (component). The machine tool device 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 unit 35X, a Y-axis unit 35Y, a Z-axis unit 35Z, and a spindle unit 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 unit 35X that extends in the X-axis direction and moves in the X-axis direction, and a Y-axis unit 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 unit 35Z that extends in the Z-axis direction and moves in the Z-axis direction. In this way, the machine tool device 50 generates three-dimensional motion.
[0016] Machine tool device 50 rotates tool 20 by spindle 36S, whose axial direction is the Z-axis, causing tool 20 to move relative to workpiece 21 and removing material from the surface of workpiece 21. At this time, machine tool device 50 drives the X-axis section 35X, Y-axis section 35Y, and Z-axis section 35Z, respectively, by X-axis motor 14X, Y-axis motor 14Y, and Z-axis motor 14Z, and drives spindle 36S by 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] The X-axis unit 35X, the Y-axis unit 35Y, and the Z-axis unit 35Z each have a feed axis. The feed axis 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 axis using 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. The numerically controlled machine tool 100A is also 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] Note that, in FIG. 2, of 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 other components 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 that inputs power to numerically controlled machine tool 100A. Power consumption detection unit 19 sends the detected amount of power consumption (such as current power consumption P) 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 the DC power supply 52, which 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. Each inverter device is connected to a motor and drives the motor. 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 the main power supply 51 is input through the main breaker 18 and sent to the converter device 16 , the peripheral device 17A, the peripheral device 17B, and the DC power supply 52 .
[0028] The DC power supply 52 generates DC power from the AC power supply, which is necessary to drive the numerical control device 40 A. The converter device 16 generates DC power from the AC power supply to be supplied to the inverter device.
[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 describes, for example, the command position and command speed of each feed axis, the rotation speed of the main spindle, etc. in order.
[0030] The numerical control device 40A analyzes the 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 using the inverter device include, for example, PWM (Pulse Width Modulation) control, but any control method may be used to control the AC current. The motor generates 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 include a chiller that circulates coolant through machine tool device 50, a pump that circulates 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 using machining conditions that affect power consumption. The machining condition elements used by the numerical control device 40A include, for example, five elements: 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 using the machining conditions used for 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. Furthermore, 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 the amount of change to the machining conditions to be used in the next machining (next machining conditions) from 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 the amount of change in machining conditions R based on the current power consumption P, which is the amount of power consumption detected when the numerically controlled machine tool 100A performed machining under the current machining conditions W, and outputs the amount of change in machining conditions R to the numerical control device 40A.
[0037] 3 is a block diagram showing the configuration of a power consumption adjustment device according to embodiment 1. Each time machining of a workpiece (workpiece 21) is executed, power consumption adjustment device 30A obtains from numerically controlled machine tool 100A the current power consumption P required for the current machining and the current machining conditions W. Power consumption adjustment device 30A obtains the amount of power supplied to main breaker 18 from power consumption detection unit 19 as the 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 measuring 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. The machining condition recording unit 32 also 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 amount P is recorded as the current power consumption amount until the processing condition change amount R for setting the next processing condition, which is the next processing condition, is determined, but after the processing condition change amount R is determined, it is recorded as the previous power consumption amount (hereinafter referred to as the previous power consumption amount T).
[0041] Furthermore, 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. Furthermore, 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 power consumption and 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, acceleration time constant, feed rate, spindle rotation speed, and PWM (pulse width modulation) carrier frequency. That is, the machining condition change amount R includes at least one change amount such as acceleration time constant, feed rate, spindle rotation speed, and PWM (pulse width modulation) carrier frequency. Here, the current machining conditions W and the next machining conditions are override amounts 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 by the override amount. For example, if 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, resulting in a decrease in the amount of power consumed by a device operating at a constant power consumption. On the other hand, as the override amount increases, the motor needs to accelerate and decelerate quickly in a short period of time, increasing the current flowing through the motor and increasing its power consumption. Therefore, the set override amount determines whether the overall power consumption of numerically controlled machine tool 100A increases or decreases. Furthermore, the optimal value of the override amount also differs depending on the type and characteristics of peripheral devices 17A, 17B attached to numerically controlled machine tool 100A. In embodiment 1, the optimal value of the override amount is the value at which power consumption is optimal (minimum).
[0047] The power consumption adjustment device 30A of the first embodiment executes a power consumption adjustment process. The power consumption adjustment process in 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 the machining program is executed will be smaller than the current power consumption amount P. Specifically, when the current power consumption amount P is greater than the previous power consumption amount T, the machining condition information generation unit 31 calculates the machining condition change amount R to increase the override amount of a specific element. When the current power consumption amount P is equal to or less than the previous power consumption amount T, the machining condition information generation unit 31 calculates the machining condition change amount R to decrease the override amount of a specific element.
[0048] In this way, the power consumption adjustment device 30A updates the machining conditions (machining condition change amount R) for each command (each machining operation). Therefore, when multiple machining operations are performed, the machining conditions for minimizing power consumption change due to friction and heat generated as the machining operation progresses. Even in such cases, the power consumption adjustment device 30A updates the machining conditions for each machining operation, so it can keep up with changes in the machining conditions for minimizing power consumption. The power consumption adjustment device 30A is not limited to updating the machining conditions for each command, but may also update the machining conditions for multiple commands (multiple machining operations). For example, the power consumption adjustment device 30A may update the machining conditions for every n (n is a natural number greater than or equal to 2) machining operations.
[0049] 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 amount P is the same as the previous power consumption amount T. The power consumption adjusting device 30A sends the calculated machining condition change amount R to the numerical control device 40A.
[0050] 4 is a flowchart showing the procedure of a process for adjusting the override amount in the numerically controlled machining system according to embodiment 1. The numerical control device 40A of the numerically controlled machine tool 100A sets the override amount based on the machining program (step S10).
[0051] The numerical control device 40A executes a program operation using the machining program and the override amount (step S20). An initial value of the override amount is set to, for example, 100% in the numerical control device 40A.
[0052] The numerical control device 40A uses the override amount to generate command values for the feed axes and the like, and executes machining control. The numerical control device 40A sends current machining conditions W to be 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 generation 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 and current values are detected in the drive unit, converter unit, etc. Therefore, machining condition information generating unit 31 can calculate the amount of power consumption in each state of the motor alone, the drive unit alone, the converter unit alone, peripheral devices 17A and 17B, and numerically controlled machine tool 100A as a whole, based on the current power consumption amount 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 amount of 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 generation 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 (Yes in step S40), the machining condition information generation unit 31 generates a machining condition change amount R that increases the override amount (step S50). Then, the machining condition information generation 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 (No in step S40), the machining condition information generating unit 31 generates a machining condition change amount R to reduce the override amount (step S60).The machining condition information generating unit 31 then sends this machining condition change amount R to the numerical control device 40A.
[0059] Furthermore, if the current power consumption P is the same as the previous power consumption T, the machining condition information generating unit 31 determines a machining condition change amount R that does not change the override amount. 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 generation 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 operation, the previous power consumption T to be used for comparison is not recorded in the machining condition recording unit 32. Therefore, the machining condition information generating unit 31 determines and generates a change amount (e.g., -5%) that is 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 override amount (100%) by the change amount (e.g., -5%), which is a fixed parameter value preset for each type of machining condition, to obtain a new override amount (95%).
[0062] The machining condition information generating unit 31 may set the machining condition change amount R to "0" during the first machining. In this case, machining is performed with the override amount (100%) of the initial value.
[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 fixed parameter value in the machining condition recording unit 32 as the current machining condition W. Furthermore, the machining condition information generating unit 31 records the current power consumption P when 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 way, the machining condition information generating unit 31 associates the determined new override amount with the amount of power consumption when machining is performed with this override amount, and records them in the machining condition recording unit 32 .
[0066] After setting a new override amount in step S70, the numerically controlled machining system 1A returns to the processing of step S20 and repeats the processing of steps S20 to S70. That is, the numerically controlled machining system 1A repeatedly changes the override amount based on the power consumption measured during machining program operation, and determines the override amount that minimizes power consumption. In this way, the numerically controlled machining system 1A repeatedly changes the override amount based on the power consumption measured during machining program operation, making it possible to bring machining conditions such as the override amount closer to optimal values while reducing power consumption. That is, by repeatedly changing the override amount, the numerically controlled machining system 1A can track the minimum point of power consumption.
[0067] 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 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 by a fixed parameter value set in advance 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 fixed value set in advance for each type of machining condition.
[0069] In addition, the machining condition information generation unit 31 may determine the machining condition change amount R as the value obtained by multiplying the current machining condition W by a specific ratio (coefficient) that is preset for each type of machining condition relative to the previous override amount.
[0070] The machining condition information generating unit 31 may also determine the machining condition change amount R based on the ratio between the previous power consumption amount T and the amount of change in power consumption from the previous time to the current time (hereinafter, sometimes referred to as power fluctuation amount). In this case, the machining condition information generating unit 31 determines the machining condition change amount R by, for example, multiplying the current machining condition W by the ratio between the previous power consumption amount T and the amount of power fluctuation amount.
[0071] The machining condition information generating unit 31 may also 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, for example, multiplying the current machining condition W by the ratio between the current power consumption amount P and the power fluctuation amount.
[0072] Furthermore, the machining condition information generating unit 31 may determine the machining 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 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 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 losses calculated from the previous power consumption amount T to the sum of motor energy losses calculated from the current power consumption amount 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 amount T to the sum of motor energy loss calculated from the current power consumption amount 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 losses of the drive unit calculated from the previous power consumption amount T to the sum of energy losses of the drive unit calculated from the current power consumption amount 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 rate of increase from the sum of the energy loss of the drive unit calculated from the previous power consumption amount T to the sum of the energy loss of the drive unit calculated from the current power consumption amount P.
[0077] Furthermore, the machining condition information generating unit 31 may not change machining conditions such as the override amount when the power fluctuation amount, which is the difference between the previous power consumption T and the current power consumption P, is equal to or less than a first threshold. Furthermore, the machining condition information generating unit 31 may not 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 T and the energy loss of the motor or drive unit calculated from the current power consumption P, is equal to or less than a second threshold. This allows the numerically controlled machining system 1A to avoid the phenomenon in which the values of the machining conditions behave oscillate near their optimal values, and to resume adjustment if the optimal conditions change after repeated machining over a long period of time.
[0078] 5 is a diagram for explaining the process of adjusting the override amount in the numerically controlled machining system according to the first embodiment. The horizontal axis of the graph shown in FIG. 5 represents the override amount, and the vertical axis represents 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 power consumption in the (m+1)th to (m+4)th machining operations is shown as the power consumption U m+1 ~U m+4 The minimum value, which is the optimum value for power consumption, is shown as minimum power value V1.
[0079] The power consumption adjustment device 30A of the numerically controlled machining system 1A determines 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 determines the power consumption U in the (m+1)th machining operation. m+1 The power consumption during the mth machining is U m The 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 below 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 Further, the power consumption adjustment device 30A reduces the override amount when the power consumption U m+3 The power consumption in the (m+2)th processing is U m+2 If it is below 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 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 decreases. By repeatedly adjusting the override amount, the power consumption adjustment device 30A brings 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 machining condition to be adjusted depending on the workpiece 21 or the machine tool device 50, or may adjust multiple machining conditions simultaneously.
[0084] Furthermore, the machining condition information generating unit 31 may adjust the machining conditions one by one in order, such that, after completing the adjustment of one specific machining condition, the next specific machining condition is adjusted. For example, when optimizing N types of machining conditions (N is a natural number of 2 or more), the machining condition information generating unit 31 may adjust the machining conditions in order from the first type to the Nth type of machining condition, and then adjust the machining conditions from the first type to the Nth type again. In other words, the machining condition information generating unit 31 may repeat the process of adjusting the machining conditions from the first type to the Nth type multiple times.
[0085] In this way, the numerically controlled machining system 1A of embodiment 1 calculates the amount of power consumption for the override amount set based on the machining program. Then, the numerically controlled machining system 1A changes the override amount by a specific percentage and calculates the amount of power consumption when the machining program is run using the changed override amount. The numerically controlled 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 numerically controlled machining system 1A increases the amount of override if the current power consumption P is greater than the previous power consumption T, and decreases the amount of override if the current power consumption P is equal to or less than the previous power consumption T. This enables the numerically controlled machining system 1A to bring the amount of override closer to the optimal value while reducing power consumption.
[0086] In order to adjust power consumption, the numerically controlled machining system 1A does not need to identify in advance the coefficient of power consumption per unit time of the feed axis drive motor, which is difficult to accurately identify, or the coefficient of power consumption per unit time of peripheral devices that operate at a constant power. Furthermore, the numerically controlled machining system 1A does not need to calculate the cycle time when the machining conditions are changed, which is difficult to accurately calculate, and does not need to calculate power consumption from the estimated machining time. In other words, the numerically controlled machining system 1A can determine machining conditions that can reduce power consumption without calculating the coefficient of power consumption per unit time and the cycle time, which are difficult to calculate. Therefore, the numerically controlled machining system 1A can easily reduce power consumption with simple processing.
[0087] The machine tool device 50 has various motors involved in machining, such as a spindle motor 14S that rotates the spindle portion 36S, servo motors (X-axis motor 14X, Y-axis motor 14Y, and Z-axis motor 14Z) that drive the workpiece 21 and the spindle portion 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 for the spindle unit 36S is changed, the rotation speed of the spindle motor 14S is changed, and so the amount of change when changing machining conditions differs from the corresponding motor. In other words, since the parameters are separate for the servo motor, peripheral axis motor, and spindle motor 14S, changing the override amount does not affect all motors.
[0089] For example, if the only thing to be changed this time is the override amount, the power consumption adjustment device 30A need only obtain and adjust the current power consumption P(W) of the servo motor belonging to the machine tool device 50. In this case, the power consumption adjustment device 30A obtains the angular velocity ω (rad / s) = 2π × N from the motor speed N (rev / s), obtains Tq (motor torque) = Jm (motor inertia) × dω / dt (derivative of angular velocity), and calculates the current power consumption P(W) of the servo motor using the current power consumption P(W) of the servo motor = Tq (motor torque) × ω (angular velocity).
[0090] Furthermore, there are various types of devices that consume energy, such as motors and drive units. For example, if the power consumption adjustment device 30A wants to suppress heat generation from a control panel, it can make adjustments using the sum of the power consumption of the drive units installed in the control panel. Also, if the power consumption adjustment device 30A wants to suppress the amount of heat generated by a motor, it can adjust the heat generated by the motor by using the sum of the power consumption of the motor. Furthermore, the power consumption adjustment device 30A can 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 change in the sum of the energy losses of the motor or drive unit from the previous time to the current time.
[0092] The power consumption adjustment device 30A according to the first embodiment is implemented as software on 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 where 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 on a tablet PC or smartphone connected to the numerically controlled machine tool 100A via a wireless network.
[0093] 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, reduction in power consumption can be easily achieved through simple processing.
[0094] Second Embodiment 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 the configuration of a numerically controlled machine tool according to embodiment 2. Of the components in Fig. 6, those that achieve the same functions as those in 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 the same configuration as 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 / voltage detection units 24, 23X, 23Y, 23Z, and 23S. Current / 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 / voltage detection unit 24 sends the detected current and voltage values to numerical control device 40B.
[0098] The current / voltage detectors 23X, 23Y, 23Z, and 23S are arranged on the connection lines connecting the inverters and the motors and detect the current and voltage values input from the inverters to the motors. Specifically, the current / voltage detector 23X is arranged on the connection line connecting the X-axis inverter device 15X and the X-axis motor 14X and detects the current and voltage values input from the X-axis inverter device 15X to the X-axis motor 14X. The current / voltage detector 23Y is arranged on the connection line connecting the Y-axis inverter device 15Y and the Y-axis motor 14Y and detects the current and voltage values input from the Y-axis inverter device 15Y to the Y-axis motor 14Y. The current / voltage detector 23Z is arranged on the connection line connecting the Z-axis inverter device 15Z and the Z-axis motor 14Z and detects the current and voltage values input from the Z-axis inverter device 15Z to the Z-axis motor 14Z. The current / voltage detection unit 23S is disposed on the 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, 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 the functions of 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 embodiment 2 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 generation unit 41 has the same function as the machining condition information generation unit 31. The machining condition recording unit 42 has the same function as the machining condition recording unit 32. The power consumption calculation unit 43 is connected to the machining condition information generation unit 41 and the machining condition recording unit 42. The machining condition information generation unit 41 is connected to the machining condition recording unit 42 and the machining program execution unit 44. The machining program execution unit 44 is connected to the machining program analysis 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. Note that the machining program storage unit 46 may be arranged inside the numerical control device 40B.
[0103] The power consumption amount calculation unit 43 receives the current values and voltage values from the current / voltage detection units 24, 23X, 23Y, 23Z, and 23S, and calculates the current power consumption amount 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 and voltage values 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 and voltage values received from the current / voltage detection unit 23X, and calculates the amount of power consumption in the Y-axis motor 14Y from the current and voltage values 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 and voltage values received from the current / voltage detection unit 23Z, and calculates the amount of power consumption in the spindle motor 14S from the current and voltage values 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 current and voltage values of the motor and converter device 16. The inverter device and converter device 16 use sensors mounted on the inverter device and converter device 16 to monitor the input and output current and voltage values to control the motor current according to commands, 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 also 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 this information to calculate the current power consumption P when executing the machining program.
[0106] The current power consumption amount P may be calculated using a microcomputer inside the inverter device and converter device 16. Alternatively, information from a measuring instrument such as a clamp meter instead of a sensor inside the inverter device and converter device 16 may be sent directly 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 when the current machining program is executed 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 run for each device. When the machining condition recording unit 42 newly records the next power consumption and machining conditions, the previously recorded current power consumption P and current machining conditions W become the previous power consumption T and previous machining conditions.
[0109] The machining condition information generation unit 41 compares the previous power consumption T with the current power consumption P for each device, and generates 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 generation unit 41 determines the next machining conditions V so that the power consumption for the next execution of the machining program (next power consumption) is lower than the current power consumption P for the current execution of the machining program. In the second embodiment, the next machining conditions V are the machining condition information to be used for the next machining.
[0110] In the second embodiment, the machining condition information generating unit 41 adjusts the amount of power consumption by adjusting, for example, the PWM carrier frequency as a machining condition related to the amount of power consumption. The lower the PWM carrier frequency, the lower the amount of power consumption does not necessarily mean; there is a PWM carrier frequency that can minimize the amount of power consumption. The PWM carrier frequency that optimizes the amount of 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 and 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 amount of power consumed 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] 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 FPGA (Field Programmable Gate Array).
[0116] In this way, 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] Third Embodiment Next, a third embodiment will be described with reference to Figure 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. Of the components in Fig. 8, those 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, as well as current and voltage detection units 24, 23X, 23Y, 23Z, 23S, 25, and 26.
[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, as in embodiment 1, 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, as in embodiment 2, 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 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 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 the 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 and voltage values 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 and voltage values received from the current / voltage detection units 23X, 23Y, 23Z, and 23S.
[0128] Furthermore, 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. Power consumption calculation unit 33 also 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 amount of machining condition change 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. Alternatively, 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 sent to power consumption adjustment device 30C, and power consumption adjustment device 30C may calculate the power consumption.
[0132] The power consumption calculation unit 33 calculates at least one of the following power consumption amounts (p1) to (p5) from the start of execution of the machining program to the end of execution of the machining program as the power consumption amount of the numerically controlled machine tool 100C: (p1) The sum of the power consumption amounts of one or more motors driven by the numerically controlled machine tool 100C (p2) The sum of the power consumption amounts of one or more inverter devices that perform servo control of the motors (p3) The sum of the power consumption amounts of one or more converter devices that supply power to the inverter devices (p4) The sum of the power consumption amounts of one or more peripheral devices (p5) The power consumption amount of the main power source 51 that supplies power to the numerically controlled machine tool 100C
[0133] When using a plurality of power measurement results (power consumption amounts) acquired by power consumption amount calculation unit 33, machining condition information generation unit 31 in the third embodiment may adjust the power consumption amounts for a plurality of elements included in numerically controlled machine tool 100C. Machining condition information generation unit 31 may, for example, adjust the power consumption amount for each axis driven by numerically controlled machine tool 100C. Furthermore, machining condition information generation unit 31 may adjust the power consumption amount by combining a method of adjusting the power consumption amount for each axis driven by numerically controlled machine tool 100C with 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 at least one of the motor override amount during machining, acceleration time constant, feed rate, spindle rotation speed, and PWM carrier frequency for each axis driven by the numerically controlled machine tool 100C, thereby adjusting the amount of power consumption for each axis.
[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 perform various adjustments to the multiple elements in detail. Therefore, the numerically controlled machining system 1C can adjust the amount of power consumption in a short time.
[0137] Fourth Embodiment 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 amount of power consumption. Note that in the fourth embodiment, a case will be described in which the machine learning device is applied to the 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 adjustment device according to embodiment 4. Of the components in Fig. 10, those that achieve the same functions as those in the power consumption adjustment device 30C according to embodiment 3 shown in Fig. 9 are assigned 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 machining condition recording unit 42, and a machine learning device 60 that serves as a machining condition information generation unit. The power consumption calculation unit 43 calculates a current power consumption P based on current and voltage values sent from the current / voltage detection units 24, 23X, 23Y, 23Z, 23S, etc., and records the calculated current power consumption P in the machining condition recording unit 42. The machining condition recording unit 42 also records the current machining conditions W and the current power consumption P in association with each other. When the machining condition recording unit 42 records a new current power consumption P, the recorded current power consumption P becomes the previous power consumption T.
[0140] The machine learning device 60 reads 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 on 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 blades, the feed rate per blade, the rotational speed of the tool 20, information on the mechanical structure of the machine tool device 50, information on tool friction, and tool usage 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 additional processing conditions, it includes the additional processing conditions in the current processing conditions W. In this case, the processing conditions for each processing session 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, current power consumption P, and previous power consumption T received by the machine learning device 60 constitute a training data set. The machine learning device 60 learns the relationship between power consumption and machining conditions according to the training data set, and outputs next machining conditions V. In the fourth embodiment, the next machining conditions V are machining condition information to be used for the next machining.
[0144] The machine learning device 60 calculates and outputs next machining conditions V that result in less 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 performs 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 performed 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 amount of power consumed 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 machining conditions, the additional machining conditions are included in the current machining conditions W. That is, the additional machining 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 machining 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 machining 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 machining conditions, the next machining conditions V will not include the condition items included in the additional machining 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 machining conditions in accordance with a training data set created based on the 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] Reinforcement learning is a method in which an agent, which is the subject of action in a certain environment, observes the current state indicated by state variables and determines the action to be taken based on the observation results. The agent receives rewards from the environment by selecting actions and learns a strategy that maximizes rewards through a series of actions. Representative reinforcement learning methods include Q-learning and TD-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 equation (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]
[0151] In formula (1), "s t+1 " represents the environment at time "t". t " represents an action at time "t". t "The environment is "s t+1 " changes to "r t+1 " represents the reward that can be obtained depending on 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 updating unit 62 and a reward calculation unit 63. The reward calculation unit 63 calculates a reward based on the state variables. The function updating unit 62 updates a function for determining a machining condition (next machining condition V) in accordance with 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, if 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 assigning a reward value of "1". Note that the reward value is not limited to "1".
[0155] Furthermore, if the current power consumption P becomes greater than the previous power consumption T as a result of changing the processing conditions from the previous processing conditions to the current processing conditions W, the reward calculation unit 63 reduces the reward "r". For example, the reward calculation unit 63 reduces the reward "r" by assigning a reward value of "-1". Note that the reward value is not limited to "-1".
[0156] Furthermore, if the current power consumption P and the previous power consumption T become the same as a result of changing the processing conditions from the previous processing conditions to the current processing conditions W, the reward calculation unit 63 does not change the reward "r". For example, the reward calculation unit 63 does not change the reward "r" by assigning 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 the action value table according to the training data set. The action value table is a data set that associates any action with its action value and stores it in the form of a table. For example, in the case of Q-learning, the action value function Q(s) expressed by the above formula is t , a t ) is used as a function for determining the next processing condition V.
[0159] So far, we have described a case where reinforcement learning is applied to the learning algorithm used by the learning unit 61, but learning other than reinforcement learning may also be applied to the learning algorithm. The learning unit 61 may perform machine learning using a known learning algorithm other than reinforcement learning, such as deep learning, a neural network, genetic programming, inductive logic programming, or a 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 conditions 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 conditions 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 that functions 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 that functions as the learning unit 61 may also be a device that exists on a cloud server.
[0162] When the machine learning device 60 is applied to the numerically controlled 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. Furthermore, the machine learning device 60 calculates and outputs the machining condition change amount R to be 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 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 to be applied to the next machining. Furthermore, when the machine learning device 60 is applied to the numerically controlled 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. Examples of the processor 100 include a CPU (also referred to as a central processing unit, processing unit, arithmetic unit, microprocessor, microcomputer, or DSP (Digital Signal Processor)) or a system LSI (Large Scale Integration). Examples of the memory 200 include a RAM (Random Access Memory) and 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, which is 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 memory device and generated on the main memory 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, learning program, processing conditions, power consumption, and action value function Q(s, a) are read by the processor 100 from the memory 200. 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 conditions V by the power consumption adjustment device 30D.
[0171] The calculation program and learning program may be provided as a computer program product in the form of an installable or executable file stored on a computer-readable storage medium. The calculation program and learning program may also be provided to the power consumption adjustment device 30D via a network such as the Internet. Some of the functions of the power consumption adjustment device 30D may be realized by dedicated hardware such as a dedicated circuit, and some by software or firmware.
[0172] Thus, according to the fourth embodiment, the power consumption adjustment device 30D can determine optimal processing conditions even in situations where various factors affect power consumption by learning the correspondence between power consumption and processing conditions.
[0173] The configurations shown in the above embodiments are merely examples, and may be combined with other known technologies, or different embodiments may be combined with each other. It is also possible to omit or modify parts of the configurations as long as they do not deviate from the gist of the invention.
[0174] 1A to 1C numerically controlled 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 Numerical control 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 in accordance with a machining program, comprising 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 will 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 the machining condition when the machining program was currently executed and that will affect the current power consumption, so that a next power consumption that is the power consumption when the machining program is next executed will be smaller than the current power consumption.
2. The power consumption adjustment device according to claim 1, characterized in that the processing condition information is an amount of change from the current processing condition to the next processing condition.
3. The power consumption adjustment device according to claim 2, characterized in that the processing condition information generation unit compares the previous power consumption with the current power consumption and determines the amount of change to the next processing conditions based on the comparison result.
4. The power consumption adjustment device according to claim 3, characterized in that the change amount is a change amount of a specific override amount, and 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.
5. The power consumption adjustment device according to claim 1, characterized in that the machining condition information is the next machining condition, which is the machining condition when the machining program is executed next time.
6. The power consumption adjustment device according to any one of claims 1 to 5, characterized in that the machining condition information includes at least one of the following information for each axis driven by the numerically controlled machine tool: motor override amount during machining, acceleration time constant, feed rate, spindle speed, and pulse width modulation carrier frequency.
7. A power consumption adjustment device as described in any one of claims 1 to 6, characterized in that the previous power consumption and the current power consumption are at least one of the sum of the power consumption of motors driven by the numerically controlled machine tool from the start to the end of execution of the machining program, the sum of the power consumption of inverter devices that perform servo control of the motors, the sum of the power consumption of converter devices that supply power to the inverter devices, the sum of the power consumption of peripheral devices of the numerically controlled machine tool, and the power consumption of a main power supply unit that inputs power to the numerically controlled machine tool.
8. The power consumption adjustment device according to any one of claims 2 to 4, characterized in that the change amount is a change amount preset for each type of processing condition, a change amount calculated by multiplying the current processing condition by a specific coefficient preset for each type of processing condition, or a change amount calculated by multiplying the current processing condition by the ratio of the increase / decrease from the previous power consumption to the current power consumption.
9. A power consumption adjustment device as described in any one of claims 2 to 4, characterized in that the change amount is a change amount calculated according to the increase or decrease from the sum of motor energy losses calculated from the previous power consumption to the sum of motor energy losses calculated from the current power consumption, or the increase or decrease from the sum of drive unit energy losses calculated from the previous power consumption to the sum of drive unit energy losses calculated from the current power consumption.
10. The power consumption adjustment device according to claim 9, characterized in that the change amount is a change amount calculated by multiplying the ratio of the increase or decrease in the sum of energy losses of the motor by the current processing conditions, or a change amount calculated by multiplying the ratio of the increase or decrease in the sum of energy losses of the drive unit by the current processing conditions.
11. The power consumption adjustment device described in any one of claims 1 to 10, characterized in that the processing condition information generation unit is a machine learning device that learns the processing condition information, and the machine learning device has: a state observation unit that observes the previous power consumption, the current power consumption, and the current processing conditions as state variables; and a learning unit that learns the processing condition information according to a data set created based on the state variables.
12. The power consumption adjustment device described in any one of claims 1 to 11, characterized in that the processing condition information generation unit does not change the processing condition information when a power fluctuation amount, which is the 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 the difference between the energy loss calculated from the previous power consumption amount and the energy loss calculated from the current power consumption amount, is equal to or less than a second threshold value.
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 in accordance with a machining program, comprising: a power consumption calculation unit that calculates the amount of power consumption of the numerically controlled machine tool; 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 will affect the next power consumption, based on a previous power consumption that is the amount of power consumption when the machining program was executed last time, a current power consumption that is the amount of power consumption when the machining program is executed this time, and a current machining condition that is the machining condition when the machining program is executed this time and that will affect the current power consumption, so that a next power consumption that is the amount of power consumption when the machining program is executed next time will be smaller than the current power consumption; and a machining program execution unit that repeatedly executes the machining program and uses the machining condition information determined by the machining condition information generation unit when executing the machining program.
14. A power consumption adjustment method for adjusting the power consumption of a numerically controlled machine tool which drives a motor and performs machining in accordance with a machining program, comprising a machining condition information generation step in which a power consumption adjustment device for adjusting the power consumption includes a machining condition information generation step for generating machining condition information for determining next machining conditions which are machining conditions for the next execution of the machining program and which affect the next power consumption, based on a previous power consumption which is the power consumption when the machining program was last executed, a current power consumption which is the power consumption when the machining program was currently executed, and a current machining condition which is the machining condition when the machining program was currently executed and which affects the current power consumption, so that a next power consumption which is the power consumption when the machining program is next executed is smaller than the current power consumption.
Citation Information
Patent Citations
Numerical control device
JP2011138463A
Numerical Control Device
JP6775720B1
