A method, system, and vehicle for controlling the speed of an oil-cooled motor oil pump.
By using a piecewise proportional correction and a second-order extended Kalman filter algorithm, combined with motor speed, torque, and stator temperature, precise control of the oil pump speed was achieved. This solved the problems of target speed deviation and sensor reliability in existing technologies, and improved the performance of the cooling and lubrication system.
Patent Information
- Application Number
- CN202611132157.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-28
- Publication Date
- 2026-11-17
AI Technical Summary
Existing electronic oil pump control strategies cannot comprehensively consider the correlation between motor speed, torque and stator temperature, resulting in a deviation between the target speed calculation result and the actual heat dissipation requirements. Furthermore, the accuracy and reliability of sensors in high-temperature and vibration environments are difficult to guarantee.
By employing a piecewise proportional correction method combined with a second-order extended Kalman filter algorithm, the target speed of the oil pump is calculated by collecting motor speed, torque, and stator temperature. The actual speed is estimated using three-phase current and voltage commands, replacing physical sensors to achieve precise control.
It improves the accuracy and reliability of oil pump speed control, prevents motor overheating, reduces system failure rate and maintenance costs, and enhances the efficiency of the cooling and lubrication system.
Smart Images

Figure CN123122367A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of motor control technology, and particularly relates to a method, system and vehicle for controlling the speed of an oil-cooled motor oil pump. Background Technology
[0002] As the peak power of new energy vehicles increases, the heat generated by the motor also increases, which places higher demands on the cooling and lubrication system. To ensure the stable operation of the vehicle under various working conditions, the motor needs to be equipped with a more efficient cooling and lubrication system.
[0003] Traditional oil pumps mostly employ constant speed or mechanical transmission control, with a simple linear relationship between pump oil volume and motor speed, making dynamic adjustment impossible based on actual motor operating conditions. Electronic oil pumps can receive target speed signals from the motor controller and adjust their own speed in real time. However, current electronic oil pump control strategies are generally simple, often using a single parameter, such as motor temperature or coolant temperature, for linear control, failing to comprehensively consider the impact of multiple factors on cooling requirements during actual vehicle operation. Furthermore, current methods for obtaining the actual pump speed generally rely on sensors, but oil pumps often operate in high-temperature and vibration environments, affecting sensor accuracy and consequently impacting pump efficiency and control quality, making it difficult to meet the cooling and lubrication system requirements of high-performance motors. Summary of the Invention
[0004] To overcome the shortcomings of the prior art, this invention proposes a method, system, and vehicle for controlling the speed of an oil-cooled motor oil pump. This addresses the problems of existing electronic oil pump control strategies, which calculate parameters independently, failing to reflect the correlation between motor speed, torque, and stator temperature. Furthermore, under complex operating conditions with multiple parameters changing simultaneously, the calculated target speed deviates from the actual heat dissipation requirements, leading to insufficient or excessive oil supply. Additionally, existing solutions rely on a built-in physical speed sensor in the oil pump to obtain actual speed feedback. However, the oil pump operates in harsh environments with high temperatures and strong vibrations, making it difficult to guarantee the sensor's accuracy and reliability, thus affecting the accuracy of closed-loop control.
[0005] To achieve the above objectives, one or more embodiments of the present invention provide the following technical solutions: In a first aspect, the present invention discloses a method for controlling the speed of an oil-cooled motor oil pump, comprising: Collect the motor's current speed, torque, and stator temperature; Input the aforementioned speed and torque into the basic demand table to obtain the basic oil pump speed; Based on the relationship between the stator temperature, the upper limit of normal temperature, and the overheat protection threshold, the thermal management correction speed is calculated using a segmented proportional correction method. The target oil pump speed is obtained based on the base oil pump speed and the thermal management corrected speed. The three-phase current of the oil pump is collected in real time and transformed to obtain the current component. The extended back electromotive force is calculated by combining the voltage command. The actual speed of the oil pump motor is estimated by using the extended back electromotive force as the observation and employing a second-order extended Kalman filter algorithm. The difference between the target speed and the actual speed is input into the speed loop PI regulator to generate a current reference value. Then, the current loop PI regulator and pulse width modulation generate a drive signal to control the oil pump motor speed to follow the target speed.
[0006] A further technical solution involves calculating the thermal management correction speed using a segmented proportional correction method based on the relationship between the stator temperature, the upper limit of normal temperature, and the overheat protection threshold. Specifically: Set the upper limit of normal temperature and overheat protection threshold ; like ,but ; like ,but ,in This is the proportional gain coefficient; like ,but ,in, The current stator temperature, This is the maximum permissible speed of the oil pump. To correct the rotational speed.
[0007] A further technical solution, wherein the target oil pump speed is obtained based on the base oil pump speed and the thermal management correction speed, specifically includes: The target oil pump speed is obtained by taking the maximum value of the sum of the base oil pump speed and the thermal management correction speed.
[0008] A further technical solution, wherein the real-time acquisition of the three-phase current of the oil pump and the transformation to obtain the current component, combined with the voltage command to calculate the extended back electromotive force, includes: The three-phase current of the oil pump is acquired in real time, and the α and β axis current components are obtained through Clark transformation; at the same time, the voltage command at the current moment is acquired. Calculate the extended back electromotive force based on the current component and the voltage command:
[0009]
[0010] in, , Extend the back electromotive force components along the α and β axes; Stator resistance; For stator inductance; , The current components are α and β axes; T is the control period. , is the voltage command; k is the kth control cycle.
[0011] A further technical solution involves using the extended back electromotive force as an observation and employing a second-order extended Kalman filter algorithm to estimate the actual rotational speed of the oil pump motor, including: Define the initial state estimate and the initial error covariance matrix; For each control cycle, the following operations are performed: state prediction, observation prediction, and state update; the state update is as follows:
[0012] in, Update the estimated state for step k+1; For prediction state Calculated observational predictions; Extract the estimated rotational speed from the updated state vector and convert it to rotational speed per minute.
[0013] A further technical solution is that the state prediction is:
[0014] in, This is the state prediction vector for the (k+1)th step; Update the estimated electric angular velocity for the k-th step; is the electrical angle update estimate for the k-th step; T is the control period.
[0015] A further technical solution is that the observation and prediction are as follows:
[0016] in, For observed and predicted values; It is a permanent magnet flux linkage; This is the predicted electric angular velocity value for the (k+1)th step; This is the predicted electrical angle value at step k+1.
[0017] A further technical solution involves inputting the difference between the target speed and the actual speed into a speed loop PI controller to generate a current reference value. The transfer function of the PI controller is as follows:
[0018] in, This is the speed ring proportional coefficient; The integral coefficient of the speed loop; This refers to the speed loop control cycle; This represents the rotational speed error.
[0019] A further technical solution involves generating a drive signal via a current loop PI regulator and pulse width modulation to control the oil pump motor speed to follow the target speed, specifically as follows: Input the q-axis current reference value and the d-axis current reference value into the current loop PI regulator to obtain the dq-axis voltage reference value. , ; The dq axis voltage reference value is transformed by Park to obtain the α and β axis voltage components, and then a PWM wave is generated by the SVPWM algorithm to drive the three-phase inverter, thereby controlling the actual speed of the oil pump motor to follow the target speed.
[0020] Secondly, the present invention discloses a control system for the speed of an oil-cooled motor oil pump, comprising: The data acquisition module is configured to collect the motor's current speed, torque, and stator temperature. The demand lookup module is configured to input the speed and torque into the basic demand Map table and look up the basic oil pump speed. The speed correction module is configured to calculate the thermal management correction speed using a segmented proportional correction method based on the relationship between the stator temperature and the preset upper limit of normal temperature and the overheat protection threshold. The target calculation module is configured to: obtain the target oil pump speed based on the base oil pump speed and the thermal management correction speed; The speed estimation module is configured to: collect the three-phase current of the oil pump in real time, transform the three-phase current through Clark to obtain the current component, calculate the extended back EMF by combining the voltage command output by the SVPWM module in the current control cycle, and use the extended back EMF as the observation to estimate the actual speed of the oil pump motor by using a second-order extended Kalman filter algorithm, replacing the physical speed sensor. The control drive module is configured to: input the difference between the target speed and the actual speed into the speed loop PI regulator to generate a q-axis current reference value, and then generate a drive signal through the current loop PI regulator and SVPWM pulse width modulation to control the oil pump motor speed to follow the target speed.
[0021] Thirdly, the present invention discloses a vehicle, including a memory and a processor, and computer instructions stored in the memory and running on the processor, wherein the computer instructions, when run by the processor, complete the steps of the above-described method for controlling the speed of the oil pump of the oil-cooled motor.
[0022] Fourthly, the present invention discloses a computer-readable storage medium for storing computer instructions, which, when executed by a processor, complete the steps of the above-described method for controlling the speed of the oil pump in an oil-cooled motor.
[0023] Fifthly, the present invention discloses a computer program product comprising executable instructions stored in a computer-readable storage medium; wherein, when the vehicle's processor reads the executable instructions from the computer-readable storage medium and executes the executable instructions, it completes the steps of the above-mentioned method for controlling the speed of the oil pump of the oil-cooled motor.
[0024] Compared with the prior art, the beneficial effects of the present invention are as follows: This invention introduces a segmented proportional correction mechanism for stator temperature. When the temperature enters a preset range, the proportional gain-driven correction term is activated to actively increase the oil supply. When the temperature exceeds the preset range, the maximum speed is forcibly output. This achieves active perception and graded intervention of the motor's thermal state, effectively preventing the motor from overheating and being damaged due to insufficient heat dissipation, and significantly improving the system's thermal safety margin.
[0025] Furthermore, this invention replaces the physical speed sensor with a second-order extended Kalman filter algorithm that uses extended back electromotive force as the observation quantity. It makes full use of the existing three-phase current sampling signal of the oil pump and SVPWM voltage command to calculate the speed estimate, fundamentally eliminating the impact of harsh working conditions such as high temperature and strong vibration on the sensor accuracy. At the same time, it reduces the number of sensors and their wiring harnesses, lowers the system failure rate and maintenance cost, and improves the long-term reliability of closed-loop control.
[0026] Advantages of additional aspects of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description
[0027] The accompanying drawings, which form part of this invention, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an improper limitation of the invention.
[0028] Figure 1 This is a flowchart of the method for controlling the speed of the oil pump in an oil-cooled motor as described in Embodiment 1 of the present invention.
[0029] Figure 2 This is a schematic diagram of the control system for the oil pump speed of the oil-cooled motor described in Embodiment 2 of the present invention. Detailed Implementation
[0030] It should be noted that the following detailed descriptions are exemplary and intended to provide further illustration of the invention. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains.
[0031] It should be noted that the terminology used herein is for the purpose of describing particular implementations only and is not intended to limit the exemplary implementations of the present invention.
[0032] Where there is no conflict, the embodiments and features in the embodiments of the present invention can be combined with each other.
[0033] Example 1 In one or more embodiments, a method for controlling the speed of an oil-cooled motor oil pump is disclosed, such as... Figure 1 As shown, it includes the following steps: Step S101: Collect the current speed, torque, and stator temperature of the motor; Step S102: Input the speed and torque into the basic demand Map table, and look up the table to obtain the basic oil pump speed; Step S103: Calculate the thermal management correction speed using a segmented proportional correction method based on the relationship between the stator temperature and the preset upper limit of normal temperature and overheat protection threshold. Step S104: Obtain the target oil pump speed based on the base oil pump speed and the thermal management correction speed; Step S105: Real-time acquisition of the three-phase current of the oil pump, the three-phase current is processed by Clark and transformed to obtain the current component, and the extended back EMF is calculated by combining the voltage command output by the SVPWM module in the current control cycle. The actual speed of the oil pump motor is estimated by using the extended back EMF as the observation and the second-order extended Kalman filter algorithm to replace the physical speed sensor. Step S106: Input the difference between the target speed and the actual speed into the speed loop PI regulator to generate a q-axis current reference value. Then, through the current loop PI regulator and SVPWM pulse width modulation, generate a drive signal to control the oil pump motor speed to follow the target speed.
[0034] In step S101, specifically: the current motor speed is obtained. Motor torque and motor stator temperature .
[0035] In step S102, specifically: the motor speed is... and motor torque Input into the preset basic requirements Map table In the process, the base oil pump speed that meets the motor's heat dissipation requirements is obtained by looking up a table. .
[0036] By considering motor speed, torque, and stator temperature, this embodiment can more accurately calculate the motor's heat dissipation requirements, avoiding problems of insufficient or excessive oil supply caused by a single parameter. Furthermore, the basic requirements are presented in a two-dimensional map, facilitating calibration through bench tests; thermal correction only requires adjustment. , h、 Three parameters simplify the calibration process.
[0037] This embodiment employs a composite decision-making strategy that combines the results of a two-dimensional basic demand Map lookup table of motor speed and torque with the segmented proportional correction term of stator temperature and takes the largest value. This strategy comprehensively reflects the correlation between multiple parameters and heat dissipation requirements, overcoming the shortcomings of existing technologies where each parameter is calculated independently and the maximum value is taken, which cannot characterize the coupling relationship between parameters. This makes the target speed decision of the oil pump closer to the actual heat dissipation requirements of the motor under complex operating conditions, effectively avoiding the problems of insufficient or excessive oil supply.
[0038] In step S103, specifically: setting the upper limit of normal temperature. Overheat protection threshold proportional gain coefficient Based on the current stator temperature Calculate the corrected speed .
[0039] Set the upper limit of normal temperature and overheat protection threshold ; like ,but ; like ,but ,in This is the proportional gain coefficient; like ,but , This is the maximum permissible speed of the oil pump.
[0040] This embodiment uses stator temperature for proportional correction, enabling the system to adjust the oil supply according to the actual situation. When the temperature approaches or exceeds the threshold, it can actively increase the oil supply to intervene, effectively preventing the motor from overheating and being damaged, and improving safety.
[0041] In step S104, specifically: the maximum value principle is used for judgment to ensure thermal safety and obtain the final target rotational speed. :
[0042] The calculated target rotational speed is sent to the oil pump.
[0043] In step S105, a second-order extended Kalman filter is used to perform sensorless speed estimation. A second-order EKF algorithm with rotor speed and position as state variables is designed for the oil pump's operating environment, enabling reliable speed feedback even under conditions of high temperature and vibration.
[0044] Target speed The data is sent to the oil pump, the three-phase current of the oil pump is sampled in real time, and a second-order extended Kalman filter algorithm is used to estimate the actual speed of the oil pump motor. .
[0045] Specifically, the oil pump's current sampling module collects the three-phase current of the oil pump in real time. , , After Clark transformation, the result is obtained , Simultaneously, the current voltage command is obtained from the SVPWM module. , First, calculate the extended back electromotive force as a pseudo-measurement:
[0046]
[0047] in, , Extend the back electromotive force components along the α and β axes; Stator resistance; For stator inductance; , α and β axis current components; T is the control period.
[0048] Then, a second-order extended Kalman filter algorithm is used to... For observation purposes, estimate the actual rotational speed. And the electrical angle θ. The specific recursive steps are as follows: Initialization: Setting the initial state estimate and the initial error covariance matrix .
[0049] For each control cycle k, execute: (1) State prediction: State vector ,in Electric angular velocity, Let be the electrical angle, and k be the kth control cycle.
[0050] Equations of state:
[0051] in, This is the state prediction vector for the (k+1)th step; Update the estimated electric angular velocity for the k-th step; Update the electrical angle estimate for the k-th step.
[0052] State transition Jacobian matrix:
[0053] The predicted covariance is:
[0054] in, This is the current error covariance matrix; The process noise covariance matrix is... , These represent the process noise variances for electric angular velocity and electric angle, respectively.
[0055] (2) Observation and prediction: The observation function is:
[0056] in, For observed and predicted values; It is a permanent magnet flux linkage; This is the predicted electric angular velocity value for the (k+1)th step; This is the predicted electrical angle value at step k+1.
[0057] Observation of the Jacobian matrix:
[0058] Kalman gain calculation:
[0059] Where R is the measurement noise covariance matrix.
[0060] (3) Status update:
[0061] in, Update the estimated state for step k+1; For prediction state Calculated observational predictions.
[0062] Covariance update:
[0063] Finally, the speed estimate is extracted from the updated state vector. And convert it to revolutions per minute:
[0064] in, This is an estimated value for the actual rotational speed.
[0065] This embodiment uses a second-order extended Kalman filter for speed estimation, eliminating the influence of environmental factors such as high temperature and vibration on the sensor and improving reliability. At the same time, it reduces the number of sensors and their wiring harnesses, lowering costs.
[0066] In step S106, the speed is adjusted by PI control, specifically: First, calculate the speed error:
[0067] in, This represents the rotational speed error.
[0068] A PI controller is used to adjust the speed error, and a reference value for the q-axis current is obtained. .
[0069] The transfer function of the PI controller is in the form of:
[0070] in, This is the speed ring proportional coefficient; The integral coefficient of the speed loop; For the speed loop control period; the integral term is accumulated with historical errors. The calculated value is... The q-axis current command, which serves as the inner current loop, is input to the current regulator.
[0071] Then, current loop control and drive.
[0072] q-axis current reference value By inputting the d-axis current reference value into the current loop PI regulator, the dq-axis voltage reference value is obtained. , The d-axis current reference value can be set to 0. The α and β-axis voltage components are obtained through the inverse Park transform. , Then, the SVPWM algorithm is used to generate a PWM wave to drive the three-phase inverter, thereby controlling the actual speed of the oil pump motor to accurately follow the target speed. .
[0073] Finally, proceed with the iteration: Let k = k + 1, return to step S101, and calculate the next control cycle.
[0074] Through the above steps, oil pump speed control based on motor speed, torque and stator temperature was achieved, and higher precision oil pump speed control was achieved through second-order EKF speed estimation and PI regulator.
[0075] Existing technologies that use multiple parameters to determine rotational speed, with each parameter's demand calculated independently and the maximum value taken as the final target, while addressing the most pressing single demand, lack consideration for multiple parameters and fail to account for their interrelationships. For example, when motor torque and coil temperature rise simultaneously, their cooling requirements cannot be simply represented by taking the maximum value. This could lead to insufficient oil pump speed under certain operating conditions and excessive speed under others. Furthermore, relying entirely on the oil pump's built-in speed sensor for actual rotational speed feedback presents challenges in ensuring sensor reliability under harsh environments such as high temperatures and vibrations.
[0076] The present invention addresses the problems of inaccurate target speed determination and low feedback reliability of electronic oil pumps in the prior art by comprehensively considering three parameters: motor speed, torque, and stator temperature. It calculates the target oil pump speed to meet the real-time heat dissipation requirements of the motor system. By combining table lookup with thermal proportional correction, it balances the accuracy of the basic oil supply with thermal safety protection, simplifying calibration work while improving control accuracy. Furthermore, it introduces a second-order extended Kalman filter algorithm for speed estimation, improving the system's reliability in harsh environments.
[0077] Example 2 In one or more embodiments, a control system for the speed of an oil-cooled motor oil pump is disclosed, such as... Figure 2 As shown, it specifically includes: The data acquisition module 201 is configured to acquire the current speed, torque and stator temperature of the motor. The demand lookup module 202 is configured to input the speed and torque into the basic demand Map table and look up the basic oil pump speed. The speed correction module 203 is configured to calculate the thermal management correction speed using a segmented proportional correction method based on the relationship between the stator temperature and the preset upper limit of normal temperature and the overheat protection threshold. The target calculation module 204 is configured to: obtain the target oil pump speed based on the base oil pump speed and the thermal management correction speed; The speed estimation module 205 is configured to: collect the three-phase current of the oil pump in real time, transform the three-phase current through Clark to obtain the current component, calculate the extended back EMF by combining the voltage command output by the SVPWM module in the current control cycle, and use the extended back EMF as the observation to estimate the actual speed of the oil pump motor by adopting the second-order extended Kalman filter algorithm, replacing the physical speed sensor. The control drive module 206 is configured to: input the difference between the target speed and the actual speed into the speed loop PI regulator to generate a q-axis current reference value, and then generate a drive signal through the current loop PI regulator and SVPWM pulse width modulation to control the oil pump motor speed to follow the target speed.
[0078] Specifically, in the data acquisition module 201: the current motor speed is obtained. Motor torque and motor stator temperature .
[0079] In the demand lookup module 202, specifically: the motor speed... and motor torque Input into the preset basic requirements Map table In the process, the base oil pump speed that meets the motor's heat dissipation requirements is obtained by looking up a table. .
[0080] By considering motor speed, torque, and stator temperature, this embodiment can more accurately calculate the motor's heat dissipation requirements, avoiding problems of insufficient or excessive oil supply caused by a single parameter. Furthermore, the basic requirements are presented in a two-dimensional map, facilitating calibration through bench tests; thermal correction only requires adjustment. , h、 Three parameters simplify the calibration process.
[0081] This embodiment employs a composite decision-making strategy that combines the results of a two-dimensional basic demand Map lookup table of motor speed and torque with the segmented proportional correction term of stator temperature and takes the largest value. This strategy comprehensively reflects the correlation between multiple parameters and heat dissipation requirements, overcoming the shortcomings of existing technologies where each parameter is calculated independently and the maximum value is taken, which cannot characterize the coupling relationship between parameters. This makes the target speed decision of the oil pump closer to the actual heat dissipation requirements of the motor under complex operating conditions, effectively avoiding the problems of insufficient or excessive oil supply.
[0082] Specifically, in the speed correction module 203: the upper limit of normal temperature is set. Overheat protection threshold proportional gain coefficient Based on the current stator temperature Calculate the corrected speed .
[0083] Set the upper limit of normal temperature and overheat protection threshold ; like ,but ; like ,but ,in This is the proportional gain coefficient; like ,but , This is the maximum permissible speed of the oil pump.
[0084] This embodiment uses stator temperature for proportional correction, enabling the system to adjust the oil supply according to the actual situation. When the temperature approaches or exceeds the threshold, it can actively increase the oil supply to intervene, effectively preventing the motor from overheating and being damaged, and improving safety.
[0085] In the target calculation module 204, specifically: the maximum value principle is used for judgment to ensure thermal safety, and the final target rotational speed is obtained. :
[0086] The calculated target rotational speed is sent to the oil pump.
[0087] In the speed estimation module 205, a second-order extended Kalman filter is used to perform sensorless speed estimation. Considering the working environment of the oil pump, a second-order EKF algorithm with rotor speed and position as state variables is designed, enabling reliable speed feedback even under high temperature and vibration conditions.
[0088] Target speed The data is sent to the oil pump, the three-phase current of the oil pump is sampled in real time, and a second-order extended Kalman filter algorithm is used to estimate the actual speed of the oil pump motor. .
[0089] Specifically, the oil pump's current sampling module collects the three-phase current of the oil pump in real time. , , After Clark transformation, the result is obtained , Simultaneously, the current voltage command is obtained from the SVPWM module. , First, calculate the extended back electromotive force as a pseudo-measurement:
[0090]
[0091] in, , Extend the back electromotive force components along the α and β axes; Stator resistance; For stator inductance; , α and β axis current components; T is the control period.
[0092] Then, a second-order extended Kalman filter algorithm is used to... For observation purposes, estimate the actual rotational speed. And the electrical angle θ. The specific recursive steps are as follows: Initialization: Setting the initial state estimate and the initial error covariance matrix .
[0093] For each control cycle k, execute: (1) State prediction: State vector ,in Electric angular velocity, Let be the electrical angle, and k be the kth control cycle.
[0094] Equations of state:
[0095] in, This is the state prediction vector for the (k+1)th step; Update the estimated electric angular velocity for the k-th step; Update the electrical angle estimate for the k-th step.
[0096] State transition Jacobian matrix:
[0097] The predicted covariance is:
[0098] in, This is the current error covariance matrix; The process noise covariance matrix is... , These represent the process noise variances for electric angular velocity and electric angle, respectively.
[0099] (2) Observation and prediction: The observation function is:
[0100] in, For observed and predicted values; It is a permanent magnet flux linkage; This is the predicted electric angular velocity value for the (k+1)th step; This is the predicted electrical angle value at step k+1.
[0101] Observation of the Jacobian matrix:
[0102] Kalman gain calculation:
[0103] Where R is the measurement noise covariance matrix.
[0104] (3) Status update:
[0105] in, Update the estimated state for step k+1; For prediction state Calculated observational predictions.
[0106] Covariance update:
[0107] Finally, the speed estimate is extracted from the updated state vector. And convert it to revolutions per minute:
[0108] in, This is an estimated value for the actual rotational speed.
[0109] This embodiment uses a second-order extended Kalman filter for speed estimation, eliminating the influence of environmental factors such as high temperature and vibration on the sensor and improving reliability. At the same time, it reduces the number of sensors and their wiring harnesses, lowering costs.
[0110] In the control drive module 206, the speed PI regulation is specifically as follows: First, calculate the speed error:
[0111] in, This represents the rotational speed error.
[0112] A PI controller is used to adjust the speed error, and a reference value for the q-axis current is obtained. .
[0113] The transfer function of the PI controller is in the form of:
[0114] in, This is the speed ring proportional coefficient; The integral coefficient of the speed loop; For the speed loop control period; the integral term is accumulated with historical errors. The calculated value is... The q-axis current command, which serves as the inner current loop, is input to the current regulator.
[0115] Then, current loop control and drive.
[0116] q-axis current reference value By inputting the d-axis current reference value into the current loop PI regulator, the dq-axis voltage reference value is obtained. , The d-axis current reference value can be set to 0. The α and β-axis voltage components are obtained through the inverse Park transform. , Then, the SVPWM algorithm is used to generate a PWM wave to drive the three-phase inverter, thereby controlling the actual speed of the oil pump motor to accurately follow the target speed. .
[0117] Finally, proceed with the iteration: Let k = k + 1, return to data acquisition module 201, and execute each module in sequence to calculate the next control cycle.
[0118] Through the above steps, oil pump speed control based on motor speed, torque and stator temperature was achieved, and higher precision oil pump speed control was achieved through second-order EKF speed estimation and PI regulator.
[0119] Example 3 This embodiment provides a vehicle, including a memory and a processor, as well as computer instructions stored in the memory and running on the processor. When the computer instructions are executed by the processor, they complete the steps of the above-mentioned method for controlling the speed of the oil pump in an oil-cooled motor, specifically including: Step S301: Collect the current speed, torque and stator temperature of the motor.
[0120] Specifically, obtain the current motor speed. Motor torque and motor stator temperature .
[0121] Step S302: Input the speed and torque into the basic demand Map table, and look up the basic oil pump speed in the table.
[0122] Specifically, the motor speed and motor torque Input into the preset basic requirements Map table In the process, the base oil pump speed that meets the motor's heat dissipation requirements is obtained by looking up a table. .
[0123] By considering motor speed, torque, and stator temperature, this embodiment can more accurately calculate the motor's heat dissipation requirements, avoiding problems of insufficient or excessive oil supply caused by a single parameter. Furthermore, the basic requirements are presented in a two-dimensional map, facilitating calibration through bench tests; thermal correction only requires adjustment. , h、 Three parameters simplify the calibration process.
[0124] This embodiment employs a composite decision-making strategy that combines the results of a two-dimensional basic demand Map lookup table of motor speed and torque with the segmented proportional correction term of stator temperature and takes the largest value. This strategy comprehensively reflects the correlation between multiple parameters and heat dissipation requirements, overcoming the shortcomings of existing technologies where each parameter is calculated independently and the maximum value is taken, which cannot characterize the coupling relationship between parameters. This makes the target speed decision of the oil pump closer to the actual heat dissipation requirements of the motor under complex operating conditions, effectively avoiding the problems of insufficient or excessive oil supply.
[0125] Step S303: Based on the relationship between the stator temperature and the preset upper limit of normal temperature and the overheat protection threshold, calculate the thermal management correction speed using a segmented proportional correction method.
[0126] Specifically: Set the upper limit of normal temperature. Overheat protection threshold proportional gain coefficient Based on the current stator temperature Calculate the corrected speed .
[0127] Set the upper limit of normal temperature and overheat protection threshold ; like ,but ; like ,but ,in This is the proportional gain coefficient; like ,but , This is the maximum permissible speed of the oil pump.
[0128] This embodiment uses stator temperature for proportional correction, enabling the system to adjust the oil supply according to the actual situation. When the temperature approaches or exceeds the threshold, it can actively increase the oil supply to intervene, effectively preventing the motor from overheating and being damaged, and improving safety.
[0129] Step S304: Obtain the target oil pump speed based on the base oil pump speed and the thermal management correction speed.
[0130] Specifically, the maximum value principle is used for judgment to ensure thermal safety and obtain the final target rotational speed. :
[0131] The calculated target rotational speed is sent to the oil pump.
[0132] Step S305: Real-time acquisition of the three-phase current of the oil pump, obtaining the current component by passing the three-phase current through Clark and transforming it, calculating the extended back EMF by combining it with the voltage command output by the SVPWM module in the current control cycle, and estimating the actual speed of the oil pump motor using the extended back EMF as the observation by employing a second-order extended Kalman filter algorithm to replace the physical speed sensor.
[0133] Specifically, the oil pump's current sampling module collects the three-phase current of the oil pump in real time. , , After Clark transformation, the result is obtained , Simultaneously, the current voltage command is obtained from the SVPWM module. , First, calculate the extended back electromotive force as a pseudo-measurement:
[0134]
[0135] in, , Extend the back electromotive force components along the α and β axes; Stator resistance; For stator inductance; , α and β axis current components; T is the control period.
[0136] Then, a second-order extended Kalman filter algorithm is used to... For observation purposes, estimate the actual rotational speed. And the electrical angle θ. The specific recursive steps are as follows: Initialization: Setting the initial state estimate and the initial error covariance matrix .
[0137] For each control cycle k, execute: (1) State prediction: State vector ,in Electric angular velocity, Let be the electrical angle, and k be the kth control cycle.
[0138] Equations of state:
[0139] in, This is the state prediction vector for the (k+1)th step; Update the estimated electric angular velocity for the k-th step; Update the electrical angle estimate for the k-th step.
[0140] State transition Jacobian matrix:
[0141] The predicted covariance is:
[0142] in, This is the current error covariance matrix; The process noise covariance matrix is... , These represent the process noise variances for electric angular velocity and electric angle, respectively.
[0143] (2) Observation and prediction: The observation function is:
[0144] in, For observed and predicted values; It is a permanent magnet flux linkage; This is the predicted electric angular velocity value for the (k+1)th step; This is the predicted electrical angle value at step k+1.
[0145] Observation of the Jacobian matrix:
[0146] Kalman gain calculation:
[0147] Where R is the measurement noise covariance matrix.
[0148] (3) Status update:
[0149] in, Update the estimated state for step k+1; For prediction state Calculated observational predictions.
[0150] Covariance update:
[0151] Finally, the speed estimate is extracted from the updated state vector. And convert it to revolutions per minute:
[0152] in, This is an estimated value for the actual rotational speed.
[0153] This embodiment uses a second-order extended Kalman filter for speed estimation, eliminating the influence of environmental factors such as high temperature and vibration on the sensor and improving reliability. At the same time, it reduces the number of sensors and their wiring harnesses, lowering costs.
[0154] Step S306: Input the difference between the target speed and the actual speed into the speed loop PI regulator to generate a q-axis current reference value. Then, through the current loop PI regulator and SVPWM pulse width modulation, generate a drive signal to control the oil pump motor speed to follow the target speed.
[0155] Sensorless speed estimation is performed using a second-order extended Kalman filter. A second-order EKF algorithm with rotor speed and position as state variables is designed for the oil pump's operating environment, enabling reliable speed feedback even under conditions of high temperature and vibration.
[0156] Target speed The data is sent to the oil pump, the three-phase current of the oil pump is sampled in real time, and a second-order extended Kalman filter algorithm is used to estimate the actual speed of the oil pump motor. .
[0157] Speed PI control, specifically: First, calculate the speed error:
[0158] in, This represents the rotational speed error.
[0159] A PI controller is used to adjust the speed error, and a reference value for the q-axis current is obtained. .
[0160] The transfer function of the PI controller is in the form of:
[0161] in, This is the speed ring proportional coefficient; The integral coefficient of the speed loop; For the speed loop control period; the integral term is accumulated with historical errors. The calculated value is... The q-axis current command, which serves as the inner current loop, is input to the current regulator.
[0162] Then, current loop control and drive.
[0163] q-axis current reference value By inputting the d-axis current reference value into the current loop PI regulator, the dq-axis voltage reference value is obtained. , The d-axis current reference value can be set to 0. The α and β-axis voltage components are obtained through the inverse Park transform. , Then, the SVPWM algorithm is used to generate a PWM wave to drive the three-phase inverter, thereby controlling the actual speed of the oil pump motor to accurately follow the target speed. .
[0164] Finally, proceed with the iteration: Let k = k + 1, return to step S301, and calculate the next control cycle.
[0165] Through the above steps, oil pump speed control based on motor speed, torque and stator temperature was achieved, and higher precision oil pump speed control was achieved through second-order EKF speed estimation and PI regulator.
[0166] Example 4 This embodiment provides a computer-readable storage medium for storing computer instructions, which, when executed by a processor, complete the steps of the above-described method for controlling the speed of an oil-cooled motor oil pump.
[0167] Example 5 This embodiment provides a computer program product including executable instructions, which are computer instructions; the executable instructions are stored in a computer-readable storage medium. When the vehicle's processor reads the executable instructions from the computer-readable storage medium and executes the executable instructions, the steps of the above-described method for controlling the speed of the oil pump in an oil-cooled motor are completed.
[0168] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0169] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0170] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment, whereby a series of operational steps are performed to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0171] The steps and methods involved in Embodiments 2 to 5 above correspond to those in Embodiment 1. For detailed implementation methods, please refer to the relevant description section of Embodiment 1. The descriptions of each embodiment in the above embodiments have different emphases. Parts not described in detail in a certain embodiment can be referred to the relevant descriptions of other embodiments.
[0172] Those skilled in the art will understand that the modules or steps of the present invention described above can be implemented using general-purpose computer devices. Optionally, they can be implemented using computer-executable program code, thereby allowing them to be stored in a storage device for execution by a computer device, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. The present invention is not limited to any particular combination of hardware and software.
[0173] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A method of controlling the speed of an oil-cooled electric machine oil pump, characterized by, include: Collect the motor's current speed, torque, and stator temperature; Input the aforementioned speed and torque into the basic demand table to obtain the basic oil pump speed; Based on the relationship between the stator temperature, the upper limit of normal temperature, and the overheat protection threshold, the thermal management correction speed is calculated using a segmented proportional correction method. The target oil pump speed is obtained based on the base oil pump speed and the thermal management corrected speed. The three-phase current of the oil pump is collected in real time and transformed to obtain the current component. The extended back electromotive force is calculated by combining the voltage command. The actual speed of the oil pump motor is estimated by using the extended back electromotive force as the observation and employing a second-order extended Kalman filter algorithm. The difference between the target speed and the actual speed is input into the speed loop PI regulator to generate a current reference value. Then, the current loop PI regulator and pulse width modulation generate a drive signal to control the oil pump motor speed to follow the target speed.
2. A method of controlling the speed of an oil-cooled electric motor oil pump as defined in claim 1, characterized in that The thermal management correction speed is calculated using a segmented proportional correction method based on the relationship between the stator temperature, the upper limit of normal temperature, and the overheat protection threshold. Specifically: Set the upper limit of normal temperature and overheat protection threshold ; like ,but ; like ,but ,in This is the proportional gain coefficient; like ,but ,in, The current stator temperature, This is the maximum permissible speed of the oil pump. To correct the rotational speed.
3. The method for controlling the speed of an oil-cooled motor oil pump as described in claim 1, characterized in that, The process of obtaining the target oil pump speed based on the base oil pump speed and the thermal management corrected speed is specifically as follows: The target oil pump speed is obtained by taking the maximum value of the sum of the base oil pump speed and the thermal management correction speed.
4. The method for controlling the speed of an oil-cooled motor oil pump as described in claim 1, characterized in that, The real-time acquisition and transformation of the three-phase current of the oil pump to obtain current components, combined with voltage commands to calculate the extended back electromotive force, includes: The three-phase current of the oil pump is acquired in real time, and the α and β axis current components are obtained through Clark transformation; at the same time, the voltage command at the current moment is acquired. Calculate the extended back electromotive force based on the current component and the voltage command: in, , Extend the back electromotive force components along the α and β axes; Stator resistance; For stator inductance; , The current components are α and β axes; T is the control period. , is the voltage command; k is the kth control cycle.
5. The method for controlling the speed of an oil-cooled motor oil pump as described in claim 1, characterized in that, Using the extended back electromotive force as the observable, a second-order extended Kalman filter algorithm is employed to estimate the actual rotational speed of the oil pump motor, including: Define the initial state estimate and the initial error covariance matrix; For each control cycle, the following operations are performed: state prediction, observation prediction, and state update; the state update is as follows: in, Update the estimated state for step k+1; For prediction state Calculated observational predictions; Extract the estimated rotational speed from the updated state vector and convert it to rotational speed per minute.
6. The method for controlling the speed of an oil-cooled motor oil pump as described in claim 5, characterized in that, The state prediction is as follows: in, This is the state prediction vector for the (k+1)th step; Update the estimated electric angular velocity for the k-th step; is the electrical angle update estimate for the k-th step; T is the control period.
7. The method for controlling the speed of an oil-cooled motor oil pump as described in claim 5, characterized in that, The observation prediction is as follows: in, For observed and predicted values; It is a permanent magnet flux linkage; This is the predicted electric angular velocity value for the (k+1)th step; This is the predicted electrical angle value at step k+1.
8. The method for controlling the speed of an oil-cooled motor oil pump as described in claim 1, characterized in that, The difference between the target speed and the actual speed is input into the speed loop PI controller to generate a current reference value. The transfer function of the PI controller is as follows: in, This is the speed ring proportional coefficient; The integral coefficient of the speed loop; This refers to the speed loop control cycle; This represents the rotational speed error.
9. The method for controlling the speed of an oil-cooled motor oil pump as described in claim 1, characterized in that, The drive signal generated by the current loop PI regulator and pulse width modulation controls the oil pump motor speed to follow the target speed, specifically as follows: Input the q-axis current reference value and the d-axis current reference value into the current loop PI regulator to obtain the dq-axis voltage reference value. , ; The dq axis voltage reference value is transformed by Park to obtain the α and β axis voltage components, and then a PWM wave is generated by the SVPWM algorithm to drive the three-phase inverter, thereby controlling the actual speed of the oil pump motor to follow the target speed.
10. A control system for the speed of an oil-cooled motor oil pump, characterized in that, include: The data acquisition module is configured to collect the motor's current speed, torque, and stator temperature. The demand lookup module is configured to input the speed and torque into the basic demand Map table and look up the basic oil pump speed. The speed correction module is configured to calculate the thermal management correction speed using a segmented proportional correction method based on the relationship between the stator temperature and the preset upper limit of normal temperature and the overheat protection threshold. The target calculation module is configured to: obtain the target oil pump speed based on the base oil pump speed and the thermal management correction speed; The speed estimation module is configured to: collect the three-phase current of the oil pump in real time, transform the three-phase current through Clark to obtain the current component, calculate the extended back EMF by combining the voltage command output by the SVPWM module in the current control cycle, and use the extended back EMF as the observation to estimate the actual speed of the oil pump motor by using a second-order extended Kalman filter algorithm, replacing the physical speed sensor. The control drive module is configured to: input the difference between the target speed and the actual speed into the speed loop PI regulator to generate a q-axis current reference value, and then generate a drive signal through the current loop PI regulator and SVPWM pulse width modulation to control the oil pump motor speed to follow the target speed.
11. A vehicle, characterized in that, The method includes a memory and a processor, as well as computer instructions stored in the memory and running on the processor. When the processor executes the computer instructions, the method for controlling the speed of the oil pump of the oil-cooled motor as described in any one of claims 1-9 is executed.
12. A computer-readable storage medium, characterized in that, Used to store computer instructions, which, when executed by a processor, complete the method for controlling the speed of the oil pump in an oil-cooled motor as described in any one of claims 1-9.
13. A computer program product comprising executable instructions stored in a computer-readable storage medium; wherein, When the vehicle's processor reads executable instructions from a computer-readable storage medium and executes the executable instructions, it performs the method for controlling the speed of the oil pump of the oil-cooled motor as described in any one of claims 1-9.
