Motor control device and motor control method

The motor control device adjusts carrier frequency and current command values to efficiently increase inverter temperature using the refrigerant as a heat source, addressing the inefficiency in existing technologies.

US20260374208A1Pending Publication Date: 2026-11-26ASTEMO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
US19/138350
Authority / Receiving Office
US · United States
Patent Type
Applications(United States)
Current Assignee / Owner
Filing Date
2022-12-14
Publication Date
2026-11-26

AI Technical Summary

Technical Problem

Existing motor control devices fail to efficiently increase the temperature of inverters within a restrictive temperature range, limiting their effectiveness in vehicles.

Method used

A motor control device and method that adjusts the carrier frequency and current command value to control the inverter, calculating an energy margin value to efficiently raise the inverter temperature using the refrigerant as a heat source.

Benefits of technology

The solution efficiently raises the inverter temperature within a restrictive range, enhancing its performance and utility in vehicles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US20260374208A1-D00000_ABST
    Figure US20260374208A1-D00000_ABST
Patent Text Reader

Abstract

A motor control device coupled to an inverter performs power conversion between DC and AC power, and controls the inverter based on a carrier frequency and a current command value that correspond to a torque command to control a motor using the AC power. The motor control device includes a command value generator that calculates an inverter energy margin value in accordance with an energy margin of the inverter up to an inverter restrictive temperature that based on the temperature of the inverter, and that generates a new carrier frequency and current command value in place of the carrier frequency and the current command value in accordance with the inverter energy margin value. The inverter is controlled by changing the carrier frequency and the current command value to the new carrier frequency and current command value generated by the command value generator to increase temperature of the inverter.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present invention relates to a motor control device and a motor control method.BACKGROUND ART

[0002] In recent years, hybrid automobiles and electric automobiles have been widely used in which motors are driven by electric power supplied from secondary batteries mounted on the automobiles. This kind of vehicle includes an inverter that performs power conversion between DC power and AC power, and drives a motor by controlling the inverter. Then, a refrigerant for cooling the inverter and the motor is used as a heat source for air conditioning or the like of the vehicle. The refrigerant in this kind of vehicle fails to serve as a heat source for air conditioning or the like when the inverter is not warmed at the time of starting the vehicle, for example.

[0003] PTL 1 discloses a driving device of a vehicle in which a modulation method of PWM control is changed based on temperature of an inverter detected by a first temperature detector and temperature of a motor generator detected by a second temperature detector in inefficiency control when a state of charge of a battery is equal to or more than a predetermined value.CITATION LISTPatent LiteraturePTL 1: JP 2021-132464 ASUMMARY OF INVENTIONTechnical Problem

[0005] The device described in PTL 1 cannot efficiently increase the temperature of the inverter within a restrictive temperature range.Solution to Problem

[0006] A motor control device according to a first aspect of the present invention is connected to an inverter configured to perform power conversion between DC power and AC power, and controls the inverter based on a carrier frequency and a current command value that correspond to a torque command to control driving of a motor using the AC power. The motor control device includes a command value generator that calculates an inverter energy margin value in accordance with an energy margin of the inverter up to an inverter restrictive temperature that is a restrictive temperature of the inverter based on a detection temperature of the inverter, and that generates a new carrier frequency and current command value in place of the carrier frequency and the current command value in accordance with the inverter energy margin value. The inverter is controlled by changing the carrier frequency and the current command value to the new carrier frequency and current command value generated by the command value generator to increase temperature of the inverter.

[0007] A motor control method according to a second aspect of the present invention is for a motor control device that is connected to an inverter configured to perform power conversion between DC power and AC power, and that controls the inverter based on a carrier frequency and a current command value that correspond to a torque command to control driving of a motor using the AC power. The method includes: calculating an inverter energy margin value in accordance with an energy margin of the inverter up to an inverter restrictive temperature that is a restrictive temperature of the inverter based on a detection temperature of the inverter; generating a new carrier frequency and current command value in place of the carrier frequency and the current command value in accordance with the inverter energy margin value; and controlling the inverter by changing the carrier frequency and the current command value to the new carrier frequency and current command value generated in accordance with the inverter energy margin value to increase temperature of the inverter.Advantageous Effects of Invention

[0008] The present invention enables temperature of an inverter to be efficiently raised within a restrictive temperature range.BRIEF DESCRIPTION OF DRAWINGS

[0009] FIG. 1 is a system configuration diagram of a motor control device.

[0010] FIG. 2 is a configuration diagram of a controller.

[0011] FIG. 3 is a configuration diagram of a loss calculator.

[0012] FIG. 4 is a configuration diagram of a restrictive temperature corrector.

[0013] FIG. 5 is a configuration diagram of a command value generator.

[0014] FIG. 6 is a configuration diagram of a temperature state determiner.

[0015] FIG. 7 is a configuration diagram of a switching determiner.

[0016] FIG. 8 is a diagram illustrating an operation example of a motor control device.DESCRIPTION OF EMBODIMENTS

[0017] Hereinafter, embodiments of the present invention will be described with reference to the drawings. The description below and the drawings are examples for describing the present invention, and are eliminated and simplified as appropriate for the sake of clarity of description. The present invention can be implemented in various other forms. Unless otherwise specified, each component may be singular or plural.

[0018] FIG. 1 is a system configuration diagram of a motor control device 1000.

[0019] The motor control device 1000 includes an inverter 100 and a controller 200. The motor control device 1000 including the inverter 100 and the controller 200 is mounted on a vehicle such as an electric automobile or a hybrid automobile together with a DC power supply 300 and a motor 400 to drive the vehicle. The motor control device 1000 is connected to the inverter 100 that performs power conversion between DC power and AC power, and controls the inverter 100 based on a current command value and a carrier frequency that correspond to a torque command to control driving of the motor 400 using the AC power.

[0020] The inverter 100 is a power converter that performs power conversion between DC power and AC power. The inverter 100 includes upper and lower arm circuits for three phases. Each arm circuit includes a power semiconductor element for switching and a diode. The power semiconductor element is an IGBT, for example. The power semiconductor element performs a switching operation in response to a gate signal G output from the controller 200. The switching operation of the power semiconductor element causes the inverter 100 to convert DC power supplied from the DC power supply 300 into AC power and output a three-phase AC current. The three-phase AC current output from the inverter 100 is supplied to a winding of the motor 400 to power drive the motor 400. During regenerative driving of the motor 400, the inverter 100 causes the motor 400 to function as a generator, and converts AC power from the motor 400 into DC power. This DC power is charged in the DC power supply 300 that is a secondary battery such as a battery.

[0021] The power semiconductor element in the inverter 100 generates heat due to switching operation, and temperature of the heat is detected by a temperature detector 101 installed near the power semiconductor element. The detected temperature is output to the controller 200 as a detection temperature It of the inverter 100.

[0022] The motor 400 is provided with a position detector 401 that detects a rotational position θ of the motor 400, and the detected rotational position θ is output to the controller 200. The three-phase AC current between the inverter 100 and the motor 400 is detected by a current detector 402, and detected current values Iu, Iv, and Iw of respective phases are output to the controller 200. When the motor 400 is driven, the winding and the like of the motor generate heat, and the temperature of the heat is detected by a temperature detector 403 installed near the winding and the like. The detected temperature is output to the controller 200 as a detection temperature Mt of the motor 400.

