Magnet temperature estimation device

The magnet temperature estimation device uses a one-dimensional convolutional neural network to process moving averages of relevant parameters, addressing error accumulation in existing methods and providing accurate temperature estimation for rotary electric motors.

JP7548113B2Active Publication Date: 2024-09-10TOYOTA JIDOSHA KK
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2021073977
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-04-26
Publication Date
2024-09-10
Estimated Expiration
2041-04-26

AI Technical Summary

Technical Problem

Existing magnet temperature estimation methods in rotary electric motors suffer from accumulating errors due to integrating the amount of temperature rise per unit time, leading to significant deviations from the actual magnet temperature.

Method used

A magnet temperature estimation device using a one-dimensional convolutional neural network that processes moving average values of stator coil temperature, motor rotation speed, and oil pump rotation speed to accurately estimate magnet temperature, reducing storage requirements and processing time.

Benefits of technology

Accurate estimation of magnet temperature is achieved, minimizing errors and ensuring the motor operates within optimal performance parameters.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007548113000004
    Figure 0007548113000004
  • Figure 0007548113000017
    Figure 0007548113000017
  • Figure 0007548113000001
    Figure 0007548113000001
Patent Text Reader

Abstract

To provide a magnet temperature estimation device that accurately estimates magnet temperature.SOLUTION: A parameter relating to a rotation of a motor (2), which is measured at predetermined time intervals, is acquired, and a moving average value of the parameter for each constant interval is calculated. The calculated moving average value is inputted to a learning model that is learned so as to output a magnet temperature provided in a rotor (7) of the motor (2) when the moving average value of the parameter relating to the rotation of the motor (2) is inputted, and an estimate value of the magnet temperature outputted from the learning model is acquired. Then, the acquired estimate value of the magnet temperature is outputted.SELECTED DRAWING: Figure 12
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a magnet temperature estimation device. [Background technology]

[0002] In a rotary electric motor consisting of a rotor and a stator equipped with permanent magnets, when the temperature of the permanent magnets increases, the magnetic force of the permanent magnets decreases, and the electric motor is unable to output the expected power. Therefore, it is necessary to detect the temperature of the permanent magnets. However, it is difficult to detect the temperature of the permanent magnets attached to the rotor in a commercially available vehicle. A magnet temperature estimation device that estimates the temperature of the permanent magnets attached to the rotor is known (see, for example, Patent Document 1). In summary, this magnet temperature estimation device calculates the temperature rise of the rotor per unit time from the difference between the amount of heat dissipated per unit time from the rotor to the oil, which is calculated based on the temperature difference between the temperature of the rotor outer circumferential surface and the temperature of the oil flowing around the electric motor, and the amount of heat dissipated per unit time from the rotor to the oil, which is calculated based on the temperature rise of the oil, and estimates the temperature of the rotor, i.e., the temperature of the magnet, by integrating the calculated temperature rise of the rotor per unit time. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2014-93867 A Summary of the Invention [Problem to be solved by the invention]

[0004] However, when the magnet temperature is estimated by accumulating the temperature rise per unit time of the rotor calculated in this manner, there is a problem in that errors accumulate while accumulating the temperature rise per unit time, and the estimated magnet temperature often deviates significantly from the actual magnet temperature. [Means for solving the problem]

[0005] Therefore, according to the present invention, Including stator coil temperature, motor rotation speed, oil temperature, and oil pump rotation speed a parameter acquisition unit that acquires parameters; A calculation unit that calculates a moving average value of a parameter for each fixed interval; a temperature acquisition unit that inputs the moving average value calculated by the calculation unit into a learning model that has been trained to output the temperature of a magnet attached to a rotor of a motor when a moving average value of a parameter is input, and acquires an estimated value of the magnet temperature output from the learning model; and an output unit that outputs the estimated value of the magnet temperature acquired by the temperature acquisition unit. death, The learning model is made up of a one-dimensional convolutional neural network, and for each moving average value of the stator coil temperature, motor rotation speed, oil temperature, and oil pump rotation speed, a filter of the same size as the number of these parameters is moved little by little while performing a convolution process using the filter, thereby obtaining an output value consisting of the sum of the products of the values ​​of each parameter and the filter values, and the one-dimensional convolutional neural network is trained using this output value. A magnet temperature estimation apparatus is provided. Effect of the Invention

[0006] The magnet temperature can be accurately estimated. [Brief description of the drawings]

[0007] [Figure 1] FIG. 1 is an overall view of a magnet temperature estimation device. [Diagram 2] FIG. 2 is a time chart for explaining a method of estimating the magnet temperature. [Diagram 3] FIG. 3 is a diagram for explaining the one-dimensional convolution process. [Figure 4] 4A and 4B are diagrams for explaining one-dimensional convolution processing. [Diagram 5] FIG. 5 is a diagram showing the structure of a one-dimensional convolutional neural network. [Figure 6] FIG. 6 is a diagram for explaining the one-dimensional convolution process. [Figure 7] FIG. 7 is a diagram for explaining the one-dimensional convolution process. [Figure 8] 8A and 8B are diagrams for explaining one-dimensional convolution processing. [Figure 9]FIG. 9 is a time chart for explaining a method of estimating the magnet temperature. [Figure 10] 10A and 10B are diagrams showing a list of acquisition parameters and a list of moving average values, respectively. [Figure 11] 11A and 11B are diagrams for explaining the simple moving average process and the exponential smoothing moving average process, respectively. [Figure 12] FIG. 12 is a flowchart for estimating the magnet temperature. [Figure 13] FIG. 13 is a functional configuration diagram of the present invention. [Figure 14] FIG. 14 is a diagram showing the relationship between the estimation error of the magnet temperature and the frequency distribution. [Figure 15] FIG. 15 is a diagram showing the relationship between the calculation time interval and the driving load of the vehicle. [Figure 16] FIG. 16 is a flowchart for estimating the magnet temperature. [Figure 17] 17A and 17B are diagrams showing the relationship between the magnet temperature and the upper limit of the drive current, and a flowchart for executing drive current control, respectively. [Figure 18] 18A and 18B are diagrams showing the relationship between the magnet temperature and the drive current of the oil pump drive motor, and a flowchart for executing drive control of the oil pump, respectively. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0008] Referring to FIG. 1, 1 denotes a housing of a transaxle of a hybrid vehicle, 2 denotes a motor for driving the vehicle, 3 denotes an oil pump, and 4 denotes an oil cooler. The motor 2 comprises a rotating shaft 6 rotatably supported by a bearing 5, a rotor 7 fixed on the rotating shaft 6, and a stator 8 surrounding the rotor 7. In an embodiment according to the present invention, a permanent magnet (not shown) is attached to the rotor 7. In this case, the permanent magnet may be embedded in the rotor 7 or may be fixed on the outer circumferential surface of the rotor 7. Meanwhile, a stator coil (not shown) is arranged in the stator 8, and when a driving current is supplied to the stator coil, the rotor 7 rotates due to interaction with the magnetic field of the permanent magnet provided in the rotor 7. The motor 2 is used not only as a driving power source for the vehicle, but also as a generator. Supply of a driving current to the stator coil is controlled by an inverter 9, which is controlled by an electronic control unit 20.

