Motor temperature estimation method and device based on GPR-RC model

By combining the GPR-RC model with Gaussian process regression and low-pass filtering algorithms, the problem of complexity of motor temperature estimation in the existing technology is solved, accurate real-time monitoring and prediction of motor temperature is achieved, development efficiency is improved and costs are reduced.

WO2024198109A1PCT designated stage expired Publication Date: 2024-10-03UNITED AUTOMOTIVE ELECTRONICS SYST

Patent Information

Application Number
PCT/CN2023/100853
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-31
Filing Date
2023-06-16
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

Existing motor temperature estimation methods have difficulties in the process of complex automobile drive motor heat transfer path analysis and thermal network parameter identification. It is difficult to accurately predict motor temperature, and there is a lack of solutions using artificial intelligence technology to assist motor temperature research.

Method used

The motor temperature estimation method based on the GPR-RC model is used to establish the motor thermal model through a Gaussian process regression and low-pass filtering hybrid algorithm to avoid complex heat transfer path analysis and thermal network parameter identification processes, combined with the steady-state temperature prediction of the GPR model and Real-time temperature estimation of the RC filter model enables accurate estimation of the real-time temperature of the motor.

Benefits of technology

It improves motor development efficiency, reduces vehicle development costs, and enables accurate real-time monitoring and prediction of motor temperature, which is suitable for situations with complex physical models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023100853_03102024_PF_FP_ABST
    Figure CN2023100853_03102024_PF_FP_ABST
Patent Text Reader

Abstract

The present invention provides a motor temperature estimation method and device based on a GPR-RC model. The GPR-RC model comprises two sub-models: a GPR model and an RC filter model. The method comprises: acquiring working condition parameters of a motor at multiple moments in the continuous operation process; respectively inputting the working condition parameters at the multiple moments into a GPR model obtained by training in a training stage, to obtain a steady-state temperature value of the motor at the multiple moments; selecting an adaptive RC filter model, and determining parameters of the RC filter model; and estimating the real-time temperature of the motor on the basis of the RC filter model and the steady-state temperature value of the motor at the multiple moments output by the GPR model.
Need to check novelty before this filing date? Find Prior Art

Description

A motor temperature estimation method and device based on GPR-RC model Technical Field

[0001] The present invention relates to the field of motor temperature estimation, and in particular to a motor temperature estimation method and device based on a GPR-RC model. Background Art

[0002] New energy vehicles (NEVs) are experiencing increasing market penetration and market share due to their energy-saving, environmentally friendly, and low-carbon advantages. As a core component of their electric drive systems, the drive motors of NEVs are receiving increasing attention and research. During operation, motors experience wear and tear, causing their temperatures to rise. Excessively high temperatures accelerate stator winding aging and rotor magnet demagnetization, ultimately rendering the motor useless. Therefore, research on estimating motor temperature is crucial.

[0003] In the existing technology, motor temperature estimation methods mainly include: finite element method, lumped parameter thermal network method, signal injection method, and flux observer. However, due to the complex internal heat transfer relationships of automobile drive motors, it is difficult to accurately analyze their heat transfer paths. These motor temperature estimation methods face various difficulties and challenges in practical application. At the same time, in recent years, while artificial intelligence technology has been widely studied and applied in data mining, complex system modeling, parameter identification, etc., there are few solutions that use artificial intelligence technology to estimate the temperature of automobile drive motors to assist in motor temperature research.

[0004] To overcome the aforementioned shortcomings of existing technologies, a motor temperature estimation method and device based on the GPR-RC model is urgently needed. This method establishes a motor thermal model using a hybrid Gaussian process regression and low-pass filtering algorithm, enabling real-time motor temperature estimation. This method also avoids the complex motor heat transfer path analysis and thermal network parameter identification processes during the modeling process. This approach is particularly suitable for applications with complex physical models, improving motor development efficiency and reducing vehicle development costs.

[0005] Summary of the Invention

[0006] The following is a brief summary of one or more aspects to provide a basic understanding of these aspects. This summary is not an exhaustive overview of all conceivable aspects and is neither intended to identify key or critical elements of all aspects nor to define the scope of any or all aspects. Its sole purpose is to present some concepts of one or more aspects in a simplified form as a prelude to the more detailed description that will be provided later.

[0007] In order to overcome the above-mentioned defects in the prior art, the present invention provides a motor temperature estimation method based on a GPR-RC model. The GPR-RC model includes two sub-models, a GPR model and an RC filter model. The motor temperature estimation method includes: obtaining the operating parameters of the motor at multiple moments during continuous operation; inputting the operating parameters at multiple moments into the GPR model trained in the training phase to obtain steady-state temperature values ​​of the motor at the multiple moments; selecting an adapted RC filter model and determining the parameters of the RC filter model; and estimating the real-time temperature of the motor based on the steady-state temperature values ​​of the motor at the multiple moments output by the GPR model and the RC filter model.

[0008] In one embodiment, preferably, the training stage includes: collecting multiple sets of operating condition data of the motor during actual operation, dividing the multiple sets of operating condition data into multiple data sets, and the multiple data sets include a training set and a validation set; selecting an adaptive kernel function for the GPR model, inputting the operating condition data of the training set into the GPR model to calculate the fitness function; and iteratively solving the maximum value of the fitness function to determine the hyperparameters of the GPR model, thereby completing the model training.