[0023] The vehicle is provided with an air conditioner (not illustrated) for use in cooling and heating inside the vehicle. Inside the air conditioner, a refrigerant 500 circulates. The refrigerant 500 flows through a circulation path that is also disposed near the inverter 100 and the motor 400, and heat from the inverter 100 and the motor 400 is transmitted to the refrigerant. Then, the refrigerant is used as a heat source for air conditioning or the like of the vehicle. The refrigerant near the inverter 100 has a temperature that is detected by a temperature detector 501 installed in the circulation path of the refrigerant. The detected temperature is output to the controller 200 as a temperature R1 of the refrigerant of the inverter 100. The refrigerant near the motor 400 has a temperature that is detected by a temperature detector 502 installed near the circulation path of the refrigerant. The detected temperature is output to the controller 200 as a temperature R2 of the refrigerant of the motor 400.

[0024] The controller 200 refers to the current values Iu, Iv, and Iw detected by the current detector 402 and the rotational position θ detected by the position detector 401, and calculates a voltage command value corresponding to a torque command T* from a higher-level control device (not illustrated). Then, the gate signal G generated using the voltage command value and the carrier wave is output to the inverter 100.

[0025] In response to a warm-up mode command H* from the higher-level control device (not illustrated) and vehicle deceleration Vr, the controller 200 changes the carrier frequency and the current command value to increase temperatures of the inverter 100 and the motor 400 within a range not reaching restrictive temperatures of the inverter 100 and the motor 400. The change in the carrier frequency and the current command value causes loss energy in the inverter 100 and the motor 400, and this loss energy is conducted to the refrigerant as heat. Consequently, the refrigerant is efficiently increased in temperature when the vehicle is desired to be internally and quickly heated, such as when the vehicle is started. Details of the controller 200 will be described later.

[0026] FIG. 2 is a configuration diagram of the controller 200.

[0027] The controller 200 includes a warm-up controller 210, a carrier frequency generator 220, and an inverter controller 230.

[0028] The warm-up controller 210 receives detection temperature It of the inverter 100, the detection temperature Mt of the motor 400, the deceleration Vr of the vehicle, the temperature R1 of the refrigerant of the inverter 100, the temperature R2 of the refrigerant of the motor 400, and the warm-up mode command H*. The deceleration Vr of the vehicle is input from the higher-level control device (not illustrated) during the regenerative driving of the motor 400. The warm-up controller 210 further receives the torque command T*, rotational speed or of the motor 400, a carrier frequency fc, and a current command value I*. The rotational speed or of the motor 400 is calculated by the inverter controller 230 based on the rotational position θ. The carrier frequency fc is generated by the carrier frequency generator 220 described later. Examples of the current command value I* include a d-axis current command value Id* and a q-axis current command value Iq* that are calculated by the inverter controller 230 based on the torque command T*, and these command values are collectively referred to below as a current command value I*. The warm-up controller 210 newly generates the carrier frequency fc and the current command value I* based on the input described above and outputs the carrier frequency fc and the current command value I* to the inverter controller 230 together with a switching signal Ch.

[0029] The carrier frequency generator 220 generates the carrier frequency fc based on the rotational speed or of the motor 400, a d-axis voltage command value Vd*, a q-axis voltage command value Vq*, the rotational position θ, a DC voltage value Dv from the DC power supply 300, and the torque command T*, and outputs the carrier frequency fc. The carrier frequency generator 220 receives a signal that is not illustrated.

[0030] The inverter controller 230 includes a current command generator 231, a dq-axis converter 232, a UVW coordinate converter 233, and a gate signal generator 234.

[0031] The current command generator 231 receives the DC voltage value Dv supplied from the DC power supply 300 to the inverter 100, the rotational speed or of the motor 400, and the torque command T*, and coverts the received torque command T* into the d-axis current command value Id* and the q-axis current command value Iq*. The current command generator 231 receives a signal other than the torque command T*, the signal being not illustrated.

[0032] The dq-axis converter 232 converts the current values Iu, Iv, and Iw detected by the current detector 402 into a d-axis current value Id and a q-axis current value Ig with reference to the rotational position θ. The dq-axis converter 232 further converts the d-axis current command value Id* into the d-axis voltage command value Vd* based on the d-axis current value Id, and the q-axis current command value Iq* into the q-axis voltage command value Vq* based on the q-axis current value Iq, and outputs the command values to the coordinate converter 233. The dq-axis converter 232 receives the d-axis current command value Id* and the q-axis current command value Iq* from the warm-up controller 210. When receiving the switching signal Ch from the warm-up controller 210, the dq-axis converter 232 enables the d-axis current command value Id* and the q-axis current command value Iq* received from the warm-up controller 210. When receiving no switching signal Ch, the dq-axis converter 232 enables the d-axis current command value Id* and the q-axis current command value Iq* received from the current command generator 231.

[0033] The coordinate converter 233 converts the d-axis voltage command value Vd* and the q-axis voltage command value Vq* into voltage command values Vu, Vv, and Vw of three phases of UVW phases, and outputs the converted values to the gate signal generator 234.

[0034] The gate signal generator 234 generates a carrier wave having a triangular waveform shape based on the carrier frequency fc. The gate signal generator 234 further generates the gate signal G including a PWM pulse by comparing the carrier wave with the voltage command values Vu, Vv, and Vw. The gate signal generator 234 receives the carrier frequency fc from each of the warm-up controller 210 and the carrier frequency generator 220. When receiving the switching signal Ch from the warm-up controller 210, the gate signal generator 234 enables the carrier frequency fc received from the warm-up controller 210. When receiving no switching signal Ch, the gate signal generator 234 enables the carrier frequency fc received from the carrier frequency generator 220.

[0035] The warm-up controller 210 includes a loss calculator 211, a restrictive temperature corrector 212, a command value generator 213, and a switching determiner 214.

[0036] The loss calculator 211 receives the torque command T*, the rotational speed or of the motor 400, the carrier frequency fc from the carrier frequency generator 220, and the current command value I* from the current command generator 231. The loss calculator 211 further receives the detection temperature It of the inverter 100, the detection temperature Mt of the motor 400, the temperature R1 of the refrigerant of the inverter 100, and the temperature R2 of the refrigerant of the motor 400. Based on the received values, the loss calculator 211 calculates a loss Li of the inverter 100 and a loss Im of the motor 400, and outputs the losses to the restrictive temperature corrector 212 and the command value generator 213. Details of the loss calculator 211 will be described later.

[0037] The restrictive temperature corrector 212 corrects each of a restrictive temperature Ri of the inverter 100 and a restrictive temperature Rm of the motor 400 based on the loss Li of the inverter 100, the loss Im of the motor 400, the detection temperature It of the inverter 100, the detection temperature Mt of the motor 400, the temperature R1 of the refrigerant of the inverter 100, and the temperature R2 of the refrigerant of the motor 400, which have been received, and outputs the corrected values to the command value generator 213. The restrictive temperatures Ri and Rm are upper restrictive temperatures at which the inverter 100 and the motor 400 operate, respectively. Details of the restrictive temperature corrector 212 will be described later.

