Energy consumption control method and system for CNC machine tools

Through multi-objective optimization modeling and particle swarm optimization algorithm, the energy consumption and load of the servo motor of the CNC machine tool are adjusted in real time, which solves the problems of rough energy consumption control and unbalanced load in the existing technology, realizes the coordinated control of energy consumption optimization and load balancing, and improves the operating efficiency of the CNC machine tool.

CN120215420BActive Publication Date: 2025-09-26JIANGSU JIUXUN PRECISION MASCH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510369653.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-03-27
Publication Date
2025-09-26
Estimated Expiration
2045-03-27

AI Technical Summary

Technical Problem

The energy consumption control of servo motors in existing CNC machine tools during complex machining tasks is relatively rough and cannot effectively balance energy consumption optimization and load balancing, especially under multi-axis collaborative machining conditions, resulting in energy waste and load imbalance.

Method used

Multi-objective optimization modeling and particle swarm optimization algorithm are used to collect servo motor operating parameters in real time, build an energy consumption and load synchronization model, and adjust the energy consumption of the servo motor through the particle swarm optimization algorithm to achieve energy consumption optimization and load balancing.

Benefits of technology

The coordinated optimization of energy consumption and load between servo motors is achieved, which avoids energy waste and uneven load distribution, and improves the energy efficiency of CNC machine tools under complex processing conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120215420B_ABST
    Figure CN120215420B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of energy consumption control of CNC machine tools, and discloses an energy consumption control method and system for CNC machine tools, wherein the method comprises: real-time acquisition of operating parameters of servo motors and construction of a dynamic state matrix; calculation of load ratio and total energy consumption based on the dynamic state matrix, and judgment of the load balancing state of the servo motor; further construction of a multi-objective optimization model, and solving the energy consumption optimization value and load ratio optimization value of the servo motor in combination with a particle swarm optimization algorithm; compared with the prior art in which the energy consumption control of servo motor operation is relatively rough, especially under complex machining paths and multi-axis collaborative machining conditions, the technical problem of being unable to effectively take into account both energy consumption optimization and load balancing is solved, because the present application realizes the coordinated optimization of energy consumption and load between servo motors by introducing multi-objective optimization modeling and feedback adjustment mechanism, thereby avoiding the problems of energy waste and uneven load distribution, and improving the energy efficiency of CNC machine tools under complex machining conditions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of energy consumption control of numerically controlled machine tools, and in particular relates to an energy consumption control method and system for numerically controlled machine tools. Background Art

[0002] At present, there are still significant deficiencies in the energy consumption control of CNC machine tools in complex processing tasks. For example, when multiple-axis servo motors are running simultaneously, the load distribution of the servo motors often relies on static parameter settings and cannot be dynamically adjusted according to the real-time operating status, resulting in energy waste and load imbalance between servo motors. In addition, the existing technology often focuses on energy consumption optimization and load synchronization performance separately, and lacks a comprehensive control method that takes both into account. In particular, in scenarios with complex processing paths and collaborative processing of multiple workpieces, it cannot fully meet the requirements of efficient energy consumption control. Therefore, there is an urgent need for an energy consumption control method that can minimize energy consumption and balance loads when the load of multiple-axis servo motors changes dynamically, so as to improve the operating efficiency and processing quality of CNC machine tools. Summary of the Invention

[0003] In response to the above-mentioned technical deficiencies, the purpose of the present invention is to propose an energy consumption control method for CNC machine tools, aiming to solve the technical problem that the energy consumption control of servo motor operation in the existing technology is relatively rough, especially under complex processing paths and multi-axis collaborative processing conditions, and it is impossible to effectively balance energy consumption optimization and load balancing.

[0004] In order to solve the above technical problems, the present invention adopts the following technical solutions: The present invention provides an energy consumption control method for a CNC machine tool.

[0005] The energy consumption control method of the CNC machine tool comprises:

[0006] Step S10: Real-time acquisition and calculation of the operating parameters of the ith servo motor of the CNC machine tool, including:

