Consumption power adjusting device, numerical control device, and consumption power adjusting method

By generating processing condition information and adjusting the next processing conditions based on the previous and current power consumption and conditions, the problem of not being able to keep up with changes in power consumption caused by friction and heat in the existing technology is solved, and real-time optimization and minimization of power consumption is achieved.

CN120344929BActive Publication Date: 2025-12-16MITSUBISHI ELECTRIC CORP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202380084527.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-10
Publication Date
2025-12-16
Estimated Expiration
2043-05-10

AI Technical Summary

Technical Problem

Existing technologies cannot effectively track changes in processing conditions caused by friction and heat in repetitive processes, resulting in the inability to minimize power consumption.

Method used

By generating processing condition information, and based on the power consumption and processing conditions of the previous and current processing, the processing conditions for the next processing are adjusted to reduce power consumption. Real-time optimization is performed using a numerical control device and a power consumption adjustment device.

Benefits of technology

Even under changes in processing conditions caused by friction and heat, power consumption can be reduced through simple processing, keeping power consumption close to a minimum.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120344929B_ABST
    Figure CN120344929B_ABST
Patent Text Reader

Abstract

A consumed power adjusting device (30A) adjusts consumed power of a numerical control machine tool which drives a motor to perform machining along a machining program, and has a machining condition information generating section (31) which generates a machining condition change amount (R) based on a consumed power at a previous machining program execution, i.e., a previous consumed power (T), a consumed power at a current machining program execution, i.e., a current consumed power (P), and a machining condition at the current machining program execution and a current machining condition (W) which influences the current consumed power, and determines a machining condition at a next machining program execution and a next machining condition which influences a next consumed power in such a manner that the next consumed power is smaller than the current consumed power (P).
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to a consumption power adjusting device, a numerical control device, and a consumption power adjusting method, which reduce the consumption power of a machine tool performing machining along a machining program while constantly approaching an optimal value. BACKGROUND

[0002] In an industrial machine tool that repeats machining of the same part, such as a machine tool that performs machining along a machining program while driving a motor, it is required to reduce the consumption power at the time of machining of each part.

[0003] The control device described in Patent Literature 1 determines a target time constant having a relative relationship with at least one of an acceleration time and a deceleration time of a feed shaft driving motor, based on the sum of the consumption power of the feed shaft driving motor and the consumption power of a device that operates by a certain electric power, and controls the feed shaft driving motor based on the target time constant, thereby suppressing the consumption power of the entire machine tool.

[0004] Patent Literature 1: Japanese Patent Application Publication No. 2010-250697 SUMMARY

[0005] However, in the technology of Patent Literature 1 described above, even if a one-time target time constant is determined, various machining conditions including the target time constant for minimizing the consumption power change due to friction and heat generated by machining, and it is not possible to follow the changes.

[0006] The present application has been made in view of the above circumstances, and aims to obtain a consumption power adjusting device that can easily achieve reduction of the consumption power by simple processing even in a case where various machining conditions for minimizing the consumption power change due to friction and heat generated by machining.

[0007] To solve the above problems and achieve the object, the present application is a consumption power adjusting device that adjusts the consumption power of a numerical control machine tool that drives a motor and performs machining along a machining program, the consumption power adjusting device including a machining condition information generating section that generates machining condition information based on a previous consumption power at the time of execution of a previous machining program, a current consumption power at the time of execution of a current machining program, and a current machining condition at the time of execution of the current machining program that affects the current consumption power, the machining condition information being used to determine a next machining condition at the time of execution of a next machining program that affects a next consumption power at the time of execution of the next machining program in such a manner that the next consumption power is smaller than the current consumption power.

[0008] Effects of the Invention

[0009] The power consumption adjustment device according to the present application has the effect that even when various machining conditions for setting the power consumption to a minimum change due to friction or heat generated by machining, reduction of the power consumption can be easily achieved by simple processing. BRIEF DESCRIPTION OF DRAWINGS

[0010] Figure 1 is a diagram showing the structure of a machine tool device of a numerical control machine tool to which the power consumption adjustment device according to Embodiment 1 is applied.

[0011] Figure 2 is a block diagram showing the structure of a numerical control machining system having the power consumption adjustment device according to Embodiment 1.

[0012] Figure 3 is a block diagram showing the structure of the power consumption adjustment device according to Embodiment 1.

[0013] Figure 4 is a flowchart showing the processing procedure of the processing of adjusting the magnification amount by the numerical control machining system according to Embodiment 1.

[0014] Figure 5 is a diagram for explaining the processing of adjusting the magnification amount by the numerical control machining system according to Embodiment 1.

[0015] Figure 6 is a block diagram showing the structure of a numerical control machine tool according to Embodiment 2.

[0016] Figure 7 is a block diagram showing the structure of a numerical control device according to Embodiment 2.

[0017] Figure 8 is a block diagram showing the structure of a numerical control machining system having the power consumption adjustment device according to Embodiment 3.

[0018] Figure 9 is a block diagram showing the structure of the power consumption adjustment device according to Embodiment 3.

[0019] Figure 10 is a block diagram showing the structure of the power consumption adjustment device according to Embodiment 4.

[0020] Figure 11 is a block diagram showing the structure of a machine learning device possessed by the power consumption adjustment device according to Embodiment 4.

[0021] Figure 12is a view showing a hardware configuration example of the power consumption adjustment device according to Embodiment 4. DETAILED DESCRIPTION

[0022] Hereinafter, the power consumption adjustment device, the numerical control device, and the power consumption adjustment method according to the embodiments of the present application will be described in detail based on the drawings.

[0023] Embodiment 1

[0024] Figure 1 is a view showing a structure of a machine tool device of a machine tool according to Embodiment 1 to which the power consumption adjustment device is applied. Further, in the following description, two axes in a plane parallel to an upper surface of a table 22 and orthogonal to each other are set as an X-axis and a Y-axis. In addition, an axis orthogonal to the X-axis and the Y-axis is set as a Z-axis.

[0025] The power consumption adjustment device (power consumption adjustment device 30A described later) according to Embodiment 1 is applied to a numerical control machine tool (numerical control machine tool 100A described later) having a machine tool device 50. In Figure 1 , a schematic configuration of the machine tool device 50 is schematically shown.

[0026] The machine tool device 50 is a machine device possessed by the numerical control machine tool 100A, and repeatedly performs cutting processing of the same workpiece (component). The machine tool device 50 is, for example, a 3-axis machining center.

[0027] The machine tool device 50 has an X-axis motor 14X, a Y-axis motor 14Y, a Z-axis motor 14Z, a spindle motor 14S, an X-axis section 35X, a Y-axis section 35Y, and a Z-axis section 35Z, and a spindle section 36S. The X-axis motor 14X, the Y-axis motor 14Y, and the Z-axis motor 14Z are servo motors.

[0028] The machine tool device 50 uses the tool 20 to perform cutting of the workpiece 21 to realize a desired shape. At this time, the machine tool device 50 uses the X-axis section 35X which is provided to extend in the X-axis direction and moves in the X-axis direction, and the Y-axis section 35Y which is provided to extend in the Y-axis direction and moves in the Y-axis direction, to drive the workpiece 21 provided to the table 22 in the X-axis direction and the Y-axis direction. In addition, the machine tool device 50 uses the Z-axis section 35Z which is provided to extend in the Z-axis direction and moves in the Z-axis direction, to drive the tool 20 in the Z-axis direction. Thus, the machine tool device 50 generates a three-dimensional motion.

[0029] The machine tool device 50 rotates the tool 20 by the spindle portion 36S whose axial direction is the Z-axis direction, thereby generating relative movement of the tool 20 with respect to the workpiece 21, and removes material from the surface of the workpiece 21. At this time, the machine tool device 50 drives the respective shafts of the X-axis portion 35X, the Y-axis portion 35Y, and the Z-axis portion 35Z by the X-axis motor 14X, the Y-axis motor 14Y, and the Z-axis motor 14Z, and drives the spindle portion 36S by the spindle motor 14S.

[0030] Further, in the following description, the X-axis motor 14X, the Y-axis motor 14Y, the Z-axis motor 14Z, and the spindle motor 14S are sometimes referred to as motors without distinguishing them.

[0031] The X-axis portion 35X, the Y-axis portion 35Y, and the Z-axis portion 35Z each have a feed shaft. The feed shaft is a device that converts the rotational movement of the X-axis motor 14X, the Y-axis motor 14Y, and the Z-axis motor 14Z into the linear movement of the shaft by a mechanical device called a ball screw.

[0032] Figure 2 is a block diagram showing the configuration of a numerical control working system having the power consumption adjusting device according to Embodiment 1. The numerical control working system 1A has the power consumption adjusting device 30A and a numerical control machine tool 100A.

[0033] In the numerical control working system 1A, the numerical control machine tool 100A is connected to the power consumption adjusting device 30A. In addition, the numerical control machine tool 100A is connected to a main power source (main power source portion) 51 that is an alternating current power source.