[0038] The command value generator 213 receives the detection temperature It of the inverter 100, the detection temperature Mt of the motor 400, the vehicle deceleration Vr, the temperature R1 of the refrigerant of the inverter 100, and the temperature R2 of the refrigerant of the motor 400. The command value generator 213 further receives the loss Li of the inverter 100 and the loss Lm of the motor 400 from the loss calculator 211, and the restrictive temperature Ri of the inverter 100 and the restrictive temperature Rm of the motor 400 from the restrictive temperature corrector 212. Based on the received values, the command value generator 213 calculates an energy margin value up to the restrictive temperature Ri of the inverter 100 and the restrictive temperature Rm of the motor 400, generates a new carrier frequency fc and a new current command value I* corresponding to the energy margin value, and outputs the generated values to the inverter controller 230. The newly generated carrier frequency fc and current command value I* are replaced with the carrier frequency fc generated by the carrier frequency generator 220 and the current command value I* generated by the coordinate converter 233. The motor control device 1000 controls the inverter by a change to the carrier frequency fc and the current command value I* generated by the command value generator 213 in accordance with a condition. The current command value I* is represented by a phase angle of a current and a magnitude of the current. Details of the command value generator 213 will be described later.

[0039] The switching determiner 214 receives the torque command T*, the rotational speed or of the motor 400, the carrier frequency fc from the command value generator 213, and the warm-up mode command H*. Based the received values, the switching determiner 214 determines whether to permit the change to the carrier frequency fc and the current command value I* generated by the command value generator 213. When it is determined to permit the change, the switching signal Ch is output to the dq-axis converter 232 and the gate signal generator 234. Details of the switching determiner 214 will be described later.

[0040] Although the controller 200 configured with a plurality of blocks has been described, the controller 200 may be composed of a computer including a CPU, a memory, and the like. In this configuration, the computer performs processing by executing a program stored in a memory or the like. All or a part of processing of the plurality of blocks may be implemented by a hard logic circuit. The program may be provided after being stored in a storage medium in advance. Alternatively, the program may be provided through a network line. The program may be provided as a computer program product in which various forms such as a data signal can be read by a computer.

[0041] FIG. 3 is a configuration diagram of the loss calculator 211.

[0042] The loss calculator 211 includes loss reference units 2111a and 2111b, time-constant time calculators 2112a and 2112b, and loss integrators 2113a and 2113b. The loss reference unit 2111a, the time-constant time calculator 2112a, and the loss integrator 2113a of the loss calculator 211 calculate the loss Li of the inverter 100. The loss reference unit 2111b, the time-constant time calculator 2112b, and the loss integrator 2113b of the loss calculator 211 calculate the loss Lm of the motor 400.

[0043] The loss reference unit 2111a includes a map m1a corresponding to combinations of a plurality of carrier frequencies fc and a plurality of current command values I*. The map m1a includes maps of respective large, medium, and small carrier frequencies fc, the maps each including maps of respective large, medium, and small current command values I*, for example. The three stages of large, medium, and small are examples, and maps of a plurality of stages can be appropriately set depending on memory capacity of the controller 200 and the like. The map m1a includes a combination of the specific carrier frequency fc and current command value I* in which the loss La [W (watt)] per unit time of the inverter 100 corresponding to torque and rotational speed of the motor 400 is preliminarily stored. The map m1a shows torque of 0 or less that indicates the regenerative driving. The loss reference unit 2111a selects the map m1a corresponding to a combination of the received carrier frequency fc and current command value I*, and outputs the loss La [W (watt)] per unit time of the inverter 100 corresponding to a position with reference to the input torque command T* and the rotational speed or of the motor 400, that is, an operating point al. In general, when the carrier frequency is high, the loss La per unit time of the inverter 100 increases.

[0044] The time-constant time calculator 2112a calculates a time until temperature of the inverter 100 rises and becomes stable, that is, a time-constant time ti, from the loss La per unit time. A relationship between a value obtained by subtracting the temperature R1 of the refrigerant of the inverter 100 from the detection temperature It of the inverter 100 and the time-constant time ti is preliminarily stored as a map, and thus the time-constant time ti corresponding to the loss La per unit time is determined with reference to the map.