[0007] Torque T i : The output torque of the servo motor is used to measure the mechanical output capacity of the motor; the speed ω i : The speed of the servo motor, used to reflect the real-time motion state of the motor; real-time load L i : The current workload of the servo motor, defined as the ratio of torque to speed; energy consumption P i : The energy consumption of the servo motor per unit time is calculated based on the current and voltage; the collected servo motor operating parameters are stored as a dynamic state matrix S at time intervals Δt, Where n is the number of servo motors;

[0008] Step S20: Calculate the load ratio r based on the dynamic state matrix S i and total energy consumption Ptotal , according to the load ratio r i Determine whether the servo motor is in a load balancing state, preset the load balancing threshold ε, if the load ratio of the servo motor is r i If the value is greater than the load balancing threshold ε, the system will proceed to the next step for optimization, otherwise the current step state will be maintained.

[0009] Step S30: According to the energy consumption P i Construct the first multi-objective optimization model F1, the formula is:

[0010]

[0011] in, is the average energy consumption of all servo motors; α is the energy consumption deviation penalty coefficient; Model F1 is used to represent the energy consumption synchronization between servo motors;

[0012] According to the load ratio r i Construct the second multi-objective optimization model F2, the formula is:

[0013]

[0014] in, is the average load ratio; Model F2 is used to represent the load synchronization between servo motors;

[0015] The third multi-objective optimization model F3 is obtained by integrating the first multi-objective optimization model F1 and the second multi-objective optimization model F2. The formula is:

[0016] F3=w1·F1+w2·F2

[0017] Among them, w1 and w2 are target weight coefficients;

[0018] The particle swarm optimization algorithm is introduced, and the third multi-objective optimization model F3 is used as the objective function of the particle swarm optimization algorithm to solve the optimization results. The optimization results include the energy consumption optimization value p of the servo motor. aim and the load ratio optimization value r of the servo motor aim ;

[0019] Step S40: Adjust the energy consumption P of the servo motor based on the optimization result i , including: according to the current load ratio r i and load ratio optimization value r aim Calculate the load correction value ΔP i , according to the load correction value ΔP i Adjust energy consumption P i Get the corrected energy consumption P i new ; Preset modified energy consumption safety threshold P safe, if |P i new -p aim |>P safe , then adjust the corrected energy consumption P i new =P safe ;

[0020] Step S50: After the energy consumption is adjusted and corrected, steps S10 to S50 are executed in a loop.

[0021] Preferably, in step S10, the real-time load L i The calculation formula is

[0022] Preferably, in step S10, the energy consumption P i The calculation formula is P i =V i I i η, where V i is the motor voltage, I i is the motor current, and η is the motor efficiency.

[0023] Preferably, in step S20, the load ratio r i Used to measure the contribution ratio of each servo motor to the total load. The calculation formula is: in is the total load of all servo motors; total energy consumption P total Defined as the sum of the energy consumption of all servo motors, the calculation formula is Used to assess overall energy consumption levels.

[0024] Preferably, in step S40, the load correction value ΔP i The calculation formula is:

[0025] ΔP i =β·(r i -r aim )

[0026] Where β is the load correction factor.

[0027] Preferably, in step S40, the load correction value ΔP i The calculation formula is P i new =P i +ΔP i .

[0028] Preferably, in step S10 , the time interval Δt for collecting the operating parameters of the servo motor is dynamically set according to actual needs.

[0029] The present invention also provides an energy consumption control system for a numerically controlled machine tool, comprising:

[0030] The data acquisition module is used to collect and calculate the operating parameters of the ith servo motor of the CNC machine tool in real time, including:

[0031] Torque T i : The output torque of the servo motor is used to measure the mechanical output capacity of the motor; the speed ω i : The speed of the servo motor, used to reflect the real-time motion state of the motor; real-time load L i : The current workload of the servo motor, defined as the ratio of torque to speed; energy consumption P i : The energy consumption of the servo motor per unit time is calculated based on the current and voltage; the collected servo motor operating parameters are stored as a dynamic state matrix S at time intervals Δt, Where n is the number of servo motors;

