Energy-saving control method of dual-motor coupling driving unit based on neural network and PID (Proportion Integration Differentiation)
Through neural network and PID control, the energy-saving control method of the dual-motor coupled drive unit solves the problems of low energy efficiency and transmission error of the dual-motor coupled drive unit under high-speed and small-torque and low-speed and high-torque conditions, achieving high energy efficiency and high Precision dual motor output control.
Patent Information
- Application Number
- CN202410739648.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2024-09-17
AI Technical Summary
The energy efficiency of the dual-motor coupling drive unit is low under high-speed and low-torque conditions and low-speed and high-torque conditions, and transmission errors lead to errors between power output and expected load conditions, making it difficult to achieve high-precision control.
An energy-saving control method for dual-motor coupling drive units based on neural networks and PID is adopted. By collecting load speed and torque data in real time, the energy efficiency optimization model is trained to solve for the optimal speed or torque combination, and PID control is used to achieve high-precision control.
It achieves high energy efficiency and high-precision control of the dual-motor coupling drive unit, adapts to load changes, reduces equipment computing power requirements, and eliminates transmission errors.
Smart Images

Figure CN118659685A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of motor control, and specifically relates to an energy-saving control method of a dual-motor coupling drive unit based on a neural network and PID, and a corresponding energy-saving control system of the dual-motor coupling drive unit. Background Art
[0002] Servo motors are widely used in the industrial field. In actual production units, single motor drives are mostly used. Although single motor drive units can accurately control the speed and torque, the energy efficiency of single motor drive units is generally low under the conditions of high speed and small torque and low speed and large torque. In order to solve this problem, technicians have designed a dual-motor coupled drive unit that is jointly driven by a sun gear motor and a ring gear motor. The dual-motor coupled drive unit can be driven by different dual-motor working modes and speed combinations according to different load conditions, so that the drive unit can not only output the required torque, but also greatly reduce energy consumption, with significant energy-saving effects.
[0003] During the operation of the dual-motor coupled drive unit, corresponding to a specific load condition, the dual motors have multiple speed combinations or torque combinations that can meet the drive requirements of the load condition. However, among this series of speed / torque combinations, there is usually only one optimal combination that can make the drive unit most energy efficient under this condition. Therefore, only by quickly solving the optimal speed combination or optimal torque combination of the dual-motor coupled drive unit under different conditions can the energy efficiency of the drive unit be optimized.
[0004] In addition, the dual-motor coupled drive unit needs to couple different power sources through the transmission system. This transmission process will increase the transmission error of the system, resulting in an error between the actual power output after the dual-motor coupling and the expected load condition. Therefore, how to design a reasonable controller to eliminate the transmission error and achieve high-precision control of the dual-motor output is also a technical problem that technicians in this field must overcome in the process of achieving system energy-saving optimization. Summary of the invention
[0005] In order to solve the problem that the existing dual-motor coupling drive unit is difficult to control and difficult to achieve energy-saving optimization, the present invention provides an energy-saving control method and system for a dual-motor coupling drive unit based on a neural network and PID.
[0006] The technical solution provided by the present invention is as follows:
[0007] An energy-saving control method for a dual-motor coupling drive unit based on a neural network and PID, comprising:
[0008] Real-time acquisition of the load speed n during the operation of the dual-motor coupling drive unit dand load torque T d , and input it into a trained energy efficiency optimization model, which outputs the highest system energy efficiency η that can be achieved under the current working conditions max and optimal operating parameters Among them, the operating parameter U m is the ring gear motor speed n rm , Ring gear motor torque T rm , sun gear motor speed n sm , sun gear motor torque T sm Any one of .
[0009] Optimal operating parameters based on the output of the energy efficiency optimization model Calculate the optimal dual motor speed combination based on the preset speed constraint or torque constraint of the dual motor coupling drive unit Or optimal dual motor torque combination
[0010] With the best dual motor speed combination Or optimal dual motor torque combination To achieve the control target, high-precision control of the outputs of the ring gear motor and the sun gear motor in the dual-motor coupling drive unit is achieved based on PID control.
[0011] As a further improvement of the present invention, the training method of the energy efficiency optimization model is as follows:
[0012] (1) Through preliminary experiments, historical data of various state parameters of the dual-motor coupled drive unit under different load conditions are collected and data cleaning is completed.
[0013] Among them, the state parameters include: ring gear motor speed n rm , Ring gear motor torque T rm , Ring gear motor energy consumption P rm , sun gear motor speed n sm , sun gear motor torque T sm , solar gear motor energy consumption P sm , load speed n d , load torque T d .
[0014] (2) According to the energy consumption P of the ring gear motor under each working condition rm , solar gear motor energy consumption P sm , load speed n d and load torque T d , calculate the corresponding system energy efficiency η.
[0015] (3) Select n rm , T rm 、n sm , Tsm As one of the U m , for each working condition n d , T d ,η,U m Normalization processing is performed to generate corresponding four-tuple data, and the four-tuple data is used as sample data to form a sample data set.
[0016] (4) Using the sample data set, train any neural network model that can be used to fit the mapping relationship between parameters to obtain an energy efficiency optimization model that meets the accuracy requirements; the input of the energy efficiency optimization model is n d and T d , the output is η max and
[0017] As a further improvement of the present invention, in step (2), the calculation formula of the system energy efficiency η is as follows:
[0018]
[0019] As a further improvement of the present invention, in step (3), the expression of normalization processing is as follows:
[0020]
[0021] In the above formula, x is the normalized variable, x i is the i-th original data, x min is the minimum value of the variable, x max is the maximum value of the variable.
[0022] As a further improvement of the present invention, in step (4), the energy efficiency optimization model is not limited to a neural network, but may also be other machine learning models, such as SVM, XGBoost or random forest models. As a further improvement of the present invention, a method for obtaining an energy efficiency optimization model based on neural network training is as follows:
[0023] (i) Initialize the number of network layers and the number of neurons in each layer, select the activation function of the neural network, and add bias terms for the input layer and hidden layer.
[0024] (ii) Divide the sample data set into a training set and a validation set according to the preset data volume ratio.
[0025] (iii) Initialize the network parameters, train the network using the training set, and adjust the weights and bias terms until the maximum number of iterations is reached or the loss converges.
[0026] (iv) Use the validation set to evaluate the performance of the model, adjust the model hyperparameters, and check whether the model has good generalization performance.
[0027] (v) If the performance of the model trained in the previous step does not meet the requirements, return to step (i) to adjust the number of network layers or the number of neurons in each layer and retrain until an energy efficiency optimization model that meets the requirements is obtained.
[0028] As a further improvement of the present invention, the control strategy of PID control adopted in the dual-motor coupling drive unit of the present invention is as follows:
[0029] when or When the brake driving the ring gear motor remains braked, the sun gear motor is the only one driving the motor.
[0030] when or When the sun gear motor is driven, the brake remains on and the motor is driven only by the ring gear motor.
[0031] when and or and When , the brakes of the ring gear motor and the sun gear motor are both released; and the corresponding control signal of the optimal speed of the dual motors is transmitted to the motor driver to control the operation of the ring gear motor and the sun gear motor.
[0032] As a further improvement of the present invention, the speed constraint of the dual-motor coupled drive unit is as follows:
[0033]
[0034] The torque constraints of the dual-motor coupled drive unit are as follows:
[0035] T d =i s T sm +i r i g T rm ,
[0036] In the above formula, ρ is the transmission ratio of the differential gear train, i s is the sun gear motor reducer transmission ratio, i r is the gear ratio of the ring gear motor reducer, i g is the transmission ratio of the reduction gear pair.
[0037] The present invention also includes an energy-saving control system for a dual-motor coupled drive unit, which adopts the energy-saving control method for a dual-motor coupled drive unit based on neural network and PID as mentioned above, to achieve high-precision control of the output of the ring gear motor and the sun gear motor in the dual-motor coupled drive unit to meet the optimization goal of high energy efficiency.
[0038] The energy-saving control system of the dual-motor coupling drive unit includes: a sensor group and an industrial computer. The sensor group uses a speed torque sensor and is used to collect the load speed n of the dual-motor coupling drive unit in real time during operation. d and load torque T d .
[0039] The industrial computer includes a parameter optimization layer and a feedback control layer; the parameter optimization layer is used to calculate the load speed n under the current working conditions. d and load torque T d Generate the highest achievable system energy efficiency η max And its corresponding optimal dual motor speed combination Or optimal dual motor torque combination The feedback control layer uses the PID control method to accurately control the output speed / torque of the ring gear motor and sun gear motor in the dual-motor coupling drive unit.
[0040] As a further improvement of the present invention, the parameter optimization layer runs an energy efficiency optimization model trained in the energy-saving control method of the dual-motor coupling drive unit based on a neural network, and a speed torque generator. The energy efficiency optimization model is used to calculate the input load speed n d and load torque T d , output the highest system energy efficiency η that can be achieved under the current working conditions max And its corresponding optimal operating parameters The speed torque generator is used to calculate the optimal dual motor speed combination based on the preset speed constraint or torque constraint. Or optimal dual motor torque combination
[0041] The feedback control layer includes PID controller, sun gear brake and ring gear brake; the three are based on the optimal dual motor speed combination obtained in the parameter optimization layer. Or optimal dual motor torque combination To achieve the control target, the outputs of the ring gear motor and the sun gear motor in the dual-motor coupled drive unit are controlled with high precision.
[0042] The technical solution provided by the present invention has the following beneficial effects:
[0043] The present invention obtains a sample data set through a preliminary experiment and trains a neural network model to obtain an energy efficiency optimization model. In the actual working process, the energy efficiency optimization model can be directly used to optimize the real-time load to obtain the optimal dual-motor speed that meets the highest energy efficiency. This allows the solution of the present invention to be applied to working conditions with uncertain loads, and the control input can be adjusted in real time according to load changes. It can adapt to a wide range of working conditions, has high optimization accuracy, and has low requirements on equipment computing power.
[0044] The present invention proposes an energy-saving control system including a parameter optimization layer and a feedback control layer. The parameter optimization layer based on a neural network predicts the speed / torque of the optimal ring gear / sun gear motor, and obtains the optimal speed combination of the dual motors or the optimal torque combination of the dual motors through constraint calculation. The feedback control layer based on the PID controller uses a PID control algorithm to adjust the output speed / torque error of the dual motors to eliminate the error in the transmission process. The two-layer control system enables the dual motor coupling drive unit to have high energy efficiency and high precision characteristics. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 This is a schematic diagram of a dual-motor coupling drive unit that adopts the energy efficiency control strategy of the present invention in Example 1 of the present invention.
[0046] Figure 2 This is a flowchart of the steps of the energy-saving control method of dual-motor coupling based on neural network and PID provided in Example 1 of the present invention.
[0047] Figure 3 This is a flow chart of obtaining an energy efficiency prediction model based on neural network training in Example 1 of the present invention.
[0048] Figure 4 This is a system architecture diagram of an industrial computer including a parameter optimization layer and a feedback control layer provided in Example 2 of the present invention.
[0049] Figure 5 This is a system module diagram of the energy-saving control system of the dual-motor coupled drive unit provided in Example 2 of the present invention. DETAILED DESCRIPTION
[0050] 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.
[0051] Example 1
[0052] like Figure 1 As shown, the dual-motor coupling drive unit includes a ring gear motor, a sun gear motor and a planetary differential gearbox. The planetary differential gearbox includes a sun gear, a ring gear, a reduction gear, a planetary gear and a planet carrier. The planetary differential gearbox has two input ends and one output end, and the two input ends are respectively connected to the ring gear motor and the sun gear motor in a transmission manner, wherein 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 gear through the sun gear motor reducer to drive the sun gear to rotate. The output end of the planetary differential gearbox is fixedly connected to the load to drive the load.
[0053] A ring gear motor brake is also installed between the ring gear motor reducer and the reduction gear to brake the ring gear motor. When the ring gear motor is braked, only the sun gear motor provides power. Similarly, a sun gear motor brake is also installed between the sun gear motor reducer and the sun gear to brake the sun gear motor. When the sun gear motor is braked, 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 ring gear motor and the sun gear motor work together to achieve dual-motor coupling drive.
[0054] Based on the above-mentioned dual-motor coupled drive unit, the present embodiment provides an energy-saving control method of the dual-motor coupled drive unit based on neural network and PID, which uses a trained neural network model to optimize the load parameters of the dual-motor coupled drive unit in real time to obtain the optimal speed / torque of the dual motors, and then uses the PID control method to adjust the control signal of the motor speed or motor torque of the drive unit in real time according to the feedback error, thereby achieving high energy efficiency and high-precision control of the dual-motor coupled drive unit.
[0055] Specifically, Figure 2 As shown, the energy-saving control method of the dual-motor coupling drive unit based on neural network and PID provided in this embodiment includes the following steps:
[0056] S1: Real-time acquisition of the load speed n during the operation of the dual-motor coupling drive unit d and load torque T d , and input it into a trained energy efficiency optimization model, which outputs the highest system energy efficiency η that can be achieved under the current working conditions max and optimal operating parameters
[0057] Combined with the previous content, it can be known that each set of load speed and load torque can be used to characterize a specific working condition. Generally speaking, under specific working conditions, the dual-motor coupled drive unit has a variety of speed combinations or torque combinations that can meet the load condition drive requirements. However, in this series of speed / torque combinations, there is usually only one optimal combination that can make the drive unit have the highest energy efficiency under this working condition. In actual application, it is very difficult to directly solve the optimal operating parameters of the ring gear motor and the sun gear motor under specified working conditions. In order to overcome this problem, this embodiment chooses to optimize the motor operating parameters through machine learning methods. Specifically, this embodiment uses a large amount of real operating data of the dual-motor coupled drive unit to train a neural network model, and then uses the trained network model (i.e., the energy efficiency optimization model) to optimize the optimal operating parameters that meet the highest energy efficiency.
[0058] During the operation of the dual-motor coupled drive unit, the speed or torque of the two motors is mainly used as the target to achieve precise control of the system. Therefore, the energy efficiency optimization model should directly obtain the speed / torque of the two motors, or other parameters that help to quickly solve the speed / torque of the two motors. In this embodiment, considering that the speed or torque of the ring gear motor and the sun gear motor in the dual-motor coupled drive unit meets certain constraints, the optimal operating parameters output by the energy efficiency optimization model are Can be selected from the ring gear motor speed n rm , Ring gear motor torque T rm , sun gear motor speed n sm , sun gear motor torque T sm Any one of .
[0059] S2: Optimal operating parameters based on the output of the energy efficiency optimization model Calculate the optimal dual motor speed combination based on the preset speed constraint or torque constraint of the dual motor coupling drive unit Or optimal dual motor torque combination
[0060] In actual application, when the energy efficiency optimization model outputs the optimal operating parameters is the ring gear motor speed n rm Or sun gear motor speed n sm When the speed of one motor is calculated through the speed constraint of the dual motor coupling drive unit, the speed of the other motor is calculated, and then the optimal dual motor speed combination is obtained. When the energy efficiency optimization model outputs the optimal operating parameters is the ring gear motor torque T rm Or the sun gear motor torque T sm When the torque of one motor is calculated through the torque constraint of the dual-motor coupling drive unit, the torque of the other motor is calculated, and then the optimal dual-motor torque combination is obtained.
[0061] In this embodiment, the speed constraints of the dual-motor coupled drive unit are as follows:
[0062]
[0063] The torque constraints of the dual-motor coupled drive unit are as follows:
[0064] T d =i s T sm +i r i g T rm ,
[0065] In the above formula, ρ is the transmission ratio of the differential gear train, i s is the sun gear motor reducer transmission ratio, i r is the gear ratio of the ring gear motor reducer, i g is the transmission ratio of the reduction gear pair.
[0066] S3: Optimal dual motor speed combination Or optimal dual motor torque combination To achieve the control target, high-precision control of the outputs of the ring gear motor and the sun gear motor in the dual-motor coupling drive unit is achieved based on PID control.
[0067] In motor control technology, the motor driver can accurately control the running state of the motor according to the input speed or torque control command, and the brake can brake the motor when receiving the command. This embodiment uses PID control to accurately adjust the running state of the ring gear motor and the sun gear motor, so that the dual-motor coupling drive unit operates according to the optimized dual-motor speed combination or the optimal dual-motor torque combination, thereby reducing the energy consumption level of the dual-motor coupling control system.
[0068] Specifically, the control strategy of PID control adopted in the dual-motor coupling drive unit of this embodiment is as follows:
[0069] when or When the brake driving the ring gear motor remains braked, the sun gear motor is the only one driving the motor.
[0070] when or When the sun gear motor is driven, the brake remains on and the motor is driven only by the ring gear motor.
[0071] when and or and When , the brakes of the ring gear motor and the sun gear motor are both canceled;
[0072] by or In order to control the target, the speed signal is collected through the speed and torque sensor and fed back to the controller to calculate the error between the actual value and the control target; the dual-motor speed or torque error is adjusted based on the PID controller, and the corresponding dual-motor speed or torque control signal is transmitted to the motor driver to control the operation of the ring gear motor and the sun gear motor.
[0073] In the solution of this embodiment, how to train to obtain a load speed n according to the input d and load torque T d, output the highest system energy efficiency η that can be achieved under the current working conditions max and optimal operating parameters The energy efficiency optimization model is the key. The training method of the energy efficiency optimization model in this embodiment is as follows:
[0074] (1) Through preliminary experiments, historical data of various state parameters of the dual-motor coupled drive unit under different load conditions are collected and data cleaning is completed.
[0075] Among them, the state parameters include: ring gear motor speed n rm , Ring gear motor torque T rm , Ring gear motor energy consumption P rm , sun gear motor speed n sm , sun gear motor torque T sm , solar gear motor energy consumption P sm , load speed n d , load torque T d .
[0076] In this embodiment, various state parameters are collected by sensors or detectors installed on the dual-motor coupling drive unit. Specifically, the ring gear motor speed n rm , Ring gear motor torque T rm , sun gear motor speed n sm , sun gear motor torque T sm , load speed n d , load torque T d The speed and torque sensors installed on the output ends of the ring gear motor, sun gear motor and planetary differential gearbox are used to collect the energy consumption of the ring gear motor. rm and the sun gear motor energy consumption P sm The power is measured by power meters connected to the ring gear motor and the sun gear motor respectively.
[0077] In actual application, each speed sensor and power meter are connected to the same acquisition card, and then the values of each state parameter are synchronously collected at the same data sampling frequency. The large amount of historical data collected also needs to be cleaned. During the data cleaning process, it will be checked whether there are abnormal values in the data. If there are abnormal values, the historical data of the state parameter can be used for interpolation operations, and the abnormal values can be replaced with the results of the operations, or the abnormal values and the values of other state parameters collected synchronously with the state parameter can be directly deleted. Among them, the abnormal values of the data can be identified by the threshold method.
[0078] (2) According to the energy consumption P of the ring gear motor under each working condition rm , solar gear motor energy consumption P sm , load speed n dand load torque T d , calculate the corresponding system energy efficiency η.
[0079] In this embodiment, the system energy efficiency cannot be directly observed, but needs to be calculated based on other observed data. d and load torque T d The actual output power of the dual motor coupling drive unit can be calculated, and the energy consumption of the ring gear motor P rm and the sun gear motor energy consumption P sm Together they constitute the overall input of the dual-motor coupled drive unit, and the ratio of the two is the system energy efficiency of the dual-motor coupled drive unit. Specifically, the calculation formula for the system energy efficiency η is as follows:
[0080]
[0081] In the above formula, P loss is the power loss during transmission;
[0082] (3) Select n rm , T rm 、n sm , T sm As one of the U m , for each working condition n d , T d ,η,U m Normalization processing is performed to generate corresponding four-tuple data, and the four-tuple data is used as sample data to form a sample data set.
[0083] The input of the energy efficiency optimization model required in this embodiment is n d , T d , and the output is η, U m Theoretically, U m Should choose n rm and n sm , or T sm and T rm , but considering the n in the dual motor coupling control system rm and n sm , and T sm and T rm The speed constraint and torque constraint are satisfied respectively, so we only need to get n rm , T rm 、n sm , T sm If one of them is used, the other parameter relative to can be directly calculated. Therefore, this embodiment only selects n rm , T rm 、n sm , T smAs one of the U m , which helps to reduce the difficulty of training the energy efficiency optimization model and improve the prediction accuracy of the trained network model.
[0084] Based on the four selected state parameters, in order to eliminate the influence of the dimensions and numerical values of different physical quantities on the prediction accuracy of the finally trained network model, this embodiment also normalizes the historical data of all selected state parameters. The normalization expression used in this embodiment is as follows:
[0085]
[0086] In the above formula, x is the normalized variable, x i is the i-th original data, x min is the minimum value of the variable, x max is the maximum value of the variable.
[0087] (4) Using the sample data set, train any neural network that can be used to fit the mapping relationship between parameters to obtain an energy efficiency optimization model that meets the accuracy requirements; the input of the energy efficiency optimization model is n d and T d , the output is η max and In the solution of this embodiment, the energy efficiency optimization model used for training can be any machine learning model that can be used to fit the mapping relationship between parameters, such as XGBoost, SVM or random forest.
[0088] In order to make the solution of the present invention clearer, the following describes the process of training the energy efficiency optimization model in this embodiment by taking the BP neural network as an example. Specifically, the input of the energy efficiency optimization model trained in this embodiment is n d and T d , the output is and η max ; The model training process is as follows Figure 3 As shown, the following steps are included:
[0089] (i) Initialize the number of network layers and the number of neurons in each layer, select the activation function of the neural network, and add bias terms for the input layer and hidden layer.
[0090] The BP neural network includes an input layer, an output layer and at least one hidden layer. In this embodiment, the number of nodes in the input layer is 3, corresponding to n d , T d and a bias term b1; the number of nodes in the output layer is 2, corresponding to and η max The number of layers of the initialized hidden layer is 1, the number of nodes is j+1, and one of the hidden layer nodes is the bias term b2.
[0091] (ii) Dividing the sample data set into a training set and a validation set according to a preset data volume ratio. In this embodiment, the sample data set is divided into a training set and a test set according to a volume ratio of 7:3.
[0092] (iii) Initialize the network parameters and set the features n of the training set d and T d The input is weighted and summed through the weights w and biases b of each layer, and nonlinearly transformed through the activation function to obtain the predicted output of the neural network. The error between the predicted value and the actual value is calculated, and the size of the error is quantified using the loss function. Starting from the output layer, the error gradient of each layer is calculated and propagated forward layer by layer through the chain rule until the input layer is reached. The weights and biases in the network are updated using the gradient descent method based on the error gradient calculated by backpropagation. The steps of forward propagation, error calculation, backpropagation, and parameter update are repeated until the predetermined number of training rounds is reached or the error drops to the expected value.
[0093] (iv) Use the validation set to evaluate the performance of the model, adjust the model hyperparameters, and check whether the model has good generalization performance.
[0094] (v) If the performance of the model trained in the previous step does not meet the requirements, return to step (i) to adjust the number of network layers or the number of neurons in each layer and retrain until an energy efficiency optimization model that meets the requirements is obtained.
[0095] Example 2
[0096] On the basis of the scheme in Example 1, this example further provides an energy-saving control system for a dual-motor coupled drive unit. The system adopts the energy-saving control method for a dual-motor coupled drive unit based on neural network and PID as in Example 1 to achieve high-precision control of the outputs of the ring gear motor and the sun gear motor in the dual-motor coupled drive unit to meet the optimization goal of high energy efficiency.
[0097] like Figure 4 As shown, the energy-saving control system of the dual-motor coupling drive unit includes: a sensor group and an industrial computer. The sensor group uses a speed torque sensor and is used to collect the load speed n of the dual-motor coupling drive unit in real time during operation. d and load torque T d The industrial computer includes a parameter optimization layer and a feedback control layer. The parameter optimization layer is used to adjust the load speed n according to the current working conditions. d and load torque T d Generate the highest achievable system energy efficiency η max And its corresponding optimal dual motor speed combination Or optimal dual motor torque combination The feedback control layer uses the PID control method to accurately control the output speed / torque of the ring gear motor and sun gear motor in the dual-motor coupling drive unit.
[0098] Specifically, the parameter optimization layer runs an energy efficiency optimization model trained in the energy-saving control method of the dual-motor coupling drive unit based on neural network and PID in Example 1, and a speed torque generator. The energy efficiency optimization model is used to generate a torque generator according to the input load speed n d and load torque T d Output the highest system energy efficiency η that can be achieved under the current working conditions max And its corresponding optimal operating parameters The speed torque generator is used to calculate the optimal dual motor speed combination based on the preset speed constraint or torque constraint. Or optimal dual motor torque combination
[0099] Specifically, Figure 5 As shown, the speed torque generator includes a speed conversion unit and a torque conversion unit. When the operating parameters output by the energy efficiency optimization model are or When , the speed conversion unit calls the preset speed constraint to calculate the speed of the other motor according to the speed of one motor. When the operating parameters output by the energy efficiency optimization model are or When the torque conversion unit calls the preset torque constraint to calculate the torque of another motor according to the torque of one motor.
[0100] The feedback control layer of this embodiment includes a PID controller, a sun gear brake and a ring gear brake; the three are based on the optimal dual motor speed combination obtained in the parameter optimization layer. Or optimal dual motor torque combination To achieve the control goal, the output of the ring gear motor and the sun gear motor in the dual motor coupling drive unit is controlled with high precision. or The sun gear brake is used to brake the reduction gear in the planetary differential gearbox. or The sun gear in the planetary differential gearbox is braked when braking. The PID controller is used to feedback adjust the speed / torque of the ring gear motor and the sun gear motor under non-braking conditions to dynamically follow the speed or torque target and eliminate transmission errors.
[0101] It should be noted that the industrial computer including the parameter optimization layer and the feedback control layer in this embodiment is essentially a computer device for realizing data processing and instruction generation, which includes a memory, a processor, and a computer program stored in the memory and can be run on the processor. The computer device provided in this embodiment can be an intelligent terminal, a tablet computer, a laptop computer, a desktop computer, a rack server, a blade server, a tower server or a cabinet server (including an independent server, or a server cluster composed of multiple servers) that can execute a program. The computer device of this embodiment includes at least but is not limited to: a memory and a processor that can be interconnected through a system bus.
[0102] In this embodiment, the memory (i.e., readable storage medium) includes flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory may be an internal storage unit of a computer device, such as a hard disk or memory of the computer device.
[0103] In other embodiments, the memory may also be an external storage device of the computer device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc., equipped on the computer device. Of course, the memory may also include both the internal storage unit of the computer device and its external storage device. In this embodiment, the memory is generally used to store the operating system and various application software installed on the computer device. In addition, the memory may also be used to temporarily store various data that have been output or are to be output.
[0104] The processor may be a central processing unit (CPU), a graphics processing unit (GPU), a controller, a microcontroller, a microprocessor, or other data processing chips in some embodiments. The processor is generally used to control the overall operation of a computer device. In this embodiment, the processor is used to run program codes stored in a memory or process data.
[0105] 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-saving control method for a dual-motor coupling drive unit based on neural network and PID, characterized in that: It includes: Real-time acquisition of the load speed n during the operation of the dual-motor coupling drive unit d and load torque T d , and input it into a trained energy efficiency optimization model, which outputs the highest system energy efficiency η that can be achieved under the current working conditions max and optimal operating parameters Among them, the operating parameter U m is the ring gear motor speed n rm , Ring gear motor torque T rm , sun gear motor speed n sm , Sun gear motor torque T sm Any one of; Optimal operating parameters based on the output of the energy efficiency optimization model According to the preset speed constraint or torque constraint of the dual motor coupling drive unit, the optimal dual motor speed combination is calculated. Or optimal dual motor torque combination With the best dual motor speed combination Or optimal dual motor torque combination To achieve the control target, high-precision control is implemented on the outputs of the ring gear motor and the sun gear motor in the dual-motor coupling drive unit based on PID control.
2. The energy-saving control method of the dual-motor coupling drive unit based on neural network and PID as claimed in claim 1, characterized in that: The training method of the energy efficiency optimization model is as follows: (1) collecting historical data of various state parameters of the dual-motor coupled drive unit under different load conditions through preliminary experiments, and completing data cleaning; The state parameters include: the ring gear motor speed n rm , Ring gear motor torque T rm , Ring gear motor energy consumption P rm , sun gear motor speed n sm , Sun gear motor torque T sm 、Energy consumption of solar gear motor P sm , load speed n d , load torque T d ; (2) According to the energy consumption P of the ring gear motor under each working condition rm 、Energy consumption of solar gear motor P sm , load speed n d and load torque T d , calculate the corresponding system energy efficiency η; (3) For each working condition, n d 、T d ,η,U m Perform normalization processing to generate corresponding four-tuple data, and use the four-tuple data as sample data to form a sample data set; (4) Using the sample data set, any neural network model that can be used to fit the mapping relationship between parameters is trained to obtain an energy efficiency optimization model that meets the accuracy requirements.
3. The energy-saving control method of the dual-motor coupling drive unit based on neural network and PID as claimed in claim 2, characterized in that: The calculation formula of the system energy efficiency η is as follows:
4. The energy-saving control method of the dual-motor coupling drive unit based on neural network and PID as claimed in claim 2, characterized in that: The normalized expression is as follows: In the above formula, x is the normalized variable, x i is the i-th original data, x min is the minimum value of the variable, x max is the maximum value of the variable.
5. The energy-saving control method of the dual-motor coupling drive unit based on neural network and PID as claimed in claim 2, characterized in that: The energy efficiency optimization model is not limited to a neural network, and may also be other machine learning models, such as SVM, XGBoost, or random forest models.
6. The energy-saving control method of the dual-motor coupling drive unit based on neural network and PID as claimed in claim 5, characterized in that: The method for obtaining the energy efficiency optimization model based on neural network training is as follows: (i) Initialize the number of network layers and the number of neurons in each layer, select the activation function of the neural network, and add bias terms for the input layer and hidden layer; (ii) dividing the sample data set into a training set and a validation set according to a preset data volume ratio; (iii) Initialize the network parameters, train the network using the training set, and adjust the weights and bias terms until the maximum number of iterations is reached or the loss converges; (iv) Use the validation set to evaluate the performance of the model, adjust the model hyperparameters, and check whether the model has good generalization performance; (v) If the performance of the model trained in the previous step does not meet the requirements, return to step (i) to adjust the number of network layers or the number of neurons in each layer and retrain until an energy efficiency optimization model that meets the requirements is obtained.
7. The energy-saving control method of the dual-motor coupling drive unit based on neural network and PID as claimed in claim 1, characterized in that: The control strategy of the PID controller is as follows: when or When the brake driving the ring gear motor remains braked, the sun gear motor is the only one driving the motor. when or When the sun gear motor is driven, the brake remains on and the motor is driven only by the ring gear motor. when and or and When , the brakes of the ring gear motor and the sun gear motor are both released; and the corresponding control signal of the optimal speed of the dual motors is transmitted to the motor driver to control the operation of the ring gear motor and the sun gear motor.
8. The energy-saving control method of the dual-motor coupling drive unit based on neural network and PID as claimed in claim 1, characterized in that: The speed constraints of the dual-motor coupled drive unit are as follows: The torque constraints of the dual-motor coupled drive unit are as follows: T d =i s T sm +i r i g T rm , In the above formula, ρ is the transmission ratio of the differential gear train, i s is the sun gear motor reducer transmission ratio, i r is the gear ratio of the ring gear motor reducer, i g is the transmission ratio of the reduction gear pair.
9. An energy-saving control system for a dual-motor coupled drive unit, characterized in that: It adopts the energy-saving control method of the dual-motor coupling drive unit based on neural network and PID as described in any one of claims 1 to 8 to achieve high-precision control of the output of the ring gear motor and the sun gear motor in the dual-motor coupling drive unit to meet the optimization goal of high energy efficiency; The energy-saving control system of the dual-motor coupled drive unit includes: The sensor group uses a speed torque sensor, which is used to collect the load speed n of the dual motor coupling drive unit in real time during operation. d and load torque T d ; The industrial computer includes a parameter optimization layer and a feedback control layer; the parameter optimization layer is used to calculate the load speed n under the current working conditions. d and load torque T d Generate the highest achievable system energy efficiency η max And its corresponding optimal dual motor speed combination Or optimal dual motor torque combination The feedback control layer accurately controls the output speed / torque of the ring gear motor and the sun gear motor in the dual-motor coupling drive unit through a PID control method.
10. The energy-saving control system of the dual-motor coupled drive unit according to claim 9, characterized in that: The parameter optimization layer runs an energy efficiency optimization model trained in the energy-saving control method of the dual-motor coupling drive unit based on neural network and PID as described in any one of claims 1 to 8, and a speed torque generator; the energy efficiency optimization model is used to generate a speed torque generator according to the input load speed n d and load torque T d , output the highest system energy efficiency η that can be achieved under the current working conditions max And its corresponding optimal operating parameters The speed torque generator is used to calculate the optimal dual motor speed combination in combination with the preset speed constraint or torque constraint. Or optimal dual motor torque combination The feedback control layer includes a PID controller, a sun gear brake and a ring gear brake; the three are based on the optimal dual motor speed combination obtained in the parameter optimization layer. Or optimal dual motor torque combination To achieve the control target, the output speed / torque of the ring gear motor and the sun gear motor in the dual-motor coupling drive unit is controlled with high precision.
Citation Information
Cited By
Double-motor coupling driving type press machine control method based on dynamic programming and product
CN122626521A