[0034] The numerical control machine tool 100A has a consumed power detecting portion 19, a main breaker 18, peripheral devices 17A, 17B, a converter device 16, a direct current power source 52, and a numerical control device 40A. In addition, the numerical control machine tool 100A has an X-axis inverter device 15X, a Y-axis inverter device 15Y, a Z-axis inverter device 15Z, a spindle inverter device 15S, and a machine tool device 50.

[0035] Further, in the following description, the X-axis inverter device 15X, the Y-axis inverter device 15Y, the Z-axis inverter device 15Z, and the spindle inverter device 15S are sometimes referred to as inverter devices without distinguishing them.

[0036] Further, in Figure 2In the figure, only the X-axis motor 14X, the Y-axis motor 14Y, the Z-axis motor 14Z, and the spindle motor 14S, which are structural elements possessed by the machine tool device 50, are illustrated, and the illustration of other structural elements other than the X-axis motor 14X, the Y-axis motor 14Y, the Z-axis motor 14Z, and the spindle motor 14S is omitted.

[0037] The power consumption detection unit 19 is arranged on a connection line connecting the main power supply 51 and the main breaker 18, and detects the power consumption of the NC machine tool 100A. That is, the power consumption detection unit 19 detects the power consumption of the main power supply 51 that supplies power to the NC machine tool 100A. The power consumption detection unit 19 transmits the detected power consumption (this time power consumption P, etc.) to the power consumption adjustment device 30A.

[0038] 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, and the DC power supply 52 is connected to the NC device 40A. The NC device 40A is connected to the power consumption adjustment device 30A.

[0039] The converter device 16 is connected to 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 inverter devices are connected to the respective motors, and drive the motors. That is, the X-axis inverter device 15X is connected to the X-axis motor 14X, and drives the X-axis motor 14X. The Y-axis inverter device 15Y is connected to the Y-axis motor 14Y, and drives the Y-axis motor 14Y. The Z-axis inverter device 15Z is connected to the Z-axis motor 14Z, and drives the Z-axis motor 14Z. The spindle inverter device 15S is connected to the spindle motor 14S, and drives the spindle motor 14S.

[0040] The alternating current power from the main power supply 51 is input from the main breaker 18, and is supplied to the converter device 16, the peripheral device 17A, the peripheral device 17B, and the DC power supply 52.

[0041] The DC power supply 52 generates a DC power supply required for driving the NC device 40A from the alternating current power. The converter device 16 generates a DC power supply supplied to the inverter devices from the alternating current power.

[0042] In the NC machine tool 100A, the NC device 40A performs machining by repeatedly executing a machining program. The machining program is described in a language such as an EIA (Electronic Industries Alliance) code, and for example, the command position of each feed axis, the command speed at that time, the rotation speed of the spindle, and the like are sequentially described.

[0043] The CNC unit 40A analyzes the machining program and generates position command values ​​for the motor connected to the working machine 50. The CNC unit 40A then sends the generated position command values ​​to the inverter unit. Furthermore, in... Figure 2 The diagram of the connection lines between the CNC device 40A and the inverter device is omitted.

[0044] The inverter device generates an alternating current flowing in the motor from the DC power supply generated by the converter device 16. The inverter device controls the alternating current flowing in the motor so that the motor follows a position command. Among the control methods for the alternating current obtained through the inverter device, PWM (Pulse Width Modulation) control is one example, but any control method can be used. The motor generates torque corresponding to the alternating current supplied through the inverter device, thereby driving the working mechanical device 50 connected to the motor.

[0045] Peripheral devices 17A and 17B use AC power from main power supply 51 to power the devices. Figure 2 The driven equipment is not shown in the diagram. Examples of driven equipment driven by peripheral devices 17A and 17B include cooling devices that circulate coolant in the machine tool 50, pumps that circulate coolant, etc. One example of driven equipment driven by peripheral devices 17A and 17B is a fan used to cool the switchboard, sensors attached to the machine tool 50, and all other equipment that consumes electricity except for the electric motor that generates the motion of the axis required for machining.

[0046] The CNC device 40A in Embodiment 1 controls machining by considering machining conditions that affect power consumption. Examples of machining conditions used by the CNC device 40A include, for instance, the magnification of specific machining parameters, acceleration time constant, feed rate, spindle speed, and PWM (pulse width modulation) carrier frequency. The CNC device 40A in Embodiment 1 controls machining by considering the machining conditions used in the current machining operation (hereinafter referred to as the current machining condition W) and outputs the current machining condition W to the power consumption adjustment device 30A. The current machining condition W is the machining condition that affects the power consumption in the current machining operation, i.e., the current power consumption P. Furthermore, the next machining condition, described later, is the next machining condition that affects the power consumption in the next machining operation, i.e., the next power consumption.

[0047] Further, if the processing is completed, the numerical control device 40A receives a processing condition change amount R from the consumed power adjustment device 30A. The processing condition change amount R is an amount of change of the processing condition used for the next processing (next processing condition) with respect to the present processing condition W. In Embodiment 1, information of the processing condition used for the next processing (processing condition information) is the processing condition change amount R.

[0048] The numerical control device 40A changes the present processing condition W based on the processing condition change amount R. The numerical control device 40A sets the present processing condition W changed based on the processing condition change amount R as the next processing condition used for the next processing.

[0049] The consumed power adjustment device 30A calculates the processing condition change amount R based on the present consumed power P detected when the numerical control machine tool 100A processes by the present processing condition W, and outputs the processing condition change amount R to the numerical control device 40A.

[0050] Figure 3 is a block diagram showing the structure of the consumed power adjustment device according to Embodiment 1. The consumed power adjustment device 30A acquires the present consumed power P consumed for the present processing and the present processing condition W from the numerical control machine tool 100A every time the processing of one workpiece (workpiece 21) is performed. The consumed power adjustment device 30A acquires the power supplied to the main circuit breaker 18 from the consumed power detection section 19 as the present consumed power P.

[0051] The consumed power detection section 19 calculates the present consumed power P by, for example, a clamp-on ammeter measuring the voltage applied to the main circuit breaker 18 and the current flowing in the main circuit breaker 18. However, the clamp-on ammeter is one example, and the consumed power detection section 19 can use any measuring unit as long as it can measure the consumed power.

[0052] The consumed power adjustment device 30A has a processing condition information generation section 31 and a processing condition recording section 32. The processing condition information generation section 31 receives the present consumed power P from the consumed power detection section 19 and receives the present processing condition W from the numerical control device 40A. Further, the processing condition recording section 32 receives the present consumed power P from the consumed power detection section 19 and receives the present processing condition W from the numerical control device 40A.

[0053] The present consumed power P is recorded as the present consumed power until the processing condition change amount R used for setting the next processing condition (next processing condition) is determined, but is recorded as the previous consumed power (hereinafter referred to as previous consumed power T) after the processing condition change amount R is determined.

[0054] In addition, the present processing condition W is recorded as the present processing condition until the processing condition change amount R for setting the next processing condition is determined, but after the processing condition change amount R is determined, the present processing condition is recorded as the previous processing condition.

[0055] The previous consumption power T at the time of execution of the previous processing program is associated with the previous processing condition at the time of execution of the previous processing program, and is recorded in the processing condition recording section 32. In addition, the present consumption power P at the time of execution of the present processing program is associated with the present processing condition W at the time of execution of the present processing program, and is recorded in the processing condition recording section 32. The processing condition recording section 32 records the associated consumption power and processing condition of each time. The consumption power and processing condition of each time recorded in the processing condition recording section 32 can be used when machine learning is performed on the correspondence relationship between the consumption power and the processing condition.

[0056] The processing condition information generating section 31 generates the processing condition change amount R corresponding to the next processing condition used in the next processing, as processing condition information, based on the previous consumption power T recorded in the processing condition recording section 32, the present consumption power P acquired this time, and the present processing condition W acquired this time. The processing condition change amount R is the difference between the present processing condition W and the next processing condition. The processing condition information generating section 31 calculates the processing condition change amount R with respect to the present processing condition W, and transmits it to the numerical control device 40A.

[0057] At least one of the present processing condition W and the next processing condition includes, for example, a rate amount of a specific element at the time of processing, an acceleration time constant, a feed speed, a spindle speed, a PWM (pulse width modulation) carrier frequency. That is, at least one of the acceleration time constant, the feed speed, the spindle speed, the PWM (pulse width modulation) carrier frequency, and the like is included in the processing condition change amount R. Here, an example in which the present processing condition W and the next processing condition are the rate amount at the time of processing, and the rate amount is adjusted, will be described.

[0058] The rate amount is a parameter instructed by the numerical control device 40A. The numerical control device 40A changes the instructed speed to the feed shaft described in the processing program by the rate described in the rate amount. For example, if the instructed feed speed to the feed shaft described in the processing program is 1000 mm / min and the rate amount is set to 120%, the instruction is changed so that the feed shaft is driven at a speed of 1200 mm / min.

[0059] If the magnification amount is made larger, the command speed becomes faster, and the time required for processing becomes shorter, so the power consumption of the device that operates by a certain power consumption decreases. On the other hand, if the magnification amount is made larger, the motor needs to accelerate and decelerate faster in a short time, so the current flowing in the motor increases, and the power consumption of the motor increases. Therefore, depending on the set magnification amount, whether the power consumption of the numerical control machine tool 100A as a whole increases or decreases changes. In addition, depending on the type and characteristics of the peripheral devices 17A, 17B attached to the numerical control machine tool 100A, the optimum value of the magnification amount also differs. In Embodiment 1, the optimum value of the magnification amount is the value at which the power consumption becomes the optimum value (minimum value).