[0032] State analysis module, used to calculate the load ratio r based on the dynamic state matrix S i and total energy consumption P total , according to the load ratio r i Determine whether the servo motor is in a load balancing state, preset the load balancing threshold ε, if the load ratio of the servo motor is r i If the value is greater than the load balancing threshold ε, the system will proceed to the next step for optimization, otherwise the current step state will be maintained.

[0033] Optimization modeling module is used to calculate the energy consumption P i Construct the first multi-objective optimization model F1, the formula is:

[0034]

[0035] in, is the average energy consumption of all servo motors; α is the energy consumption deviation penalty coefficient; Model F1 is used to represent the energy consumption synchronization between servo motors;

[0036] According to the load ratio r i Construct the second multi-objective optimization model F2, the formula is:

[0037]

[0038] in, is the average load ratio; Model F2 is used to represent the load synchronization between servo motors;

[0039] The third multi-objective optimization model F3 is obtained by integrating the first multi-objective optimization model F1 and the second multi-objective optimization model F2. The formula is:

[0040] F3=w1·F1+w2·F2

[0041] Among them, w1 and w2 are target weight coefficients;

[0042] The particle swarm optimization algorithm is introduced, and the third multi-objective optimization model F3 is used as the objective function of the particle swarm optimization algorithm to solve the optimization results. The optimization results include the energy consumption optimization value p of the servo motor. aim and the load ratio optimization value r of the servo motor aim ;

[0043] Energy consumption adjustment module, used to adjust the energy consumption P of the servo motor based on the optimization results i , including: according to the current load ratio r i and load ratio optimization value r aim Calculate the load correction value ΔP i , according to the load correction value ΔP i Adjust energy consumption P i Get the corrected energy consumption P i new ; Preset modified energy consumption safety threshold P safe , if |P i new -p aim |>P safe , then adjust the corrected energy consumption P i new =P safe ;

[0044] The loop control module is used to loop through steps S10 to S50 after the energy consumption is adjusted and corrected.

[0045] The present invention also provides an energy consumption control device for a CNC machine tool, comprising a memory, a processor, and an energy consumption control program for the CNC machine tool stored in the memory and runnable on the processor. When the energy consumption control program for the CNC machine tool is executed by the processor, the energy consumption control method for the CNC machine tool is implemented.

[0046] The present invention also provides a computer program product, comprising an energy consumption control program for a numerically controlled machine tool, wherein the energy consumption control program for the numerically controlled machine tool implements the energy consumption control method for the numerically controlled machine tool when executed by a processor.

[0047] The beneficial effects of the present invention are as follows: compared with the prior art in which the energy consumption control of the servo motor operation is relatively rough, especially under the conditions of complex machining paths and multi-axis collaborative machining, the technical problem of being unable to effectively balance energy consumption optimization and load balancing is solved;

[0048] Because this application realizes the coordinated optimization control of energy consumption and load between servo motors by introducing multi-objective optimization modeling and feedback adjustment mechanism, it avoids the problems of energy waste and uneven load distribution, and improves the energy efficiency of CNC machine tools under complex processing conditions. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0050] Figure 1 This is a flow chart of a first embodiment of an energy consumption control method for a CNC machine tool according to the present invention.

[0051] Figure 2 This is a schematic diagram of an equipment for an energy consumption control method for a CNC machine tool according to the present invention. DETAILED DESCRIPTION

[0052] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.

[0053] Example 1: Figure 1 FIG. 1 is a flow chart of a first embodiment of the energy consumption control method for a CNC machine tool according to the present invention, and provides a first embodiment of the energy consumption control method for a CNC machine tool according to the present invention.

[0054] In a first embodiment, the energy consumption control method of the CNC machine tool includes:

[0055] Step S10: Real-time acquisition and calculation of the operating parameters of the ith servo motor of the CNC machine tool, including:

[0056] Torque T i : The output torque of the servo motor, in N·m, is used to measure the mechanical output capacity of the motor; the speed ω i : The speed of the servo motor, in RPM / min, is used to reflect the real-time motion state of the motor; the real-time load L i : The current workload of the servo motor is defined as the ratio of torque to speed, in N·m / RPM; Energy consumption P i : The energy consumption of the servo motor per unit time, in W, is calculated based on the current and voltage; the collected servo motor operating parameters are stored as a dynamic state matrix S at time intervals Δt, Where n is the number of servo motors;