[0009] Oil is supplied into transaxle housing 1 to lubricate and cool motor 2 and the reduction gear mechanism. Oil that has accumulated at the bottom of transaxle housing 1 is sent to oil cooler 4 by oil pump 3, and the oil that has been cooled in oil cooler 4 by heat exchange with engine cooling water is sent back into transaxle housing 1. Oil pump 3 may be driven by the engine or by an oil pump drive motor. In the embodiment shown in FIG. 1, oil pump 3 is driven by the engine.

[0010] 1, electronic control unit 20 is made up of a digital computer and includes a ROM (read only memory) 22, a RAM (random access memory) 23, a CPU (microprocessor) 24, an input port 25, and an output port 26, all of which are connected to one another by a bidirectional bus 21. A temperature sensor 10 for measuring the temperature of the stator coil is attached to stator 8, and an output signal from this temperature sensor 10 is input to input port 25 via a corresponding AD converter 27. A rotation speed sensor 11 for measuring the rotation speed of motor 2 is attached to rotating shaft 6 of motor 2, and an output signal from this rotation speed sensor 11 is input to input port 25 via a corresponding AD converter 27.

[0011] Furthermore, a temperature sensor 12 for measuring the temperature of the oil stored in the oil transaxle housing 1 is attached to the bottom of the transaxle housing 1, and the output signal of this temperature sensor 12 is input to input port 25 via a corresponding AD converter 27. Furthermore, a rotation speed sensor 13 for measuring the rotation speed of the oil pump 3 is attached to the oil pump 3, and the output signal of this rotation speed sensor 13 is input to input port 25 via a corresponding AD converter 27. Note that if the oil pump 3 is driven by the engine, a rotation speed sensor that detects the engine rotation speed can also be used as the rotation speed sensor 13.

[0012] On the other hand, signals representing the drive current of the motor 2, the drive voltage of the motor 2, and the inverter frequency are input from the inverter 9 to the input port 25 via the corresponding AD converters 27. In this case, the drive torque of the motor 2 is calculated in the electronic control unit 20 from the drive current of the motor 2 and the drive voltage of the motor 2.

[0013] Now, the magnetic force of a permanent magnet decreases as its temperature increases. Therefore, if the temperature of the permanent magnet attached to the rotor 7 increases, the motor 7 will not be able to produce the planned output. This creates a need to detect the temperature of the permanent magnet. However, in commercially available vehicles, it is difficult to detect the temperature of the permanent magnet attached to the rotor 7, and therefore it is necessary to estimate the temperature of the permanent magnet. As a result of extensive research into the temperature of the permanent magnet, it was found that the temperature of the permanent magnet attached to the rotor 7 is correlated with parameters related to the rotation of the motor 7, and furthermore, that the temperature of the permanent magnet attached to the rotor 7 is significantly affected by the changes in these parameters over time from the past to the present.

[0014] In this case, it has been found that the temperature of the permanent magnet attached to the rotor 7 is particularly strongly correlated with the temperature of the stator coil, the rotation speed of the motor 2, the temperature of the oil, and the rotation speed of the oil pump 3 among the parameters related to the rotation of the motor, and that the changes over time from the past to the present in the temperature of the stator coil, the rotation speed of the motor 2, the temperature of the oil, and the rotation speed of the oil pump 3 have a large effect on the temperature of the permanent magnet attached to the rotor 7. Fig. 2 shows an example of the changes over time in the temperature Ts of the stator coil, the rotation speed Rm of the motor 2, the temperature Ti of the oil, and the rotation speed Rp of the oil pump 3, and further shows the actual change over time in the temperature Tr of the permanent magnet attached to the rotor 7 by a solid line.

[0015] 2, the temperature Ts of the stator coil is measured by a temperature sensor 10, the rotation speed Rm of the motor 2 is measured by a rotation speed sensor 11, the temperature Ti of the oil is measured by a temperature sensor 12, and the rotation speed Rp of the oil pump 3 is measured by a rotation speed sensor 13. Meanwhile, the actual temperature Tr of the permanent magnet attached to the rotor 7 is detected, for example, by a telemeter that can wirelessly transmit temperature information detected by a thermistor to the outside. In this case, the telemeter is embedded in the rotor 7 so that the actual temperature Tr of the permanent magnet can be detected. Also, a temperature obtained by simulation can be used as the actual temperature Tr of the permanent magnet attached to the rotor 7.

[0016] As described above, it has been found that the changes over time from the past to the present in the stator coil temperature Ts, the rotation speed Rm of the motor 2, the oil temperature Ti, and the rotation speed Rp of the oil pump 3 have a large effect on the temperature of the permanent magnet attached to the rotor 7. Therefore, in an embodiment of the present invention, the current temperature Tr of the permanent magnet attached to the rotor 7 is estimated using a one-dimensional convolutional neural network from the changes over time from the past to the present in the stator coil temperature Ts, the rotation speed Rm of the motor 2, the oil temperature Ti, and the rotation speed Rp of the oil pump 3. In addition, the dashed line in FIG. 2 indicates the change over time in the estimated value of the temperature Tr of the permanent magnet attached to the rotor 7.