[0009] In one embodiment, preferably, the multiple sets of working condition data include working condition parameters of multiple working conditions and the steady-state temperature of the motor under each working condition. The training stage further includes: pre-processing the multiple sets of working condition data and arranging them into (x t , T t ) in time series form, x t is the operating parameter of the motor at time t, T t is the steady-state temperature of the motor under the corresponding working condition at time t, x t Represented as: x t =[t coolt , V coolt , U dc ,…,I s , T q , n]

[0010] Among them, the operating parameters include the coolant temperature t coolt , Coolant flow V coolt , DC bus voltage U dc , line current amplitude I s , motor torque T q and motor speed n.

[0011] In one embodiment, preferably, the time t corresponds to the steady-state temperature T of the motor under the working condition. t Expressed as: T t =f(x t )+ε t

[0012] Among them, f(·) represents the GPR model, ε t is the added Gaussian white noise with zero mean, and ε t The following expression is satisfied to prevent the model from overfitting:

[0013] where σ y is ε t The standard deviation of .

[0014] In one embodiment, preferably, the GPR model also satisfies the following expression: f = f (x t )~N(f|0,K)

[0015] Among them, K is the covariance matrix, K ij =k(x i , x j ), k(·,·) is the kernel function; the kernel function adapted for the GPR model is selected, including: selecting a square exponential function as the kernel function, and expressing the kernel function with the following formula:

[0016] Where D is the data dimension, σ f , l are the hyperparameters to be optimized in the kernel function.

[0017] In one embodiment, preferably, the hyperparameter of the GPR model is θ=[σ f , l, σ y ], where σ y is the Gaussian white noise ε t The fitness function includes the log-likelihood marginal function expressed as follows:

[0018] The iteratively solving the maximum value of the fitness function to determine the hyperparameters of the GPR model includes: determining the hyperparameters of the GPR model by iteratively solving the minimum value of the log-likelihood marginal function.

[0019] In one embodiment, preferably, the multiple data sets also include a test set, and the motor temperature estimation method also includes: after the GPR model is trained in the training phase, the trained GPR model is verified in the testing phase; if the trained GPR model meets the preset verification conditions in the testing phase, the operating condition parameters and the initial temperature value are input into the GPR model, and the output value of the model is used as the temperature value of the motor at the time corresponding to the input operating condition; if the trained GPR model does not meet the preset verification conditions in the testing phase, the GPR model is retrained.

[0020] In one embodiment, preferably, the preset verification condition includes: using the following error function RMSE as an evaluation indicator to measure the prediction accuracy of the GPR model:

[0021] Among them, N represents the number of data groups in the test set, T t The steady-state temperature value of the motor at time t, which is the predicted output of the GPR model, is represented by T t * It represents the steady-state temperature value of the motor at time t measured by the sensor.

[0022] In one embodiment, preferably, determining the parameters of the RC filter model includes: fitting a measured temperature rise curve of the motor using the RC filter model, thereby determining the parameters of the RC filter model.

[0023] In one embodiment, preferably, the motor temperature estimation method further includes: after the motor is powered on, performing initialization to obtain an initial temperature value of the motor; and initializing the RC filter model based on the initial temperature value to determine parameters of the RC filter model.

[0024] In one embodiment, preferably, the initialization work includes: obtaining the power-off time of the entire vehicle, and comparing the power-off time of the entire vehicle with a preset time threshold; in response to the power-off time of the entire vehicle being not less than the preset time threshold, using the current temperature of the motor cooling water inlet as the initial temperature value; and in response to the power-off time of the entire vehicle being less than the preset time threshold, selecting a motor cooling curve based on the real-time ambient temperature, and calculating the current temperature of the motor according to the power-off time of the entire vehicle and the motor cooling curve as the initial temperature value.

[0025] Another aspect of the present invention further provides a motor temperature estimation device based on the GPR-RC model, comprising: a memory; and a processor coupled to the memory, the processor being configured to execute any of the motor temperature estimation methods based on the GPR-RC model described above.

[0026] The present invention further provides a computer-readable medium having a computer program stored thereon. When the computer program is executed by a processor, the method for estimating the motor temperature based on the GPR-RC model as described in any one of the above items is implemented. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] The above features and advantages of the present invention will be better understood after reading the detailed description of the embodiments of the present disclosure in conjunction with the following drawings. In the drawings, the components are not necessarily drawn to scale, and components with similar related properties or characteristics may have the same or similar reference numerals.

[0028] FIG1 is a schematic diagram of a method flow of a motor temperature estimation method based on a GPR-RC model according to one aspect of the present invention;

[0029] FIG2 is a schematic diagram illustrating the principle of a GPR-RC model according to an embodiment of the present invention;

[0030] 3A is a schematic diagram illustrating a method flow of a motor temperature estimation method based on a GPR-RC model during a GPR model training and testing phase according to an embodiment of the present invention;

[0031] 3B is a diagram showing a data fitting result of fitting a first-order RC filter model based on a measured temperature rise curve of a motor according to an embodiment of the present invention;