[0060] The power consumption adjustment device 30A of Embodiment 1 performs the adjustment processing of the power consumption. The adjustment processing of the power consumption in Embodiment 1 is processing of reducing the power consumption while constantly bringing the power consumption close to the optimum value. The power consumption adjustment device 30A calculates the processing condition change amount R in such a manner that the power consumption at the time of execution of the next processing program becomes smaller than the current power consumption P. Specifically, the processing condition information generation section 31 calculates the processing condition change amount R for increasing the magnification amount of the specific element in a case where the current power consumption P is larger than the previous power consumption T. The processing condition information generation section 31 calculates the processing condition change amount R for decreasing the magnification amount of the specific element in a case where the current power consumption P is smaller than or equal to the previous power consumption T.

[0061] As described above, the power consumption adjustment device 30A performs the update of the processing condition (processing condition change amount R) for every 1 command (1 time of processing). Therefore, in a case where a plurality of times of processing is performed, the processing condition for setting the power consumption to the minimum value changes due to friction and heat generated in the processing. In the case described above, since the power consumption adjustment device 30A updates the processing condition for every 1 time of processing, it is also possible to follow the change of the processing condition for setting the power consumption to the minimum value. Furthermore, the power consumption adjustment device 30A is not limited to the update of the processing condition for every 1 command, and can update the processing condition every several commands (several times of processing). For example, the power consumption adjustment device 30A can update the processing condition every n (n is a natural number of 2 or more) times of processing.

[0062] Furthermore, the processing condition information generation section 31 can calculate the processing condition change amount R that does not change the magnification amount in a case where the current power consumption P and the previous power consumption T are the same. The power consumption adjustment device 30A transmits the calculated processing condition change amount R to the numerical control device 40A.

[0063] Figure 4is a flowchart showing a processing procedure of the processing in which the numerical control working system according to Embodiment 1 adjusts the magnification amount. The numerical control device 40A of the numerical control machine tool 100A sets the magnification amount based on the machining program (step S10).

[0064] The numerical control device 40A executes the program operation using the machining program and the magnification amount (step S20). As an initial value of the magnification amount, 100% is set to the numerical control device 40A, for example.

[0065] The numerical control device 40A generates an instruction value to the feed axis or the like using the magnification amount, and executes the machining control. The numerical control device 40A transmits the this-time machining condition W used for the machining control to the consumed electric power adjusting device 30A. The this-time machining condition W is transmitted to the machining condition information generating section 31 and the machining condition recording section 32. The machining condition recording section 32 records the this-time machining condition W transmitted from the numerical control device 40A.

[0066] The consumed electric power detecting section 19 of the numerical control machine tool 100A calculates the this-time consumed electric power P when machining is performed by the this-time machining condition W (step S30). That is, the consumed electric power detecting section 19 calculates the this-time consumed electric power P corresponding to the magnification amount. The consumed electric power detecting section 19 transmits the calculated this-time consumed electric power P to the consumed electric power adjusting device 30A. The this-time consumed electric power P is transmitted to the machining condition information generating section 31 and the machining condition recording section 32. Further, either the this-time machining condition W or the this-time consumed electric power P can be transmitted to the numerical control device 40A first.

[0067] The machining condition recording section 32 records the this-time consumed electric power P transmitted from the consumed electric power detecting section 19. The this-time consumed electric power P recorded by the machining condition recording section 32 is read out to the machining condition information generating section 31 as the consumed electric power of the previous machining, that is, the previous consumed electric power T at the next machining.

[0068] In the numerical control machine tool 100A, the detection of the voltage value and the current value is performed by the drive unit, the converter unit, or the like. Therefore, the machining condition information generating section 31 can calculate the consumed electric power relating to each state of the motor unit, the drive unit, the converter unit, the peripheral device 17A, 17B, and the entire numerical control machine tool 100A based on the this-time consumed electric power P transmitted from the consumed electric power detecting section 19. Further, in the numerical control machine tool 100A, if the consumed electric power of each section can be measured, an arbitrary measuring unit can be used.

[0069] The processing condition information generating section 31 compares the current consumption power P transmitted from the consumption power detecting section 19 and the previous consumption power T read out from the processing condition recording section 32. That is, the processing condition information generating section 31 compares the previous consumption power T at the time of the previous processing program operation and the current consumption power P at the time of the current processing program operation.

[0070] The processing condition information generating section 31 determines whether the current consumption power P is greater than the previous consumption power T. In the case where the current consumption power P is greater than the previous consumption power T (step S40, Yes), the processing condition information generating section 31 generates the processing condition change amount R of the increase rate amount (step S50). Also, the processing condition information generating section 31 transmits the processing condition change amount R to the numerical control device 40A.

[0071] On the other hand, in the case where the current consumption power P is less than or equal to the previous consumption power T (step S40, No), the processing condition information generating section 31 generates the processing condition change amount R of the decrease rate amount (step S60). Also, the processing condition information generating section 31 transmits the processing condition change amount R to the numerical control device 40A.

[0072] Further, the processing condition information generating section 31 can determine the processing condition change amount R of which the rate amount is not changed in the case where the current consumption power P and the previous consumption power T are the same. In this case, the processing condition information generating section 31 can not transmit the processing condition change amount R to the numerical control device 40A.

[0073] The numerical control device 40A changes the current rate amount by the processing condition change amount R received from the processing condition information generating section 31, and determines a new rate amount (step S70). The numerical control device 40A performs the next processing using the new rate amount.

[0074] In the first processing, the previous consumption power T which becomes a comparison target is not recorded in the processing condition recording section 32. Therefore, the processing condition information generating section 31 generates the processing condition change amount R by determining the change amount (for example, -5%) which is set in advance for each kind of processing condition. Thus, the numerical control device 40A changes the rate amount of the initial value (100%) by the change amount (for example, -5%) which is a parameter fixed value set in advance for each kind of processing condition, and sets a new rate amount (95%).

[0075] Further, the processing condition information generating section 31 can determine the processing condition change amount R as "0" at the time of the first processing. In this case, the processing is performed by the rate amount of the initial value (100%).

[0076] The processing condition information generating section 31 records, in the first processing, the initial value of the magnification amount or the initial value of the magnification amount changed by the parameter fixed value set in advance as the processing condition W in the processing condition recording section 32. In addition, the processing condition information generating section 31 records the current consumption power P in the case where the processing is performed by applying the magnification amount in the first processing in association with the current processing condition W in the processing condition recording section 32. That is, the processing condition information generating section 31 records, in the first processing, the magnification amount set by the step S10 and the current consumption power P calculated by the step S30 in the processing condition recording section 32.

[0077] In addition, the numerical control device 40A sets, in the second and subsequent processing, the new magnification amount set by the previous step S70 as the current magnification amount. Further, the processing condition information generating section 31 records the current magnification amount (the new magnification amount determined by the previous step S70) and the current consumption power P calculated by the step S30 in the processing condition recording section 32.

[0078] As described above, the processing condition information generating section 31 records the determined new magnification amount and the consumption power in the case where the processing is performed by the magnification amount in the processing condition recording section 32.

[0079] If the numerical control working system 1A sets the new magnification amount in the step S70, the processing returns to the step S20, and the processing of the steps S20 to S70 is repeated. That is, the numerical control working system 1A repeats the change of the magnification amount based on the consumption power measured at the time of the processing program operation, and determines the magnification amount at which the consumption power becomes the minimum. As described above, the numerical control working system 1A repeats the change of the magnification amount based on the consumption power measured at the time of the processing program operation, and thus can make the processing condition such as the magnification amount approach the optimum value while reducing the consumption power. That is, the numerical control working system 1A can follow the minimum point of the consumption power by repeating the change of the magnification amount.

[0080] In addition, the processing condition information generating section 31 determines the processing condition change amount R by changing the initial value of the magnification amount by the parameter fixed value set in advance for each kind of processing condition in the first processing, but the processing condition information generating section 31 can determine the processing condition change amount R by an arbitrary method in the second and subsequent processing.

[0081] The processing condition information generating section 31 can also change the multiplication amount of the initial value by the parameter fixed value set in advance for each kind of processing condition in the second and subsequent processing, as in the first processing, and thereby determine the processing condition change amount R. That is, the processing condition information generating section 31 can change the processing condition change amount R successively by a certain value set in advance for each kind of processing condition.

[0082] In addition, the processing condition information generating section 31 can determine, as the processing condition change amount R, a value obtained by multiplying the specific ratio (coefficient) set in advance for each kind of processing condition by the present processing condition W, with respect to the multiplication amount of the previous time.

[0083] In addition, the processing condition information generating section 31 can determine the processing condition change amount R on the basis of the ratio of the change amount (hereinafter sometimes referred to as the power change amount) from the previous consumed power amount T to the present consumed power amount. In this case, the processing condition information generating section 31 determines the processing condition change amount R, for example, by multiplying the ratio of the previous consumed power amount T to the power change amount by the present processing condition W.