[0057] It should be understood that the relationship between torque, speed, load and energy consumption can be used to evaluate the operating efficiency of the servo motor. For example, by analyzing the changes in energy consumption and real-time load, it can be determined whether the servo motor is overloaded or wasting energy. The construction of the dynamic state matrix provides data support for the subsequent energy consumption optimization algorithm. The matrix S can be used to monitor the state changes of the servo motor in real time, providing a basis for energy consumption control and load balancing optimization.

[0058] For example, there are three servo motors with the following operating parameters: Servo motor 1, T1 = 10 N·m, ω1 = 150 RPM / min, P1 = 500 W; Servo motor 2: T2 = 15 N·m, ω2 = 200 RPM / min, P2 = 600 W; Servo motor 3: T3 = 8 N·m, ω3 = 120 RPM / min, P3 = 400 W. The real-time load is calculated as follows: The dynamic state matrix is: Through this matrix, the operating status of the servo motor can be further analyzed to determine whether the load is balanced and whether energy consumption needs to be optimized.

[0059] Step S20: Calculate the load ratio r based on the dynamic state matrix S i and total energy consumption P total , according to the load ratio r i Determine whether the servo motor is in a load balancing state, preset the load balancing threshold ε, if the load ratio of the servo motor is r i If the value is greater than the load balancing threshold ε, the system will proceed to the next step for optimization, otherwise the current step state will be maintained.

[0060] It should be noted that the load ratio r i Used to measure the contribution ratio of each servo motor to the total load. The calculation formula is: in is the total load of all servo motors; total energy consumption P total Defined as the sum of the energy consumption of all servo motors, the calculation formula is The unit is W and is used to evaluate the overall energy consumption level.

[0061] It is understandable that when the load ratio of the servo motors is close to 1 / n, it means that the load is evenly distributed. Theoretically, if the loads of all servo motors are completely balanced, the load ratio is 1 / n. However, in actual operation, due to differences in processing paths, workpiece weights, or servo motor performance, the load ratio will deviate. If the load ratio difference between servo motors exceeds the threshold, it indicates that the current load distribution is unbalanced and needs to be readjusted through optimization steps.

[0062] For example, there are three servo motors with real-time loads of L1 = 0.067 N·m / RPM, L2 = 0.075 N·m / RPM, and L3 = 0.060 N·m / RPM. Calculate the total load: Calculate the load ratio: Calculate the load ratio difference: max(r i )-min(r i )=0.371-0.297=0.074; if the preset load balancing threshold ε=0.05, then 0.074>0.05, indicating that the load is unbalanced and it is necessary to proceed to the next step of optimization; otherwise, maintain the current state.

[0063] Step S30: According to the energy consumption P i Construct the first multi-objective optimization model F1, the formula is:

[0064]

[0065] in, is the average energy consumption of all servo motors; α is the energy consumption deviation penalty coefficient; Model F1 is used to represent the energy consumption synchronization between servo motors;

[0066] According to the load ratio r i Construct the second multi-objective optimization model F2, the formula is:

[0067]

[0068] in, is the average load ratio; Model F2 is used to represent the load synchronization between servo motors;

[0069] The third multi-objective optimization model F3 is obtained by integrating the first multi-objective optimization model F1 and the second multi-objective optimization model F2. The formula is:

[0070] F3=w1·F1+w2·F2

[0071] Among them, w1 and w2 are target weight coefficients;

[0072] The particle swarm optimization algorithm is introduced, and the third multi-objective optimization model F3 is used as the objective function of the particle swarm optimization algorithm to solve the optimization results. The optimization results include the energy consumption optimization value p of the servo motor. aim and the load ratio optimization value r of the servo motor aim ;

[0073] It should be noted that the first multi-objective optimization model minimizes the difference in energy consumption between servo motors while ensuring the minimum total energy consumption, thereby reducing energy waste; the second multi-objective optimization model emphasizes the load synchronization between servo motors to avoid the situation where some servo motors are overloaded while other servo motors are idle; particle swarm optimization is an iterative optimization algorithm that finds the optimal solution by simulating the movement of particles in the search space, and is suitable for complex multi-objective optimization problems.