[0045] The loss integrator 2113a calculates the loss Li [Wh] of the inverter 100 during the time-constant time ti according to Expression (1) below, where a current time is indicated as t, based on the loss La (t) per unit time and the time-constant time ti.[Expression⁢ 1]Li=∫t-tit La⁡(t)⁢dt(Expression⁢ 1

[0046] The loss reference unit 2111b includes a map m1b corresponding to combinations of a plurality of carrier frequencies fc and a plurality of current command values I*. The map m1b includes maps of respective large, medium, and small carrier frequencies fc, the maps each including maps of respective large, medium, and small current command values I*, for example. The three stages of large, medium, and small are examples, and maps of a plurality of stages can be appropriately set depending on memory capacity of the controller 200 and the like. The map m1b includes a combination of the specific carrier frequency fc and current command value I* in which the loss Lb [W (watt)] per unit time of the motor 400 corresponding to torque and rotational speed of the motor 400 is preliminarily stored. The loss reference unit 2111b selects the map m1b corresponding to a combination of the received carrier frequency fc and current command value I*, and outputs the loss Lb [W (watt)] per unit time of the motor 400 corresponding to a position with reference to the input torque command T* and the rotational speed or of the motor 400, that is, an operating point b1.

[0047] The time-constant time calculator 2112b calculates a time until the temperature of the motor 400 rises and becomes stable, that is, a time-constant time tm, from the loss Lb per unit time. A relationship between a value obtained by subtracting the temperature R2 of the refrigerant of the motor 400 from the detection temperature Mt of the motor 400 and the time-constant time tm is preliminarily stored as a map, and thus the time-constant time tm corresponding to the loss Lb per unit time is determined with reference to the map.

[0048] The loss integrator 2113b calculates the loss Lm [Wh] of the motor 400 during the time-constant time tm according to Expression (2) below, where a current time is indicated as t, based on the loss Lb (t) per unit time and the time-constant time tm.[Expression⁢ 2]Lm=∫t-tmt Lb⁡(t)⁢dt(Expression⁢ 2)

[0049] Although the time-constant times ti and tm are determined by the time-constant time calculators 2112a and 2112b, respectively, and the losses Li and Im are calculated using the time-constant times, a predetermined fixed time may be used instead of the time-constant times ti and tm.

[0050] FIG. 4 is a configuration diagram of the restrictive temperature corrector 212.

[0051] The restrictive temperature corrector 212 includes estimated temperature reference units 2121a and 2121b, differential temperature calculators 2122a and 2122b, and restrictive temperature update units 2123a and 2123b.

[0052] The estimated temperature reference unit 2121a estimates the temperature of the inverter 100 based on the loss Li of the inverter 100, and outputs an estimated temperature Ix estimated. Specifically, a relationship between the temperature Ix of the inverter 100 and a loss [Wh] of the inverter 100 is preliminarily stored as a map in accordance with a value T1 obtained by subtracting temperature of the refrigerant of the inverter 100 from the temperature of the inverter 100. The estimated temperature reference unit 2121a adds the loss Li calculated this time to a loss Li′ calculated last time, and obtains the estimated temperature Ix corresponding to a loss of a result of the addition with reference to the map. The loss is calculated at an interval of time equal to or longer than the time-constant time ti. The loss Li′ calculated last time is a loss transmitted from the loss calculator 211 last time and stored in the restrictive temperature corrector 212.

[0053] The differential temperature calculator 2122a determines whether a differential temperature obtained by subtracting the estimated temperature Ix from the detection temperature It is larger than a predetermined threshold value, and outputs the differential temperature and a result of the determination to the restrictive temperature update unit 2123a. As the detection temperature It rises from the estimation, the differential temperature increases.

[0054] Upon receiving the result of the determination indicating that the temperature is larger than the threshold value, the restrictive temperature update unit 2123a subtracts the differential temperature from a restrictive temperature Ri′ updated last time to lower the restrictive temperature Ri, and outputs the restrictive temperature Ri lowered as a new restrictive temperature Ri. The restrictive temperature Ri′ updated last time is stored in the restrictive temperature corrector 212. The restrictive temperature Ri has an initial value that is a predetermined upper restrictive temperature at which the inverter 100 normally operates, the predetermined upper restrictive temperature being set as the initial value of the restrictive temperature Ri when an ignition key of the vehicle is turned on or when heating of air conditioning of the vehicle is turned on.

[0055] The estimated temperature reference unit 2121b estimates temperature of the motor 400 based on the loss Lm of the motor 400, and outputs an estimated temperature Mx estimated. Specifically, a relationship between the temperature of the motor 400 and a loss [Wh] of the motor 400 is preliminarily stored as a map in accordance with a value T2 obtained by subtracting the temperature of the refrigerant of the motor 400 from the temperature of the motor 400. The estimated temperature reference unit 2121b adds the loss Im calculated this time to a loss Im′ calculated last time, and obtains the estimated temperature Mx corresponding to a loss of a result of the addition with reference to the map. The loss is calculated at an interval of time equal to or longer than the time-constant time tm. The loss Lm′ calculated last time is a loss transmitted from the loss calculator 211 last time and stored in the restrictive temperature corrector 212.

[0056] The differential temperature calculator 2122b determines whether a differential temperature obtained by subtracting the estimated temperature Mx from the detection temperature Mt is larger than a predetermined threshold value, and outputs the differential temperature and a result of the determination to the restrictive temperature update unit 2123b. As the detection temperature Mt rises from the estimation, the differential temperature increases.

[0057] Upon receiving the result of the determination indicating that the temperature is larger than the threshold value, the restrictive temperature update unit 2123b subtracts the differential temperature from a restrictive temperature Rm′ updated last time to lower the restrictive temperature Rm, and outputs the restrictive temperature Rm lowered as a new restrictive temperature Rm. The restrictive temperature Rm′ updated last time is stored in the restrictive temperature corrector 212. The restrictive temperature Rm has an initial value that is a predetermined upper restrictive temperature at which the motor 400 normally operates, the predetermined upper restrictive temperature being set as the initial value of the restrictive temperature Rm when the ignition key of the vehicle is turned on or when heating of air conditioning of the vehicle is turned on.

[0058] As described above, when an error occurs between the estimated temperature Ix estimated based on the loss Li of the inverter 100 and the detection temperature It of the inverter 100, the restrictive temperature corrector 212 updates the restrictive temperature Ri of the inverter 100 in accordance with the error. When an error occurs between the estimated temperature Mx estimated based on the loss Im of the motor 400 and the detection temperature Mt of the motor 400, the restrictive temperature corrector 212 updates the restrictive temperature Rm of the motor 400 in accordance with the error. Consequently, calculation accuracy of the energy margin value obtained by the command value generator 213 to be described later is improved.

[0059] FIG. 5 is a configuration diagram of the command value generator 213.

[0060] The command value generator 213 includes energy margin value calculators 2131a and 2131b, command value reference units 2132a and 2132b, command value selectors 2133a and 2133b, and a temperature state determiner 2134.

[0061] The energy margin value calculator 2131a calculates an energy margin value Wi in accordance with an energy margin to the restrictive temperature Ri of the inverter 100 based on the restrictive temperature Ri of the inverter 100, the detection temperature It of the inverter 100, the temperature R1 of the refrigerant of the inverter 100, and the loss Li of the inverter 100. Specifically, a relationship between the temperature of the inverter 100 and a loss [Wh] of the inverter 100 is preliminarily stored as a map for each value T1 obtained by subtracting the temperature of the refrigerant of the inverter 100 from the temperature of the inverter 100 as illustrated in a graph in the energy margin value calculator 2131a of FIG. 5. The energy margin value calculator 2131a calculates the energy margin value Wi by subtracting the loss Li of the inverter 100 received from the loss calculator 211 from a loss L0 of the inverter 100 corresponding to the restrictive temperature Ri with reference to this map, and outputs the energy margin value Wi to the command value reference unit 2132a.

[0062] The command value reference unit 2132a determines a carrier frequency and a current command value associated with energy loss of the inverter 100 based on the energy margin value Wi and the deceleration Vr. Specifically, the command value reference unit 2132a includes a map GIa and a map Gfa corresponding to a plurality of degrees of deceleration Vr. The map GIa preliminarily stores a relationship between the amount of energy to be lost of the inverter 100 for each of a plurality of carrier frequencies fc and each of a plurality of current command values Iz. The map Gfa preliminarily stores a relationship between the amount of energy to be lost of the inverter 100 for each of a plurality of current command values I* and each of a plurality of carrier frequencies fz. Values of the maps GIa and Gfa are preliminarily obtained by trial calculation based on transition of torque up to the speed 0 based on the deceleration Vr during the regenerative driving of the motor 400. Besides the deceleration Vr, the transition of the torque may be estimated by trial calculation in consideration of load capacity, vehicle weight, a gradient, and the like.

[0063] In general, an energy loss at each torque increases as a carrier frequency increases under a specific current command value. For example, the map GIa illustrated in the command value reference unit 2132a of FIG. 5 shows a horizontal axis representing time and a vertical axis representing loss, and illustrates the amount of energy loss generated at a carrier frequency fc1 in gray in accordance with transition of time. The map GIa shows a region surrounded by a dotted line, the region indicating the amount of energy loss generated at a carrier frequency fc2 higher than the carrier frequency fc1, the amount of energy loss being larger than that at the carrier frequency fc1. The amount of energy loss causes the inverter 100 to generate heat to be used as a heat source for heating the refrigerant. As shown in the map GIa in the command value reference unit 2132a, the command value reference unit 2132a preliminarily stores a relationship between the amount of energy to be lost of the inverter 100 for each of a plurality of carrier frequencies fc and each of a plurality of current command values Iz, the relationship being stored as a map for each deceleration Vr.

[0064] Similarly, the map Gfa illustrated in the command value reference unit 2132a of FIG. 5 shows a horizontal axis representing time and a vertical axis representing loss, and illustrates the amount of energy loss generated by a current command value I*1 in gray in accordance with transition of time, for example. The map Gfa shows a region surrounded by a dotted line, the region indicating the amount of energy loss generated by a current command value I*2 higher than the current command value I*1. As shown in the map Gfa in the command value reference unit 2132a, the command value reference unit 2132a preliminarily stores a relationship between the amount of energy to be lost of the inverter 100 for each of a plurality of current command values I* and each of a plurality of carrier frequencies fz, the relationship being stored as a map for each deceleration Vr.

[0065] The command value reference unit 2132a calculates a combination of a carrier frequency and a current command value with reference to the maps GIa and Gfa, the combination causing the amount of energy loss closest to the energy margin value Wi during transition of a loss in accordance with transition of torque indicated by the deceleration Vr received. For the calculation, combinations of carrier frequencies and current command values include two sets of a p-set when a carrier frequency is changed and a q-set when a current command value is changed. Specifically, the p-set including combinations of carrier frequencies and current command values is obtained with reference to the map GIa, and the q-set including combination of carrier frequencies and current command values is obtained with reference to the map Gfa. The command value reference unit 2132a outputs carrier frequencies and current command values of the two sets to the command value selector 2133a.

[0066] The command value selector 2133a selects and outputs any one of combinations of the carrier frequencies and the current command values in response to a signal indicating a temperature state from the temperature state determiner 2134 that determines the temperature state of the inverter 100. The command value selector 2133a of FIG. 5 shows graphs including a graph G1 of the carrier frequency and the amount of loss and a graph G2 of the current command value and the amount of loss. The p-set having a relatively high carrier frequency and a relatively low current command value and the q-set having a relatively low carrier frequency and a relatively high current command value are equal in the amount of energy loss as long as the sets are equal in torque.

[0067] When receiving a signal of a first temperature state S1 indicating that the inverter 100 or the motor 400 has a temperature not close to its restrictive temperature from the temperature state determiner 2134, the command value selector 2133a selects and outputs the carrier frequency and the current command value of the q-set having a lower carrier frequency than that of the the p-set and a higher current command value than that of the p-set. Specifically, the carrier frequency is selected within a range of the energy margin value Wi of the inverter 100, the carrier frequency being higher than a carrier frequency in a normal operation (operation without a change in the carrier frequency or the current command value in the first temperature state S1 to a third temperature state S3). Then, the current command value with a low value is selected, the low value giving priority to increase in loss caused by shifting the current command value from a high efficiency point rather than increase in loss due to increase in a carrier frequency. Consequently, a carrier frequency and a current command can be selected in which loss of the inverter 100 and the motor 400 is maximized.

[0068] In contrast, when receiving a signal of a second temperature state indicating that the inverter 100 has a temperature close to its restrictive temperature from the temperature state determiner 2134, the command value selector 2133a selects the carrier frequency and the current command value of the q-set having a lower carrier frequency than that of the p-set and a higher current command value than that of the p-set. The selected carrier frequency fc is output to the gate signal generator 234 and the command value reference unit 2132b, and the current command value I* is output to the command value selector 2133b. Specifically, a low carrier frequency is selected within the range of the energy margin value Wi of the inverter 100 as the carrier frequency. This carrier frequency has a value lower than that of the carrier frequency selected in the first temperature state. Then, a combination of a current command value and a carrier frequency with a high value is selected in which the current command value is shifted from its high efficiency point and causes loss to be increased to maximum. Consequently, a carrier frequency and a current command can be selected in which loss of the motor 400 is maximized while loss of the inverter 100 is limited.

[0069] In contrast, when receiving a signal of a third temperature state indicating that the motor 400 has a temperature close to a restrictive temperature of the motor 400 from the temperature state determiner 2134, the command value selector 2133a selects the carrier frequency and the current command value of the p-set having a higher carrier frequency than that of the q-set and a lower current command value than that of the q-set. Specifically, when a high carrier frequency within the range of the energy margin value Wi of the inverter 100 is selected as the carrier frequency, the carrier frequency and a current command can be selected in which loss of the inverter 100 is maximized while loss of the motor 400 is limited.

[0070] The command value selector 2133a outputs the selected carrier frequency fc to the gate signal generator 234 and the command value reference unit 2132b, and outputs the current command value I* to the command value selector 2133b.

[0071] The energy margin value calculator 2131b calculates an energy margin value Wm in accordance with an energy margin to the restrictive temperature Rm of the motor 400 based on the restrictive temperature Rm of the motor 400, the detection temperature Mt of the motor 400, the temperature R2 of the refrigerant of the motor 400, and the loss Im of the motor 400. Specifically, a relationship between the temperature of the motor 400 and the loss [Wh] of the motor 400 is preliminarily stored as a map for each value T2 obtained by subtracting the temperature of the refrigerant of the motor 400 from the temperature of the motor 400 as illustrated in a graph in the energy margin value calculator 2131b of FIG. 5. The energy margin value calculator 2131b calculates the energy margin value Wm by subtracting the loss Lm of the motor 400 received from the loss calculator 211 from a loss L1 of the motor 400 corresponding to the restrictive temperature Rm with reference to this map, and outputs the energy margin value Wm to the command value reference unit 2132b.

[0072] The command value reference unit 2132b determines a carrier frequency and a current command value associated with energy loss of the motor 400 based on the energy margin value Wm and the deceleration Vr. Specifically, the command value reference unit 2132b includes a map GIb corresponding to a plurality of degrees of deceleration Vr. The map Glb preliminarily stores a relationship between the amount of energy to be lost of the motor 400 for each of a plurality of current command values I* and each of a plurality of carrier frequencies fz. Values of the map GIb are preliminarily obtained by trial calculation based on transition of torque up to the speed 0 based on the deceleration Vr during the regenerative driving of the motor 400. Besides the deceleration Vr, the transition of the torque may be estimated by trial calculation in consideration of load capacity, vehicle weight, a gradient, and the like.

[0073] The map Glb illustrated in the command value reference unit 2132b of FIG. 5 shows a horizontal axis representing time and a vertical axis representing loss, and illustrates the amount of energy loss generated by the current command value I*1 in gray in accordance with transition of time. Then, a region surrounded by a dotted line of the map GIb indicates the amount of energy loss generated by the current command value I*2 larger than the current command value I*1, and the amount of energy loss is larger than that generated by the current command value I*1. The amount of energy loss causes the motor 400 to generate heat to be used as a heat source for heating the refrigerant. As shown in the map Glb in the command value reference unit 2132b, the command value reference unit 2132b preliminarily stores a relationship between the amount of energy to be lost of the motor 400 for each of a plurality of current command values I* and each of a plurality of carrier frequencies fz, the relationship being stored as a map for each deceleration Vr.

[0074] The command value reference unit 2132b calculates a current command value with reference to the map GIb, the current command value causing the amount of energy loss falling within the energy margin value Wm at the carrier frequency fc output from the command value selector 2133a in transition of loss corresponding to transition of torque indicated by the deceleration Vr received. In other words, the current command value I* output from the command value selector 2133a is corrected to cause a maximum energy loss, that is, maximum heat generation in accordance with the energy margin value Wm of the motor 400. However, a current command value falling within the energy loss of the inverter 100 is desirably calculated.

[0075] The command value selector 2133b selects and outputs any one of a current command value corrected by the command value reference unit 2132b, a current command value changed to lower than the corrected current command value, and a current command value output from the command value selector 2133a in response to a signal indicating a temperature state from the temperature state determiner 2134 that determines a temperature state of the motor 400.

[0076] Specifically, when a signal of the third temperature state S3 is not input, the signal indicating that the motor 400 has a temperature close to the restrictive temperature of the motor 400 or the like, the current command value corrected by the command value reference unit 2132b is selected and output to the dq-axis converter 232. When the corrected current command value does not fall within the energy loss of the inverter 100, the current command value output from the command value selector 2133a is output.

[0077] When the signal of the third temperature state S3 is received, the current command value corrected by the command value reference unit 2132b or the current command value output from the command value selector 2133a is changed to a value obtained by subtracting a predetermined percent of the current command value from the current command value and output, for example. Alternatively, the command value reference unit 2132b may reduce the current command value I* and increase the carrier frequency fc output from the command value selector 2133a within a range falling within the amount of energy loss within the energy margin value Wm when the signal of the third temperature state S3 is received. Specifically, a combination of a current command value and a carrier frequency is selected in which the current command value is low and loss increase is maximized within a range of the energy margin value Wm of the motor 400. The combination of the current command value and the carrier frequency is here selected so that the motor 400 is not changed in a torque value of, that is, the motor 400 has torque equal to that before the current command value is changed.

[0078] The command value generator 213 calculates and controls the carrier frequency and the current command value that causes a maximum amount of energy loss in preference to the inverter 100, so that the temperature of the inverter 100 having a smaller heat capacity than the motor 400 can be efficiently raised first.

[0079] An example has been described in which the command value generator 213 preliminarily estimates transition of torque by trial calculation during regenerative driving of the motor 400 and determines the carrier frequency and the current command value associated with the energy loss of the inverter 100 and the motor 400. Besides this, the carrier frequency and the current command value associated with the energy loss of the inverter 100 and the motor 400 may be determined by preliminarily estimating transition of torque by trial calculation during power driving of the motor 400.

[0080] FIG. 6 is a configuration diagram of the temperature state determiner 2134.

[0081] The temperature state determiner 2134 includes temperature rise calculators 2134a and 2134b, and a temperature determiner 2134c.

[0082] The temperature state determiner 2134 determines the first temperature state S1 when the restrictive temperature Ri of the inverter 100 and the restrictive temperature Rm of the motor 400 are not updated, that is, when no error occurs in the estimated temperatures Ix and Mx, determines the second temperature state S2 when the restrictive temperature Ri of the inverter 100 is updated, that is, when an error occurs in the estimated temperature Ix, and determines the third temperature state S3 when the restrictive temperature Rm of the motor 400 is updated, that is, when an error occurs in the estimated temperature Mx.

[0083] The temperature rise calculator 2134a determines whether a differential temperature obtained by subtracting the restrictive temperature Ri′ updated last time from the restrictive temperature Ri of the inverter 100 is larger than a predetermined threshold value, and outputs a result of the determination to the temperature determiner 2134c. The temperature rise calculator 2134b determines whether a differential temperature obtained by subtracting the restrictive temperature Rm′ updated last time from the restrictive temperature Rm of the motor 400 is larger than a predetermined threshold value, and outputs a result of the determination to the temperature determiner 2134c. The restrictive temperatures Ri′ and Rm′ updated last time are stored in the temperature state determiner 2134.

[0084] The temperature determiner 2134c determines the first temperature state S1 when the result of the determination larger than the threshold value is not received from any one of the temperature rise calculators 2134a and 2134b. The first temperature state S1 indicates that no error occurs in the estimated temperatures Ix and Mx of the inverter 100 and the motor 400, and indicates that the inverter 100 and the motor 400 can generate heat at the maximum.

[0085] The temperature determiner 2134c determines the second temperature state S2 when the result of the determination larger than the threshold value is received from the temperature rise calculator 2134a, that is, when the inverter 100 has a temperature close to its restrictive temperature. The second temperature state S2 indicates that an error occurs in the estimated temperature Ix of the inverter 100, that is, that temperature rises more than an estimated temperature rise, thus requiring heat generation of the inverter 100 to be reduced. The temperature determiner 2134c determines the third temperature state S3 when the result of the determination larger than the threshold value is received from the temperature rise calculator 2134b. The third temperature state S3 indicates that an error occurs in the estimated temperature Mx of the motor 400, that is, that temperature rises more than an estimated temperature rise, thus requiring heat generation of the motor 400 to be reduced.

[0086] When receiving the result of the determination larger than the threshold value from each of the temperature rise calculator 2134a and the temperature rise calculator 2134b, the temperature determiner 2134c determines the second temperature state S2 or the third temperature state S3 corresponding to the result closer to the corresponding restrictive temperature. Specifically, when the inverter 100 has a temperature closer to its restrictive temperature than that of the motor 400, the second temperature state S2 is determined. When the motor 400 has a temperature closer to its restrictive temperature than that of the inverter 100, the third temperature state S3 is determined.

[0087] The temperature state determiner 2134 may determine the first temperature state S1, the second temperature state S2, or the third temperature state S3 by detecting the detection temperatures It and Mt of the inverter 100 and the motor 400, the detection temperatures having approached the corresponding restrictive temperatures. That is, the first temperature state S1 is determined when the inverter 100 has a temperature not close to the restrictive temperature Ri of the inverter 100 and the motor 400 has a temperature not close to the restrictive temperature Rm of the motor 400, the second temperature state S2 is determined when the inverter 100 has a temperature close to the restrictive temperature Ri of the inverter 100, and the third temperature state S3 is determined when the motor 400 has a temperature close to the restrictive temperature Rm of the motor 400.

[0088] FIG. 7 is a configuration diagram of the switching determiner 214.

[0089] The switching determiner 214 determines whether to permit the change to the carrier frequency fc and the current command value I* generated by the command value generator 213. Specifically, maps Gn1, Gn2, and Gn3 as illustrated in FIG. 7 are preliminarily stored corresponding to carrier frequencies fc, the maps each showing a vertical axis representing the torque command T*, a horizontal axis representing the rotational speed or of the motor 400, and a region Np illustrated in gray in which the switching signal Ch is not output.

[0090] The map Gn1 is referred to when the carrier frequency fc is low, and indicates a condition in which the rotational speed or is slow, torque is large, and a ripple of the motor 400 is likely to occur. The map Gn2 is referred to when the carrier frequency fc is in an audible range, and indicates a condition in which torque is large and a switching sound of the motor 400 due to the torque is likely to be generated. The map Gn3 is referred to when the carrier frequency fc is high, and indicates a condition in which a sound of the motor 400 is likely to be generated at a specific rotational speed or. Any of the maps preliminarily stores the condition in which a sound and a vibration of the motor 400 are likely to occur.

[0091] When receiving the warm-up mode command H*, the switching determiner 214 refers to the map Gn1, Gn2, or Gn3 corresponding to the carrier frequency fc, and outputs the switching signal Ch to the dq-axis converter 232 and the gate signal generator 234 based on the torque command T* and the rotational speed or when the torque command and the rotational speed do not correspond to the region Np in which the switching signal Ch is not output. When receiving no warm-up mode command H*, the switching determiner 214 does not output the switching signal Ch. Consequently, generation of a sound and a vibration of the motor 400 can be avoided. Although an example has been described in which the switching determiner 214 receives the warm-up mode command H*, the controller 200 may receive the warm-up mode command H* and operate when receiving the warm-up mode command H*. Besides the warm-up mode command H*, the operation may be performed under various conditions as necessary.

[0092] FIG. 8 is a diagram illustrating an operation example of the motor control device 1000. FIG. 8 shows a vertical axis representing temperature, and a horizontal axis representing time.

[0093] The motor control device 1000 starts operation at time to. Immediately after the start of the operation, the temperature It of the inverter 100 and the temperature Mt of the motor 400 are low. After that, a warm-up mode is set by the warm-up mode command H* at time t1. The temperature It of the inverter 100 and the temperature Mt of the motor 400 being not close to the restrictive temperature Ri and the restrictive temperature Rm, respectively, cause the first temperature state S1 in which the inverter 100 and the motor 400 generate heat at the maximum. The temperatures of the inverter 100 and the motor 400 can be raised faster than those in a configuration not according to the present embodiment. In particular, the carrier frequency and the current command value that cause a maximum amount of energy loss are calculated in preference to the inverter 100, so that the inverter 100 having a small heat capacity can be first increased in temperature. Consequently, the temperature R1 of the refrigerant in the inverter 100 can be quickly raised and the refrigerant can be used as a heat source for air conditioning or the like of the vehicle.

[0094] The temperature It of the inverter 100 having approached the restrictive temperature Ri at time t2 causes the second temperature state S2. In the second temperature state S2, the carrier frequency is lowered and the current command value is increased. The heat generation of the inverter 100 is relatively suppressed, and heat generation of the motor 400 is relatively increased.

[0095] The temperature Mt of the motor 400 having approached the restrictive temperature Rm at time t3 causes the third temperature state S3. In the third temperature state S3, the current command value is lowered to suppress heat generation of the motor 400.

[0096] Any of the states uses the carrier frequency and the current command value that cause a maximum amount of energy loss based on the energy margin value, so that the inverter 100 and the motor 400 can be efficiently increased in temperature. When the inverter 100 or the motor 400 may have a temperature exceeding corresponding one of the restrictive temperatures Ri and Rm, a known protection function is operated.

[0097] The embodiment described above enables operational effects below to be obtained.

[0098] (1) The motor control device 1000 is connected to the inverter 100 that performs power conversion between DC power and AC power, and controls the inverter 100 based on the carrier frequency fc and the current command value I* that correspond to the torque command T* to control driving of the motor 400 using the AC power. The motor control device 1000 then includes the command value generator 213 that calculates the inverter energy margin value Wi in accordance with an energy margin of the inverter 100 up to the inverter restrictive temperature Ri that is the restrictive temperature of the inverter 100 based on the detection temperature It of the inverter 100, and generates a new carrier frequency fc and current command value I* instead of the carrier frequency fc and the current command value I* in accordance with the inverter energy margin value Wi. To increase the temperature of the inverter 100, the carrier frequency fc and current command value I* are changed to those generated by the command value generator 213 to control the inverter 100. Consequently, the temperature of the inverter can be efficiently raised within a range of the restrictive temperature Ri.

[0099] (2) A motor control method is of the motor control device 1000 that is connected to the inverter 100 that performs power conversion between DC power and AC power, and that controls the inverter 100 based on the carrier frequency fc and the current command value I* that correspond to the torque command T* to control driving of the motor 400 using the AC power. The motor control method then includes the steps of: calculating the inverter energy margin value Wi in accordance with an energy margin of the inverter 100 up to the inverter restrictive temperature Ri that is the restrictive temperature of the inverter 100 based on the detection temperature It of the inverter 100; generating a new carrier frequency fc and current command value I* instead of the carrier frequency fc and the current command value I* in accordance with the inverter energy margin value Wi; and changing the carrier frequency fc and current command value I* to those generated in accordance with the energy margin value Wi to control the inverter 100, thereby increasing the temperature of the inverter 100. Consequently, the temperature of the inverter can be efficiently raised within a range of the restrictive temperature Ri.

[0100] An example has been described in the embodiment described above in which the warm-up controller 210 calculates the energy margin value Wi of the inverter 100 and the energy margin value Wm of the motor 400, determines the carrier frequency fc and the current command value I* in the warm-up mode based on results of the calculation, and outputs the carrier frequency fc and the current command value I* to the inverter controller 230. Alternatively, only any one of the energy margin value Wi of the inverter 100 and the energy margin value Wm of the motor 400 may be calculated, and the carrier frequency fc and the current command value I* in the warm-up mode may be determined based on a result of the calculation. That is, the present invention enables the inverter 100 to be controlled by calculating at least one of the energy margin value Wi of the inverter 100 and the energy margin value Wm of the motor 400 and determining the carrier frequency fc and the current command value I* in the warm-up mode based on a result of the calculation.

[0101] When only a result of the calculation of the energy margin value Wi of the inverter 100 is used, the loss calculator 211 may not include the loss reference unit 2111b, the time-constant time calculator 2112b, and the loss integrator 2113b, which are related to a calculation of the loss Im of the motor 400. The estimated temperature reference unit 2121b, the differential temperature calculator 2122b, and the restrictive temperature update unit 2123b, which are related to an update of the restrictive temperature Rm of the motor 400, also may not be provided. Additionally, the energy margin value calculator 2131b, the command value reference unit 2132b, and the command value selector 2133b, which are related to calculation of the energy margin value Wm of the motor 400 and determination of a current command value corresponding to the energy margin value Wm, may not be provided. Consequently, the temperature of the inverter 100 can be efficiently raised in the warm-up mode and used for a heat source for air conditioning and the like.

[0102] In contrast, when only a result of the calculation of the energy margin value Wm of the motor 400 is used, the loss calculator 211 may not include the loss reference unit 2111a, the time-constant time calculator 2112a, and the loss integrator 2113a, which are related to the calculation of the loss Li of the inverter 100. The estimated temperature reference unit 2121a, the differential temperature calculator 2122a, and the restrictive temperature update unit 2123a, which are related to an update of the restrictive temperature Ri of the inverter 100, also may not be provided. Additionally, the energy margin value calculator 2131a, the command value reference unit 2132a, and the command value selector 2133a, which are related to calculation of the energy margin value Wi of the inverter 100 and determination of the carrier frequency and the current command value that correspond to the energy margin value Wi, may not be provided. Consequently, the temperature of the motor 400 can be efficiently raised in the warm-up mode and used for a heat source for air conditioning and the like.

[0103] The present invention is not limited to the above-described embodiments, and other forms conceivable within the scope of the technical idea of the present invention are also included within the scope of the present invention as long as the features of the present invention are not impaired.REFERENCE SIGNS LIST100 inverter

[0105] 101 temperature detector

[0106] 200 controller

[0107] 210 warm-up controller

[0108] 211 loss calculator

[0109] 212 restrictive temperature corrector

[0110] 213 command value generator

[0111] 214 switching determiner

[0112] 220 carrier frequency generator

[0113] 230 inverter controller

[0114] 231 current command generator

[0115] 232 dq-axis converter

[0116] 233 UVW coordinate converter

[0117] 234 gate signal generator

[0118] 300 DC power supply

[0119] 400 motor

[0120] 401 position detector

[0121] 402 current detector

[0122] 500 refrigerant

[0123] 502 temperature detector

[0124] 1000 motor control device

[0125] 2111a, 2111b loss reference unit

[0126] 2112a, 2112b time-constant time calculator

[0127] 2113a, 2113b loss integrator

[0128] 2121a, 2121b estimated temperature reference unit

[0129] 2122a, 2122b differential temperature calculator

[0130] 2123a, 2123b restrictive temperature update unit

[0131] 2131a, 2131b energy margin value calculator

[0132] 2132a, 2132b command value reference unit

[0133] 2133a, 2133b command value selector

[0134] 2134 temperature state determiner

[0135] It, Mt detection temperature

[0136] Vr deceleration

[0137] R1, R2 temperature of refrigerant

[0138] H* warm-up mode command

[0139] T* torque command

[0140] ωr rotational speed

[0141] fc carrier frequency

[0142] I* current command value

[0143] θ rotational position

[0144] Ch switching signal

[0145] Li, Lm loss

[0146] Ri, Rm restrictive temperature

[0147] Wi, Wm energy margin value

Claims

1. A motor control device that is connected to an inverter configured to perform power conversion between DC power and AC power, and controls the inverter based on a carrier frequency and a current command value that correspond to a torque command to control driving of a motor using the AC power, the motor control device comprising:a command value generator that calculates an inverter energy margin value in accordance with an energy margin of the inverter up to an inverter restrictive temperature that is a restrictive temperature of the inverter based on a detection temperature of the inverter, and that generates a new carrier frequency and current command value in place of the carrier frequency and the current command value in accordance with the inverter energy margin value,wherein the inverter is controlled by changing the carrier frequency and the current command value to the new carrier frequency and current command value generated by the command value generator to increase temperature of the inverter.

2. The motor control device according to claim 1, further comprising:a loss calculator that obtains a loss of the inverter in a predetermined time based on the torque command, rotational speed of the motor, the current command value, and the carrier frequency,wherein the command value generator calculates the inverter energy margin value based on the loss of the inverter obtained by the loss calculator.

3. The motor control device according to claim 2, further comprising:a restrictive temperature corrector that updates the inverter restrictive temperature in accordance with an error when the error occurs between an estimated temperature estimated based on the loss of the inverter and the detection temperature of the inverter.

4. The motor control device according to claim 3, whereinthe command value generator includes a temperature state determiner that determines a temperature state of the inverter,the temperature state determiner determines a first temperature state when the inverter has a temperature not close to the inverter restrictive temperature or when an error does not occur in the estimated temperature estimated based on the loss of the inverter, andthe command value generator generates the carrier frequency with a high value and the current command value with a low value in the first temperature state.

5. The motor control device according to claim 4, whereinthe temperature state determiner determines a second temperature state when the inverter has a temperature close to the inverter restrictive temperature or when an error occurs in the estimated temperature estimated based on the loss of the inverter, and the command value generator generates the current command value with a high value and the carrier frequency with a low value in the second temperature state.

6. The motor control device according to claim 5, whereinthe command value generator calculates a motor energy margin value in accordance with an energy margin of the motor up to a motor restrictive temperature that is a restrictive temperature of the motor based on a detection temperature of the motor, and generates the new current command value in accordance with the motor energy margin value.

7. The motor control device according to claim 6, whereinthe restrictive temperature corrector updates the motor restrictive temperature in accordance with an error when the error occurs between the estimated temperature estimated based on the loss of the motor and the detection temperature of the motor,the temperature state determiner determines a third temperature state when the motor has a temperature close to the motor restrictive temperature or when an error occurs in the estimated temperature estimated based on the loss of the motor, and the command value generator generates the new current command value with a value in the third temperature state, the value being lower than a value in a state other than the third temperature state.

8. The motor control device according to claim 7, whereinthe temperature state determiner determines the first temperature state in which the inverter has a temperature not close to the inverter restrictive temperature and the motor has a temperature not close to the motor restrictive temperature, determines the second temperature state in which the inverter has a temperature close to the inverter restrictive temperature, and determines the third temperature state in which the motor has a temperature close to the motor restrictive temperature.

9. The motor control device according to claim 8, whereinthe temperature state determiner determines not only whether the inverter has a temperature satisfying a first condition corresponding to the inverter restrictive temperature but also whether the motor has a temperature satisfying a second condition corresponding to the motor restrictive temperature,the temperature state determiner determines the first temperature state when the inverter has a temperature that does not satisfy the first condition and the motor has a temperature that does not satisfy the second condition,the temperature state determiner determines the second temperature state when the inverter has a temperature that satisfies the first condition,the temperature state determiner determines the three-temperature state when the motor has a temperature that satisfies the second condition, andwhen the inverter has a temperature satisfying the first condition and the motor has a temperature satisfying the second condition, the temperature state determiner determines the second temperature state or the third temperature state by determining which of the temperature of the inverter and the temperature of the motor is closer to corresponding one of the inverter restrictive temperature and the motor restrictive temperature.

10. The motor control device according to claim 1, further comprising:a switching determiner that determines whether to permit a change in the carrier frequency and the current command value newly generated by the command value generator based on the torque command, the rotational speed of the motor, and the carrier frequency,wherein when the switching determiner determines permission of change, the current command value and the carrier frequency newly generated by the command value generator are used.

11. The motor control device according to claim 1, whereinthe inverter is controlled by changing the current command value and the carrier frequency to the current command value and the carrier frequency that are newly generated by the command value generator when a warm-up mode command instructing a warm-up is received.

12. The motor control device according to claim 1, whereinthe inverter is controlled by changing the current command value and the carrier frequency to the current command value and the carrier frequency that are newly generated by the command value generator during regenerative driving of the motor.

13. A motor control method for a motor control device that is connected to an inverter configured to perform power conversion between DC power and AC power, and that controls the inverter based on a carrier frequency and a current command value that correspond to a torque command to control driving of a motor using the AC power, the motor control method comprising:calculating an inverter energy margin value in accordance with an energy margin of the inverter up to an inverter restrictive temperature that is a restrictive temperature of the inverter based on a detection temperature of the inverter;generating a new carrier frequency and current command value in place of the carrier frequency and the current command value in accordance with the inverter energy margin value; andcontrolling the inverter by changing the carrier frequency and the current command value to the carrier frequency and current command value newly generated in accordance with the inverter energy margin value to increase temperature of the inverter.