[0084] In addition, the processing condition information generating section 31 can determine the processing condition change amount R on the basis of the ratio of the present consumed power amount P to the power change amount. In this case, the processing condition information generating section 31 determines the processing condition change amount R, for example, by multiplying the ratio of the present consumed power amount P to the power change amount by the present processing condition W.

[0085] In addition, the processing condition information generating section 31 can determine the processing condition change amount R on the basis of the ratio of the previous consumed power amount T to the present consumed power amount P. In this case, the processing condition information generating section 31 determines the processing condition change amount R, for example, by multiplying the ratio of the previous consumed power amount T to the present consumed power amount P by the present processing condition W.

[0086] In addition, the processing condition information generating section 31 can determine the processing condition change amount R in correspondence with the increase rate of the sum of the energy losses of the motor from the sum of the energy losses of the motor calculated on the basis of the previous consumed power amount T to the sum of the energy losses of the motor calculated on the basis of the present consumed power amount P.

[0087] For example, the processing condition information generating section 31 determines the processing condition change amount R by multiplying the increase rate (ratio of the increase / decrease amount) of the sum of the energy losses of the motor from the sum of the energy losses of the motor calculated on the basis of the previous consumed power amount T to the sum of the energy losses of the motor calculated on the basis of the present consumed power amount P by the present processing condition W.

[0088] In addition, the processing condition information generation unit 31 may also determine the processing condition change amount R in accordance with the increase rate of the sum of energy losses of the drive unit calculated based on the previous power consumption T to the sum of energy losses of the drive unit calculated based on the current power consumption P.

[0089] For example, the processing condition information generation unit 31 determines the processing condition change amount R by multiplying the increase rate of the sum of energy losses of the drive unit calculated based on the previous power consumption T to the sum of energy losses of the drive unit calculated based on the current power consumption P by the current processing condition W.

[0090] Furthermore, the processing condition information generation unit 31 can also refrain from changing processing conditions such as the multiplier if the difference between the previous power consumption T and the current power consumption P (i.e., the power variation) is less than or equal to a first threshold. Additionally, the processing condition information generation unit 31 can also refrain from changing processing conditions such as the multiplier if the difference between the energy loss of the motor or drive unit calculated based on the previous power consumption T and the energy loss of the motor or drive unit calculated based on the current power consumption P (i.e., the energy loss variation) is less than or equal to a second threshold. Therefore, the CNC work system 1A can avoid the phenomenon of oscillating processing conditions near their optimal values, and can readjust the conditions if the optimal conditions change after repeated processing over a long period.

[0091] Figure 5 This diagram illustrates the process by which the CNC working system involved in Implementation 1 adjusts the magnification amount. Figure 5 The horizontal axis of the curve shown represents the multiplier, and the vertical axis represents the power consumption. Figure 5 In the diagram, the power consumption during the m-th (m is a natural number) processing step is represented as power consumption U. m Similarly, the power consumption during the processing from (m+1)th to (m+4th)th times is plotted as power consumption U. m+1 ~U m+4 Additionally, the optimal or minimum power consumption value is plotted as the minimum power consumption value V1.

[0092] The power consumption adjustment device 30A of the CNC working system 1A determines whether the current power consumption P is less than or equal to the previous power consumption T. That is, the power consumption adjustment device 30A determines the power consumption U during the (m+1)th machining operation. m+1 Is it less than or equal to the power consumption U in the m-th processing step? m The power consumption adjustment device 30A consumes power U in the (m+1)th processing cycle. m+1 The power consumption U in the m-th processing step is less than or equal to m In this case, reduce the multiplier.

[0093] Likewise, the power consumption adjusting device 30A reduces the multiplication factor amount in the case where the power consumption U in the (m+2)th machining is less than or equal to the power consumption U in the (m+1)th machining. m+2 Likewise, the power consumption adjusting device 30A reduces the multiplication factor amount in the case where the power consumption U in the (m+2)th machining is less than or equal to the power consumption U in the (m+1)th machining. m+1 Likewise, the power consumption adjusting device 30A reduces the multiplication factor amount in the case where the power consumption U in the (m+2)th machining is less than or equal to the power consumption U in the (m+1)th machining. m+3 Likewise, the power consumption adjusting device 30A reduces the multiplication factor amount in the case where the power consumption U in the (m+2)th machining is less than or equal to the power consumption U in the (m+1)th machining. m+2 Likewise, the power consumption adjusting device 30A reduces the multiplication factor amount in the case where the power consumption U in the (m+2)th machining is less than or equal to the power consumption U in the (m+1)th machining.

[0094] On the other hand, the power consumption adjusting device 30A increases the multiplication factor amount in the case where the power consumption U in the (m+4)th machining is greater than the power consumption U in the (m+3)th machining. m+4 On the other hand, the power consumption adjusting device 30A increases the multiplication factor amount in the case where the power consumption U in the (m+4)th machining is greater than the power consumption U in the (m+3)th machining. m+3 On the other hand, the power consumption adjusting device 30A increases the multiplication factor amount in the case where the power consumption U in the (m+4)th machining is greater than the power consumption U in the (m+3)th machining.

[0095] As described above, the power consumption adjusting device 30A adjusts the multiplication factor amount in a manner that the power consumption decreases. The power consumption adjusting device 30A repeatedly adjusts the multiplication factor amount, thereby causing the power consumption to continuously approach the power minimum value VI which is the optimal value. Thus, the power consumption adjusting device 30A adjusts the power consumption.

[0096] Further, the machining condition information generating section 31 can also adjust only one machining condition set as an adjustment target, or can simultaneously adjust a plurality of machining conditions, in accordance with the workpiece 21 or the machine tool device 50.

[0097] In addition, the machining condition information generating section 31 can also sequentially adjust the machining conditions one by one in a manner that, after the adjustment of a particular one machining condition is completed, the adjustment of the next one machining condition is performed. For example, the machining condition information generating section 31 can, in the case where N (N is a natural number greater than or equal to 2) kinds of machining conditions are optimized, if the adjustment is performed sequentially from the first kind of machining condition to the Nth kind of machining condition, then the adjustment of the machining conditions is performed again from the first kind to the Nth kind. That is, the machining condition information generating section 31 can repeatedly perform the process of adjusting the machining conditions from the first kind to the Nth kind.

[0098] As described above, the numerical control working system 1A of the embodiment 1 calculates the consumption power for the magnification amount set based on the machining program. Also, the numerical control working system 1A changes the magnification amount at a certain ratio, and calculates the consumption power at the time of the machining program operation using the changed magnification amount. The numerical control working system 1A compares the present consumption power P calculated and the previous consumption power T for the magnification amount set based on the previous machining program. The numerical control working system 1A increases the magnification amount in the case where the present consumption power P is larger than the previous consumption power T, and decreases the magnification amount in the case where the present consumption power P is smaller than or equal to the previous consumption power T. Thus, the numerical control working system 1A can reduce the consumption power while constantly approaching the optimum value of the magnification amount.

[0099] The numerical control working system 1A does not need to identify the coefficient of the consumption power per unit time of the feed axis driving motor which is difficult to accurately identify and the coefficient of the consumption power per unit time of the peripheral device which operates by a certain power in order to adjust the consumption power. Also, the numerical control working system 1A does not need to calculate the cycle time in the case where the machining condition is changed which is difficult to accurately calculate, and does not need to calculate the consumption power based on the expected value of the machining time. That is, the numerical control working system 1A can determine the machining condition in which the consumption power can be reduced without calculating the coefficient of the consumption power per unit time which is difficult to calculate and the cycle time. Thus, the numerical control working system 1A can easily achieve the reduction of the consumption power by simple processing.

[0100] Also, the working machine device 50 has various motors such as the spindle motor 14S which rotates the spindle portion 36S, the servo motors (X-axis motor 14X, Y-axis motor 14Y, and Z-axis motor 14Z) which drive the work 21 and the spindle portion 36S, the motors (not shown) which drive the peripheral axes of the tool changer and the like, and the like as the motors participating in the machining.

[0101] Also, in the change of the magnification amount, the rotational speed of the servo motor is changed, but the speeds of the spindle motor 14S and the peripheral axis motor are not changed. Also, in the change of the magnification amount of the spindle portion 36S, the rotational speed of the spindle motor 14S is changed and the like, which is different from the motors corresponding to the change amount in the case where the machining condition is changed. That is, in the servo motor, the peripheral axis motor, and the spindle motor 14S, the parameters are separated respectively, and thus the change of the magnification amount does not affect all the motors.

[0102] For example, the consumed power adjusting device 30A, in a case where only the multiplication factor amount is the change object this time, can perform adjustment by only acquiring the consumed power P (W) of the servo motor belonging to the working machine device 50 this time. In this case, the consumed power adjusting device 30A acquires the angular velocity ω (rad / s) = 2π x N from the motor speed N (rev / s), acquires Tq (motor torque) = Jm (motor inertia) x dω / dt (derivative of angular velocity), and calculates the consumed power P (W) of the servo motor this time by the consumed power P (W) of the servo motor this time = Tq (motor torque) x ω (angular velocity).