[0017] Now, in the embodiment of the present invention, measured values ​​of the stator coil temperature Ts, the rotation speed Rm of the motor 2, the oil temperature Ti, and the rotation speed Rp of the oil pump 3 are acquired every second. In this case, in the embodiment of the present invention, an estimated value TTr of the current temperature Tr of the permanent magnet attached to the rotor 7 is obtained using a one-dimensional convolutional neural network from the time series data of the stator coil temperature Ts, the rotation speed Rm of the motor 2, the oil temperature Ti, and the rotation speed Rp of the oil pump 3 acquired every second for 10 seconds from time t-9 to time t.

[0018] Next, an outline of an estimation method using a one-dimensional convolutional neural network will be described with reference to Figures 3 to 5, taking the case shown in Figure 2 as an example. The upper part of Figure 3 shows a list of each measurement value a, b, c, and d for each second during the 10 seconds from time t-9 to time t. In the case shown in Figure 2, each of these measurement values ​​a, b, c, and d indicates the measurement values ​​of the stator coil temperature Ts, the rotation speed Rm of the motor 2, the oil temperature Ti, and the rotation speed Rp of the oil pump 3.

[0019] The filter applied to each of these measurements a, b, c, and d is shown in the center of Figure 3. This filter has four elements wa (1)1 ~wa (1)4 , wb (1)1 ~wb (1)4 , wc (1)1 ~wc (1)4 , and wd (1)1 ~wd (1)4 is assigned. That is, this filter has a filter size of 4 and the number of channels is 4. In this case, first, at time t-6 (FIG. 3), the sum of products of the measured values ​​a, b, c, and d from time t-9 to time t-6, which are surrounded by a dashed line in the upper part of FIG. 3, and the values ​​of the corresponding elements of the filter are calculated. That is, the measured values ​​a, b, c, and d from time t-9 to time t-6, which are surrounded by a dashed line in the upper part of FIG. 3, are multiplied by the values ​​of the corresponding elements of the filter, and the sum of the 16 multiplication results (a t-9 ·wa (1)1 +a t-8 ·wa (1)2 +····+d t-7 ·wd (1)3 +d t-6 ·wd (1)4 ) is calculated. This calculated sum-of-products value is the output value z (1)t-6 It is said.

[0020] Next, at time t-5 in FIG. 3, the product sum (a) of each of the measured values ​​a, b, c, and d from time t-8 to time t-5 surrounded by a dashed line in the upper part of FIG. 3 and the value of each corresponding element of the filter is calculated. t-8 ·wa (1)1 +a t-7 ·wa (1)2 +····+d t-6 ·wd (1)3 +d t-5 ·wd (1)4 ) is calculated. This calculated sum-of-products value is the output value z (1)t-5 That is, the output value z is the result of convolution using a filter for each of the detection values ​​a, b, c, and d from time t-9 to time t-6, which are surrounded by a dashed line in the upper part of FIG. (1)t-6 The results of convolution using a filter for each measured value a, b, c, and d from time t-8 to time t-5, which are surrounded by a dashed line in the upper part of Figure 3, are the output values ​​z (1)t-5 It is said.

[0021] In this way, by performing convolution with the filter while gradually moving the filter for each measurement value a, b, c, and d, the output value (z (1)t-6 z (1)t ) is calculated. On the other hand, in this example of one-dimensional convolutional neural network, as shown in FIG. 4A, 19 filters with filter size=4 and number of channels=4 are further used. For each of these 19 filters, the filter is moved little by little while performing convolution with the filter for each of the measured values ​​a, b, c, and d shown in FIG. 3, and as shown in FIG. 4B, 19 output values ​​(z (2)t-6 z (2)t )···(z (20)t-6 z (20)t ) is calculated. In other words, a total of 20 output values ​​(z (1)t-6 z (1)t )···(z (20)t-6 z (20)t) is calculated, and the output values ​​from time t-6 to time t are used to train a one-dimensional convolutional neural network, and the trained one-dimensional convolutional neural network is used to find an estimated value TTr of the current temperature Tr of the permanent magnet attached to the rotor 7. In this case, the movement amount of the filter can be any movement amount, i.e., any stride.

[0022] FIG. 5 shows the structure of a one-dimensional convolutional neural network. When the measured values ​​a, b, c, and d shown in FIG. 3 are input to the one-dimensional convolutional neural network, the convolutional layer in FIG. 5 performs convolution processing on these measured values ​​a, b, c, and d by each filter, and outputs a total of 20 output values ​​(z (1)t-6 z (11t ) (z (20)t-6 z (20)t ) is calculated. Each of these output values ​​is multiplied by an activation function such as a sigmoid function, and each output value multiplied by the activation function is input to each node of the fully connected layer. In this case, a pooling layer can be provided before the fully connected layer. The output from each node of the fully connected layer is input to a node of the output layer, and an estimate TTr of the current temperature Tr of the permanent magnet is output from the node of the output layer.

[0023] However, if a convolution operation is performed using each filter on each of the measured values ​​a, b, c, and d for each second during the 10 seconds from time t-9 to time t as shown in the table in the upper part of Fig. 3, a large amount of data needs to be stored, so a large memory capacity is required, and a large amount of weights needs to be learned by the one-dimensional convolutional neural network requires a long time to obtain the estimated value TTr of the current temperature Tr of the permanent magnet. Therefore, in an embodiment of the present invention, in order to reduce the data memory capacity and the amount of weights to be learned without compromising the effect of the temporal changes in each of the measured values ​​a, b, c, and d from the past to the present on the estimated value TTr of the current temperature Tr of the permanent magnet, a moving average value of each of the measured values ​​a, b, c, and d is obtained, and a convolution process is performed using each filter on the obtained moving average value of each of the measured values ​​a, b, c, and d.

[0024] Next, one-dimensional convolution processing using moving average values ​​will be described with reference to Figures 6 to 8B. First, referring to Figure 6, the upper part of Figure 6 shows a list of each measurement value a, b, c, and d for each second in the 10 seconds from time t-9 to time t, which is the same as the list shown in the upper part of Figure 3. To In this embodiment, moving average processing is performed on each of the measured values ​​a, b, c, and d shown in the upper part of Fig. 6. In the example shown in Fig. 6, at time t-5, for the measured value a, the measured value (a) for the past 5 seconds from time t-9 to time t-5, which is surrounded by a dashed line in the upper part of Fig. 6, is t-9、 a t-8、 a t-7、 a t-6、 a t-5 ) is calculated, and this measurement value (a t-9、 a t-8、 a t-7、 a t-6、 a t-5 ) is the moving average value of the dashed line at time t-5 in the table in the lower part of Figure 6. t-5 In addition, at time t-4, the measured value a is the measured value (a) for the past 5 seconds from time t-8 to time t-4, which is surrounded by a dashed line in the upper part of FIG. t-8、 a t-7、 a t-6、 at-5、 a t-4 ) is calculated, and this measurement value (a t-8、 a t-7、 a t-6、 a t-5、 a t-4 ) is the moving average value of the ma surrounded by the dashed line at time t-4 in the table in the lower part of Figure 6. t-4 It is said.