[0032] FIG4 is a schematic diagram of a process flow of initialization work in a method for estimating motor temperature according to an embodiment of the present invention;

[0033] FIG5 is a schematic diagram of the structure of a motor temperature estimation device based on a GPR-RC model according to another aspect of the present invention; and

[0034] FIG6 is a schematic diagram of a hardware device structure for deploying a GPR-RC model according to an embodiment of the present invention.

[0035] For the sake of clarity, a brief description of the reference numerals is given below: 601 AMU unit 602 DMA unit 603 SRAM unit 604 Non-volatile storage 605 First path 606 Second path DETAILED DESCRIPTION

[0036] The following specific embodiments illustrate the embodiments of the present invention. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. Although the description of the present invention will be introduced in conjunction with the preferred embodiment, this does not mean that the features of this invention are limited to this embodiment. On the contrary, the purpose of introducing the invention in conjunction with the embodiment is to cover other options or modifications that may be extended based on the claims of the present invention. In order to provide a deep understanding of the present invention, the following description will include many specific details. The present invention can also be implemented without using these details. In addition, in order to avoid confusion or blurring the focus of the present invention, some specific details will be omitted in the description.

[0037] In the description of the present invention, it should be noted that, unless otherwise expressly specified or limited, the terms "mounted," "connected," and "connected" should be understood in a broad sense. For example, they may refer to fixed, detachable, or integral connections; mechanical or electrical connections; direct or indirect connections through an intermediate medium; and internal communication between two components. Those skilled in the art will understand the specific meanings of the above terms in the present invention based on the specific circumstances.

[0038] Furthermore, the terms "upper," "lower," "left," "right," "top," "bottom," "horizontal," and "vertical" used in the following description should be understood to refer to the orientations depicted in that section and the accompanying drawings. These relative terms are used solely for convenience of description and do not necessarily imply that the devices described herein must be manufactured or operated in a specific orientation. Therefore, they should not be construed as limiting the present invention.

[0039] It will be understood that although the terms "first," "second," "third," etc. may be used herein to describe various components, regions, layers, and / or portions, these components, regions, layers, and / or portions should not be limited by these terms, and these terms are merely used to distinguish different components, regions, layers, and / or portions. Thus, a first component, region, layer, and / or portion discussed below may be referred to as a second component, region, layer, and / or portion without departing from some embodiments of the present invention.

[0040] To overcome the aforementioned shortcomings of the existing technology, the present invention provides a motor temperature estimation method and device based on the GPR-RC model. This method establishes a motor thermal model using a hybrid Gaussian process regression and low-pass filtering algorithm, enabling real-time motor temperature estimation. This modeling process also avoids the complex process of analyzing motor heat transfer paths and identifying thermal network parameters. This method is particularly suitable for applications with complex physical models, improving motor development efficiency and reducing vehicle development costs.

[0041] 1 is a flow chart of a method for estimating motor temperature based on a GPR-RC model according to one aspect of the present invention. The GPR-RC model includes two sub-models: a GPR model and an RC filter model.

[0042] 1 , the motor temperature estimation method 100 based on the GPR-RC model provided by the present invention may include:

[0043] Step 101: Obtaining operating parameters of the motor at multiple moments during continuous operation;

[0044] Step 102: Inputting the operating condition parameters at the multiple moments into the GPR model trained in the training phase respectively to obtain steady-state temperature values ​​of the motor at the multiple moments;

[0045] Step 103: Selecting the adapted RC filter model and determining the parameters of the RC filter model; and

[0046] Step 104 : Estimate the real-time temperature of the motor based on the steady-state temperature values ​​of the motor at the multiple moments output by the GPR model and the RC filter model.

[0047] FIG. 2 is a schematic diagram illustrating the model principle of a GPR-RC model according to an embodiment of the present invention.

[0048] With reference to Figure 2, the motor temperature estimation method provided by the present invention uses a hybrid Gaussian process regression and low-pass filtering algorithm to establish a motor thermal model to estimate the motor's real-time temperature. Gaussian process regression (GPR) is a nonparametric probabilistic model based on Bayesian methods and a powerful tool for simulating nonlinear system behavior. However, using this method to establish a real-time motor temperature estimation model has the drawbacks of excessive parameters and excessive model size.

[0049] At the same time, RC filters are often used to model the heat transfer process inside the motor, where thermal resistance represents the heat exchange relationship between two nodes, and thermal capacitance represents the thermal inertia of the node. The RC filter model can be used to simulate the transient change process of the motor temperature, but using this model requires accurate calculation of the motor loss. As mentioned above, the temperature of the automobile drive motor is affected by many factors. When using only one of the above algorithms to estimate the real-time temperature of the motor, there are certain difficulties and challenges. Therefore, the present invention proposes a method of establishing a motor thermal model based on a hybrid algorithm of Gaussian process regression and low-pass filtering. The temperature prediction value output by the GPR model is used through the RC filter model to estimate the real-time temperature of the motor, effectively improving the calculation efficiency and reducing the cost of motor development.