[0103] In addition, the device that consumes energy is various equipment such as a motor, a driving unit, and the like. The consumed power adjusting device 30A, for example, in a case where it is desired to suppress the heat generation of the control panel, can perform adjustment using the sum of the consumed power of the driving units installed in the control panel. In addition, the consumed power adjusting device 30A, in a case where it is desired to suppress the heat generation amount of the motor, can perform adjustment of the heat generation of the motor if the sum of the consumed power of the motor is used. In addition, the consumed power adjusting device 30A can generally use the ineffective power or the apparent power instead of the consumed power.

[0104] As described above, the processing condition information generating section 31 determines the processing condition change amount R by multiplying the increase / decrease rate of the sum of the energy loss of the motor or the driving unit from the previous time to the present time by the processing condition W this time, for example.

[0105] The consumed power adjusting device 30A according to the embodiment 1 is installed as software of a computer connected to the numerical control working machine 100A through a network. In addition, the consumed power adjusting device 30A can be a computer such as a PC (Personal Computer) provided in the vicinity of the numerical control working machine 100A, can be a server connected to a network within a factory where the numerical control working machine 100A is provided, or can be installed in a cloud provided remotely. In addition, the consumed power adjusting device 30A can be software of a tablet PC or a smartphone connected to the numerical control working machine 100A via a wireless network.

[0106] As described above, according to the embodiment 1, the consumed power adjusting device 30A determines the processing condition of the next time in a manner such that the consumed power of the next time is less than or equal to the consumed power P of the present time, based on the consumed power T of the previous time, the consumed power P of the present time, and the processing condition W of the present time, and thus it is possible to easily achieve the reduction of the consumed power by a simple process.

[0107] Embodiment 2.

[0108] Next, using Figure 6 and Figure 7Embodiment 2 will be described. In Embodiment 2, the current value and the voltage value of each motor and the converter device 16 are transmitted to the numerical control device, and the numerical control device performs adjustment of the consumed power based on the current value and the voltage value of each motor and the converter device 16.

[0109] Figure 6 is a block diagram showing the configuration of the numerical control machine tool to which Embodiment 2 is applied. The description of Figure 6 the same function as the numerical control machine tool 100A of Embodiment 1 shown in Figure 2 is denoted by the same reference numeral, and the repeated description is omitted.

[0110] The numerical control machine tool 100B of Embodiment 2 has the numerical control device 40B instead of the numerical control device 40A as compared with the numerical control machine tool 100A. That is, the numerical control machine tool 100B has the same configuration as the numerical control machine tool 100A, but does not have the numerical control device 40A, but has the numerical control device 40B.

[0111] In addition, the numerical control machine tool 100B has the current voltage detection sections 24, 23X, 23Y, 23Z, 23S. The current voltage detection section 24 is disposed on the connection line connecting the main circuit breaker 18 and the converter device 16, and detects the current value and the voltage value input to the converter device 16. The current voltage detection section 24 transmits the detected current value and the voltage value to the numerical control device 40B.

[0112] The current voltage detection sections 23X, 23Y, 23Z, 23S are disposed on the connection line connecting the inverter device and the motor, and detect the current value and the voltage value input from the inverter device to the motor. Specifically, the current voltage detection section 23X is disposed on the connection line connecting the X-axis inverter device 15X and the X-axis motor 14X, and detects the current value and the voltage value input from the X-axis inverter device 15X to the X-axis motor 14X. The current voltage detection section 23Y is disposed on the connection line connecting the Y-axis inverter device 15Y and the Y-axis motor 14Y, and detects the current value and the voltage value input from the Y-axis inverter device 15Y to the Y-axis motor 14Y. The current voltage detection section 23Z is disposed on the connection line connecting the Z-axis inverter device 15Z and the Z-axis motor 14Z, and detects the current value and the voltage value input from the Z-axis inverter device 15Z to the Z-axis motor 14Z. The current voltage detection section 23S is disposed on the connection line connecting the spindle inverter device 15S and the spindle motor 14S, and detects the current value and the voltage value input from the spindle inverter device 15S to the spindle motor 14S. The current voltage detection sections 23X, 23Y, 23Z, 23S transmit the detected current value and the voltage value to the numerical control device 40B.

[0113] The numerical control device 40B has the functions of the numerical control device 40A and the function of the consumed power adjusting device 30A. The numerical control machine tool 100B is connected to the main power supply 51 but is not connected to the consumed power adjusting device 30A. That is, the numerical control system 1B of Embodiment 2 does not have the consumed power adjusting device 30A.

[0114] Figure 7 is a block diagram showing the structure of the numerical control device according to Embodiment 2. The numerical control device 40B has a machining condition information generating section 41, a machining condition recording section 42, a consumed power calculating section 43, a machining program executing section 44, and a machining program analyzing section 45.

[0115] The machining condition information generating section 41 has the same function as the machining condition information generating section 31. The machining condition recording section 42 has the same function as the machining condition recording section 32. The consumed power calculating section 43 is connected to the machining condition information generating section 41 and the machining condition recording section 42. The machining condition information generating section 41 is connected to the machining condition recording section 42 and the machining program executing section 44. The machining program executing section 44 is connected to the machining program analyzing section 45.

[0116] The machining program analyzing section 45 is connected to a machining program storage section 46 arranged outside the numerical control device 40B, and reads out a machining program from the machining program storage section 46. Alternatively, the machining program storage section 46 can be arranged inside the numerical control device 40B.

[0117] The consumed power calculating section 43 receives current values and voltage values from the current-voltage detecting sections 24, 23X, 23Y, 23Z, and 23S. The consumed power calculating section 43 calculates the consumed power P for this time based on the received current values and voltage values.

[0118] Specifically, the consumed power calculating section 43 calculates the consumed power in the converter device 16 based on the current value and the voltage value received from the current-voltage detecting section 24. In addition, the consumed power calculating section 43 calculates the consumed power in the X-axis motor 14X based on the current value and the voltage value received from the current-voltage detecting section 23X, and calculates the consumed power in the Y-axis motor 14Y based on the current value and the voltage value received from the current-voltage detecting section 23Y. In addition, the consumed power calculating section 43 calculates the consumed power in the Z-axis motor 14Z based on the current value and the voltage value received from the current-voltage detecting section 23Z, and calculates the consumed power in the spindle motor 14S based on the current value and the voltage value received from the current-voltage detecting section 23S.

[0119] As described above, the consumed power amount calculating section 43 calculates the present consumed power amount P based on the measured values of the current value and the voltage value of the motor and the converter device 16. In the inverter device and the converter device 16, the current value and the voltage value input and output for controlling the motor current in accordance with the command are monitored using sensors installed in the inverter device and the converter device 16, and feedback control is performed. That is, the inverter device monitors the input current value and voltage value using the sensors, and performs feedback control. Also, the converter device 16 monitors the output current value and voltage value using the sensors, and performs feedback control. The information of the current value, the voltage value, and the like used in these feedback controls is transmitted to the numerical control device 40B, and the numerical control device 40B uses it in the calculation of the present consumed power amount P at the time of execution of the machining program.

[0120] Further, the present consumed power amount P can also be calculated using a microcomputer inside the inverter device and the converter device 16. Also, instead of the sensors inside the inverter device and the converter device 16, the information of a clamp meter or the like measuring device can be directly transmitted to the numerical control device 40B, and the numerical control device 40B can calculate the present consumed power amount P.

[0121] The consumed power amount calculating section 43 transmits the present consumed power amount P calculated for each device to the machining condition recording section 42. That is, the consumed power amount calculating section 43 transmits the present consumed power amount P of the converter device 16, the present consumed power amount P of the X-axis motor 14X, the present consumed power amount P of the Y-axis motor 14Y, the present consumed power amount P of the Z-axis motor 14Z, and the present consumed power amount P of the spindle motor 14S to the machining condition information generating section 41 and the machining condition recording section 42.

[0122] The machining condition recording section 42 records the present consumed power amount P at the time of execution of the present machining program and the present machining condition W corresponding to the present consumed power amount P for each device. That is, the machining condition recording section 42 records the consumed power amount and the machining condition for each time. If the next consumed power amount and the next machining condition are newly recorded, the present consumed power amount P and the present machining condition W recorded until then become the previous consumed power amount T and the previous machining condition.

[0123] The machining condition information generating section 41 compares the previous consumed power amount T and the present consumed power amount P for each device, and based on the comparison result, generates the next machining condition V for the next execution of the machining program for each device. That is, the machining condition information generating section 41 determines the next machining condition V in such a manner that the consumed power amount at the time of execution of the next machining program (the next consumed power amount) is reduced compared to the present consumed power amount P at the time of execution of the present machining program. In Embodiment 2, the machining condition information used for the next machining is the next machining condition V.

[0124] In Embodiment 2, the processing condition information generating section 41 adjusts the consumed power by adjusting, for example, the PWM carrier frequency as the processing condition involved in the consumed power. It is not the case that the lower the PWM carrier frequency, the lower the consumed power. There is a PWM carrier frequency that can set the consumed power to the minimum value. The PWM carrier frequency for setting the consumed power to the optimum value differs depending on the processing condition.