[0025] Similarly, for each moving average value ma from time t-3 to time t t-3、 ma t-2、 ma t-1、 ma t Similarly, as shown in the table in the lower part of FIG. 6, the moving average value m b of the measured value b from time t-5 to time t is calculated. t-5、 mb t-4、 mb t-3、 mb t-2、 mb t-1、 mb t Similarly, for the measured value c, the moving average value mc from time t-5 to time t is calculated. t-5、 mc t-4、 mc t-3、 mc t-2、 mc t-1、 mc t Similarly, for the measured value d, each moving average value md from time t-5 to time t is calculated. t-5、 md t-4、 md t-3、 md t-2、 md t-1、 md t For all the measured values ​​a, b, c, and d from time t-9 to time t, the moving average ma t-5、 ma t-4 ···md t-1、 md t Once these moving averages are calculated, t-5、 ma t-4 ···md t-1、 md t A one-dimensional convolution process is performed on

[0026] Next, this moving average value ma t-5、ma t-4 ···md t-1、 md t The one-dimensional convolution process for the moving average value ma t-5、 ma t-4 ···md t-1、 md t The one-dimensional convolution process for is performed in the same manner as the one-dimensional convolution process described with reference to Figures 3 to 4B. With reference to Figure 7, the upper part of Figure 7 shows a table that is the same as the table shown in the lower part of Figure 6. On the other hand, the center part of Figure 7 shows a table for the moving average value ma t-5、 ma t-4 ···md t-1、 md t This filter also has a filter size of 4 and a number of channels of 4, similar to the filter shown in the center of FIG.

[0027] In this case, first, at time t-2 in FIG. 7, the moving average values ​​ma t-5、 ma t-4 ···md t-3、 md t-2 The sum of products of the moving average values ​​ma t-5、 ma t-4 ···md t-3、 md t-2 Multiply the value of each corresponding element of the filter by the sum of the 16 multiplication results (ma t-5 ·wa (1)1 +ma t-4 ·wa (1)2 +····+md t-3 ·wd (1)3 +md t-2 ·wd (1)4 ) is calculated. This calculated sum-of-products value is the output value z (1)t-2 It is said.

[0028] Next, at time t-1 in FIG. 7, the moving average values ​​ma t-4、 ma t-3 ···md t-2、 md t-1 and the sum of products of the corresponding elements of the filter (ma t-4 ·wa (1)1 +ma t-3 ·wa (1)2 +····+md t-2 ·wd (1)3 +md t-1 ·wd (1)4 ) is calculated. This calculated sum-of-products value is the output value z (1)t-1 That is, the moving average values ​​ma t-5、 ma t-4 ···md t-3、 md t-2 The result of the convolution process using a filter is the output value z (1)t-2 In the upper part of Figure 7, the moving average values ​​ma t-4、 ma t-3 ···md t-2、 md t-1 The result of convolution using a filter is the output value z (1)t-1 will be done.

[0029] In this way, each moving average ma t-5、 ma t-4 ···md t-1、 md t By moving the filter little by little and performing convolution processing with the filter, the output value (z (1)t-2 z (1)t ) is calculated. On the other hand, in this example of one-dimensional convolutional neural network, as shown in FIG. 8A, 19 filters with filter size=4 and channel number=4 are further used, and for each of these 19 filters, the moving average ma t-5、 ma t-4 ···md t-1、md t By performing convolution with the filter while gradually moving the filter, the 19 output values ​​(z (2)t-2 z (2)t ) (z (20)t-2 z (20)t ) is calculated. In other words, a total of 20 output values ​​(z (1)t-2 z (1)t ) (z (20)t-2 z (20)t ) is calculated, and the output values ​​from time t-2 to time t are used to train a one-dimensional convolutional neural network, and the trained one-dimensional convolutional neural network is used to find an estimated value TTr of the current temperature Tr of the permanent magnet provided in the rotor 7. Note that, in this case as well, the movement amount of the filter can be set to any movement amount, i.e., any stride.

[0030] Figure 9 shows an example of the change over time in the moving average values ​​of the stator coil temperature Ts, the motor 2 rotation speed Rm, the oil temperature Ti, and the oil pump 3 rotation speed Rp when moving average processing is performed on the measured value of the stator coil temperature Ts, the motor 2 rotation speed Rm, the oil temperature Ti, and the oil pump 3 rotation speed Rp shown in Figure 2, the actual temperature Tr of the permanent magnet provided in the rotor 7 (solid line), and the estimated value of the temperature Tr of the permanent magnet provided in the rotor 7 (dashed line).

