Method and system for optimizing energy efficiency of dual-motor servo press based on artificial intelligence
By optimizing the speed combination of the dual-motor servo press through the energy model and genetic algorithm based on artificial intelligence, the problem of energy efficiency optimization of the dual-motor servo press under different working conditions is solved, achieving higher energy efficiency and more precise speed adjustment. Suitable for a variety of application scenarios.
Patent Information
- Application Number
- CN202410739668.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2024-09-06
AI Technical Summary
It is difficult for the existing dual-motor servo press to achieve the optimal rotation speed combination under different working conditions, resulting in poor energy efficiency optimization, and the segmented control strategy is not precise enough, making it difficult to fully tap the energy-saving potential of the drive unit.
Using artificial intelligence-based methods, by establishing energy models and machine learning models, combined with genetic algorithms, the speed combination of the dual-motor servo press is optimized in real time, and the operating status of the ring gear motor and sun gear motor is dynamically adjusted to achieve optimal energy efficiency.
It improves the energy efficiency optimization accuracy of dual-motor servo presses under different working conditions, achieves higher drive unit energy efficiency, and is suitable for a variety of application scenarios, including online analysis and feedback adjustment as well as large-scale promotion and application.
Smart Images

Figure CN118605162A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of stamping processing, and specifically relates to an energy efficiency optimization method of a dual-motor servo press based on artificial intelligence, a real-time energy efficiency optimization method of a dual-motor servo press, a feedback controller for realizing energy efficiency optimization of a dual-motor servo press, and an energy efficiency optimization system for a dual-motor servo press. Background Art
[0002] Servo presses are the forefront of the current stamping field, with advantages such as simple structure, high precision, and adjustable working characteristics. However, due to the mismatch between installed power and actual load power, a large energy loss is caused. The dual-motor servo press uses different dual-motor speed drives for different load conditions, which greatly reduces the energy consumption of the press and has a significant energy-saving effect.
[0003] In the stamping process of the dual-motor servo press, corresponding to a specific working condition, the dual motors have multiple speed combinations that can meet the load drive requirements of the working condition, but there is only one optimal speed combination that can make the press the most energy efficient under the working condition. Therefore, how to achieve the optimal speed of the dual motors under different working conditions to achieve the highest energy efficiency of the drive unit has become a problem that needs to be solved.
[0004] The existing dual-motor energy-saving control strategy uses segmented control, which divides the required pressure and required speed into intervals and combines them into multiple combination units. The dual-motor speed is also divided into multiple combination units, and the optimal working mode and optimal dual-motor speed combination are determined through experiments. However, this method discretizes the working conditions and dual-motor speeds, and its optimization accuracy depends on the size of the working unit, making it difficult to fully tap the energy-saving potential of the dual-motor drive unit. Summary of the invention
[0005] In order to solve the problem that the existing experimental-based segmented control strategy is difficult to fully guarantee the energy efficiency optimization effect of the stamping process of a dual-motor servo press, the present invention provides an energy efficiency optimization method for a dual-motor servo press based on artificial intelligence, a real-time energy efficiency optimization method for a dual-motor servo press, a feedback controller for realizing energy efficiency optimization of a dual-motor servo press, and an energy efficiency optimization system for a dual-motor servo press.
[0006] The technical solution provided by the present invention is as follows:
[0007] An energy efficiency optimization method for a dual-motor servo press based on artificial intelligence is used to determine the process conditions that meet the optimal energy efficiency during the processing of a specified workpiece in a dual-motor servo press. The energy efficiency optimization method includes the following steps:
[0008] S1: According to the theoretical energy model of the servo press, select the ring gear motor speed n r, Ring gear motor energy consumption P in,rm , solar gear motor energy consumption P in,sm , load force F, and punching speed v are used as characteristic parameters of the energy model; and a large number of related characteristic parameters are collected to form a sample data set.
[0009] S2: Use the sample data set to train a machine learning model and obtain an n r , F, v, the total input power P corresponding to the output in Energy prediction model. Among them, the total input power P in Satisfy the following formula:
[0010] P in =P in,rm +P in,sm .
[0011] S3: Construct a mathematical model to characterize the current energy efficiency optimization problem. The design variable of the mathematical model is the ring gear motor speed n r and the sun gear motor speed n s The optimization goal is to make the overall power consumption P in Minimization,constraints include process parameter constraints characterized by the stamping process curve,,speed constraints between the two motors, and energy consumption constraints,of the machining process.
[0012] S4: Embed the energy prediction model into a genetic algorithm as the required fitness function and construct an improved genetic algorithm.
[0013] Improved genetic algorithm is used to r As a chromosome, the mathematical model is solved in the preset parameter space, and then the optimal ring gear motor speed n corresponding to each processing action is obtained according to the iterative optimization result of the chromosome. rbest and the optimal sun gear motor speed n sbest .
[0014] S5: Test the specified workpiece and collect the slider displacement S in real time during the test process; query a preset stamping process curve based on the slider displacement S to obtain the expected required pressure F d and the required speed v d .
[0015] S6: Generate each demand pressure F using improved genetic algorithm d and the required speed v d The corresponding n under the working conditions represented rbest and n sbest , control instructions are generated according to the optimal speed of the dual motors, the operating state of the power unit in the dual-motor servo press is dynamically adjusted, and then the stamping work of the test workpiece is completed according to the preset stamping process curve.
[0016] S7: Record all adjustment instructions of the specified workpiece during the test processing, and perform actual processing on the same workpiece according to the same adjustment instruction set to optimize the energy efficiency of the dual-motor servo press.
[0017] As a further improvement of the present invention, in step S1, the method for establishing the theoretical energy model is as follows:
[0018] (1) The output power P of the dual-motor servo press is as follows out The calculation formula is:
[0019] P out =(P in,rg +P in,sg )η p η c ,
[0020] In the above formula, P in,rg Represents the ring gear input power of the differential gear train, P in,sg represents the sun gear input power of the differential gear train; η p Denotes the transmission efficiency of the differential gear train, η c Indicates the transmission efficiency of the actuator.
[0021] (2) Calculate the ring gear input power P of the differential gear train by the following formulas: in,rg and the sun gear input power P of the differential gear train in,sg :
[0022]
[0023] In the above formula, η rm is the transmission efficiency of the ring gear motor and its driver, η rt is the transmission efficiency of the reducer and brake of the ring gear motor; η sm is the transmission efficiency of the sun gear motor and its driver, η st is the transmission efficiency of the reducer and brake of the sun gear motor.
[0024] (3) According to the output power P of the dual-motor servo press out With the total input power P in The total input power P is calculated by the following formula: in :
[0025]
[0026] In the above formula, T r Represents the output torque of the ring gear motor; T s Represents the output torque of the sun gear motor; where η rm , ηsm , η rt , η st , η p , η c are all constants.
[0027] As a further improvement of the present invention, in step S1, the method for obtaining the sample data set is as follows:
[0028] (1) During the actual operation of the dual-motor servo press, the corresponding gear ring motor speed n is synchronously collected r , Ring gear motor energy consumption P in,rm 、Energy consumption of solar gear motor P in,sm , load force F and punching speed v.
[0029] (2) Preprocess the collected raw data to remove invalid data and generate multiple five-tuple data D that meet the following format:
[0030] D={n r , P in,rm , P in,sm , F, v},
[0031] (3) According to P in =P in,rm +P in,sm Calculate the corresponding total input power P in , convert each five-tuple data into the following four-tuple data B to obtain the sample data set:
[0032] B={n r ,F,v,P in}.
[0033] As a further improvement of the present invention, in step S2, the energy prediction model is constructed as follows:
[0034] S21: Divide the sample data set into a training set and a test set according to a preset data volume ratio.
[0035] S22: Select appropriate machine learning model to n r , F and v are input features, P in The training set is used to train the machine learning model and the loss function is used to measure the performance of the model.
[0036] S23: retaining the model parameters of the machine learning model obtained after training and for which the corresponding relationship between the input features and the output features has been established;
[0037] S24: Set evaluation indicators and use the test set to evaluate the performance of the retained final model to ensure the generalization ability of the model on new data and obtain the required energy prediction model.
[0038] As a further improvement of the present invention, in step S22, the machine learning model adopted includes XGBoost and other neural networks that can be used to fit the mapping relationship between parameters.
[0039] As a further improvement of the present invention, in step S3, the gear ring motor speed n in the dual-motor servo press is r and the sun gear motor speed n s The following constraints are satisfied:
[0040]
[0041] In the above formula, l rd is the lead of the ball screw in the dual-motor servo press, ρ is the reduction ratio of the differential gear train in the dual-motor servo press; v d Indicates the required speed under current working conditions.
[0042] As a further improvement of the present invention, in step S4, the improved genetic algorithm is used to calculate the ring gear motor speed n r The process of iterative optimization is as follows:
[0043] (1) In the preset ring gear motor output speed range (n rmin ,n rmax ) is restricted, binary coding is used to randomly generate the initial speed chromosome n rd And decode it into the corresponding decimal number.
[0044] (2) Demand pressure F under current working conditions d and the required speed v d Normalize and replicate to the same number as the initial chromosome n rd The number of elements contained is the same.
[0045] (3) Demand pressure F d and the required speed v d Expanded to demand pressure vector F d and the required speed vector v d , with the initial chromosome n rd Together they form the following initial combination matrix G d :
[0046] G d =[n rd F d v d ].
[0047] (4) The initial combination matrix G d Each row of data is transmitted to the pre-established energy prediction model in turn to calculate the initial combination matrix Gd The fitness value of each set of data.
[0048] (5) Determine whether the genetic algorithm has reached the termination condition and make the following decision:
[0049] Ⅰ. If the termination condition is met, the chromosome corresponding to the highest fitness value is selected and decoded into the required optimal ring gear motor speed n rbest Then, the corresponding optimal sun gear motor speed n is calculated according to the speed constraint between the ring gear motor and the sun gear motor. sbest , and output the optimal speed of the dual motors [n rbest ,n sbest ].
[0050] Ⅱ. If the termination condition is not met, first rd Perform selection, crossover, and mutation to form a new speed chromosome n r ' d , and then repeat steps (2)-(5) to perform the next round of iteration.
[0051] The present invention also includes a real-time optimization method for energy efficiency of a dual-motor servo press, which is implemented based on the aforementioned energy efficiency optimization method for a dual-motor servo press based on artificial intelligence. The real-time optimization method for energy efficiency includes the following steps:
[0052] S01: Real-time acquisition of the slider displacement S during the processing of the dual-motor servo press.
[0053] S02: Query the preset stamping process curve of the current workpiece according to the slider displacement S, and determine the corresponding required pressure F under the current working condition d and the required speed v d .
[0054] S03: Using the improved genetic algorithm embedded in the energy prediction model to iteratively generate the optimal speed of the dual motors under the current working conditions [n rbest ,n sbest ].
[0055] S04: Based on the generated optimal speed of the dual motors [n rbest ,n sbest ] Dynamically adjust the operating status of the ring gear motor and the sun gear motor so that the dual-motor servo press can complete the stamping work according to the preset stamping process curve.
[0056] The present invention also includes a feedback controller for realizing energy efficiency optimization of a dual-motor servo press, which adopts the aforementioned energy efficiency optimization method of a dual-motor servo press based on artificial intelligence to generate an adjustment instruction for adjusting the speed of the ring gear motor and the sun gear motor in the dual-motor servo press, thereby realizing energy efficiency optimization of the processing process. The feedback controller includes: a signal acquisition unit, a query unit, a fitness update unit, an iterative optimization module and an instruction generation unit.
[0057] The signal acquisition unit is used to obtain the speed n of the ring gear motor in real time. r and torque T r , the speed of the sun gear motor n s and torque T s , slider displacement S and velocity v, and the load force F exerted on the slider.
[0058] The query unit is used to query the stamping process curve to obtain the corresponding required pressure F according to the real-time slider displacement S. d and the required speed v d .
[0059] The fitness update unit adopts the aforementioned energy prediction model to achieve the following r , F, v, the total input power P corresponding to the output in .
[0060] The iterative optimization module uses the improved genetic algorithm mentioned above to achieve the input ring gear motor speed n r The initial value of and the corresponding demand pressure F d and the required speed v d , iteratively generate the optimal ring gear motor speed n under the corresponding working conditions rbest and the optimal sun gear motor speed n sbest .
[0061] The command generation unit is used to generate the optimal ring gear motor speed n rbest and the optimal sun gear motor speed n sbest Generates a control command for adjusting the speed of the ring gear motor and the sun gear motor in a dual-motor servo press for a target speed.
[0062] The present invention also includes an energy efficiency optimization system for a dual-motor servo press, which includes a sensor group and a feedback controller for realizing energy efficiency optimization of the dual-motor servo press as described above. The sensor group is used to detect the speed n of the ring gear motor in the dual-motor servo press. r and torque T r , the speed of the sun gear motor n s and torque T s, slider displacement S and speed v, and the load force F exerted on the slider; the feedback controller is used to perform feedback control on the operation process of the dual-motor servo press according to the detection data of the sensor group to achieve energy efficiency optimization.
[0063] The technical solution provided by the present invention has the following beneficial effects:
[0064] The present invention first establishes a theoretical energy model by analyzing the energy flow of the servo press, and then determines the relevant characteristic parameters of the energy prediction model. This method can more intuitively reflect the relationship between the input and output of the energy prediction model, thereby improving the accuracy of the model. Then, the machine learning algorithm is trained using the real characteristic parameters of the equipment operation process to obtain an energy prediction model that can accurately predict the energy consumption level during the equipment operation process.
[0065] The present invention embeds the energy prediction model into the genetic algorithm, thereby obtaining an improved genetic algorithm, which can input multiple speed combinations into the model to obtain the optimal speed of the dual motors under different working conditions. The improved genetic algorithm can be used to analyze the continuous working conditions of the stamping process without discretizing the working conditions, and can more accurately optimize the optimal speed of the dual motors under different working conditions.
[0066] Based on the scheme designed by the present invention that can analyze the optimal speed of the dual motors under different working conditions in real time, two different application schemes are also designed: one is to perform online analysis and feedback adjustment of the processing conditions; the other is to pre-test and obtain the optimal speed of the dual motors under the expected working conditions and generate a database, and then directly apply the empirical data in actual processing. Both schemes can adapt to different application scenarios, are highly practical, and are suitable for large-scale promotion and application. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] Figure 1 This is a schematic diagram of the equipment structure of a dual-motor servo press.
[0068] Figure 2 A flow chart of the energy efficiency optimization method of a dual-motor servo press based on artificial intelligence provided in Example 1 of the present invention.
[0069] Figure 3 A detailed step flow chart of the energy efficiency optimization method for a dual-motor servo press based on artificial intelligence provided in Example 1 of the present invention.
[0070] Figure 4 This is the energy flow diagram of the dual-motor servo press.
[0071] Figure 5 A flowchart for training the required energy prediction model based on a machine learning algorithm.
[0072] Figure 6 A flow chart for iterative optimization using an improved genetic algorithm to obtain the optimal ring gear motor speed and the optimal sun gear motor speed.
[0073] Figure 7 This is a system framework diagram of the high energy efficiency processing system of the dual-motor servo press provided in Example 2 of the present invention.
[0074] Figure 8 This is a flow chart of the real-time optimization method for energy efficiency of a dual-motor servo press provided in Example 3 of the present invention.
[0075] Fig. 9 This is an architectural diagram of the feedback controller for achieving energy efficiency optimization of a dual-motor servo press provided in Example 4 of the present invention.
[0076] The markings in the figure are: 1. Power meter 1; 2. Power meter 2; 3. Reduction gear; 4. Ring gear; 5. Planetary gear; 6. Planetary carrier; 7. Sun gear; 8. Ball screw; 9. Slider; 10. Speed torque sensor 1; 11. Speed torque sensor 2; 12. Pressure sensor; 13. Displacement sensor. DETAILED DESCRIPTION
[0077] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0078] Example 1
[0079] The present embodiment provides an energy efficiency optimization method for a dual-motor servo press based on artificial intelligence, which is used to determine the process conditions that meet the optimal energy efficiency during the processing and forming of a specified workpiece in a dual-motor servo press, and optimize the workpiece processing process based on the process conditions, thereby reducing the overall power consumption during the workpiece processing process while ensuring the processing quality.
[0080] The optimization object of this embodiment is the operating parameters of a dual-motor servo press. A typical schematic diagram of a dual-motor servo press is shown in FIG. Figure 1As shown in the figure, the dual-motor servo press includes a power unit and an actuator. The power unit includes a ring gear motor, a sun gear motor and a differential gear train device. The differential gear train device includes a sun gear, a ring gear, a reduction gear, a planetary gear and a planetary carrier. The differential gear train device includes two input ends and one output end. The ring gear motor is fixedly connected to the reduction gear through the ring gear motor reducer to drive the reduction gear to rotate. The sun gear motor is fixedly connected to the sun wheel through the sun gear motor reducer to drive the sun wheel to rotate. The output end of the differential gear train device is fixedly connected to the commutator. The power output by the ring gear motor and the sun gear motor is output to the commutator through the differential gear train coupling. A ring gear motor brake is installed between the ring gear motor reducer and the reduction gear to brake the reduction gear. At this time, only the sun gear motor provides power. A sun gear motor brake is installed between the sun gear motor reducer and the sun wheel to brake the sun wheel. At this time, only the ring gear motor provides power. When the ring gear motor brake and the sun gear motor brake are released at the same time, the dual motors work together to realize dual motor coupling drive. The actuator includes a commutator, a ball screw and a slider. The output end of the commutator is fixedly connected to the input end of the ball screw to convert the rotary motion after the dual motor coupling into linear motion. The output end of the ball screw is fixedly connected to the slider to drive the slider displacement according to the preset moving path. Figure 2 As shown, the solution to this optimization problem in this embodiment is: first, based on the theoretical analysis of the energy consumption of the dual-motor servo press, the key characteristic parameters that affect the power consumption level of the equipment are determined. Then, the machine learning algorithm is trained using a large amount of characteristic data collected during the actual operation of the dual-motor servo press to obtain an energy prediction model that can predict the power consumption of the equipment. Next, the slider displacement information of the dual-motor servo press during the processing is collected in real time, and the preset stamping process curve is queried to determine the required pressure and required speed under the current working conditions; then the energy prediction model is embedded in the genetic algorithm, and the ring gear motor speed is used as the chromosome, and the optimal ring gear motor speed and the optimal sun gear motor speed under the corresponding working conditions are iteratively generated through the genetic algorithm. Finally, the output of the genetic algorithm is used as empirical data to guide the batch processing of similar workpieces, so as to realize the opportunistic adjustment of the operating state of the dual-motor servo press during the processing.
[0081] Specifically, Figure 3 As shown, the energy efficiency optimization method of a dual-motor servo press machine based on artificial intelligence provided in this embodiment includes the following steps:
[0082] S1: According to the theoretical energy model of the servo press, select the ring gear motor speed n r , Ring gear motor energy consumption P in,rm , solar gear motor energy consumption P in,sm, load force F, and punching speed v are used as characteristic parameters of the energy model; and a large number of sample data sets consisting of associated characteristic parameters are collected.
[0083] The equipment energy model is a mathematical model used to evaluate and calculate the energy consumption level of a dual-motor servo press during operation. In practical applications, there are many factors that affect the power consumption of equipment, and it is an impossible task to establish an absolutely accurate equipment energy model. Therefore, this embodiment establishes a theoretical energy model under the premise of ignoring the influence of factors such as transmission shaft flexibility, gearbox oil temperature, and component assembly on transmission efficiency. Although the theoretical energy model constructed in this embodiment is different from the energy flow during the actual operation of the equipment, it can help analyze the key parameters that affect the power consumption level of the equipment.
[0084] like Figure 4 As shown, the output power P of the two motors in,rm and P in,sm After a series of transmission processes, energy loss occurs, and finally the output P of the dual-motor servo press is obtained. out Based on this process, this embodiment analyzes the energy flow of the device and constructs a corresponding theoretical energy model. The construction process is as follows:
[0085] (1) The output power P of the dual-motor servo press is as follows out The calculation formula is:
[0086] P out =Fv=P in,rg +P in,sg -L p -L c =(P in,rg +P in,sg )η p η c ,
[0087] In the above formula, P in,rg Represents the ring gear input power of the differential gear train, P in,sg Indicates the sun gear input power of the differential gear train; L p Represents the transmission power loss of the differential gear train; L c Represents the transmission power loss of the actuator; η p Denotes the transmission efficiency of the differential gear train, η c Indicates the transmission efficiency of the actuator.
[0088] (2) Calculate the ring gear input power P of the differential gear train by the following formula in,rg :
[0089] P in,rg =T r n r ηrt =P in,rm -L rm -L rt =P in,rm η rm η rt ,
[0090] In the above formula, L rm is the transmission power loss of the ring gear motor and its driver; L rt is the transmission power loss of the reducer and brake of the ring gear motor; η rm is the transmission efficiency of the ring gear motor and its driver, η rt It is the transmission efficiency of the reducer and brake of the ring gear motor.
[0091] (3) Calculate the sun gear input power P of the differential gear train by the following formula in,sg :
[0092] P in,sg =T s n s η st =P in,sm -L sm -L st =P in,sm η sm η st ,
[0093] In the above formula, L sm is the transmission power loss of the sun gear motor and its driver, L st is the transmission power loss of the reducer and brake of the sun gear motor; η sm is the transmission efficiency of the sun gear motor and its driver, η st is the transmission efficiency of the reducer and brake of the sun gear motor.
[0094] (4) According to the output power P of the dual-motor servo press out With the total input power P in The total input power P is calculated by the following formula: in :
[0095]
[0096] In the above formula, T r Represents the output torque of the ring gear motor; T s Indicates the output torque of the sun gear motor.
[0097] The theoretical energy model finally obtained in this embodiment is:
[0098]
[0099] Analyzing the expression of the theoretical energy model, we can find that η rm , η sm , η rt , η st , η p , η c are all constants, while the load force F, punching speed v, and ring gear motor speed n r , sun gear motor speed n s , coil motor output torque T r and the output torque T of the sun gear motor s It is a characteristic variable that affects the energy efficiency of the dual-motor servo press equipment. Considering that the motor speed and torque are a set of related variables, and the sun gear motor and the ring gear motor also satisfy a specific constraint relationship, this embodiment simplifies the above characteristic variables and finally chooses to set the ring gear motor speed n r , load force F, punching speed v as the evaluation of the ring gear motor energy consumption P in,rm and the sun gear motor energy consumption P in,sm The characteristic parameters of the total input power P in Satisfy the following formula:
[0100] P in =P in,rm +P in,sm .
[0101] In this embodiment, the operating parameters of each power unit in the dual-motor servo press can be obtained in real time through specific sensors or detectors, and a sample data set reflecting the energy consumption level of the historical operating state of the dual-motor servo press can be obtained by synchronously collecting a large number of characteristic parameters. Specifically, the method for obtaining the sample data set in this embodiment is as follows:
[0102] (i) Synchronously collect the corresponding gear ring motor speed n during the actual operation of the dual-motor servo press r , Ring gear motor energy consumption P in,rm , solar gear motor energy consumption P in,sm , load force F and punching speed v.
[0103] (ii) Preprocessing the collected sets of raw data, removing invalid data, and generating multiple quintuple data D that satisfy the following format:
[0104] D={n r , P in,rm , P in,sm , F, v},
[0105] (iii) According to P in =P in,rm +P in,sm Calculate the corresponding total input power P in, convert each five-tuple data into the following four-tuple data B:
[0106] B={n r ,F,v,P in},
[0107] Finally, the obtained data set containing a large amount of four-tuple data B is the required sample data set.
[0108] S2: Use the sample data set to train a machine learning model and obtain an n r , F, v, the total input power P corresponding to the output in energy prediction model.
[0109] Considering that the theoretical energy model constructed in the previous article is not accurate, there is a significant gap between the equipment operation energy consumption evaluated by the theoretical energy model and the actual equipment operation energy consumption. Therefore, this embodiment intends to determine the characteristic parameters based on the constructed theoretical energy model, use the sample data set actually collected to train a machine learning algorithm, and then obtain an algorithm that meets the accuracy requirements and can accurately predict different n r , F, total input power P under v state in energy prediction model.
[0110] like Figure 5 As shown, the construction method of the energy prediction model in this embodiment is as follows:
[0111] S21: Divide the sample data set into a training set and a test set according to a preset data volume ratio. In this embodiment, the training set and the test set can be divided according to a ratio of 7:3 or 8:2.
[0112] S22: Select appropriate machine learning model to n r , F and v are input features, P in The training set is used to train the machine learning model and the loss function is used to measure the performance of the model.
[0113] The solution provided in this embodiment has no special requirements for the selection of the machine learning model, and only requires that the model finally trained can indeed achieve high prediction accuracy and generalization. In this embodiment, the machine learning model actually used is XGBoost. In fact, various other neural networks that can be used to fit the mapping relationship between parameters can also be used as the machine learning model in this embodiment, such as BP neural network.
[0114] S23: retaining the model parameters of the machine learning model obtained after training and for which the corresponding relationship between the input features and the output features has been established;
[0115] S24: Set evaluation indicators and use the test set to evaluate the performance of the retained final model to ensure the generalization ability of the model on new data and obtain the required energy prediction model.
[0116] Since model training of machine learning algorithms is a relatively mature technology, the details of the training process of the energy prediction model in this embodiment will not be repeated here.
[0117] S3: Construct a mathematical model to characterize the current energy efficiency optimization problem. The design variable of the mathematical model is the ring gear motor speed n r and the sun gear motor speed n s The optimization goal is to make the overall power consumption P in Minimization,constraints include process parameter constraints characterized by the stamping process curve,,speed constraints between the two motors, and energy consumption constraints,of the machining process.
[0118] The problem of optimizing the energy efficiency level of the dual-motor servo press in this embodiment is essentially a single-objective optimization problem, so it can be converted into a corresponding mathematical model. Since this problem is an NP-hard problem, this embodiment will subsequently use a genetic algorithm to iteratively optimize the problem.
[0119] In this embodiment, the gear ring motor speed n in the dual-motor servo press is r and the sun gear motor speed n s The following constraints are satisfied:
[0120]
[0121] In the above formula, l rd is the lead of the ball screw in the dual-motor servo press, ρ is the reduction ratio of the differential gear train in the dual-motor servo press; v d Indicates the required speed under current working conditions.
[0122] Therefore, this mathematical problem actually only requires solving the ring gear motor speed n r and the sun gear motor speed n s In order to simplify the problem, only the gear ring motor speed n is selected in the subsequent schemes of this embodiment. r As a practical design variable, the sun gear motor speed n s The optimization result is based on the ring gear motor speed n r The optimal value of is solved.
[0123] S4: Embed the energy prediction model into a genetic algorithm as the required fitness function and construct an improved genetic algorithm.
[0124] This embodiment uses a genetic algorithm to solve the mathematical problem of energy efficiency optimization in the previous step, so it is necessary to select a suitable energy consumption evaluation function as the fitness function. Since the theoretical energy model is not accurate enough, it is not suitable to be embedded in the genetic algorithm as an evaluation function. This embodiment selects a more accurate energy prediction model obtained by training based on a machine learning model as the fitness function and embeds it into the genetic algorithm to obtain an improved genetic algorithm.
[0125] Improved genetic algorithm is used to r As a chromosome, the mathematical model is solved in the preset parameter space, and then the optimal ring gear motor speed n corresponding to each processing action is obtained according to the iterative optimization result of the chromosome. rbest and the optimal sun gear motor speed n sbest .
[0126] like Figure 6 As shown, this embodiment uses an improved genetic algorithm to realize the ring gear motor speed n r The process of iterative optimization is as follows:
[0127] (1) In the preset output speed range of the ring gear motor (n rmin ,n rmax ) is restricted, binary coding is used to randomly generate the initial speed chromosome n rd And decode it into the corresponding decimal number.
[0128] (2) Demand pressure F under current working conditions d and the required speed v d Normalize and replicate to the same number as the initial chromosome n rd The number of elements contained is the same.
[0129] (3) Demand pressure F d and the required speed v d Expanded to demand pressure vector F d and the required speed vector v d , with the initial chromosome n rd Together they form the following initial combination matrix G d :
[0130] G d =[n rd F d v d ].
[0131] (4) The initial combination matrix G d Each row of data is transmitted to the pre-established energy prediction model in turn to calculate the initial combination matrix G d The fitness value of each set of data.
[0132] (5) Determine whether the genetic algorithm has reached the termination condition and make the following decision:
[0133] Ⅰ. If the termination condition is met, the chromosome corresponding to the highest fitness value is selected and decoded into the required optimal ring gear motor speed n rbest Then, the corresponding optimal sun gear motor speed n is calculated according to the speed constraint between the ring gear motor and the sun gear motor. sbest , and output the optimal speed of the dual motors [n rbest ,n sbest ].
[0134] Ⅱ. If the termination condition is not met, first rd Perform selection, crossover, and mutation to form a new speed chromosome n r ' d , and then repeat steps (2)-(5) to perform the next round of iteration.
[0135] S5: Test the specified workpiece and collect the slider displacement S in real time during the test process; query a preset stamping process curve based on the slider displacement S to obtain the expected required pressure F d and the required speed v d .
[0136] S6: Generate each demand pressure F using improved genetic algorithm d and the required speed v d The corresponding n under the working conditions represented rbest and n sbest , control instructions are generated according to the optimal speed of the dual motors, the operating state of the power unit in the dual-motor servo press is dynamically adjusted, and then the stamping work of the test workpiece is completed according to the preset stamping process curve.
[0137] S7: Record all adjustment instructions of the specified workpiece during the test processing, and perform actual processing on the same workpiece according to the same adjustment instruction set to optimize the energy efficiency of the dual-motor servo press.
[0138] Example 2
[0139] The energy efficiency optimization solution provided in Example 1 of the present invention is actually an offline energy efficiency optimization solution. The essence of this solution is to first combine the artificial intelligence algorithm to determine the optimal dual-motor speed for each type of workpiece under different working conditions during the test process, and then store these data as empirical process parameters in the industrial computer, and then directly call the corresponding empirical process parameters during the subsequent processing of the same type of workpieces to achieve high-energy-efficiency mass production of similar workpieces. This solution only requires large-scale data processing during the test phase to find the optimal dual-motor speed under various working conditions, and no repeated calculations are required during the subsequent processing, thereby greatly reducing the computing power requirements for the processing system. This solution is particularly suitable for stamping processing scenarios of batch workpieces.
[0140] In order to implement the solution of Example 1, this embodiment further provides a Figure 7 The high energy-efficient processing system of the dual-motor servo press shown. The dual-motor servo press includes a power unit and an actuator. The power unit includes a ring gear motor, a sun gear motor and a differential gear train device. The differential gear train device includes a sun gear 7, a ring gear 4, a reduction gear 3, a planetary gear 5 and a planetary carrier 6. The differential gear train device includes two input ends and one output end. The ring gear motor is fixedly connected to the reduction gear 3 through the ring gear motor reducer, and is used to drive the reduction gear 3 to rotate. The sun gear motor is fixedly connected to the sun gear 7 through the sun gear motor reducer, and is used to drive the sun gear 7 to rotate. The actuator includes a commutator, a ball screw 8 and a slider 9.
[0141] In this embodiment, a sensor group, a data acquisition card, an industrial computer and a data output card are installed on the existing dual-motor servo press. Among them, the sensor group includes: a power meter 1, a power meter 2, a speed torque sensor 10, a speed torque sensor 2 11, a pressure sensor 12 and a displacement sensor 13. The power meter 1 and the power meter 2 are respectively used to collect the output power of the ring gear motor driver and the sun gear motor driver in real time. The speed torque sensor 10 and the speed torque sensor 2 11 are respectively used to collect the output speed and output torque of the ring gear motor and the sun gear motor in real time. The pressure sensor 12 is used to detect the load force of the slider 9 during the stamping process, and the displacement sensor 13 is used to detect the displacement and speed of the slider 9 during the stamping process.
[0142] The industrial computer collects the detection values of each sensor in the sensor group in real time through the data acquisition card. The industrial computer stores the empirical process parameters pre-generated using the solution of Example 1, including the optimal dual-motor speed of each type of workpiece under various working conditions. The industrial computer generates corresponding control instructions based on the empirical process parameters and sends them to the corresponding power unit through the data output card to achieve dynamic adjustment of the operating state of the dual-motor servo press. In this way, the purpose of producing according to the stamping process curve and reducing the operating power consumption of the dual-motor servo press is achieved.
[0143] Example 3
[0144] Different from the offline energy efficiency optimization solution in Example 1, this embodiment further provides a real-time energy efficiency optimization method for a dual-motor servo press, which is an online energy efficiency optimization solution. This solution uses the energy prediction model trained by sample data in Example 1 and embeds it into a genetic algorithm to implement an iterative optimization strategy for the dual-motor speed. The difference is that the solution adopted in this embodiment recognizes the working conditions of the dual-motor servo press in real time during the processing, calls the improved genetic algorithm in combination with the current working conditions, and generates the corresponding optimal dual-motor speed online [n rbest ,n sbest ] and perform feedback adjustment on the dual-motor servo press.
[0145] Specifically, Figure 8 As shown, the energy efficiency real-time optimization method provided in this embodiment includes the following steps:
[0146] S01: Real-time acquisition of the slider displacement S during the processing of the dual-motor servo press.
[0147] S02: Query the preset stamping process curve of the current workpiece according to the slider displacement S, and determine the corresponding required pressure F under the current working condition d and the required speed v d .
[0148] S03: Call the improved genetic algorithm embedded with the energy prediction model to iteratively generate the optimal speed of the dual motors under the current working conditions [n rbest ,n sbest ].
[0149] S04: Based on the generated optimal speed of the dual motors [n rbest ,n sbest ] Dynamically adjust the operating status of the ring gear motor and the sun gear motor so that the dual-motor servo press can complete the stamping work according to the preset stamping process curve.
[0150] Combined with the previous content, it can be seen that compared with the solution of Example 1, the solution of this embodiment has relatively high requirements on the computing power of the equipment, but it is more suitable for stamping processing scenarios of small batches of customized workpieces, and can effectively improve the equipment energy efficiency of dual-motor servo presses when processing such workpieces.
[0151] Example 4
[0152] On the basis of the schemes in Examples 1 and 3, this embodiment further provides a feedback controller for realizing energy efficiency optimization of a dual-motor servo press, which adopts the energy efficiency optimization method of a dual-motor servo press based on artificial intelligence as in Example 1, or the real-time energy efficiency optimization method of a dual-motor servo press as in Example 3. Generates adjustment instructions for adjusting the speed of the ring gear motor and the sun gear motor in the dual-motor servo press, thereby realizing energy efficiency optimization of the processing process. Fig. 9 As shown, the feedback controller includes: a signal acquisition unit, a query unit, a fitness update unit, an iterative optimization module and an instruction generation unit.
[0153] The signal acquisition unit is used to obtain the speed n of the ring gear motor in real time. r and torque T r , the speed of the sun gear motor n s and torque T s , slider displacement S and velocity v, and the load force F exerted on the slider.
[0154] The query unit is used to query the stamping process curve to obtain the corresponding required pressure F according to the real-time slider displacement S. d and the required speed v d .
[0155] The fitness update unit adopts the aforementioned energy prediction model to achieve the following r , F, v, the total input power P corresponding to the output in .
[0156] The iterative optimization module uses the improved genetic algorithm mentioned above to achieve the input ring gear motor speed n r The initial value of and the corresponding demand pressure F d and the required speed v d , iteratively generate the optimal ring gear motor speed n under the corresponding working conditions rbest and the optimal sun gear motor speed n sbest .
[0157] The command generation unit is used to generate the optimal ring gear motor speed n rbest and the optimal sun gear motor speed n sbest Generates a control command for adjusting the speed of the ring gear motor and the sun gear motor in a dual-motor servo press for a target speed.
[0158] Example 5
[0159] This embodiment provides an energy efficiency optimization system for a dual-motor servo press, which is a software and hardware solution for implementing the real-time energy efficiency optimization method for a dual-motor servo press in Example 3. The energy efficiency optimization system includes a sensor group and a feedback controller for implementing energy efficiency optimization of a dual-motor servo press as in Example 3.
[0160] Among them, the sensor group includes: power meter 1, power meter 2, speed torque sensor 1, speed torque sensor 2, pressure sensor and displacement sensor. Power meter 1 and power meter 2 are used to collect the output power of the ring gear motor driver and the sun gear motor driver in real time. Speed torque sensor 1 and speed torque sensor 2 are used to collect the output speed and output torque of the ring gear motor and the sun gear motor in real time. The pressure sensor is used to detect the load force of the slider during the stamping process, and the displacement sensor is used to detect the displacement and speed of the slider during the stamping process. The sensor group is used to detect the speed n of the ring gear motor in the dual-motor servo press. r and torque T r , the speed of the sun gear motor n s and torque T s , the displacement S and velocity v of the slider, and the load force F on the slider;
[0161] The feedback controller is used to perform feedback control on the operation process of the dual-motor servo press according to the detection data of the sensor group, so as to achieve real-time energy efficiency optimization.
[0162] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modification, equivalent replacement and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention. For example, the sequence of each step in the scheme introduced in the above embodiment is only one way to implement the scheme. The scheme of the present invention can also be implemented by adopting the same actions in different sequences. Such modified embodiments still belong to the protection scope of the present invention.
Claims
1. An energy efficiency optimization method for a dual-motor servo press based on artificial intelligence, characterized in that: It is used to determine the process conditions that meet the optimal energy efficiency during the machining process of a specified workpiece on a dual-motor servo press. The energy efficiency optimization method includes the following steps: According to the theoretical energy model of the servo press, select the ring gear motor speed n r , Ring gear motor energy consumption P in,rm , solar gear motor energy consumption P in,sm , load force F, punching speed v as characteristic parameters of the energy model; and collect a large number of related characteristic parameters to form a sample data set; A machine learning model is trained using the sample data set to obtain an n r , F, v, the total input power corresponding to the output P in Energy prediction model; wherein the total input power P in Satisfy the following formula: P in =P in,rm +P in,sm ; Construct a mathematical model to characterize the current energy efficiency optimization problem, wherein the design variable of the mathematical model is the ring gear motor speed n r and the sun gear motor speed n s The optimization goal is to make the overall power consumption P in Minimization,constraints include process parameter constraints characterized by the stamping process curve,,speed constraints between the two motors, and energy consumption constraints of the,machining process; The energy prediction model is embedded in a genetic algorithm as a required fitness function to construct an improved genetic algorithm; The improved genetic algorithm is used to r As a chromosome, the mathematical model is solved in the preset parameter space, and then the optimal gear ring motor speed n corresponding to each processing condition is obtained according to the iterative optimization result of the chromosome. rbest and the optimal sun gear motor speed n sbest ; The specified workpiece is tested and processed, and the slider displacement S during the test processing is collected in real time; a preset stamping process curve is queried according to the slider displacement S to obtain the expected required pressure F d and the required speed v d ; The improved genetic algorithm is used to generate each demand pressure F d and the required speed v d The corresponding n under the working conditions represented rbest and n sbest , generating control instructions according to the optimal speed of the dual motors, dynamically adjusting the operating state of the power unit in the dual motor servo press, and then completing the stamping work of the test workpiece according to the preset stamping process curve; All adjustment instructions of the specified workpiece during the test processing are recorded, and the same workpiece is actually processed according to the same adjustment instruction set to optimize the energy efficiency of the dual-motor servo press.
2. The energy efficiency optimization method of a dual-motor servo press based on artificial intelligence according to claim 1, characterized in that: The method for establishing the theoretical energy model is as follows: (1) The output power P of the dual-motor servo press is as follows out The calculation formula is: P out =(P in,rg +P in,sg )or p or c , In the above formula, P in,rg Represents the ring gear input power of the differential gear train, P in,sg represents the sun gear input power of the differential gear train; η p Denotes the transmission efficiency of the differential gear train, η c Indicates the transmission efficiency of the actuator; (2) Calculate the ring gear input power P of the differential gear train by the following formulas: in,rg and the sun gear input power P in,sg : In the above formula, η rm is the transmission efficiency of the ring gear motor and its driver, η rt is the transmission efficiency of the reducer and brake of the ring gear motor; η sm is the transmission efficiency of the sun gear motor and its driver, η st is the transmission efficiency of the reducer and brake of the sun gear motor; (3) According to the output power P of the dual-motor servo press out With the total input power P in The total input power P is calculated by the following formula: in : In the above formula, T r Represents the output torque of the ring gear motor; T s Represents the output torque of the sun gear motor; where η rm , η sm , η rt , η st , η p , η c are all constants.
3. The energy efficiency optimization method of a dual-motor servo press based on artificial intelligence as claimed in claim 2, characterized in that: The method for obtaining the sample data set is as follows: (1) During the actual operation of the dual-motor servo press, the corresponding gear ring motor speed n is synchronously collected r , Ring gear motor energy consumption P in,rm , solar gear motor energy consumption P in,sm , load force F, punching speed v; (2) Preprocess the collected raw data to remove invalid data and generate multiple five-tuple data D that meet the following format: D={n r ,P in,rm ,P in,sm ,F,v}, (3) According to P in =P in,rm +P in,sm Calculate the corresponding total input power P in , convert each five-tuple data into the following four-tuple data B to obtain the sample data set: B={n r ,F,v,P in }。 4. The energy efficiency optimization method of a dual-motor servo press based on artificial intelligence as claimed in claim 2 is characterized in that: The energy prediction model is constructed as follows: The sample data set is divided into a training set and a test set according to the preset data volume ratio; Choose the appropriate machine learning model to r , F and v are input features, P in Output features; Use the training set to train the machine learning model and measure the performance of the model through the loss function; Retain the model parameters of the machine learning model obtained after training, in which the correspondence between input features and output features has been established; The evaluation index is set, and the performance of the retained final model is evaluated using the test set to ensure the generalization ability of the model on new data and obtain the required energy prediction model.
5. The energy efficiency optimization method of a dual-motor servo press based on artificial intelligence as claimed in claim 4, characterized in that: The selected machine learning models include XGBoost and other neural networks that can be used to fit the mapping relationship between parameters.
6. The energy efficiency optimization method of a dual-motor servo press based on artificial intelligence as claimed in claim 5, characterized in that: The speed n of the ring gear motor in the dual-motor servo press r and the sun gear motor speed n s The following constraints are satisfied: In the above formula, l rd is the lead of the ball screw in the dual-motor servo press, ρ is the reduction ratio of the differential gear train in the dual-motor servo press; v d Indicates the required speed under current working conditions.
7. The energy efficiency optimization method of a dual-motor servo press based on artificial intelligence as claimed in claim 1, characterized in that: The improved genetic algorithm is used to calculate the speed n of the ring gear motor. r The process of iterative optimization is as follows: (1) In the preset ring gear motor output speed range (n rmin ,n rmax ) is restricted, binary coding is used to randomly generate the initial speed chromosome n rd And decode it into the corresponding decimal number; (2) Demand pressure F under current working conditions d and the required speed v d Normalize and replicate to the same number as the initial chromosome n rd The number of elements contained is the same; (3) Demand pressure F d and the required speed v d Expanded to demand pressure vector F d and the required speed vector v d , forming the following initial combination matrix G d : G d =[n rd F d v d ]; (4) The initial combination matrix G d Each row of data is transmitted to the pre-established energy prediction model in turn to calculate the initial combination matrix G d The fitness value of each set of data; (5) Determine whether the genetic algorithm has reached the termination condition and make the following decision: Ⅰ. If the termination condition is met, the chromosome corresponding to the highest fitness value is selected and decoded into the required optimal ring gear motor speed n rbest Then, the corresponding optimal sun gear motor speed n is calculated according to the speed constraint between the ring gear motor and the sun gear motor. sbest , and output the optimal speed of the dual motors [n rbest ,n sbest ]; Ⅱ. If the termination condition is not met, first rd Perform selection, crossover, and mutation to form a new speed chromosome n r ' d , and then repeat steps (2)-(5) to perform the next round of iteration.
8. A real-time optimization method for energy efficiency of a dual-motor servo press, characterized in that: The method is implemented based on the energy efficiency optimization method of the dual-motor servo press based on artificial intelligence as claimed in any one of claims 1 to 7, and the energy efficiency real-time optimization method includes the following process: Real-time acquisition of the slider displacement S during the processing of the dual-motor servo press; According to the slider displacement S, the preset stamping process curve of the current workpiece is queried to determine the required pressure F corresponding to the current working condition. d and the required speed v d ; The improved genetic algorithm embedded with the energy prediction model is used to iteratively generate the optimal speed of the dual motors under the current working conditions [n rbest ,n sbest ]; According to the generated optimal speed of the dual motors [n rbest ,n sbest ] Dynamically adjust the operating status of the ring gear motor and the sun gear motor so that the dual-motor servo press completes the stamping work according to the preset stamping process curve.
9. A feedback controller for realizing energy efficiency optimization of a dual-motor servo press, characterized in that: It adopts the energy efficiency optimization method of the dual-motor servo press based on artificial intelligence as described in any one of claims 1 to 7 to generate an adjustment instruction for adjusting the speed of the ring gear motor and the sun gear motor in the dual-motor servo press, thereby realizing energy efficiency optimization of the processing process; The feedback controller includes: Signal acquisition unit, which is used to obtain the speed n of the ring gear motor in real time r and torque T r , the speed of the sun gear motor n s and torque T s , the displacement S and velocity v of the slider, and the load force F on the slider; The query unit is used to query the stamping process curve to obtain the corresponding required pressure F according to the real-time slider displacement S d and the required speed v d ; A fitness updating unit adopts the energy prediction model and is used to update the energy prediction model according to the input n r , F, v, the total input power corresponding to the output P in ; The iterative optimization module adopts the improved genetic algorithm and is used to optimize the input ring gear motor speed n r The initial value of and the corresponding demand pressure F d and the required speed v d , iteratively generate the optimal ring gear motor speed n under the corresponding working conditions rbest and the optimal sun gear motor speed n sbest ; The command generation unit is used to generate the optimal ring gear motor speed n rbest and the optimal sun gear motor speed n sbest For the target speed, a regulation instruction for adjusting the speed of the ring gear motor and the sun gear motor in the dual-motor servo press is generated.
10. An energy efficiency optimization system for a dual-motor servo press, characterized in that: It includes a sensor group and a feedback controller for realizing energy efficiency optimization of a dual-motor servo press as claimed in claim 9; the sensor group is used to detect the speed n of the ring gear motor in the dual-motor servo press r and torque T r , the speed of the sun gear motor n s and torque T s , slider displacement S and velocity v, and the load force F exerted on the slider.
Citation Information
Cited By
Energy consumption optimization method and system in electric tool stamping part production
CN119204606A
Non-linear inertia adaptive curve control method for servo press
CN119335882A
A nonlinear inertia adaptive curve control method for servo press
CN119335882B
Dual-motor servo press energy efficiency optimization method based on edge calculation
CN120658140A