[0074] It can be understood that the priorities of total energy consumption optimization and load synchronization optimization are balanced by weights w1 and w2, and the weights can be dynamically adjusted according to the application scenario. For example, if more attention is paid to energy saving, w1 can be increased; if more attention is paid to load balancing, w2 can be increased.

[0075] Step S40: Adjust the energy consumption P of the servo motor based on the optimization result i , including: according to the current load ratio r i and load ratio optimization value r aim Calculate the load correction value ΔP i , according to the load correction value ΔP i Adjust energy consumption P i Get the corrected energy consumption P i new ; Preset modified energy consumption safety threshold P safe , if |P i new -p aim |>P safe , then adjust the corrected energy consumption P i new =P safe ;

[0076] For example, the current parameters are as follows: Current load ratio r i =0.35, target load ratio r aim =0.30, current energy consumption P i =600W, target energy consumption P aim =550W, energy consumption safety threshold P safe =50W; Correction calculation: load correction value ΔP i =β·(r i -r aim ), let β=1000, then ΔP i =1000·(0.35-0.30)=50W, the corrected energy consumption P i new =P i -ΔP i =600-50=550W, check energy consumption deviation|P i new -Paim |=|550-550|=0W, because the deviation is less than P safe , no further adjustment is required, the final adjusted energy consumption P i ncw =550W, which meets the optimization goals and safety requirements.

[0077] It should be understood that energy consumption correction is an iterative process. As the load ratio is adjusted, the energy consumption correction value will gradually approach zero, and ultimately achieve the optimal energy consumption distribution of the servo motor. The setting of the safety threshold needs to comprehensively consider the rated power, actual operating status and fault protection requirements of the servo motor, and can usually be set according to 80%-90% of the rated power of the servo motor. During the energy consumption correction process, an excessively large correction value may cause the servo motor to operate in an unstable state, while an excessively small correction value may cause slow optimization convergence. Therefore, the setting of the correction coefficient and the safety threshold needs to balance efficiency and stability.

[0078] Step S50: After the energy consumption is adjusted and corrected, steps S10 to S50 are executed in a loop.

[0079] It should be noted that the core of step S50 is to form a closed-loop optimization control process by repeatedly executing steps S10 to S50, so that the energy consumption and load status of the servo motor can be continuously and dynamically adjusted to achieve real-time optimization; after each round of energy consumption adjustment, the new servo motor operating parameters including energy consumption, load ratio, etc. will re-enter the collection and calculation steps to ensure that the system can respond to changes in processing conditions in a timely manner.

[0080] Furthermore, the energy consumption control system for a CNC machine tool provided by the present invention employs the energy consumption control method for a CNC machine tool described in the above-mentioned embodiment, thereby resolving the technical problem of energy consumption control for a CNC machine tool. Compared to the prior art, the energy consumption control system for a CNC machine tool provided by the present invention achieves the same beneficial effects as the energy consumption control method for a CNC machine tool provided in the above-mentioned embodiment. Other technical features of the energy consumption control system for a CNC machine tool are the same as those disclosed in the above-mentioned embodiment and are not further elaborated here.

[0081] The present invention provides an energy consumption control device for a CNC machine tool. Figure 2, an energy consumption control device for a CNC machine tool includes: at least one processor; and a memory in communication with the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the energy consumption control method for a CNC machine tool in the above-mentioned embodiment 1. An energy consumption control device for a CNC machine tool in an embodiment of the present invention may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. An energy consumption control device for a CNC machine tool is merely an example and should not impose any limitations on the functions and scope of use of the embodiments of the present invention. An energy consumption control device for a CNC machine tool may include a processing device 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes based on a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1003 into a random access memory (RAM) 1004. RAM 1004 also stores various programs and data required for the operation of the energy consumption control device for a CNC machine tool. Processing device 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, hard disk, etc.; and a communication device 1009. The communication device 1009 can allow a CNC machine tool energy consumption control device to communicate wirelessly or wired with other devices to exchange data. Although the figure shows a CNC machine tool energy consumption control device with various systems, it should be understood that it is not required to implement or have all of the systems shown. More or fewer systems may be implemented or have instead.