[0031] In the example shown in FIG. 9, as described above, the one-dimensional convolutional neural network is trained using the output values ​​from time t-2 to time t, and therefore the training period of the one-dimensional convolutional neural network is the range indicated by S in FIG. 9. In contrast, in the example shown in FIG. 2, as described above, the one-dimensional convolutional neural network is trained using the output values ​​from time t-6 to time t, and therefore the training period of the one-dimensional convolutional neural network is the range indicated by S in FIG. 2. In this case, the amount of information used in training the one-dimensional convolutional neural network is approximately the same whether it is shown in FIG. 9 or FIG. 2. Therefore, the moving average value ma t-5、 ma t-4 ···md t-1、 md t When convolution processing is performed on the one-dimensional convolutional neural network, that is, in the case shown in Fig. 9, the learning period of the one-dimensional convolutional neural network can be shortened while maintaining the amount of information used for learning almost the same as in the case shown in Fig. 2. As a result, the amount of data held can be reduced, and the memory capacity can be reduced.

[0032] Next, the learning process of the one-dimensional convolutional neural network will be described with reference to Fig. 10A and Fig. 10B. The learning process of the one-dimensional convolutional neural network is performed, for example, in the electronic control unit 20 shown in Fig. 1. When learning the one-dimensional convolutional neural network, first, the driving load of the vehicle is variously changed, and at this time, the temperature Ts of the stator coil, the rotation speed Rm of the motor 2, the oil temperature Ti, the rotation speed Rp of the oil pump 3, and the actual temperature Tr of the permanent magnet provided in the rotor 7, which are measured every unit time, for example, every second, are stored in the RAM 23 of the electronic control unit 20. Fig. 10A shows the temperature Ts of the stator coil, the rotation speed Rm of the motor 2, the oil temperature Ti, the rotation speed Rp of the oil pump 3, and the actual temperature Tr of the permanent magnet provided in the rotor 7, which are measured every unit time, for example, every second, and stored in the RAM 23 of the electronic control unit 20. 1 , t 2 , t 3 , t 4 , t 5 , t 6 , t 7 , t 810A shows the temperature Ts of the stator coil, the rotation speed Rm of the motor 2, the temperature Ti of the oil, the rotation speed Rp of the oil pump 3, and the actual temperature Tr of the permanent magnet provided in the rotor 7. 1 indicates the time when storage of the stator coil temperature Ts, etc., started.

[0033] In the electronic control unit 20, a moving average value is calculated from each measured value shown in Fig. 10A stored in the RAM 23 of the electronic control unit 20, and the calculated moving average value is stored in the RAM 23 of the electronic control unit 20. Fig. 10B shows a list of moving average values ​​stored in the RAM 23 of the electronic control unit 20. Note that, as an example, the moving average value shown in the list of Fig. 10B will be described below with reference to Figs. 11A and 11B, taking the case where the moving average value of measured values ​​over the past four seconds is calculated.

[0034] FIG. 11A shows a case where a moving average value obtained by a simple moving average (SMA) is used as the moving average value. In this case, as shown in FIG. 11A, at time t 4 The moving average value ma 4 is the time t 1 From time t 4 Measurements up to a 1、 a 2、 a 3、 a 4 , which is the simple average value of time t 4 The moving average value mb 4 is the time t 1 From time t 4 Measurements up to b 1、 b 2、 b 3、 b 4 The simple average value of time t 4 The remaining moving average value mc 4 and m.d. 4 The same applies to.

[0035] Also, as shown in FIG. 11A, at time t 5The moving average value ma 5 is the time t 2 From time t 5 Measurements up to a 2、 a 3、 a 4、 a 5 , which is the simple average value of time t 5 The moving average value mb 5 is the time t 2 From time t 5 Measurements up to b 2、 b 3、 b 4、 b 5 The simple average value of time t 5 The remaining moving average value mc 5 and m.d. 5 The same is true for the simple moving average (SMA). Note that Figure 11A shows the general formula for this simple moving average (SMA).

[0036] On the other hand, Fig. 11B shows a case where a moving average value obtained by exponential smoothing moving average (EMA) is used as the moving average value. This exponential smoothing moving average (EMA) uses the previous exponential smoothing moving average (EMA) instead of past measured values, and calculates the average value of these by doubling the current measured value in order to give weight to the current measured value. When the previous exponential smoothing moving average (EMA) has not been calculated, this exponential smoothing moving average (EMA) is calculated using each measured value.

[0037] For example, at time t 1、 t 2、 t 3 So 、 The exponential moving average (EMA) is not calculated, so the time t 4 In the example, an exponential moving average (EMA) is calculated using each measured value. That is, as shown in FIG. 11B, at time t 4 The exponential moving average value ma 4 is the time t 1 From time t 3 Measurements up to a 1、 a 2、 a3 and 、 time t 4 Measurement value at a 4 The sum of this and twice the number of terms in the numerator (=5) is divided by the number of terms in the numerator, and the time t 4 The exponentially smoothed moving average value mb 4 is the time t 1 From time t 3 Measurements up to b 1、 b 2、 b 3 and 、 time t 4 Measurement value at b 4 The sum of this and twice the number of terms in the numerator (=5) is the value. 4 The remaining exponentially smoothed moving average mc 4 and m.d. 4 The same applies to.

[0038] On the other hand, as shown in FIG. 11B, at time t 5 Exponentially smoothed moving average value ma 5 To calculate the time t 2 From time t 4 Measurements up to a 2、 a 3、 a 4 Instead of the previous exponentially smoothed moving average value ma 4 is used 、 Exponentially smoothed moving average value ma 5 is the three previous exponentially smoothed moving averages ma 4 and 、 time t 5 Measurement value at a 5 The sum of this and twice the number of terms in the numerator (=5) is divided by the number of terms in the numerator, and the time t 5 The exponential moving average value mb 5 is the three previous exponentially smoothed moving average values ​​mb 4 and 、 time t 5 Measurement value at b 5 The sum of this and twice the number of terms in the numerator (=5) is the value. 5 The remaining moving average value mc 5 and m.d. 5The same is true for . The general formula for this exponential moving average (EMA) is shown in FIG. 11B.