[0125] The processing condition information generating section 41 transmits the determined next processing condition V to the processing program executing section 44 and the processing condition recording section 42. The processing condition recording section 42 records the next processing condition V.

[0126] The processing program analyzing section 45 reads out the processing program from the processing program storage section 46, and analyzes the processing program. The processing program analyzing section 45 transmits the analysis result to the processing program executing section 44.

[0127] The analysis result obtained from the result of the analysis by the processing program analyzing section 45 is, for example, the consumed power at the time of acceleration / deceleration, the consumed power in the case where the processing program is executed for a certain period, the consumed power in the case where the processing program is executed for one cycle, and the like.

[0128] The processing program executing section 44 executes the processing program using the next processing condition V transmitted from the processing condition information generating section 41 and the analysis result transmitted from the processing program analyzing section 45. The processing program executing section 44, for example, calculates the position command in the next processing condition V for each device based on the consumed power at the time of acceleration / deceleration. That is, the processing program executing section 44 outputs the command C to each device by executing the processing program. The command C includes the position command of each feed axis and the rotation command to the spindle. Specifically, the command C includes the X-axis position command, the Y-axis position command, the Z-axis position command, and the spindle rotation command.

[0129] Further, the processing section (the processing condition information generating section 41, the processing condition recording section 42, and the consumed power calculating section 43) that executes the adjustment of the consumed power can be installed as software executed by a CPU (Central Processing Unit) inside the numerical control device 40B, or as hardware such as an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), and the like.

[0130] As described above, in Embodiment 2, the current value and the voltage value of each motor and the converter device 16 are input to the numerical control device 40B, and the numerical control device 40B performs adjustment of the power consumption. Thus, the numerical control device 40B can easily achieve reduction of the power consumption by simple processing without using the power consumption adjustment device 30A.

[0131] Embodiment 3.

[0132] Next, the power consumption adjustment device 30C of Embodiment 3 will be described. Figure 8 Embodiment 3 will be described. The power consumption adjustment device of Embodiment 3 monitors the power consumption of the main circuit breaker 18, and calculates the power consumption based on the current value and the voltage value of each motor, the converter device 16, and the peripheral devices 17A and 17B. The power consumption adjustment device of Embodiment 3 performs adjustment of the power consumption based on the results of measurement of a plurality of kinds of electric power (consumed electric power).

[0133] Figure 8 is a block diagram showing the structure of a numerical control working system having the power consumption adjustment device according to Embodiment 3. The description of the same function as that of the numerical control working machine 100A according to Embodiment 1 shown in Figure 8 Figure 2 Figure 6 in Embodiment 2 shown in

[0134] The numerical control working system 1C has the power consumption adjustment device 30C and the numerical control working machine 100C. The numerical control working machine 100C has the structural elements of the numerical control working machine 100A and the current-voltage detection units 24, 23X, 23Y, 23Z, 23S, 25, and 26.

[0135] The current-voltage detection unit 25 is arranged on the connection line connecting the peripheral device 17A and the peripheral device 17B, and detects the current value and the voltage value input to the peripheral device 17B. The current-voltage detection unit 25 transmits the detected current value and voltage value to the power consumption adjustment device 30C.

[0136] The current-voltage detection unit 26 is arranged on the connection line connecting the main circuit breaker 18 and the peripheral device 17A, and detects the current value and the voltage value input to the peripheral device 17A. The current-voltage detection unit 26 transmits the detected current value and voltage value to the power consumption adjustment device 30C.

[0137] ​​Further, as in Embodiment 1, the power consumption detecting section 19 detects the power consumption of the NC machine tool 100C and transmits the detected power consumption to the power consumption adjusting device 30C. Further, the current voltage detecting sections 23X, 23Y, 23Z, 23S detect the current value and the voltage value inputted from the inverter device to the motors and transmit the detected current value and voltage value to the power consumption adjusting device 30C, as in Embodiment 2.

[0138] As described above, in the NC working system 1C, the power consumption of the main circuit breaker 18 is monitored and the current value and the voltage value of each motor and the converter device 16 and the current value and the voltage value of the peripheral devices 17A, 17B are inputted to the power consumption adjusting device 30C. The power consumption adjusting device 30C adjusts the power consumption based on the power consumption of the main circuit breaker 18, the current value and the voltage value of each motor and the converter device 16 and the current value and the voltage value of the peripheral devices 17A, 17B.

[0139] Figure 9 is a block diagram showing the structure of the power consumption adjusting device according to Embodiment 3. The power consumption adjusting device 30C has the structural elements of the power consumption adjusting device 30A and a power consumption calculating section 33. That is, the power consumption adjusting device 30C has the machining condition information generating section 31, the machining condition recording section 32 and the power consumption calculating section 33.

[0140] The power consumption calculating section 33 has the same function as the power consumption calculating section 43 of the NC device 40B. The power consumption calculating section 33 is connected to the machining condition information generating section 31 and the machining condition recording section 32.

[0141] The power consumption calculating section 33 receives the current value and the voltage value from the current voltage detecting sections 24, 23X, 23Y, 23Z, 23S, 25, 26, as in the power consumption calculating section 43. The power consumption calculating section 33 calculates the power consumption based on the received current value and voltage value.

[0142] Specifically, the power consumption calculating section 33 calculates the power consumption in the converter device 16 based on the current value and the voltage value received from the current voltage detecting section 24. Further, the power consumption calculating section 33 calculates the power consumption in the X-axis motor 14X, the Y-axis motor 14Y, the Z-axis motor 14Z and the spindle motor 14S based on the current value and the voltage value received from the current voltage detecting sections 23X, 23Y, 23Z, 23S.

[0143] Further, the consumed power amount calculation section 33 calculates the consumed power amount in the peripheral device 17B based on the current value and the voltage value received from the current voltage detection section 25. Further, the consumed power amount calculation section 33 calculates the consumed power amount in the peripheral device 17A based on the current value and the voltage value received from the current voltage detection section 26.

[0144] The consumed power amount calculation section 33 transmits the calculated consumed power amount to the machining condition information generation section 31 and the machining condition recording section 32. The machining condition information generation section 31 and the machining condition recording section 32 receive the consumed power amounts of the inverter 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, 17B from the consumed power amount calculation section 33.

[0145] Further, the machining condition information generation section 31 and the machining condition recording section 32 receive the current consumed power amount P from the consumed power detection section 19 and the current machining condition W from the numerical control device 40A, like the consumed power adjustment device 30A. The machining condition information generation section 31 calculates the machining condition change amount R based on the current consumed power amount P, the previous consumed power amount T, and the current machining condition W, and outputs to the numerical control device 40A. In Embodiment 3, the machining condition information used for the next machining is the machining condition change amount R.

[0146] Further, the consumed power amount can be calculated using a microcomputer inside the inverter device, the converter device 16, and the peripheral devices 17A, 17B. Further, instead of the sensors inside the inverter device, the converter device 16, and the peripheral devices 17A, 17B, the information of a clamp meter or the like measuring device can be transmitted to the consumed power adjustment device 30C, and the consumed power amount can be calculated by the consumed power adjustment device 30C.

[0147] The consumed power amount calculation section 33 calculates at least one of the following consumed power amounts (pl) to (p5) from the start of the machining program execution to the end of the machining program execution as the consumed power amount of the numerical control machine tool 100C.

[0148] (pl) the sum of the consumed power amounts of the one or more motors driven by the numerical control machine tool 100C

[0149] (p2) the sum of the consumed power amounts of the one or more inverter devices performing servo control of the motors

[0150] (p3) the sum of the consumed power amounts of the one or more converter devices supplying power to the inverter devices

[0151] (p4) the sum of the consumed power amounts of the one or more peripheral devices

[0152] (p5) the amount of power consumed by the main power source 51 input to the NC machine tool 100C

[0153] The processing condition information generating section 31 of Embodiment 3 can adjust the amount of power consumed with respect to a plurality of elements possessed by the NC machine tool 100C, in a case where a plurality of power measurement results (amounts of power consumed) obtained by the amount of power consumed calculating section 33 are used. The processing condition information generating section 31 can adjust the amount of power consumed with respect to each axis driven by the NC machine tool 100C, for example. In addition, the processing condition information generating section 31 can adjust the amount of power consumed by combining a method of adjusting the amount of power consumed with respect to each axis driven by the NC machine tool 100C and a method of controlling the peripheral device 17A, 17B in correspondence with the use condition.

[0154] In a case where the amount of power consumed is adjusted with respect to each axis driven by the NC machine tool 100C, the processing condition information generating section 31 adjusts at least one of the motor multiplication amount, the acceleration time constant, the feed speed, the spindle rotation speed, and the PWM carrier frequency during processing with respect to each axis driven by the NC machine tool 100C, thereby adjusting the amount of power consumed for each axis.

[0155] In addition, the NC device 40A can also have the function of the amount of power consumed adjusting device 30C. In this case, the NC device 40A has the same function as the NC device 40B explained in Embodiment 2.