[0050] It's easy to understand that excessively high temperatures in automotive drive motors can cause changes in their parameters, impacting their performance. These changes can manifest themselves, for example, as increased stator winding resistance, increased copper loss, exacerbating temperature rise, demagnetization of the rotor magnets, and reduced output torque at the same current. Those skilled in the art will appreciate that motor temperature changes are related to its operating conditions, such as speed, torque, cooling conditions, and bus voltage. Therefore, the motor temperature estimation method provided by the present invention uses these operating parameters as inputs to the GPR model to estimate the motor's real-time temperature.

[0051] More specifically, for example, in the embodiment shown in FIG2 , the input of the GPR model is the operating parameters at multiple moments during the continuous operation of the motor, such as the coolant temperature t coolt , Coolant flow V coolt , DC bus voltage U dc, three-phase line current amplitude I s , torque T q , speed n, etc., GPR outputs the steady-state temperature prediction value T at the corresponding moment t-1 and T t Then, a continuous temperature curve is obtained through the RC filter model to estimate the real-time temperature of the motor at any time.

[0052] FIG3A is a flow chart illustrating a method for estimating motor temperature based on a GPR-RC model during the GPR model training and testing phases according to an embodiment of the present invention. The training phase and the testing phase of the GPR model are described below.

[0053] In a preferred embodiment, the training phase of the GPR model may first include: step 301, collecting multiple sets of operating condition data of the motor during actual operation and preprocessing the data. The multiple sets of operating condition data may include operating condition parameters of multiple operating conditions and the steady-state temperature of the motor under each operating condition.

[0054] More specifically, for example, an electric drive test bench can be used to conduct motor temperature measurement tests under different operating conditions, and then synchronously collect relevant electrical, mechanical, and temperature signals that affect the motor temperature, as well as temperature data of different parts of the motor during the test. The different operating conditions can be different ambient temperatures, different coolant temperatures, different coolant flows, different DC bus voltages, different speeds, different torques, active short circuit protection (ASC) modes, and locked-rotor modes. The parts of the motor temperature measurement can be the stator three-phase winding, stator core, rotor magnets, rotor core, bearings, and coolant outlets. The collected electrical, mechanical, and temperature signals can be bus voltage, bus current, power, motor d / q axis voltage, d / q axis current, three-phase line voltage, three-phase line current, modulation index, switching frequency, power factor, speed, torque, coolant flow, coolant inlet temperature, electric drive system oil pump speed, oil pump current, etc. Through the above tests, the motor temperature field data under different operating conditions are obtained, and a motor temperature field dataset is established.

[0055] It is easy to understand that after the motor temperature field data set is established, it is necessary to perform data preprocessing on the data set, such as data filtering, missing value filling, etc. In one embodiment, the training stage may also include: preprocessing the multiple sets of working condition data and organizing them into (x t , T t ) in time series form, x t is the operating parameter of the motor at time t, T t is the steady-state temperature of the motor under the corresponding working condition at time t, x t Represented as: x t =[tcoolt , V coolt , U dc ,…,I s , T q , n]

[0056] Among them, the operating parameters include the coolant temperature t coolt , Coolant flow V coolt , DC bus voltage U dc , line current amplitude I s , motor torque T q and motor speed n.

[0057] It should be noted that the selection of these operating parameters here is only an example explanation, which is intended to clearly explain the method steps of the GPR model training stage in the motor temperature estimation method provided by the present invention, and is not used to limit the protection scope of the present invention. In fact, other operating parameters that have an impact on the motor temperature can also be selected for temperature estimation according to actual needs.

[0058] Continuing with Figure 3A , after data preprocessing, step 302 is performed: the multiple sets of operating condition data are divided into multiple data sets, which may include a training set, a validation set, and a test set. For example, the ratios of the training set, validation set, and test set may be 70%, 15%, and 15%, respectively. The training set and validation set are used to train the model to obtain optimal hyperparameters and thus a better candidate model. The test set is used to verify the model's performance after training to determine the optimal model.

[0059] Next, step 303: Model Initialization. As will be readily understood, since the RC filter model parameters in the motor temperature estimation method provided by the present invention rely on fitting the measured motor temperature rise curve, initialization can obtain the motor's initial temperature value, thereby providing a temperature rise curve to determine the RC model parameters. The following describes how the model parameters are trained in step 304.

[0060] In a preferred embodiment, the model input x t The steady-state temperature T of the motor under the working condition corresponding to time t t It can be represented as: T t =f(x t )+ε t

[0061] Among them, f(·) represents the function of the output-input relationship of the GPR model, ε t is the added Gaussian white noise with zero mean, and ε t The following expression is satisfied to prevent the model from overfitting:

[0062] where σy is ε t The standard deviation of .

[0063] Furthermore, in a preferred embodiment, when the GPR model is used to model the input and output data, it can be assumed that the function f(·) is a zero-mean multivariate Gaussian prior distribution, which can be expressed by the following expression: f = f(x t )~N(f|0,K)

[0064] Where K is the covariance matrix, where K ij =k(x i , x j ), k(·,·) is the kernel function, that is, the covariance function.

[0065] Subsequently, the motor temperature estimation method provided by the present invention may also include in the training stage of the GPR model: selecting an adaptive kernel function for the GPR model, inputting the operating condition data of the training set into the GPR model to calculate the fitness function; and iteratively solving the maximum value of the fitness function to determine the hyperparameters of the GPR model, thereby completing the model training work.