[0039] The learning of the weights of the one-dimensional convolutional neural network is performed using the one-dimensional convolutional neural network shown in FIG. 5 based on the list of moving average values ​​shown in FIG. 10B stored in the RAM 23 of the electronic control unit 20. That is, FIG. 10B shows a training data set for learning the weights of the one-dimensional convolutional neural network. When learning the weights of the one-dimensional convolutional neural network, first, at a time t 4 From time t 9 Each moving average value up to ma 4 ···ma 9 , mb 4 ···mb 9 , mc 4 ···mc 9 , m.d. 4 ···md 9 is input to the one-dimensional convolutional neural network shown in Figure 5, and at the input time t 4 From time t 9 Each moving average value up to ma 4 ···ma 9 , mb 4 ···mb 9 , mc 4 ···mc 9 , m.d. 4 ···md 9 By moving the filter little by little and performing convolution processing with the filter, 7 From time t 9 Output value (z (1)7、 z (1)8、 z (1)9 )···(z (20)7、 z (20)8、 z (20)9 ) is calculated.

[0040] These times t 7 From time t 9Each output value up to is multiplied by an activation function such as a sigmoid function, and each output value multiplied by the activation function is input to each node of the fully connected layer. The output from each node of the fully connected layer is input to a node of the output layer, and an output value indicating the temperature of the permanent magnet is output from the node of the output layer. This output value and the teacher data, i.e., time t 9 The actual temperature Tr of the permanent magnet at 9 The values ​​of each element of each filter and the weights of the fully connected layer, i.e., the weights of the one-dimensional convolutional neural network, are learned using the backpropagation method so that the difference between 7 From time t 9 When the learning of the weights of the one-dimensional convolutional neural network using the output values ​​up to time t is completed, 8 From time t 10 In this manner, the weights of the one-dimensional convolutional neural network are learned using the output values ​​up to the final time in the table of FIG. 10B.

[0041] When the learning of the weights of the one-dimensional convolutional neural network is completed, the trained one-dimensional convolutional neural network is stored in the RAM 23 of the electronic control unit 20, and the temperature Tr of the permanent magnet attached to the rotor 7 is estimated using this trained one-dimensional convolutional neural network.

[0042] 12 shows a magnet temperature estimation routine that is executed in the electronic control unit 20 while the vehicle is being driven, using this trained one-dimensional convolutional neural network. This routine is executed by an interrupt every second. 12, first, in step 40, the temperature Ts of the stator coil measured by the temperature sensor 10, the rotation speed Rm of the motor 2 measured by the rotation speed sensor 11, the oil temperature Ti measured by the temperature sensor 12, and the rotation speed Rp of the oil pump 3 measured by the rotation speed sensor 13 are acquired and stored in the RAM 23. Next, in step 41, it is determined whether a certain period of time X1 has elapsed since the execution of the magnet temperature estimation routine was started, that is, whether the number of measured values ​​required to calculate a moving average value have been acquired. When the moving average value is calculated based on four measured values, this certain period of time X1 is set to four seconds.

[0043] In step 41, when it is determined that the fixed time X1 has not elapsed since the execution of the magnet temperature estimation routine was started, the processing cycle is ended. In contrast, when it is determined in step 41 that the fixed time X1 has elapsed since the execution of the magnet temperature estimation routine was started, the processing proceeds to step 42, where the moving average value is calculated, and then the processing proceeds to step 43, where the calculated moving average value is stored in the RAM 23. Note that, in the case where a moving average value obtained by a simple moving average (SMA) is used as the moving average value, in step 42, the time t 4 In the next interrupt routine one second later, the moving average value shown in FIG. 11A is calculated. 5 A moving average value represented by

[0044] On the other hand, when a moving average value obtained by an exponential moving average (EMA) is used as the moving average value, in step 42, the time t 4 In the interrupt routine after 1 second, the moving average value shown in FIG. 11B is calculated. 5 Then, the moving average value shown in FIG. 11B is calculated. 5 A moving average value similar to the moving average value shown in FIG.

[0045] Next, in step 44, it is determined whether a certain time X2 has elapsed since the start of the magnet temperature estimation routine, that is, whether the time has come when the magnet temperature can be estimated using the one-dimensional convolutional neural network. If it is determined in step 44 that the certain time X2 has not elapsed since the start of the magnet temperature estimation routine, the processing cycle is terminated. In contrast, if it is determined that the certain time X2 has elapsed since the start of the magnet temperature estimation routine, the process proceeds to step 45, where the estimated value of the magnet temperature is calculated using the trained one-dimensional convolutional neural network. That is, the calculated moving average value is input to the trained one-dimensional convolutional neural network. When the calculated moving average value is input to the trained one-dimensional convolutional neural network, the estimated value of the magnet temperature is output from the trained one-dimensional convolutional neural network (step 46).

[0046] In addition, when learning the weights of the one-dimensional convolutional neural network, at time t 4 Each subsequent moving average ma 4 ,mb 4 ..., mc 4 , md 4 First, we move the filter little by little and perform convolution processing on the 7 From time t 9 Output value (z (1)7、 z (1)8、 z (1)9 )···(z (20)7、 z (20)8、 z (20)9 ) is calculated, when the magnet temperature is estimated using a trained one-dimensional convolutional neural network, the time t 4 Each subsequent moving average ma 4 ,mb 4 ..., mc 4 , md 4 First, we move the filter little by little and perform convolution processing on the 7 From time t9 Output value (z (1)7、 z (1)8、 z (1)9 ) (z (20)7、 z (20)8、 z (20)9 ) is calculated. In this case, the time t 9 Therefore, in this case, the fixed time X2 in step 44 is set to 9 seconds. Once the magnet temperature estimation process is started, an estimated value of the magnet temperature is output every second thereafter.