[0082] The present invention also provides a computer program product comprising a computer program. When executed by a processor, the computer program implements the steps of the aforementioned method for controlling energy consumption of a CNC machine tool. The computer program product provided by the present invention can solve the technical problem of controlling energy consumption of a CNC machine tool. Compared to the prior art, the beneficial effects of the computer program product provided by the present invention are the same as those of the method for controlling energy consumption of a CNC machine tool provided in the aforementioned embodiment, and are not further elaborated here.

[0083] In particular, according to the embodiments disclosed in the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, the embodiments disclosed in the present invention include a computer program product comprising a computer program carried on a computer-readable medium, the computer program comprising program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present invention are performed.

[0084] It should be understood that the various parts disclosed in the present invention can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any appropriate manner in any one or more embodiments or examples.

[0085] Obviously, those skilled in the art may make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if such changes and modifications fall within the scope of the claims and their equivalents, the present invention is intended to include such changes and modifications.

Claims

1. A method for controlling energy consumption of a CNC machine tool, characterized in that: Methods include: Step S10: Real-time acquisition and calculation of the operating parameters of the ith servo motor of the CNC machine tool, including: Torque T i : The output torque of the servo motor is used to measure the mechanical output capacity of the motor; the speed ω i : The speed of the servo motor, used to reflect the real-time motion state of the motor; real-time load L i : The current workload of the servo motor, defined as the ratio of torque to speed; energy consumption P i : The energy consumption of the servo motor per unit time is calculated based on the current and voltage; the collected servo motor operating parameters are stored as a dynamic state matrix S at time intervals Δt, Where n is the number of servo motors; Step S20: Calculate the load ratio r based on the dynamic state matrix S i and total energy consumption P total , according to the load ratio r i Determine whether the servo motor is in a load balancing state, preset the load balancing threshold ε, if the load ratio of the servo motor is r i If the value is greater than the load balancing threshold ε, the system will proceed to the next step for optimization, otherwise the current step state will be maintained. Step S30: According to the energy consumption P i Construct the first multi-objective optimization model F1, the formula is: in, is the average energy consumption of all servo motors; α is the energy consumption deviation penalty coefficient; Model F1 is used to represent the energy consumption synchronization between servo motors; According to the load ratio r i Construct the second multi-objective optimization model F2, the formula is: in, is the average load ratio; Model F2 is used to represent the load synchronization between servo motors; The third multi-objective optimization model F3 is obtained by integrating the first multi-objective optimization model F1 and the second multi-objective optimization model F2. The formula is: F3=w1·F1+w2·F2 Among them, w1 and w2 are target weight coefficients; The particle swarm optimization algorithm is introduced, and the third multi-objective optimization model F3 is used as the objective function of the particle swarm optimization algorithm to solve the optimization results. The optimization results include the energy consumption optimization value p of the servo motor. aim and the load ratio optimization value r of the servo motor aim ; Step S40: Adjust the energy consumption P of the servo motor based on the optimization result i , including: according to the current load ratio r i and load ratio optimization value r aim Calculate the load correction value ΔP i , according to the load correction value ΔP i Adjust energy consumption P i Get the corrected energy consumption P i new ; Preset modified energy consumption safety threshold P safe , if |P i new -p aim |>P safe , then adjust the corrected energy consumption P i new =P safe ; Step S50: After the energy consumption is adjusted and corrected, steps S10 to S50 are executed in a loop.

2. The energy consumption control method for a CNC machine tool according to claim 1, wherein: In step S10, the real-time load L i The calculation formula is 3. The energy consumption control method for a CNC machine tool according to claim 1, wherein: In step S10, the energy consumption P i The calculation formula is P i =V i I i η, where V i is the motor voltage, I i is the motor current, and η is the motor efficiency.