[0066] The selection of kernel function is crucial to model performance and can be flexibly selected based on the actual problem. For example, in a preferred embodiment, the kernel function selected for the GPR model may include, for example, selecting a squared exponential kernel (SE kernel) as the kernel function, which can be expressed by the following formula:

[0067] Where D is the data dimension, σ f , l are the hyperparameters to be optimized in the kernel function.

[0068] Then, the hyperparameters of the GPR model are θ = [σ f , l, σ y ], where σ y is the Gaussian white noise ε t Next, we need to determine the optimal value of this hyperparameter, which is the content of step 305 in Figure 3A.

[0069] Furthermore, the hyperparameter θ can be determined by solving the optimization problem of the fitness function. For example, the log-likelihood marginal function can be selected as the fitness function, and its expression is as follows:

[0070] The iteratively solving the maximum value of the fitness function to determine the hyperparameters of the GPR model may include: determining the hyperparameters of the GPR model by iteratively solving the minimum value of the log-likelihood marginal function.

[0071] As shown in step 305 in Figure 3A, the model hyperparameters are determined by minimizing the log-likelihood marginal function. If the fitness function cannot be minimized, return to step 303 and continue model training. If the hyperparameters that minimize the fitness function are found, the next testing phase can be entered.

[0072] It is understood by those skilled in the art that when making predictions based on the optimal model, according to the Bayesian posterior formula, the GPR model has the following predictions for the input x: * The predicted output T * The posterior distribution of satisfies:

[0073] Where μ * is the mean of the predicted values, is the variance of the predicted value, which can be calculated by the following formula:

[0074] When taking a 95% confidence interval, the boundaries of the confidence interval can be described as:

[0075] The testing phase of the GPR model is described in detail below. The testing phase uses a test set from the multiple data sets described above. In this testing phase, the motor temperature estimation method may further include: referring to step 306, after the GPR model is trained in the training phase, the trained GPR model is verified in the testing phase; if the trained GPR model meets the preset verification conditions in the testing phase, the operating condition parameters and the initial temperature value are input into the GPR model, and the output value of the model is used as the temperature value of the motor at the time corresponding to the input operating condition; if the trained GPR model does not meet the preset verification conditions in the testing phase, the GPR model is retrained.

[0076] In a preferred embodiment, the preset verification condition may include: using the following error function RMSE as an evaluation indicator to measure the prediction accuracy of the GPR model:

[0077] Among them, N represents the number of data groups in the test set, T t The steady-state temperature value of the motor at time t, which is the predicted output of the GPR model, is represented by T t * It represents the steady-state temperature value of the motor at time t measured by the sensor.

[0078] It should be noted that RMSE is used here as a prediction accuracy evaluation indicator for only an exemplary explanation, which is intended to more clearly demonstrate the specific steps of the motor temperature estimation method provided by the present invention in the model testing stage, rather than to limit the scope of protection of the present invention. In fact, other evaluation indicators can also be selected to measure the accuracy of model prediction.

[0079] It is easy to understand that the evaluation process of the model's prediction accuracy is the content of step 307 in Figure 3A. As shown in Figure 3A, if the prediction accuracy is judged to be unable to meet the preset requirements, then return to step 302 and retrain the model. For example, the proportion or order of the training set, validation set, and test set in the whole vehicle data set can be changed and then retraining can be performed; and if, after testing, the prediction accuracy of the model can meet the preset requirements, then the training is terminated and step 308 is entered: the model configuration file is output and saved for use in the formal motor temperature estimation work.

[0080] After the GPR model is trained, it is combined with the RC filter model to estimate the motor temperature. Referring back to Figure 1 , step 103 , which involves selecting an appropriate RC filter model and determining the parameters of the RC filter model, may further include fitting the measured temperature rise curve of the motor using the RC filter model to determine the parameters of the RC filter model.

[0081] For example, the RC filter model may be a first-order RC filter, and its expression may be as follows:

[0082] Where k is the proportional coefficient and τ is the time constant.

[0083] FIG. 3B is a diagram illustrating a data fitting result of fitting a first-order RC filter model based on a measured temperature rise curve of a motor according to an embodiment of the present invention.

[0084] With reference to FIG. 3B , fitting the RC filter model based on the temperature values ​​of the motor at the multiple moments to determine the parameters of the RC filter model may include fitting the measured temperature rise curve of the motor using the above expression to obtain the parameters of the first-order RC filter. After obtaining the RC filter parameters through curve fitting, the transient temperature value of the motor at any point between the two steady-state temperature points output by the GPR model can be calculated from the RC curve over time, thereby estimating the real-time temperature of the motor.

[0085] In a preferred embodiment, the motor temperature estimation method provided by the present invention may further include: after the motor is powered on, performing initialization work to obtain an initial temperature value of the motor; initializing the RC filter model based on the initial temperature value to determine the parameters of the RC filter model.

[0086] More specifically, in the embodiment shown in FIG3B , the temperature curve fitting process is performed with time 0 as the initial time. The darker dotted line represents the measured temperature rise curve of the motor, while the lighter curve represents the fitting result of parameter fitting based on the first-order RC model. The temperature value at time 0 is provided by the initialization process.