[0047] As such, as shown in the configuration diagram of the invention in Figure 13, the magnet temperature estimation device of the present invention comprises a parameter acquisition unit 50 that acquires parameters related to the rotation of the target motor 2 measured at regular intervals, a calculation unit 51 that calculates a moving average value of these parameters for each regular interval, a temperature acquisition unit 52 that inputs the moving average value calculated by the calculation unit 51 into a learning model that has been trained to output the temperature of the magnet provided in the rotor 7 of the motor 2 when the moving average value of the parameters related to the rotation of the motor 2 is input, and acquires an estimated value of the magnet temperature output from this learning model, and an output unit 53 that outputs the estimated value of the magnet temperature acquired by the temperature acquisition unit 52.

[0048] In this case, in the embodiment of the present invention, the learning model is configured with a one-dimensional convolutional neural network. Also, in the embodiment of the present invention, the parameters related to the rotation of the motor 2 include the stator coil temperature Ts, the motor rotation speed Rm, the oil temperature Ti, and the oil pump rotation speed Rp. Also, in the embodiment of the present invention, a moving average value obtained by exponential smoothing moving average (EMA) can be used as the moving average value, and in this case, the calculation unit 51 calculates the exponential smoothing moving average value as the moving average value.

[0049] Furthermore, it has been found that the temperature of the permanent magnets attached to the rotor 7 is correlated with the torque of the motor 2, the motor current flowing through the stator coil of the motor 2, and the inverter frequency related to the rotation speed of the motor 2, and that temporal changes in the torque, motor current, and inverter frequency of the motor 2 from the past to the present also affect the temperature of the permanent magnets attached to the rotor 7. Therefore, parameters related to the rotation of the motor 2 can include the motor torque, motor current, and inverter frequency in addition to the stator coil temperature Ts, motor rotation speed Rm, oil temperature Ti, and oil pump rotation speed Rp.

[0050] Fig. 14 shows the relationship between the estimation error (estimated value - actual value) and frequency distribution of the magnet temperature when the vehicle is driven while the driving condition of the vehicle is changed randomly. Fig. 14 shows that when moving average processing is performed on each measured value (after moving average processing), the estimation error of the magnet temperature is smaller than when moving average processing is not performed on each measured value (before moving average processing) as shown in Fig. 3 to Fig. 4B.

[0051] In the magnet temperature estimation routine shown in FIG. 12, as described above, once the magnet temperature estimation process is started, the magnet temperature estimate is calculated every second, and the magnet temperature estimate is output every second. However, when the vehicle driving load is small, the rate of change of the magnet temperature slows down, and there is less need to obtain magnet temperature estimates at short intervals. Therefore, when the vehicle driving load is small, it is preferable to reduce the frequency of calculation of the magnet temperature estimate in order to reduce power consumption. As shown in FIG. 15 and FIG. 16, Another embodiment will be described in which the frequency of calculation processing of the estimated magnet temperature is reduced when the driving load of the vehicle is small.

[0052] In this other embodiment, as shown in Fig. 15, when the driving load of the vehicle becomes smaller than the set load PK, the calculation time interval Δt of the estimated value of the magnet temperature is increased. In this case, in the example shown in Fig. 15, when the driving load of the vehicle becomes smaller than the set load PK, the calculation time interval Δt of the estimated value of the magnet temperature is increased, and when the driving load of the vehicle becomes even smaller, the calculation time interval Δt of the estimated value of the magnet temperature is further increased. Specifically, when the driving load of the vehicle is larger than the set load PK, the calculation time interval Δt of the estimated value of the magnet temperature is set to 1 second, when the driving load of the vehicle becomes smaller than the set load PK, the calculation time interval Δt of the estimated value of the magnet temperature is set to 5 seconds, and when the driving load of the vehicle becomes even smaller, the calculation time interval Δt of the estimated value of the magnet temperature is set to 10 seconds.

[0053] Fig. 16 shows a magnet temperature estimation routine for carrying out this other embodiment. This routine is also executed by an interrupt every second. Steps 60 to 64 of the magnet temperature estimation routine shown in Fig. 16 are the same as steps 40 to 44 of the magnet temperature estimation routine shown in Fig. 12. 16, first, in step 60, the temperature Ts of the stator coil measured by the temperature sensor 10, the rotation speed Rm of the motor 2 measured by the rotation speed sensor 11, the oil temperature Ti measured by the temperature sensor 12, and the rotation speed Rp of the oil pump 3 measured by the rotation speed sensor 13 are acquired and stored in the RAM 23. Next, in step 61, it is determined whether a certain time X1, for example, 4 seconds, has elapsed since the execution of the magnet temperature estimation routine was started.

[0054] In step 61, when it is determined that the fixed time X1 has not elapsed since the execution of the magnet temperature estimation routine was started, the processing cycle is ended. In contrast, when it is determined in step 61 that the fixed time X1 has elapsed since the execution of the magnet temperature estimation routine was started, the processing proceeds to step 62, where the moving average value is calculated, and then the processing proceeds to step 63, where the calculated moving average value is stored in the RAM 23. Note that, in the case where a moving average value obtained by a simple moving average (SMA) is used as the moving average value, in step 62, the time t 4 In the next interrupt routine one second later, the moving average value shown in FIG. 11A is calculated. 5 On the other hand, when a moving average value obtained by an exponential moving average (EMA) is used as the moving average value, in step 62, the moving average value at time t 4 In the interrupt routine after 1 second, the moving average value shown in FIG. 11B is calculated. 5 A moving average value represented by

[0055] Next, in step 64, it is determined whether a certain time X2, for example, 9 seconds, has elapsed since the magnet temperature estimation routine was started. If it is determined in step 64 that the certain time X2 has not elapsed since the magnet temperature estimation routine was started, the processing cycle is terminated. In contrast, if it is determined that the certain time X2 has elapsed since the magnet temperature estimation routine was started, the process proceeds to step 65, where it is determined whether the driving load of the vehicle is greater than the set load PK. If it is determined that the driving load of the vehicle is greater than the set load PK, the process jumps to step 68, where the trained one-dimensional convolutional neural network is used to perform calculation processing of the estimated value of the magnet temperature. That is, the calculated moving average value is input to the trained one-dimensional convolutional neural network. When the calculated moving average value is input to the trained one-dimensional convolutional neural network, the trained one-dimensional convolutional neural network outputs the estimated value of the magnet temperature (step 69). At this time, similarly to when the magnet temperature estimation routine shown in FIG. 12 is executed, once the magnet temperature estimation process is started, an estimated value of the magnet temperature is output every second.