4. The energy consumption control method for a CNC machine tool according to claim 1, wherein: In step S20, the load ratio r i Used to measure the contribution ratio of each servo motor to the total load. The calculation formula is: in is the total load of all servo motors; total energy consumption P total Defined as the sum of the energy consumption of all servo motors, the calculation formula is Used to assess overall energy consumption levels.

5. The energy consumption control method for a CNC machine tool according to claim 1, wherein: In step S40, the load correction value ΔP i The calculation formula is: ΔP i =β·(r i -r aim ) Where β is the load correction factor.

6. The energy consumption control method for a CNC machine tool according to claim 1, wherein: In step S40, the load correction value ΔP i The calculation formula is P i new =P i +ΔP i .

7. The energy consumption control method for a CNC machine tool according to claim 1, wherein: In step S10 , the time interval Δt for collecting the operating parameters of the servo motor is dynamically set according to actual needs.

8. An energy consumption control system for a CNC machine tool, characterized in that: The energy consumption control system of the CNC machine tool includes: The data acquisition module is used to collect and calculate the operating parameters of the ith servo motor of the CNC machine tool in real time, including: Torque T i : The output torque of the servo motor is used to measure the mechanical output capacity of the motor; the speed ω i : The speed of the servo motor, used to reflect the real-time motion state of the motor; real-time load L i : The current workload of the servo motor, defined as the ratio of torque to speed; energy consumption P i : The energy consumption of the servo motor per unit time is calculated based on the current and voltage; the collected servo motor operating parameters are stored as a dynamic state matrix S at time intervals Δt, Where n is the number of servo motors; State analysis module, used to calculate the load ratio r based on the dynamic state matrix S i and total energy consumption P total , according to the load ratio r i Determine whether the servo motor is in a load balancing state, preset the load balancing threshold ε, if the load ratio of the servo motor is r i If the value is greater than the load balancing threshold ε, the system will proceed to the next step for optimization, otherwise the current step state will be maintained. Optimization modeling module is used to calculate the energy consumption P i Construct the first multi-objective optimization model F1, the formula is: in, is the average energy consumption of all servo motors; α is the energy consumption deviation penalty coefficient; Model F1 is used to represent the energy consumption synchronization between servo motors; According to the load ratio r i Construct the second multi-objective optimization model F2, the formula is: in, is the average load ratio; Model F2 is used to represent the load synchronization between servo motors; The third multi-objective optimization model F3 is obtained by integrating the first multi-objective optimization model F1 and the second multi-objective optimization model F2. The formula is: F3=w1·F1+w2·F2 Among them, w1 and w2 are target weight coefficients; The particle swarm optimization algorithm is introduced, and the third multi-objective optimization model F3 is used as the objective function of the particle swarm optimization algorithm to solve the optimization results. The optimization results include the energy consumption optimization value p of the servo motor. aim and the load ratio optimization value r of the servo motor aim ; Energy consumption adjustment module, used to adjust the energy consumption P of the servo motor based on the optimization results i , including: according to the current load ratio r i and load ratio optimization value r aim Calculate the load correction value ΔP i , according to the load correction value ΔP i Adjust energy consumption P i Get the corrected energy consumption P i new ; Preset modified energy consumption safety threshold P safe , if |P i new -p aim |>P safe , then adjust the corrected energy consumption P i new =P safe ; The loop control module is used to loop through steps S10 to S50 after the energy consumption is adjusted and corrected.

9. An energy consumption control device for a CNC machine tool, characterized in that: The energy consumption control device of the CNC machine tool includes: a memory, a processor, and an energy consumption control program of the CNC machine tool stored in the memory and executable on the processor. When the energy consumption control program of the CNC machine tool is executed by the processor, the energy consumption control method of the CNC machine tool according to any one of claims 1 to 7 is implemented.

10. A computer program product, characterized in that The computer program product includes an energy consumption control program for a CNC machine tool. When the energy consumption control program for a CNC machine tool is executed by a processor, the energy consumption control method for a CNC machine tool according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Energy consumption-oriented numerical control machining process route and cutting parameter optimization model and method

    CN107193258A

  • Numerical control machine tool energy consumption modeling and machining process optimization method

    CN111158313A