[0087] It should be noted that the RC filter model here is selected as a first-order RC filter, which is only used for exemplary explanation and is not used to limit the protection scope of the present invention. In fact, the RC filter can also be a second-order RC filter, a third-order RC filter or other suitable filters, which can be applied to the motor temperature estimation method based on the GPR model provided by the present invention and should also be included in the protection scope of the present invention.

[0088] FIG. 4 is a schematic diagram illustrating a flow chart of initialization work in a method for estimating motor temperature according to an embodiment of the present invention.

[0089] As shown in Figure 4, the initialization work in the motor temperature estimation method provided by the present invention may include: first, step 401: the car starts running and the whole vehicle is powered on; after the motor is powered on, step 402 is executed: the whole vehicle power-off time tiEcuOff is obtained; then step 403 is executed: the whole vehicle power-off time tiEcuOff is compared with the preset time threshold tiMax_C; in response to the whole vehicle power-off time being not less than the preset time threshold, step 404 is entered: the current temperature tcoolt of the motor cooling water inlet is used as the initial temperature value tinit, that is, tinit=tcoolt; at the same time, in response to the whole vehicle power-off time being less than the preset time threshold, step 405 is entered: based on the real-time ambient temperature, the motor cooling curve is selected, and the current temperature of the motor is calculated according to the whole vehicle power-off time and the motor cooling curve as the initial temperature value tinit; finally, step 406 is determined based on the above process as the initial temperature value tinit of the model as the initial feedback input of the model.

[0090] It should be additionally noted that in the motor temperature estimation method based on the GPR-RC model provided by the present invention, the GPR-RC thermal model is not only applicable to the motor of the new energy vehicle drive system, but can also be applied to other occasions where the motor is used as the power source. Its modeling objects can include various types such as permanent magnet synchronous motors, asynchronous motors, reluctance motors, brushless DC motors, etc.

[0091] Furthermore, the GPR-RC thermal model for electric motors can accept operating condition information related to motor temperature, model-predicted temperatures, or a combination of these. The predicted temperatures can be for any part of the motor requiring temperature monitoring, not limited to the stator three-phase windings, stator core, rotor magnets, rotor core, bearings, and coolant outlet.

[0092] The motor temperature estimation method based on the GPR-RC model provided by this invention utilizes a data-driven modeling algorithm, avoiding the complex process of analyzing motor heat transfer paths and identifying thermal network parameters. This method is particularly suitable for applications with particularly complex physical models, improving motor development efficiency. Furthermore, this modeling process accounts for input-output uncertainty, providing confidence intervals for output predictions. Furthermore, the model training process can integrate information from multiple sources, enhancing its applicability across a wide range of operating conditions.

[0093] Furthermore, the present invention combines a GPR model with an RC filter model to establish a steady-state motor temperature prediction model. The RC filter model predicts the motor's continuous temperature changes. Because the motor's GPR steady-state thermal model is significantly smaller than its dynamic GPR thermal model, and the RC filter model has fewer parameters, the motor temperature estimation method combining the GPR steady-state thermal model and the RC model has a smaller overall model size, which helps improve computational efficiency, simplifies the calculation process, and thus enhances development efficiency. Furthermore, once model training is complete, this data-driven model can replace traditional physical temperature sensors, effectively achieving cost savings during the vehicle development phase.

[0094] Although the above methods are illustrated and described as a series of acts for simplicity of explanation, it is to be understood and appreciated that these methods are not limited by the order of the acts, as some acts may occur in a different order and / or concurrently with other acts from those illustrated and described herein or not illustrated and described herein but understandable to those skilled in the art according to one or more embodiments.

[0095] FIG5 is a schematic diagram illustrating the structure of a motor temperature estimation device based on a GPR-RC model according to another aspect of the present invention.

[0096] According to another aspect of the present invention, an embodiment of a motor temperature estimation device 500 based on a GPR-RC model is also provided.

[0097] 5 , the motor temperature estimation device 500 based on the GPR-RC model provided in this embodiment may include a memory 501 and a processor 502 coupled to the memory 501. The processor 502 may be configured to implement any of the above motor temperature estimation methods based on the GPR-RC model.

[0098] According to another aspect of the present invention, an embodiment of a computer storage medium is provided. The computer storage medium stores a computer program. When executed by a processor, the computer program can implement any of the steps of the above-described method for estimating motor temperature based on the GPR-RC model.

[0099] Those skilled in the art will further appreciate that the various illustrative logic blocks, modules, circuits, and algorithmic steps described in conjunction with the embodiments disclosed herein can be implemented as electronic hardware, computer software, or a combination of the two. To clearly illustrate this interchangeability of hardware and software, the various illustrative components, blocks, modules, circuits, and steps are generally described above in terms of their functionality. Whether such functionality is implemented as hardware or software depends on the specific application and the design constraints imposed on the overall system. A skilled person may implement the described functionality in different ways for each specific application, but such implementation decisions should not be interpreted as resulting in a departure from the scope of the present invention. The processors described herein can be implemented using electronic hardware, computer software, or any combination thereof. Whether such processors are implemented as hardware or software will depend on the specific application and the overall design constraints imposed on the system. By way of example, the processors, any portion of the processors, or any combination of processors presented in this disclosure may be implemented using a microprocessor, a microcontroller, a digital signal processor (DSP), a field programmable gate array (FPGA), a programmable logic device (PLD), a state machine, gating logic, discrete hardware circuits, and other suitable processing components configured to perform the various functions described throughout this disclosure. The functionality of a processor, any portion of a processor, or any combination of processors presented in this disclosure may be implemented in software executed by a microprocessor, microcontroller, DSP, or other suitable platform.