[0056] On the other hand, when it is determined in step 65 that the driving load of the vehicle is not greater than the set load PK, the process proceeds to step 66, where the calculation time interval Δt of the magnet temperature estimate corresponding to the driving load of the vehicle is calculated from the relationship shown in FIG. 15. Next, in step 66, it is determined whether or not the calculation time interval Δt of the magnet temperature estimate has elapsed. When it is determined in step 66 that the calculation time interval Δt of the magnet temperature estimate has not elapsed, the processing cycle is terminated. On the other hand, when it is determined in step 66 that the calculation time interval Δt of the magnet temperature estimate has elapsed, the process proceeds to step 68, where the magnet temperature estimate is calculated using the trained one-dimensional convolutional neural network. Therefore, at this time, the magnet temperature estimate is calculated at the calculation time interval Δt corresponding to the driving load of the vehicle, for example, every 5 seconds or every 10 seconds, and the magnet temperature estimate is output every 5 seconds or every 10 seconds.

[0057] That is, in this other embodiment, the interval at which the temperature acquisition unit 52 (FIG. 13) acquires the estimated value of the magnet temperature is changed according to the vehicle driving load, and the interval at which the estimated value of the magnet temperature is acquired when the vehicle driving load is low is made longer than the interval at which the estimated value of the magnet temperature is acquired when the vehicle driving load is high.

[0058] 17A and 17B show the drive current control of the motor 2 performed using the estimated value of the magnet temperature. In this drive current control of the motor 2, as shown in FIG. 17A, the higher the magnet temperature, the lower the maximum value Imax of the drive current of the motor 2. FIG. 17B shows a drive current control routine for the motor 2 performed in the electronic control unit 20 while the vehicle is in operation. This routine is executed by interruption at regular intervals. Referring to FIG. 17B, first, in step 70, the required drive load of the vehicle is calculated. Next, in step 71, the drive current I of the motor 2 is calculated based on the required drive load of the vehicle. Next, in step 72, the maximum value Imax of the drive current of the motor 2 is calculated from the relationship shown in FIG. 17A based on the estimated value of the magnet temperature. Next, in step 73, it is determined whether the calculated drive current I of the motor 2 is greater than the maximum value Imax. If the calculated drive current I of the motor 2 is greater than the maximum value Imax, the process proceeds to step 74, where the drive current I of the motor 2 is set to the maximum value Imax.

[0059] FIG. 18A and FIG. 18B show the drive control of the oil pump 3 performed using the estimated value of the magnet temperature. In this case, an oil pump driven by an oil pump drive motor is used as the oil pump 3, and as shown in FIG. 18A, the higher the magnet temperature, the greater the drive current Ip of the oil pump drive motor is increased. When the drive current Ip of the oil pump drive motor is increased, the oil cooling effect in the oil cooler 4 is enhanced, so that the oil temperature drops, and the magnet temperature drops. FIG. 18B shows a drive control routine for the oil pump 3 performed in the electronic control unit 20 while the vehicle is in operation. This routine is executed by interruption at regular intervals. Referring to FIG. 18B, first, in step 80, the drive current Ip of the oil pump drive motor is calculated based on the estimated value of the magnet temperature from the relationship shown in FIG. 18A. Next, in step 81, the drive control of the oil pump 3 is performed so that the drive current of the oil pump drive motor becomes the calculated drive current Ip.

[0060] 1. Housing 2 Motors 3. Oil pump 7 Rotor 8 Stator 10,12 Temperature Sensor 11,13 RPM sensor

Claims

1. a parameter acquisition unit that acquires parameters including a stator coil temperature, a motor rotation speed, an oil temperature, and an oil pump rotation speed, which are measured at regular intervals; A calculation unit that calculates a moving average value of the parameter for each fixed interval; a temperature acquisition unit that inputs the moving average value calculated by the calculation unit into a learning model that has been trained to output the temperature of a magnet attached to a rotor of the motor when the moving average value of the parameter is input, and acquires an estimated value of the magnet temperature output from the learning model; an output unit that outputs the estimated value of the magnet temperature acquired by the temperature acquisition unit; The learning model is composed of a one-dimensional convolutional neural network, and a filter of the same size as the number of parameters is moved little by little while a convolution process is performed using the filter for each moving average value of the stator coil temperature, motor rotation speed, oil temperature, and oil pump rotation speed, to obtain an output value consisting of the sum of the products of the values ​​of each parameter and the filter values, and the one-dimensional convolutional neural network is trained using the output values.

2. A magnet temperature estimation device as described in claim 1, wherein the parameters include stator coil temperature, motor rotation speed, oil temperature, oil pump rotation speed, as well as motor torque, motor current, and inverter frequency.

3. A magnet temperature estimation device as described in claim 1, wherein the calculation unit calculates an exponentially smoothed moving average value as the moving average value.

4. A magnet temperature estimation device as described in claim 1, wherein the interval at which the temperature acquisition unit acquires the estimated value of the magnet temperature is changed according to the vehicle driving load, and the interval at which the estimated value of the magnet temperature is acquired when the vehicle driving load is low is longer than the interval at which the estimated value of the magnet temperature is acquired when the vehicle driving load is high.

Citation Information

Patent Citations

  • Temperature monitoring apparatus

    JP1986018830A

  • Device and method for estimating temperature of magnet for rotary electric machine

    JP2014093867A

  • Robot control device, network system, robot monitoring method and program

    JP2019155573A

  • Device and method for detecting abnormality

    JP2019185580A

  • Control device and rotating electric machine system

    JP2020114167A