[0156] As described above, the NC working system 1C of Embodiment 3 adjusts a plurality of elements possessed by the NC machine tool 100C based on a plurality of power measurement results, and thus can easily and in detail perform various adjustments with respect to a plurality of elements. Therefore, the NC working system 1C can adjust the amount of power consumed in a short time.

[0157] Embodiment 4.

[0158] Next, the use of the machine learning device will be described. Figure 10 and Figure 11 Embodiment 4 will be described. In Embodiment 4, the amount of power consumed adjusting device has a machine learning device as a processing condition information generating section, and the machine learning device learns processing conditions for adjusting the amount of power consumed. In addition, in Embodiment 4, a case where the machine learning device is applied to the NC working system 1C is explained, but the machine learning device can also be applied to the NC working systems 1A, 1B.

[0159] Figure 10 is a block diagram showing the structure of the amount of power consumed adjusting device to which Embodiment 4 is applied. The description of each structural element of Figure 10 among the structural elements of Figure 9The power consumption adjustment device 30C of the illustrated embodiment 3 has the same functionally equivalent structural elements labeled with the same reference numerals, and repeated explanations are omitted.

[0160] The power consumption adjustment device 30D of the embodiment 4 has a power consumption calculation section 43, a machining condition recording section 42, and a machine learning device 60 as a machining condition information generation section. The power consumption calculation section 43 causes the current consumption P calculated based on the current value and the voltage value transmitted from the current-voltage detection section 24, 23X, 23Y, 23Z, 23S, or the like to be recorded in the machining condition recording section 42. In addition, the machining condition recording section 42 records the current machining condition W in association with the current consumption P. If the machining condition recording section 42 records a new current consumption P, the recorded current consumption P becomes the previous consumption T.

[0161] The machine learning device 60 reads out the current machining condition W, the current consumption P, and the previous consumption T (not illustrated in FIG. 6) from the machining condition recording section 42. In addition, additional information of the machining condition, that is, an additional machining condition, is input to the machine learning device 60. Figure 10

[0162] The additional machining condition is a machining condition added to improve the accuracy of learning. Examples of the additional machining condition are information of 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 per blade, the rotation speed of the tool 20, the mechanical structure of the machine tool device 50, the information of tool friction, and the tool use time. The information of the mechanical structure of the machine tool device 50 is information that gives the structural characteristics of the machine tool device 50.

[0163] The machine learning device 60 includes the additional machining condition in the current machining condition W in a case where the additional machining condition is received. In this case, the additional machining condition is included in the machining condition of each time. In addition, the additional machining condition can not be input to the machine learning device 60.

[0164] The current machining condition W, the current consumption P, and the previous consumption T received by the machine learning device 60 are a training data set. The machine learning device 60 learns the relationship between the power consumption and the machining condition according to the training data set and outputs the next machining condition V. In the embodiment 4, the machining condition information used for the next machining is the next machining condition V.

[0165] The machine learning device 60 calculates and outputs the next machining condition V that has a smaller power consumption than the current consumption P. The machine learning device 60 outputs the next machining condition V to the numerical control machine tool 100C and the machining condition recording section 42.

[0166] ​Thus, the NC machine tool 100C performs the next machining using the next machining condition V. The machining condition recording section 42 records the next machining condition V output from the machine learning device 60. If machining is performed using the next machining condition V, the next machining condition V recorded by the machining condition recording section 42 becomes the current machining condition W. In addition, the consumed electric power at the time of machining using the next machining condition V becomes the current consumed electric power P.

[0167] As described above, in a case where the machine learning device 60 calculates the next machining condition V using the additional machining condition, the additional machining condition is added to the current machining condition W. That is, the additional machining condition is included in the condition item of the current machining condition W. In a case where the machine learning device 60 calculates the next machining condition V using the current machining condition W including the additional machining condition, the condition item included in the current machining condition W and the condition item included in the additional machining condition are included in the next machining condition V. On the other hand, in a case where the machine learning device 60 calculates the next machining condition V using the current machining condition W not including the additional machining condition, the condition item included in the additional machining condition is not included in the next machining condition V.

[0168] Figure 11 is a block diagram showing the structure of the machine learning device possessed by the consumed electric power adjustment device according to Embodiment 4. The machine learning device 60 has a learning section 61 and a state observation section 64. The state observation section 64 observes a training data set including the current consumed electric power P, the previous consumed electric power T, and the current machining condition W as a state variable. The state observation section 64 transmits the training data set created based on the state variable to the learning section 61.

[0169] The learning section 61 learns the relationship between the consumed electric power and the machining condition based on the training data set created based on the state variable. The learning section 61 can use an arbitrary learning algorithm. Here, a case where reinforcement learning is applied in the learning algorithm is described.

[0170] Reinforcement learning is a method in which an agent, which is an action subject in an environment, observes a current state represented by a state variable, decides an action to be taken based on the observation result, and learns a countermeasure that gives the most reward from the environment by selecting the action. As representative methods of reinforcement learning, Q-learning and TD-learning are known. In the case of Q-learning, for example, a general update formula of an action value function Q(s, a), which is an action value table, is represented by the following formula (1). The action value function Q(s, a) represents an action value Q of an action of selecting "a" based on an environment "s".

[0171] [Formula 1]

[0172]

[0173] In formula (1), "s t " represents an environment at time "t". "a t " represents an action at time "t". By the action "a t ", the environment becomes "s t+1 ". "r t+1 " represents a reward brought by the change of the environment. "γ" represents a discount rate. "α" represents a learning coefficient. In the case of applying Q-learning, the present processing condition W becomes the action "a t ".

[0174] The update formula represented 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" performed 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". Thus, the best action value in an environment is propagated as an action value in a previous environment.

[0175] The learning unit 61 has a function update unit 62 and a reward calculation unit 63. The reward calculation unit 63 calculates a reward based on a state variable. The function update unit 62 updates a function for deciding a processing condition (next processing condition V) in accordance with the reward calculated by the reward calculation unit 63.

[0176] Specifically, the reward calculation section 63 calculates the reward "r" based on the present consumption electric power P and the past consumption electric power T. For example, in a case where the present consumption electric power P is smaller than or equal to the past consumption electric power T as a result of changing the machining condition from the past machining condition to the present machining condition W, the reward calculation section 63 increases the reward "r". The reward calculation section 63 increases the reward "r", for example, by assigning a value of the reward, that is, "1". Note that the value of the reward is not limited to "1".

[0177] In addition, in a case where the present consumption electric power P is not smaller than the past consumption electric power T as a result of changing the machining condition from the past machining condition to the present machining condition W, the reward calculation section 63 decreases the reward "r". The reward calculation section 63 decreases the reward "r", for example, by assigning a value of the reward, that is, "-1". Note that the value of the reward is not limited to "-1".

[0178] In addition, in a case where the present consumption electric power P is the same as the past consumption electric power T as a result of changing the machining condition from the past machining condition to the present machining condition W, the reward calculation section 63 does not change the reward "r". The reward calculation section 63 does not change the reward "r", for example, by assigning a value of the reward, that is, "0". Note that the value of the reward is not limited to "0".

[0179] The learning section 61 acquires, from the present machining condition W, a next machining condition V that is predicted to be able to reduce the next consumption electric power more than the present consumption electric power P.

[0180] The function update section 62 updates a function for deciding the next machining condition V, that is, a decision model, in accordance with the reward calculated by the reward calculation section 63. The update of the function can be performed in accordance with a training data set, for example, by updating an action value table. The action value table is a data set in which an arbitrary action and an action value thereof are associated and stored in the form of a table. For example, in the case of Q-learning, an action value function Q(s t , a t ) expressed by the above equation is used as the function for deciding the next machining condition V.

[0181] Hitherto, the case where reinforcement learning is applied to the learning algorithm used in the learning section 61 has been described, but learning other than reinforcement learning can also be applied to the learning algorithm. The learning section 61 can perform machine learning using a publicly known learning algorithm other than reinforcement learning, such as a learning algorithm such as deep learning, a neural network, genetic programming, inductive logic programming, or a support vector machine.

[0182] The learning unit 61 can construct a training data set including information of all axes of the NC machine tool 100C, learn a determination model for determining the next machining condition V, and can construct a training data set for each axis of the NC machine tool 100C, learn a determination model for determining the next machining condition V for each axis.

[0183] The learning unit 61 is not limited to being built in the power consumption adjustment device 30D. The learning unit 61 can be realized by a device outside the power consumption adjustment device 30D. In this case, the device functioning as the learning unit 61 can be a device capable of connecting to the power consumption adjustment device 30D via a network. The device functioning as the learning unit 61 can be a device present on a cloud server.

[0184] In the case where the machine learning device 60 is applied to the NC working system 1A, in the training data set, the machining condition change amount R applied to the machining of the present time is included instead of the present machining condition W. In addition, the machine learning device 60 calculates and outputs the machining condition change amount R applied to the machining of the next time instead of the next machining condition V. That is, the machine learning device 60 learns the relationship between the machining condition and the power consumption based on the machining condition change amount R applied to the machining of the present time, the present power consumption P, and the previous power consumption T, calculates and outputs the machining condition change amount R applied to the machining of the next time. In addition, in the case where the machine learning device 60 is applied to the NC working system 1B, the machine learning device 60 is arranged in the NC device 40B instead of the machining condition information generation unit 41.

