Electric power steering apparatus
10513290 ยท 2019-12-24
Assignee
Inventors
- Takahiro Tsubaki (Maebashi, JP)
- Tomohiro Miura (Maebashi, JP)
- Takashi SUNAGA (Tokyo, JP)
- Nobuaki Kogure (Maebashi, JP)
Cpc classification
H02P29/64
ELECTRICITY
International classification
Abstract
An electric power steering apparatus that enables more precise estimation of a coil temperature by considering a heat transfer phenomenon between a control substrate and a poly-phase coil in addition to a heat transfer phenomenon between respective phases of the coil. The apparatus includes a control substrate that controls a poly-phase motor, a temperature sensor that detects a substrate temperature of the control substrate and a coil temperature estimating section that estimates coil temperatures of respective phases of the poly-phase motor by a motor current of the phase and the substrate temperature based on a heat transfer phenomenon between the respective phases that is caused by a difference in temperature between coils of the respective phases and a heat transfer phenomenon between the coil and the control substrate.
Claims
1. An electric power steering apparatus that comprises a control substrate that controls a poly-phase motor, comprising: a temperature sensor that detects a substrate temperature of said control substrate; and a coil temperature estimating section that estimates coil temperatures of respective phases of said poly-phase motor by a motor current of said phase and said substrate temperature based on a heat transfer phenomenon between said respective phases that is caused by a difference in temperature between coils of said respective phases and a heat transfer phenomenon between said coil and said control substrate; wherein said coil temperature estimating section estimates said coil temperature by using at least a substrate calorific value of said control substrate obtained by said motor current and said substrate temperature.
2. The electric power steering apparatus according to claim 1, wherein said heat transfer phenomenon is expressed by a frequency characteristic.
3. The electric power steering apparatus according to claim 2, wherein said coil temperature estimating section comprises: a coil calorific value calculating section that obtains a coil calorific value of said phase by said motor current; a substrate calorific value calculating section that obtains said substrate calorific value; and a coil temperature calculating section that obtains said coil temperature by said coil calorific value, said substrate calorific value and said substrate temperature based on said frequency characteristic.
4. The electric power steering apparatus according to claim 3, wherein said coil calorific value calculating section changes a coil resistance of said phase used to obtain said coil calorific value, depending on said coil temperature of a corresponding phase; and wherein said substrate calorific value calculating section changes a substrate resistance used to obtain said substrate calorific value, depending on said substrate temperature.
5. The electric power steering apparatus according to claim 4, wherein said frequency characteristic includes a calorific value frequency characteristic that is a frequency characteristic from said coil calorific value or said substrate calorific value to said coil temperature or said substrate temperature, and an outside air temperature frequency characteristic that is a frequency characteristic from an outside air temperature to said coil temperature or said substrate temperature.
6. The electric power steering apparatus according to claim 5, wherein said coil temperature calculating section defines said calorific value frequency characteristic and said outside air temperature frequency characteristic as a transfer function, and obtains said coil temperature by a linear combination of said coil calorific value, said substrate calorific value and said substrate temperature.
7. The electric power steering apparatus according to claim 3, wherein said frequency characteristic includes a calorific value frequency characteristic that is a frequency characteristic from said coil calorific value or said substrate calorific value to said coil temperature or said substrate temperature, and an outside air temperature frequency characteristic that is a frequency characteristic from an outside air temperature to said coil temperature or said substrate temperature.
8. The electric power steering apparatus according to claim 7, wherein said coil temperature calculating section defines said calorific value frequency characteristic and said outside air temperature frequency characteristic as a transfer function, and obtains said coil temperature by a linear combination of said coil calorific value, said substrate calorific value and said substrate temperature.
9. The electric power steering apparatus according to claim 1, wherein said heat transfer phenomenon is expressed by a differential equation.
10. The electric power steering apparatus according to claim 9, wherein said coil temperature estimating section comprises: a coil calorific value calculating section that obtains a coil calorific value of said phase by said motor current; a substrate calorific value calculating section that obtains said substrate calorific value; and a coil temperature calculating section that obtains said coil temperature by said coil calorific value, said substrate calorific value and said substrate temperature based on said differential equation.
11. The electric power steering apparatus according to claim 10, wherein said coil calorific value calculating section changes a coil resistance of said phase used to obtain said coil calorific value, depending on said coil temperature of a corresponding phase; and wherein said substrate calorific value calculating section changes a substrate resistance used to obtain said substrate calorific value, depending on said substrate temperature.
12. The electric power steering apparatus according to claim 11, wherein said differential equation includes difference information between said coil temperature and said substrate temperature.
13. The electric power steering apparatus according to claim 10, wherein said differential equation includes difference information between said coil temperature and said substrate temperature.
14. The electric power steering apparatus according to claim 9, wherein said differential equation includes difference information between said coil temperature and said substrate temperature.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) In the accompanying drawings:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
MODE FOR CARRYING OUT THE INVENTION
(14) The present invention estimates temperatures of coils (coil temperatures) in respective phases (a U-phase, a V-phase and a W-phase) of a poly-phase motor on the basis of a heat transfer phenomenon (a heat conduction, a heat radiation, a heat convection, and so on) between respective phases and a heat transfer phenomenon between each coil and a substrate (a control substrate) of a control unit (ECU). In the poly-phase motor, a difference in calorific values of respective coils occurs by such as dispersion of currents (motor currents) passing through the coils in respective phases, and that causes a difference in temperature between respective coils. This difference in temperature causes heat transfer phenomena between respective phases and between each coil and outside air environment, while a difference in temperature occurs also between the control substrate and each coil. Since the control substrate and the motor are generally close, heat transfer phenomena also occur between the control substrate and each coil and between the control substrate and the outside air environment. The present invention estimates the coil temperature using a motor current and a temperature of the control substrate (a substrate temperature), for example, by expressing those heat transfer phenomena by a frequency characteristic, formulating a relationship between the calorific value and the coil temperature, and obtaining the calorific value from the motor current, or by expressing those heat transfer phenomena by a differential equation, and including difference information between the coil temperature and the substrate temperature in the differential equation.
(15) Hereinafter, an embodiment of the present invention will be described with reference to the accompanying drawings.
(16)
(17) An electric power steering apparatus of the present embodiment drives and controls a three-phase (the U-phase, the V-phase and the W-phase) brushless motor, and an object for estimation of the coil temperature is a coil shown by the circle in
(18) In
(19) In
(20) The coil calorific value calculating sections 310, 320 and 330 respectively calculate calorific values (coil calorific values) Q.sub.U, Q.sub.V and Q.sub.W of coils in respective phases. Though a calorific value can be obtained from an expression of electric power occurring in a resistance, a resistance of a coil (a coil resistance) in each phase is changed depending on the coil temperature in each phase. Therefore, the coil calorific values Q.sub.U, Q.sub.V and Q.sub.W are calculated in accordance with the following expressions 1 to 3 by dealing with the coil resistance as a function of the coil temperature.
Q.sub.U=R.sub.U(T.sub.U)i.sub.u(t).sup.2[Expression 1]
Q.sub.V=R.sub.V(T.sub.V)i.sub.v(t).sup.2[Expression 2]
Q.sub.W=R.sub.W(T.sub.W)i.sub.w(t).sup.2[Expression 3]
Here, R.sub.U(T.sub.U), R.sub.V(T.sub.V) and R.sub.W(T.sub.W) are the coil resistances of the U-phase, the V-phase and the W-phase respectively, and T.sub.U, T.sub.V and T.sub.W are the coil temperatures of the U-phase, the V-phase and the W-phase respectively. The motor currents i.sub.u, i.sub.v and i.sub.w are expressed as functions of time t.
(21) Moreover, the coil resistances R.sub.U(T), R.sub.V(T) and R.sub.W(T) in the case that the coil temperature is T, can be calculated in accordance with the following expressions 4 to 6 when the coil resistances at a reference temperature T.sub.b are R.sub.U0, R.sub.V0 and R.sub.W0 respectively.
R.sub.U(T)=R.sub.U0{1+.sub.U(TT.sub.b)}[Expression 4]
R.sub.V(T)=R.sub.V0{1+.sub.V(TT.sub.b)}[Expression 5]
R.sub.W(T)=R.sub.W0{1+.sub.W(TT.sub.b)}[Expression 6]
Here, .sub.U, .sub.V and .sub.W are temperature coefficients of the U-phase, the V-phase and the W-phase respectively, for example, become 4.410.sup.3 [1/ C.] when the coil is a copper, and may be finely adjusted by an experiment and so on.
(22) The coil calorific values Q.sub.U, Q.sub.V and Q.sub.W can be calculated in accordance with the following expressions 7 to 9 by substituting the expressions 4 to 6 for the expressions 1 to 3 respectively.
Q.sub.U=R.sub.U0{1+.sub.U(T.sub.UT.sub.b)}i.sub.u(t).sup.2[Expression 7]
Q.sub.V=R.sub.V0{1+.sub.V(T.sub.VT.sub.b)}i.sub.v(t).sup.2[Expression 8]
Q.sub.W=R.sub.W0{1+.sub.W(T.sub.WT.sub.b)}i.sub.w(t).sup.2[Expression 9]
(23) The coil calorific value calculating sections 310, 320 and 330 calculate the coil calorific values Q.sub.U, Q.sub.V and Q.sub.W by using the above expressions 7 to 9 respectively.
(24) The substrate calorific value calculating section 340 also calculates a calorific value of the control substrate (a substrate calorific value) Q.sub.E from an expression of electric power occurring in a resistance, and it obtains a magnitude of a current needed for the calculation by the motor currents i.sub.u, i.sub.v and i.sub.w. A calorific equivalent resistance of the control substrate (a substrate resistance) is changed depending on a temperature (the substrate temperature T.sub.E in the case of the control substrate) as with the coil resistance. Further, since the control substrate has heating corresponding to standby power such as feeble heating of a semiconductor switching element and heating caused by operations of a microcomputer or other semiconductors without a current passing through the coil in a state where an ignition is turned on, it is necessary to consider it in the calculation of the calorific value. Consequently, the calorific value Q.sub.E of the control substrate is calculated in accordance with the following expression 10.
Q.sub.E=R.sub.E(T.sub.E)(i.sub.u(t).sup.2+i.sub.v(t).sup.2+i.sub.w(t).sup.2)+Q.sub.E0[Expression 10]
Here, R.sub.E(T.sub.E) is the substrate resistance, and Q.sub.E0 a calorific value corresponding to standby power. The substrate resistance R.sub.E(T) in the case that the substrate temperature is T is calculated in accordance with the following expression 11 when the substrate resistance at the reference temperature T.sub.b is R.sub.E0 and a temperature coefficient of the control substrate is .sub.E.
R.sub.E(T)=R.sub.E0{1+.sub.E(TT.sub.b)}[Expression 11]
The substrate calorific values Q.sub.E can be calculated in accordance with the following expression 12 by substituting the expression 11 for the expression 10.
Q.sub.E=R.sub.E0{1+.sub.E(T.sub.ET.sub.b)}(i.sub.u(t).sup.2+i.sub.v(t).sup.2+i.sub.w(t).sup.2)+Q.sub.E0[Expression 12]
In a case where there is no influence of a calorific value corresponding to standby power, a case where the calorific value corresponding to standby power is negligibly minute, and so on, it is possible to delete the Q.sub.E0 in the above expressions 10 and 12
(25) The substrate calorific value calculating section 340 calculates the substrate calorific value Q.sub.E by using the above expression 12.
(26) A coil temperature calculating section 350 calculates coil temperatures T.sub.U, T.sub.V and T.sub.W in respective phases from the coil calorific values Q.sub.U, Q.sub.V and Q.sub.W, the substrate calorific value Q.sub.E, and the substrate temperature T.sub.E. Derivation of expressions to calculate them will be described.
(27) Transfer functions from the coil calorific values Q.sub.U, Q.sub.V and Q.sub.W, the substrate calorific value Q.sub.E and an outside air temperature T.sub.0 to the coil temperatures T.sub.U, T.sub.V and T.sub.W in respective phases and the substrate temperature T.sub.E can be expressed by the following expressions 13 to 16.
T.sub.U=G.sub.UU(s)Q.sub.U+G.sub.VU(s)Q.sub.V+G.sub.WU(s)Q.sub.W+G.sub.EU(s)Q.sub.E+G.sub.0U(s)T.sub.0[Expression 13]
T.sub.V=G.sub.UV(s)Q.sub.U+G.sub.VV(s)Q.sub.V+G.sub.WV(s)Q.sub.W+G.sub.EV(s)Q.sub.E+G.sub.0v(s)T.sub.0[Expression 14]
T.sub.W=G.sub.UW(s)Q.sub.U+G.sub.VW(s)Q.sub.V+G.sub.WW(s)Q.sub.W+G.sub.EW(s)Q.sub.E+G.sub.0W(s)T.sub.0[Expression 15]
T.sub.E=G.sub.UE(s)Q.sub.U+G.sub.VE(s)Q.sub.V+G.sub.WE(s)Q.sub.W+G.sub.EE(S)Q.sub.E+G.sub.0E(s)T.sub.0[Expression 16]
Here, G.sub.XY(s) is a frequency characteristic (a calorific value frequency characteristic) from a calorific value Q.sub.X to a coil temperature T.sub.Y in a Y-phase (X and Y are any of U, V, W and E), G.sub.0X is a frequency characteristic (an outside air temperature frequency characteristic) from the outside air temperature T.sub.0 to a coil temperature T.sub.X in a X-phase (X is any of U, V, W and E), and the control substrate is regarded as an E-phase to simplify the explanation. s is a Laplace operator. In the case that a relationship between a group of the calorific value and the outside air temperature and the temperature (the coil temperature or the substrate temperature) in each phase is approximately a linear combination, the above frequency characteristic is defined as a transfer function having a predetermined value.
(28) The following expressions 17 to 19 are obtained by solving the above expression 16 for T.sub.0, substituting the result for the above expressions 13 to 15, and arranging the substitution results (hereinafter, (s) is omitted to make the expression easy to see by simplification).
T.sub.U=G.sub.UUQ.sub.U+G.sub.VUQ.sub.V+G.sub.WUQ.sub.W+G.sub.EUQ.sub.E+G.sub.TUT.sub.E[Expression 17]
T.sub.V=G.sub.UVQ.sub.U+G.sub.VVQ.sub.V+G.sub.WVQ.sub.W+G.sub.EVQ.sub.E+G.sub.TVT.sub.E[Expression 18]
T.sub.W=G.sub.UWQ+G.sub.VWQ.sub.V+G.sub.WWQ.sub.W+G.sub.EWQ.sub.E+G.sub.TWT.sub.E[Expression 19]
Here, G.sub.TB=G.sub.0B/G.sub.0E, G.sub.AB=G.sub.ABG.sub.TBG.sub.AE, and G.sub.EB=G.sub.EBG.sub.TBG.sub.EE (A and B are any of U, V and W).
(29)
(30) The coil temperatures T.sub.U, T.sub.V and T.sub.W are inputted into an abnormality processing section 210, and at the same time, are retained in memories 360, 370 and 380 respectively to be used for the next calculation of the calorific value at the coil calorific value calculating sections 310, 320 and 330.
(31) The abnormality processing section 210 performs, for example, processing at an abnormality judging section 25 and a motor current limiting section 23 described in a publication of Japanese Patent No. 4356295 B2. That is, as with the processing at the abnormality judging section 25, the abnormality processing section 210 judges whether the coil temperatures T.sub.U, T.sub.V and T.sub.W exceed a preset tolerance limit temperature of the motor 20 or not, and judges that the motor 20 is overheated when they exceed it. When judging the overheating state, the abnormality processing section 210 gradually decreases the current command value with the elapse of time and gradually decreases the motor current with the elapse of time as with the processing at the motor current limiting section 23, or sets the current command value to zero and cuts off the motor current. It is possible to mount a temperature detecting circuit 31 and a temperature detecting section 26 described in the same publication and judge an abnormality of the temperature detecting circuit 31.
(32) A coil temperature estimating section comprises the above coil calorific value calculating sections 310, 320 and 330, the substrate calorific value calculating section 340 and the coil temperature calculating section 350.
(33) In such a configuration, an operating example of estimation of the coil temperature will be described with reference to a flowchart in
(34) The U-phase motor current i.sub.u, the V-phase motor current i.sub.v and the W-phase motor current i.sub.w which are detected by the motor current detector 38 are inputted into the coil calorific value calculating sections 310, 320 and 330 respectively, and at the same time, are inputted into the substrate calorific value calculating section 340 (Step S10). The temperature sensor 200 detects the temperature of the control substrate (Step S20), and outputs the substrate temperature T.sub.E to the substrate calorific value calculating section 340 and the coil temperature calculating section 350. Moreover, the detection of the motor current and the detection of the substrate temperature may interchange in order, or may be performed in parallel.
(35) The coil calorific value calculating sections 310 calculates the coil calorific value Q.sub.U in the U-phase by using the U-phase motor current i.sub.u and the previously estimated coil temperature T.sub.U retained in the memory 360 in accordance with the expression 7. Similarly, the coil calorific value calculating sections 320 calculates the coil calorific value Q.sub.V in the V-phase by using the V-phase motor current i.sub.v and the coil temperature T.sub.V retained in the memory 370 in accordance with the expression 8, and the coil calorific value calculating sections 330 calculates the coil calorific value Q.sub.W in the W-phase by using the W-phase motor current i.sub.w and the coil temperature T.sub.W retained in the memory 380 in accordance with the expression 9 (Step S30). The reference temperature T.sub.b, the coil resistances R.sub.U0, R.sub.V0 and R.sub.W0 at the reference temperature T.sub.b and the temperature coefficients .sub.U, .sub.V and .sub.W are preset.
(36) The substrate calorific value calculating section 340 calculates the substrate calorific value Q.sub.E by using the inputted motor currents i.sub.u, i.sub.v and i.sub.w and the substrate temperature T.sub.E in accordance with the expression 12 (Step S40). The reference temperature T.sub.b, the substrate resistance R.sub.E0 at the reference temperature T.sub.b, the temperature coefficient .sub.E and the calorific value Q.sub.E0 are preset.
(37) The coil calorific values Q.sub.U, Q.sub.V and Q.sub.W and the substrate calorific value Q.sub.E are inputted into the coil temperature calculating section 350 with the substrate temperature T.sub.E. The coil temperature calculating section 350 calculates the coil temperatures T.sub.U, T.sub.V and T.sub.W by the coil calorific values Q.sub.U, Q.sub.V and Q.sub.W, the substrate calorific value Q.sub.E and the substrate temperature T.sub.E on the basis of the expressions 17 to 19 (Step S50). The coil temperatures T.sub.U, T.sub.V and T.sub.W are inputted into the abnormality processing section 210, and at the same time, are retained in the memories 360, 370 and 380 respectively (Step S60).
(38) Moreover, it is possible to merge the coil calorific value calculating sections 310, 320 and 330, and calculate the coil calorific values Q.sub.U, Q.sub.V and Q.sub.W in accordance with the expressions 7, 8 and 9. Further, memories 360, 370 and 380 may be also merged, or a shared memory may be used.
(39) A second embodiment of the present invention will be described.
(40) Though a whole configuration of the second embodiment is similar to one of the first embodiment, a configuration of the coil temperature calculating section is different.
(41) The setting shown by the following expression 20 can be applied to the expressions 17 to 19 which the calculation at the coil temperature calculating section 350 of the first embodiment is based on because of symmetry of the phases.
G.sub.UU=G.sub.VV=G.sub.WW=G.sub.L
G.sub.UV=G.sub.VU=G.sub.UW=G.sub.WU=G.sub.VW=G.sub.WV=G.sub.M
G.sub.EU=G.sub.EV=G.sub.EW=G.sub.E
G.sub.TU=G.sub.TV=G.sub.TW=G.sub.TE[Expression 20]
The following expressions 21 to 23 are obtained by substituting the above expression 20 for the expressions 17 to 19, and arranging the substitution results.
T.sub.U=G.sub.LQ.sub.U+G.sub.M(Q.sub.V+Q.sub.W)+G.sub.EQ.sub.E+G.sub.TET.sub.E[Expression 21]
T.sub.V=G.sub.LQ.sub.V+G.sub.M(Q.sub.W+Q.sub.U)+G.sub.EQ.sub.E+G.sub.TET.sub.E[Expression 22]
T.sub.W=G.sub.LQ.sub.W+G.sub.M(Q.sub.U+Q.sub.V)+G.sub.EQ.sub.E+G.sub.TET.sub.E[Expression 23]
(42)
(43) Comparing an operation of estimation of the coil temperature in the second embodiment with one in the first embodiment, the only above operation of the coil temperature calculating section is different, and other operations are the same.
(44) In the above embodiments (the first embodiment and the second embodiment), though the coil temperature calculating section performs the calculations with the configuration shown in
(45) A third embodiment of the present invention will be described.
(46) A configuration example of the third embodiment is shown in
(47) The coil temperature calculating section 550 calculates the coil temperatures T.sub.U, T.sub.V and T.sub.W in respective phases on the basis of a differential equation of heat conduction.
(48) The differential equations of heat conduction with respect to the coils in the U-phase, the V-phase and the W-phase are the following expressions 24, 25 and 26 respectively.
(49)
Here, C.sub.L is a heat capacity of the coil, K.sub.L is a heat loss coefficient of the coil, K.sub.LL is a heat transfer coefficient between the coils, and K.sub.LE is a heat transfer coefficient between the coil and the control substrate. Difference information of the fifth term of the right side in each of the above expressions 24 to 26 expresses the heat conduction between each phase and the control substrate.
(50) The differential equation of heat conduction with respect to the control substrate is the following expression 27.
(51)
Here, C.sub.E is a heat capacity of the control substrate, and K.sub.E is a heat loss coefficient of the control substrate. Difference information from the third term to the fifth term of the right side in the above expression 27 expresses the heat conduction between each phase and the control substrate.
(52) The following expressions 29 to 32 are obtained by arranging the above expression 24 to 27 and setting values as shown by the following expression 28.
(53)
The following expression 33 is obtained by transforming the above expression 32 and solving the transformation result for the outside air temperature T.sub.0.
(54)
(55) Therefore, it is possible to obtain renewed coil temperatures T.sub.U, T.sub.V and T.sub.W by obtaining the outside air temperature T.sub.0 using the expression 33 by the substrate temperature T.sub.E, the coil temperatures T.sub.U, T.sub.V and T.sub.W and the substrate calorific value Q.sub.E, obtaining differential values of the coil temperatures T.sub.U, T.sub.V and T.sub.W using the expressions 29 to 31 by the outside air temperature T.sub.0, the coil calorific values Q.sub.U, Q.sub.V and Q.sub.W, the coil temperatures T.sub.U, T.sub.V and T.sub.W and the substrate temperature T.sub.E, and integrating the differential values.
(56) The coil temperature calculating section 550 calculates the coil temperatures T.sub.U, T.sub.V and T.sub.W in respective phases on the basis of the above expressions 29 to 31 and 33. A configuration example of the coil temperature calculating section 550 is shown in
(57) The coil temperatures T.sub.U, T.sub.V and T.sub.W calculated at the coil temperature calculating section 550 are inputted into the abnormality processing section 210, and at the same time, are retained in the memories 360, 370 and 380 respectively to be used in next calculations of the coil calorific values and next calculations of the coil temperatures.
(58) An operating example of estimation of the coil temperature in the third embodiment will be described with reference to a flowchart in
(59) The third embodiment performs the same operations as the first embodiment until calculating the substrate calorific value Q.sub.E (Steps S10 to S40).
(60) The coil calorific values Q.sub.U, Q.sub.V and Q.sub.W and the substrate calorific value Q.sub.E are inputted into the coil temperature calculating section 550.
(61) The outside air temperature calculating section 552 in the coil temperature calculating section 550 inputs the addition result (T.sub.U+T.sub.V+T.sub.W) retained in the memory 556 with the calorific value Q.sub.E and the substrate temperature T.sub.E, calculates the outside air temperature T.sub.0 in accordance with the expression 33 (Step S41), and outputs it to the differential equation calculating section 551. The differential equation calculating section 551 calculates the differential values DT.sub.U, DT.sub.V and DT.sub.W of the coil temperatures by the coil calorific values Q.sub.U, Q.sub.V and Q.sub.W, the substrate temperature T.sub.E, the outside air temperature T.sub.0 and the coil temperatures T.sub.U, T.sub.V and T.sub.W retained in the memories 360, 370 and 380 respectively in accordance with the expressions 29 to 31 (Step S42). The integrating sections 553, 554 and 555 input the differential values DT.sub.U, DT.sub.V and DT.sub.W respectively, integrate them, and calculate the coil temperatures T.sub.U, T.sub.V and T.sub.W (Step S43). The coil temperatures T.sub.U, T.sub.V and T.sub.W are outputted, and at the same time, are added at the adding sections 557 and 558. The addition result (T.sub.U+T.sub.V+T.sub.W) is retained in the memory 556 for the next calculation of the outside air temperature (Step S44).
(62) The coil temperatures T.sub.U, T.sub.V and T.sub.W outputted from the coil temperature calculating section 550 are inputted into the abnormality processing section 210, and at the same time, are retained in the memories 360, 370 and 380 respectively (Step S60) Though the coil temperature calculating section 550 retains the addition result of the coil temperatures T.sub.U, T.sub.V and T.sub.W in the memory 556, it is possible to use an addition result of the coil temperatures T.sub.U, T.sub.V and T.sub.W retained in the memories 360, 370 and 380 respectively when the outside air temperature calculating section 552 calculates the outside air temperature T.sub.0. Further, though the coil temperature calculating section 550 calculates the coil temperature based on the differential equation, it is also possible to calculate it after transforming the differential equation into a difference equation that is generally used and is capable of being mounted in the ECU, or to calculate it after transforming the differential equation into a transfer function.
(63) Though the above embodiments (the first to the third embodiments) target the three-phase motor, the present invention can be applied to a motor where the number of phases is other than three.
EXPLANATION OF REFERENCE NUMERALS
(64) 1 steering wheel 2 column shaft (steering shaft, handle shaft) 10 torque sensor 12 vehicle speed sensor 13 battery 20 motor 21 rotational angle sensor 30 control unit (ECU) 35 PI-control section 36 PWM-control section 37 inverter 38 motor current detector 200 temperature sensor 210 abnormality processing section 310, 320, 330 coil calorific value calculating section 340 substrate calorific value calculating section 350, 550 coil temperature calculating section 551 differential equation calculating section 552 outside air temperature calculating section