[0100] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. The software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor so that the processor can read and write information from / to the storage medium. In an alternative, the storage medium may be integrated into the processor. The processor and storage medium may reside in an ASIC. The ASIC may reside in a user terminal. In an alternative, the processor and storage medium may reside in a user terminal as discrete components.

[0101] In one or more exemplary embodiments, the functions described may be implemented in hardware, software, firmware, or any combination thereof. If implemented as a computer program product in software, the functions may be stored on or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include both computer storage media and communication media, including any media that facilitate the transfer of a computer program from one place to another. The storage medium may be any available medium that can be accessed by a computer. By way of example and not limitation, such computer-readable media may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, disk storage or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. Any connection is also properly referred to as a computer-readable medium.

[0102] For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included within the definition of medium. Disk and disc, as used herein, include compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk, and Blu-ray disc, where disks typically reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above are also included within the scope of computer-readable media.

[0103] More specifically, for example, the model file trained in the previous step can be deployed to the microcontroller (MCU) of the motor controller, and the motor GPR-RC thermal model can be deployed to the CPU (Central Processing Unit, CPU) in the MCU for operation.

[0104] Since running the motor GPR-RC model requires a lot of computing power, the model can also be accelerated with the help of the hardware acceleration unit inside the MCU. The CPU calls the driver of the hardware acceleration unit to assist in the calculation of the motor GPR-RC thermal model through the hardware acceleration unit to speed up the calculation speed of the thermal model.

[0105] FIG6 is a schematic diagram of a hardware device structure for deploying a GPR-RC model according to an embodiment of the present invention.

[0106] As shown in Figure 6, the structure of an AMU unit 601 (Advanced Modeling Unit), a common hardware acceleration device within an automotive MCU, may include: several AMU computing engines AMU0..n (n=1, 2, 3...), a DMA unit 602 (Direct Memory Access), and an SRAM unit 603 (System RAM, volatile storage). The AMU unit 601 can directly obtain the parameters of the GPR sub-model in the motor GPR-RC thermal model from non-volatile storage 604, such as FLASH, to run the model, as indicated by the first arrow path 605. Alternatively, the DMA unit 602 of the AMU unit 601 can transfer the model parameters from the FLASH area to the SRAM unit 603 of the hardware acceleration unit, and the AMU unit 601 can obtain the parameters of the motor GPR sub-model from the SRAM unit 603 to run the model, as indicated by the second arrow path 606. This can shorten the time it takes for the AMU computing engine to obtain model parameters, further improving model operation efficiency.

[0107] At the same time, the parameters in the RC filter can also be fitted using the GPR method. The input is the operating condition information, and the output is the parameters of the RC filter. The model of the RC filter parameters can be deployed on the CPU or assisted in calculation with the help of a hardware acceleration unit.

[0108] In addition, the GPR-RC model can also be deployed to processing units other than the MCU in the motor controller, including: microprocessors (MPUs) and other controllers other than motor controllers, such as regional controllers, domain controllers, on-board computers, and cloud servers. They can exchange data with the motor controller MCU through communication media such as SPI (Serial Peripheral Interface), UART (Universal Asynchronous Receiver / Transmitter), CAN (Controller Area Network), LIN (Local Interconnect Network), ETH (Ethernet) and wireless communications, thereby realizing real-time temperature prediction of the motor.

[0109] The previous description of the disclosure is provided to enable any person skilled in the art to make or use the disclosure. Various modifications to the disclosure will be apparent to those skilled in the art, and the general principles defined herein may be applied to other variations without departing from the spirit or scope of the disclosure. Thus, the disclosure is not intended to be limited to the examples and designs described herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A motor temperature estimation method based on a GPR-RC model, wherein the GPR-RC model includes two sub-models, a GPR model and an RC filter model, and the motor temperature estimation method includes: Obtain the operating parameters of the motor at multiple moments during continuous operation; Inputting the operating parameters at the multiple moments into the GPR model trained in the training phase respectively, so as to obtain the steady-state temperature values ​​of the motor at the multiple moments; Selecting the adapted RC filter model and determining the parameters of the RC filter model; as well as The real-time temperature of the motor is estimated based on the steady-state temperature values ​​of the motor at the multiple moments output by the GPR model and the RC filter model.

2. The motor temperature estimation method according to claim 1, characterized in that: The training phase includes: Collecting multiple sets of operating condition data of the motor in actual operation, and dividing the multiple sets of operating condition data into multiple data sets, wherein the multiple data sets include a training set and a verification set; Selecting an adaptive kernel function for the GPR model, inputting the operating condition data of the training set into the GPR model to calculate a fitness function; and The maximum value of the fitness function is iteratively solved to determine the hyperparameters of the GPR model, thereby completing the model training work.