[0185] Here, the hardware structure of the power consumption adjustment devices 30A, 30C, 30D and the NC device 40B will be described. In addition, the power consumption adjustment devices 30A, 30C, 30D and the NC device 40B have the same hardware structure, and therefore the hardware structure of the power consumption adjustment device 30D will be described here.

[0186] Figure 12 is a diagram showing an example of the hardware structure of the power consumption adjustment device according to Embodiment 4. The power consumption adjustment device 30D can be realized by an input device 300, a processor 100, a memory 200, and an output device 400. An example of the processor 100 is a CPU (also referred to as a central processing device, a processing device, a computing device, a microprocessor, a microcomputer, a DSP (Digital Signal Processor), or a system LSI (Large Scale Integration)). An example of the memory 200 is a RAM (Random Access Memory) or a ROM (Read Only Memory).

[0187] The consumption power adjustment device 30D is realized by the processor 100 reading out and executing a computer-executable processing program for executing the action of the consumption power adjustment device 30D stored in the memory 200. The processing program for executing the action of the consumption power adjustment device 30D can be said to cause the computer to execute the sequence or method of the consumption power adjustment device 30D.

[0188] The processing program executed by the consumption power adjustment device 30D is structured as modules including the consumption power calculation section 43 and the machine learning device 60, which are downloaded to the main storage device and generated on the main storage device.

[0189] In the processing program executed by the consumption power adjustment device 30D, there are included a calculation program for calculating the consumption power, a learning program for learning the next processing condition, and the like.

[0190] The input device 300 receives and sends to the processor 100 the previous consumption power T, the current consumption power P, the current processing condition W, and the like. The memory 200 stores the processing condition, the consumption power, the action value function Q(s, a), the calculation program, the learning program, and the like. The memory 200 stores, for example, the previous consumption power T and the current consumption power P as the consumption power, and stores the current processing condition W as the processing condition. In addition, the memory 200 stores the latest action value function Q(s, a).

[0191] The calculation program, the learning program, the processing condition, the consumption power, and the action value function Q(s, a) are read out from the memory 200 by the processor 100. In addition, the memory 200 is used as a temporary memory when the processor 100 executes various processes.

[0192] The process executed by the output device 400 corresponds to the process of the consumption power adjustment device 30D outputting the next processing condition V.

[0193] The calculation program and the learning program can be provided as a computer program product by storing a file in an installable form or an executable form in a storage medium readable by a computer. In addition, the calculation program and the learning program can be provided to the consumption power adjustment device 30D via a network such as the Internet. Furthermore, as for the functions of the consumption power adjustment device 30D, a part thereof can be realized by a dedicated hardware such as a dedicated circuit, and a part thereof can be realized by software or firmware.

[0194] As described above, according to Embodiment 4, the consumption power adjustment device 30D learns the correspondence between the consumption power and the processing condition, and thus can determine the optimal processing condition even in a situation in which various factors affect the consumption power.

[0195] The structure shown in the above embodiments represents one example, can be combined with other known techniques, can be combined with each other, and can omit or change a part of the structure without departing from the gist.

[0196] Explanation of Reference Numerals

[0197] 1A to 1C numerical control working 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 consumed power detection unit, 20 tool, 21 workpiece, 22 table, 23S, 23X, 23Y, 23Z, 24 to 26 current voltage detection unit, 30A, 30C, 30D consumed power adjustment device, 31, 41 machining condition information generation unit, 32, 42 machining condition recording unit, 33, 43 consumed power 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 direct current power supply, 60 machine learning device, 61 learning unit, 62 function update unit, 63 return 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 power consumption of a numerical control working machine that drives a motor to perform machining along a machining program, characterized by: a machining condition information generation section that generates machining condition information based on a previous power consumption at a previous machining program execution, a current power consumption at a current machining program execution, and a current machining condition at the current machining program execution and a current machining condition that affects the current power consumption, and that determines a next machining condition at a next machining program execution and a next machining condition that affects a next power consumption in such a manner that the next power consumption at the next machining program execution is smaller than the current power consumption.

2. The power consumption adjustment device according to claim 1, characterized in that: the machining condition information is a change amount to the next machining condition with respect to the current machining condition.

3. The power consumption adjustment device according to claim 2, characterized in that: the machining condition information generation section compares the previous power consumption and the current power consumption, and determines the change amount to the next machining condition based on a 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 multiple amount, the machining condition information generation section determines the change amount in which the specific multiple amount is increased in a case where the current power consumption is greater than the previous power consumption, and determines the change amount in which the specific multiple amount is decreased in a case where the current power consumption is smaller than the previous power consumption.

5. The power consumption adjustment device according to claim 1, characterized in that: the machining condition information is a next machining condition at a next machining program execution.

6. The power consumption adjustment device according to claim 1, characterized in that: in the machining condition information, at least one of information of a multiple amount of a motor at the time of machining, an acceleration time constant, a feed speed, a spindle speed, and a pulse width modulation carrier frequency is included for each axis driven by the numerical control working machine.

7. The power consumption adjustment device according to claim 1, characterized in that: the previous power consumption and the current power consumption are at least one of a sum of power consumptions of motors driven by the numerical control working machine from a start time to an end time of the machining program execution, a sum of power consumptions of inverter devices that perform servo control of the motors, a sum of power consumptions of converter devices that supply power to the inverter devices, a sum of power consumptions of peripheral devices possessed by the numerical control working machine, and a power consumption of a main power supply section that inputs a power supply to the numerical control working machine.

8. The power consumption adjustment device according to claim 2, characterized in that: ​ ​ ​ ​ ​ ​ ​ ​ ​ The change amount is a change amount preset for each kind of the processing condition, a change amount calculated by multiplying a specific coefficient preset for each kind of the processing condition by the present processing condition, or a change amount calculated by multiplying a ratio of an increase / decrease amount from the previous consumed power to the present consumed power by the present processing condition.

9. The consumed power adjustment device according to claim 2, wherein The change amount is a change amount calculated in correspondence with an increase / decrease amount of a sum of energy losses of the electric motor from the sum of the energy losses of the electric motor calculated from the previous consumed power to the sum of the energy losses of the electric motor calculated from the present consumed power, or an increase / decrease amount of a sum of energy losses of the drive unit from the sum of the energy losses of the drive unit calculated from the previous consumed power to the sum of the energy losses of the drive unit calculated from the present consumed power.

10. The consumed power adjustment device according to claim 9, wherein The change amount is a change amount calculated by multiplying a ratio of the increase / decrease amount of the sum of the energy losses of the electric motor by the present processing condition, or a change amount calculated by multiplying a ratio of the increase / decrease amount of the sum of the energy losses of the drive unit by the present processing condition.

11. The consumed power adjustment device according to claim 1, wherein The processing condition information generation section is a machine learning device that learns the processing condition information, The machine learning device has: a state observation section that observes the previous consumed power, the present consumed power, and the present processing condition as state variables; and a learning section that learns the processing condition information in accordance with a data set created based on the state variables.

12. The consumed power adjustment device according to any one of claims 1 to 11, wherein The processing condition information generation section does not perform the change of the processing condition information in a case where an electric power variation amount, which is a difference between the previous consumed power and the present consumed power, is less than or equal to a first threshold value, or in a case where an energy loss variation amount, which is a difference between an energy loss calculated from the previous consumed power and an energy loss calculated from the present consumed power, is less than or equal to a second threshold value.

13. A numerical control device that adjusts a consumed power of a numerical control machine tool that drives an electric motor and performs processing along a processing program, the numerical control device characterized by comprising: a consumed power calculation section that calculates a consumed power of the numerical control machine tool; ​ a processing condition information generating section that generates processing condition information for deciding a next processing condition that influences a next consumption power at a time of execution of a next processing program in such a manner that the next consumption power at the time of execution of the next processing program becomes smaller than a current consumption power at a time of execution of the current processing program, based on a previous consumption power at a time of execution of a previous processing program, the current consumption power at the time of execution of the current processing program, and a current processing condition at the time of execution of the current processing program that influences the current consumption power, and a processing program executing section that repeatedly executes the processing program, and uses the processing condition information decided by the processing condition information generating section at the time of execution of the processing program.

14. A consumption power adjusting method that adjusts a consumption power of a numerical control machine tool that drives a motor and performs processing along a processing program, characterized by including a processing condition information generating step in which a consumption power adjusting device that adjusts the consumption power generates processing condition information for deciding a next processing condition that influences a next consumption power at a time of execution of a next processing program in such a manner that the next consumption power at the time of execution of the next processing program becomes smaller than a current consumption power at a time of execution of a current processing program, based on a previous consumption power at a time of execution of a previous processing program, the current consumption power at the time of execution of the current processing program, and a current processing condition at the time of execution of the current processing program that influences the current consumption power. ​

Citation Information

Patent Citations

  • Control device for machine tool

    JP2010250697A

  • Energy monitoring device and control method therefor, and energy monitoring program

    CN102369493A

  • Electrical quantity adjusting apparatus, electrical quantity adjusting method, electrical quantity adjusting program and power supply system

    CN102891496A