3. The motor temperature estimation method according to claim 2, characterized in that: The multiple groups of operating condition data include operating condition parameters of multiple operating conditions and the steady-state temperature of the motor under each operating condition. The training stage also includes: The multiple groups of working condition data are preprocessed and sorted into (x t , T t ) in time series form, x t is the operating parameter of the motor at time t, T t is the steady-state temperature of the motor under the corresponding working condition at time t, x t It is expressed as: x t =[t coolt ,V coolt ,U dc ,…,I s ,T q ,n] Among them, the operating parameters include the coolant temperature t coolt , Coolant flow V coolt , DC bus voltage U dc , line current amplitude I s , motor torque T q and motor speed n.

4. The motor temperature estimation method according to claim 3, characterized in that: The steady-state temperature T of the motor under the working condition corresponding to the time t t Expressed as: T t =f(x t )+ε t Where, f(·) represents the GPR model, ε t is the added Gaussian white noise with zero mean, and ε t Satisfy The following expression can be used to prevent the model from overfitting: where σ y is t The standard deviation of .

5. The motor temperature estimation method according to claim 4, characterized in that: The GPR model also satisfies the following expression: f = f(x t )~N(f|0,K) Among them, K is the covariance matrix, K ij = k(x i , x j ), k(·,·) is the kernel function; The step of selecting an adapted kernel function for the GPR model comprises: The square exponential function is selected as the kernel function, and the kernel function is expressed by the following formula: Where D is the data dimension, σ f , l are the hyperparameters to be optimized in the kernel function.

6. The motor temperature estimation method according to claim 5, characterized in that: The hyperparameters of the GPR model are θ = [σ f , l, σ y ], where σ y is the Gaussian white noise ε t The fitness function includes a log-likelihood marginal function represented by the following expression: The iteratively solving the maximum value of the fitness function to determine the hyperparameters of the GPR model includes: The hyperparameters of the GPR model are determined by iteratively solving the minimum value of the log-likelihood marginal function.

7. The motor temperature estimation method according to claim 2, characterized in that: The plurality of data sets also include a test set, and the motor temperature estimation method further includes: After the GPR model is trained in the training phase, the trained GPR model is verified in the testing phase; If the trained GPR model meets the preset verification condition in the test phase, the operating condition parameter and the initial temperature value are input into the GPR model, and the output value of the model is used as the temperature value of the motor at the time corresponding to the input operating condition; and If the trained GPR model does not meet the preset verification condition during the testing phase, the GPR model is retrained.

8. The motor temperature estimation method according to claim 7, characterized in that: The preset verification conditions include: The following error function RMSE is used as an evaluation index to measure the prediction accuracy of the GPR model: Where N represents the number of data sets in the test set, T t represents the steady-state temperature value of the motor at time t, which is the predicted output of the GPR model. t * It represents the steady-state temperature value of the motor at time t measured by the sensor.

9. The motor temperature estimation method according to claim 1, characterized in that: Determining the parameters of the RC filter model includes: The RC filter model is used to fit the measured temperature rise curve of the motor, so as to determine the parameters of the RC filter model.

10. The motor temperature estimation method according to claim 1, characterized in that: The motor temperature estimation method further includes: After the motor is powered on, an initialization operation is performed to obtain an initial temperature value of the motor; The RC filter model is initialized based on the initial temperature value to determine parameters of the RC filter model.

11. The motor temperature estimation method according to claim 10, characterized in that: The initialization work includes: Obtaining a vehicle power-off time, and comparing the vehicle power-off time with a preset time threshold; In response to the vehicle power-off time being not less than the preset time threshold, taking the current temperature of the motor cooling water inlet as the initial temperature value; and In response to the vehicle power-off time being lower than the preset time threshold, a motor cooling curve is selected based on the real-time ambient temperature, and the current temperature of the motor is calculated according to the vehicle power-off time and the motor cooling curve as the initial temperature value.

12. A motor temperature estimation device based on a GPR-RC model, comprising: Memory; as well as A processor coupled to the memory, the processor being configured to execute any one of claims 1 to 11 The motor temperature estimation method based on the GPR-RC model described in item 1.

13. A computer readable medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the motor temperature estimation method based on the GPR-RC model as claimed in any one of claims 1 to 11 is implemented.

Citation Information

Patent Citations

  • Power lithium battery state joint estimation method based on multi-dimensional coupling model

    CN110161423A

  • Method and device for estimating temperature of motor rotor, motor and storage medium

    CN110702272A

  • Motor extreme working condition temperature prediction system based on Gaussian process regression

    CN114019371A

  • Apparatus and method for determining hot spot temperatures of a rotor and a stator

    WO2022100924A1

  • Health monitoring of electrochemical energy supply elements

    WO2022229611A1

Cited By

  • Generator rotor temperature monitoring method

    CN119147103A

  • First-order thermal equivalent simulation method and device for high-power servo induction motor

    CN119647157A

  • Machine learning training method for dish-washing machine draining pump control and dish-washing machine

    CN120806028A

  • High-rotating-speed bearing lubrication temperature rise data processing method and system

    CN120849798A

  • Oil pump rotating speed control method and device, controller, vehicle and storage medium

    CN121229380A