Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
CONTROL DEVICE OF ROTATING ELECTRIC MACHINE AND METHOD FOR CONTROLLING THE SAME
Document Type and Number:
WIPO Patent Application WO/2014/188264
Kind Code:
A2
Abstract:
An electronic control unit includes calculating a slip frequency of a rotating electric machine from a torque instruction value to the rotating electric machine and a target value of output efficiency to the rotating electric machine, calculating a frequency of the instruction signal from the slip frequency and a rotational frequency of the rotating electric machine, the slip frequency being changed by changing the target value of the output efficiency with the torque instruction value maintained and changing the slip frequency so as to change the frequency of the instruction signal to out of an inverter lock frequency band when the frequency of the instruction signal is included in the inverter lock frequency band.

Inventors:
OTA TAKASHI (JP)
YAMADA YOUHEI (JP)
Application Number:
PCT/IB2014/000855
Publication Date:
November 27, 2014
Filing Date:
May 19, 2014
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
TOYOTA MOTOR CO LTD (JP)
International Classes:
H02P21/00; H02P21/22; H02P23/07; H02P23/08; H02P23/16; H02P25/026; H02P27/06; H02P27/08
Foreign References:
JP2007259631A2007-10-04
JP2012228131A2012-11-15
JP2005354785A2005-12-22
JPH08289405A1996-11-01
Download PDF:
Claims:
CLAIMS

1. A control device for a rotating electric machine, the control device comprising: an electronic control unit configured to output an instruction signal in response to a driving request to the rotating electric machine; and

an inverter configured to convert direct current power into alternating current power based on the instruction signal and supply the converted alternating current power to the rotating electric machine,

the electronic control unit being configured to:

(a) calculate a slip frequency of the rotating electric machine from a torque instruction value to the rotating electric machine and a target value of output efficiency to the rotating electric machine;

(b) calculate a frequency of the instruction signal from the slip frequency and a rotational frequency of the rotating electric machine; and

(c) change the slip frequency so as to change the frequency of the instruction signal to out of a inverter lock frequency band, the slip frequency being changed by changing the target value of the output efficiency with the torque instruction value maintained, when the frequency of the instruction signal is included in the inverter lock frequency band.

2. The control device according to claim 1, wherein

the electronic control unit is configured to inhibit the frequency of the instruction signal from being changed to within the inverter lock frequency band for a predetermined period after the frequency of the instruction signal is changed to out of the inverter lock frequency band.

3. A control method for a rotating electric machine, wherein the rotating electric machine is controlled by an electronic control unit and an inverter, the electronic control unit outputting an instruction signal in response to a driving request of the rotating electric machine and the inverter configured to convert direct current power into alternating current power based on the instruction signal and supply the converted alternating current power to the rotating electric machine,

the control method comprising:

(a) calculating, by the electronic control unit, a slip frequency of the rotating electric machine from a torque instruction value to the rotating electric machine and a target value of output efficiency to the rotating electric machine;

(b) calculating, by the electronic control unit, the frequency of the instruction signal from the slip frequency and a rotational frequency of the rotating electric machine; and

(c) changing, by the electronic control unit, the slip frequency so as to change the frequency of the instruction signal to out of an inverter lock frequency band, the slip frequency being changed by changing the target value of the output efficiency with the torque instruction value maintained, when the frequency of the instruction signal is included in the inverter lock frequency band.

4. The control method according to claim 3, wherein

the frequency of the instruction signal is inhibited from being changed to within the inverter lock frequency band for a predetermined period by the electronic control unit after the frequency of the instruction signal is changed to out of the inverter lock frequency band by the electronic control unit.

Description:
CONTROL DEVICE OF ROTATING ELECTRIC MACHINE

AND METHOD FOR CONTROLLING THE SAME

BACKGROUND OF THE INVENTION

1. Field of the Invention

[0001] The present invention relates to a control device for controlling induction type rotating electric machine and a method for controlling the same. 2. Description of Related Art

[0002] Conventionally, there has been provided an inverter converting direct current power into alternating current power between a DC power source such as a battery and an AC rotating electric machine. The inverter is provided with a plurality of switching elements such as insulated gate bipolar transistors (IGBT) or metal oxide semiconductor field-effect transistors (MOSFET).

[0003] The switching element performs ON/OFF action in response to an instruction signal for driving a rotating electric machine. Here, it has been known that when the frequency of the instruction signal is a low frequency or 0 Hz, inverter lock occurs in which current flows to a particular switching element for a long time. If the amplitude of the instruction signal is large at this time, it comes that a large current flows to a particular switching element for a long time thereby overheating that switching element. Thus, since conventionally, when the inverter lock occurs and then, a large current is detected, inverter protection control for reducing current or voltage to protect the switching element has been performed.

[0004] For example, according to Japanese Patent Application Publication No.

2007-259631 (JP 2007-259631 A), if such a control device detects a locked state (state in which the rotation speed is almost zero) of a synchronous type rotating electric machine, it reduces the electric power to be applied to the inverter. According to Japanese Patent Application Publication No. 2012-228131 (JP 2012-228131 A), if the control device detects the locked state of the synchronous type rotating electric machine, it calculates a lockable time which permits the locked state of the synchronous rotating electric machine in response to a coil temperature and an output torque value of the rotating electric machine. According to Japanese Patent Application Publication No. 2005-354785 (JP 2005-354785 A), if the control device detects the locked state of the synchronous type rotating electric machine, it supplies current to the switching elements on which no current is concentrated.

[0005] According to Japanese Patent Application Publication No. 8-289405 (JP 8-289405 A), the control device changes the maximum value of the slip frequency for the induction type rotating electric machine in response to the temperature of an electric motor.

SUMMARY OF THE INVENTION

[0006] If the induction type rotating electric machine is used, the frequency of the instruction signal to be supplied to the rotating electric machine is a sum of a measured value of the rotational frequency of the rotor and the slip frequency. Thus, if the rotational frequency and the slip frequency have each different sign so that part or all of their respective values are cancelled by each other, the frequency of the instruction signal becomes 0 Hz or a low frequency thereby generating the inverter lock.

[0007] The slip frequency is determined in response to a torque instruction value to the rotating electric machine. If it is desired to output a positive torque from the rotating electric machine during a power running, for example, the slip frequency is set to a positive value. As a result, the torque instruction value becomes positive so that the slip frequency also becomes positive. On the other hand, if the rotational speed of the rotating electric machine is negative (the rotational frequency is also negative), the inverter lock may occur.

[0008] As a specific example of the above-described ones, a state in which a vehicle is about to start on a climbing lane can be mentioned. When the rotating electric machine is used as a driving source of a vehicle and a vehicle driver attempts to start a vehicle which remains stopped on a climbing lane, the driver releases a brake pedal and depresses an accelerator pedal instead. At this time, the vehicle slides back along the climbing lane slightly due to the release of the brake pedal, and when the accelerator pedal is depressed, a positive torque instruction is output to the rotating electric machine. As a result, the rotational speed of the rotating electric machine is negative while the slip frequency is positive. Further, upon such a startup on the climbing lane, driver's depressing of the accelerator pedal sometimes may be relatively strong, so that accompanied thereby, a large current flows into switching elements.

[0009] In such a case, if inverter protection control for reducing the voltage or the current to the inverter is performed like conventionally, the output torque of the rotating electric machine decreases. Because the torque of the driving source decreases upon the startup on the climbing lane, drivability may drop. On the other hand, when the inverter protection control is invalidated although the frequency of the instruction signal is included in the inverter lock frequency band while a large current flows, there is a fear that the inverter might be overheated. Accordingly, the present invention provides a control device and a control method for rotating electric machine capable of preventing reduction in the torque of the rotating electric machine, for example, upon startup on a climbing lane while suppressing overheating of the inverter.

[0010] A first aspect of the invention is a control device for rotating electric machine. The control device includes: an electronic control unit configured to output an instruction signal in response to a driving request to the rotating electric machine; and, an inverter configured to convert direct current power into alternating current power based on the instruction signal and supply the converted alternating current power to the rotating electric machine, the electronic control unit being configured to: (a) calculate a slip frequency of the rotating electric machine from a torque instruction value to the rotating electric machine and a target value of output efficiency to the rotating electric machine; (b) calculate the frequency of the instruction signal from the slip frequency and the rotational frequency of the rotating electric machine; and (c) change the slip frequency so as to change the frequency of the instruction signal to out of the inverter lock frequency band, the slip frequency being changed by changing the target value of the output efficiency with the torque instruction value maintained, when the frequency of the instruction signal is included in an inverter lock frequency band.

[0011] According to the above-described aspect, reduction of the torque of the rotating electric machine can be suppressed while suppressing overheating of the inverter. In the above aspect, the electronic control unit may be configured to inhibit the frequency of the instruction signal from being changed to within the inverter lock frequency band for a predetermined period after the frequency of the instruction signal is changed to out of the inverter lock frequency band.

[0012] A second aspect of the present invention provides a control method for rotating electric machine wherein the rotating electric machine is controlled by an electronic control unit and an inverter, the electronic control unit outputting an instruction signal in response to a driving request of the rotating electric machine and the inverter configured to convert direct current power into alternating current power based on the instruction signal and supply the converted alternating current power to the rotating electric machine, the control method comprising: (a) calculating, by the electronic control unit, a slip frequency of the rotating electric machine from a torque instruction value to the rotating electric machine and a target value of output efficiency to the rotating electric machine; (b) calculating, by the electronic control unit, the frequency of the instruction signal from the slip frequency and the rotational frequency of the rotating electric machine; and (c) changing, by the electronic control unit, the slip frequency so as to change the frequency of the instruction signal to out of the inverter lock frequency band, the slip frequency being changed by changing the target value of the output efficiency with the torque instruction value maintained, when the frequency of the instruction signal is included in the inverter lock frequency band. In the above aspect, the frequency of the instruction signal may be inhibited from being changed to within the inverter lock frequency band for a predetermined period by the electronic control unit after the frequency of the instruction signal is changed to out of the inverter lock frequency band by the electronic control unit. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Features, advantages, and technical and industrial significance of exemplary embodiments of the invention will be described below with reference to the accompanying drawings, in which like numerals denote like elements, and wherein:

FIG. 1 is a block diagram including a control device of rotating electric machine according to the present embodiment;

FIG. 2 is a diagram for explaining a first map and a second map;

FIG. 3 is a diagram for explaining the first map and the second map;

FIGs. 4 A, 4B, 4C, 4D are diagrams for explaining the inverter lock avoidance control;

FIGs. 5A, 5B, 5C, 5D are diagrams for explaining the inverter lock avoidance control;

FIG. 6 is a flow chart for explaining a determination flow of the inverter lock avoidance control;

FIGs. 7A, 7B, 7C, 7D are diagrams for explaining the inverter lock avoidance control; and

FIG. 8 is a flow chart for explaining the determination flow of the inverter lock avoidance control.

DETAILED DESCRIPTION OF EMBODIMENTS

[0014] FIG. 1 shows a block diagram including a control device 10 of a rotating electric machine and the rotating electric machine 12 which is a control target thereof according to the present embodiment. The rotating electric machine 12 is an induction type rotating electric machine such as a three-phase induction electric motor. Further, the rotating electric machine 12 is used as a driving source of a vehicle such as a hybrid vehicle, an electric vehicle.

[0015] The control device 10 includes an electronic control unit 14, an inverter 16, a current sensor 18 and a rotational phase detector 20. The inverter 16 is a power converter which performs orthogonal transform of electric power based on an instruction signal to the rotating electric machine 12 and supplies a converted alternating current power (AC power) to the rotating electric machine 12. The inverter 16 receives direct current power (DC power) from a DC power supply (not shown) such as a battery and converts the DC power to AC power in response to the instruction signal. The inverter 16 is a three-phase voltage type inverter, for example. The inverter 16 is provided with a switching element which is turned ON/OFF by a switching arm of each phase.

[0016] The current sensor 18 measures the value of current supplied from the inverter 16 to the rotating electric machine 12. If the rotating electric machine 12 is of three-phase type, the current sensor 18 may be configured to measure currents of two phases thereof. Because the sum of the instantaneous value of three-phase currents i u , i v , i w is zero, if current values of the two phases thereof can be detected, a current value of the remaining phase can be calculated. In FIG. 1, the current sensor 18 acquires a current measurement value i v-r of a V phase and a current measurement value i w-r of a W phase.

[0017] The rotational phase detector 20 calculates a rotational phase 0 r of the rotating electric machine 12. The rotational phase detector 20 is constituted of, for example, a resolver or hall device and a computing unit for computing these measurement values. Calculation of a rotational phase 0 r is performed as follows, for example. A rotational speed co r of the rotor of the rotating electric machine 12 is acquired by the resolver or the hall device and the computing device calculates an electrical angle frequency f r through an arithmetic processing of (rotational speed/60) x (number of poles/2). By integrating this calculated electrical angle frequency f r , the rotational phase detector 20 can obtain a rotational phase 0 r (=2nf r t + θ 0 , where 0 0 is an initial phase).

[0018] The electronic control unit 14 outputs an instruction signal in response to a driving request to the rotating electric machine 12 to control the rotating electric machine 12. The electronic control unit 14 is configured to include a computing circuit such as a microcomputer and a memory means such as a random access memory (RAM) and a read-only memory (ROM). The electronic control unit 14 includes an instruction value computing unit 22, a two-phase/three-phase conversion unit 24, a PWM signal generation unit 26, a three-phase/two-phase conversion unit 28, and an integrator 32.

[0019] The two-phase/three-phase conversion unit 24 converts differential values between instruction values id -CO m and i q-CO m of d-axis current and q-axis current output from the instruction value computing unit 22 (amplitudes in both cases), and measurement values i d-r and i q-r of the d-axis current and the q-axis current sent from the current sensor 18 through the three-phase/two-phase conversion unit 28 (amplitudes in both cases) to each three-phase instruction signal. Upon this conversion, the two-phase/three-phase conversion unit 24 acquires a phase 9 CO m of magnetic flux of the rotating electric machine 12 described below and converts the instruction value from the dq coordinate system to the three-phase coordinate system which is a static coordinate system based thereon.

[0020] If the inverter 16 is of voltage type, before inputting a differential value between the instruction value and the measurement value of the d-axis current and the q-axis current respectively to the two-phase/three-phase conversion unit 24, a voltage value is obtained by proportional integration processing (PI control processing). This voltage value is converted to a three-phase voltage value by the two-phase/three-phase conversion unit 24.

[0021] The PWM signal generation unit 26 outputs a PWM instruction signal which is output from the two-phase/three-phase conversion unit 24 and corresponds to the three-phase instruction signal to the inverter 16. For example, by comparing the three-phase instruction signal with a carrier output from an oscillator (not shown), a PWM instruction signal which specifies ON/OFF timing (duty ratio) of the switching element of the inverter 16 is output.

[0022] The three-phase/two-phase conversion unit 28 converts the three-phase current measurement values i v-r , i w -r obtained by the current sensor 18 and U-phase current value i u-r calculated from these values to two-phase current measurement values id-r, iq-r- Like the two-phase/three-phase conversion unit 24, the three-phase/two-phase conversion unit 28 acquires a phase 0 com of magnetic flux of the rotating electric machine 12 and converts from the three-phase coordinate system which is a static coordinate system to the dq coordinate system based on this phase.

[0023] The integrator 32 integrates slip frequency instruction values f s-com output from the instruction value computing unit 22 and outputs an instruction value 0 s-CO m

+ θο, where θ 0 is an initial phase) of the slip angle phase. Here, it is assumed that the slip frequency instruction value f s-com is an electrical angle frequency (=mechanical radian frequency x (number of poles/2)). By adding the instruction value 0s-com of the slip angle phase to the rotational phase 0 r obtained by the rotational phase detector 20, the phase 0 com of the magnetic flux of the rotating electric machine 12 is calculated.

[0024] The instruction value computing unit 22 outputs an instruction signal to the rotating electric machine 12 in response to a torque instruction value Trq com . The torque instruction value Trq com is calculated by another electronic control unit (ECU) (not shown) from an accelerator pedal depressing amount (driving request) and the like of a vehicle (not shown), for example.

[0025] The instruction value computing unit 22 obtains the received instruction values id -C om and i q-com of the d-axis current and the q-axis current and the slip frequency instruction value f s-C om based on the received torque instruction value Trq com and "the first map" or "the second map".

[0026] "The first map" or "the second map" will be described. FIG. 2 shows the torque-slip characteristic of the rotating electric machine 12 of each current value. A curve which connects points each having an equal current value is called "equivalent current line". In the induction type rotating electric machine 12, it has been known that output efficiency of the rotating electric machine 12 changes in response to the slip frequency. That is, on the equivalent current line, the output efficiency of the rotating electric machine 12 differs depending on a position on that line.

[0027] A curve is produced by connecting predetermined output efficiency points on plural equivalent current lines. For example, a curve is produced by connecting maximum output efficiency ηι on the respective equivalent current lines. In the present embodiment, the curve which is produced by connecting points each having equivalent output efficiency is called "map". Because the map is produced by connecting points each having equivalent output efficiency, a plurality of the maps can be produced for each output efficiency.

[0028] In the present embodiment, the map which connects the maximum output efficiency points (η=ηι) is produced and this map is called "first map". Further, a map which is produced by connecting predetermined output efficiency points (η=η 2 <ηι) whose efficiency is lower than the first map is called "second map". In the meantime, it has been known that the induction type rotating electric machine has a characteristic in which the output efficiency decreases as the slip frequency increases, and as a result of reflection of this characteristic, the second map is shifted to a higher slip frequency side than the first map. The "first map" and the "second map" are stored in a storage means such as ROM (not shown) in the form of an expression or table (table).

[0029] If the first map is used, the torque instruction values Trq com to the rotating electric machine 12 are plotted on the vertical axis in FIG. 2 and a line is extended therefrom in parallel to the horizontal axis so as to obtain an intersection with the first map (output efficiency ηι). By obtaining this intersection, the slip frequency fs-com = fs-comi and the current instruction value ii -CO m = can be obtained to output the torque instruction value Trq com at the output efficiency ηι. That is, the instruction value computing unit 22 obtains the slip frequency instruction value f s-C om and the current instruction value i 1-CO m from the torque instruction value and an output efficiency target value to the rotating electric machine 12.

[0030] The current instruction value i 1-com is a current value of the stator side (primary side) of the rotating electric machine 12 and is converted to the instruction values id-com and i q-CO m of the d-axis current and the q-axis current through the predetermined conversion process. For example, when the rotating electric machine 12 is vector-controlled, the current instruction value ii -CO m is divided to torque current component and excitation current component by using the slip frequency instruction value fs-com, and the former is used as the instruction value i q-CO m of the q-axis current and the latter is used as the instruction value i d-C om of the d-axis current. Instead, it is permissible to set that id- m = ii-com and that i q-CO m = 0.

[0031] Further, when the instruction signal frequency f com which is a sum of the slip frequency instruction value f s-CO m and the rotational frequency f r of the rotating electric machine 12 is contained in the inverter lock frequency band while a large current is being supplied, that is, when it looks that the inverter protection control is just about to be performed, the instruction value computing unit 22 performs the inverter lock avoidance control. In the inverter lock avoidance control, by changing the slip frequency instruction value f s-C om, the instruction signal frequency f com (=f s- com + fr) is changed and as a result, the instruction signal frequency f CO m is changed to out of the inverter lock frequency band. In the meantime, here, it is assumed that the slip frequency instruction value f s- com, the rotational frequency f r of the rotating electric machine 12, and the instruction signal frequency f com are all electrical angle frequencies. Further, hereinafter, the instruction signal frequency f CO m is called "electrical frequency f •!com " ·

[0032] Inverter lock refers to a state in which the electrical frequency f CO m is a low frequency or 0 Hz and current flows to a particular switching element for a long time. The inverter lock frequency band refers to a frequency range in which the inverter lock occurs, for example, a range within ±10 Hz.

[0033] The electrical frequency f com can be obtained by differentiating the phase Ocom (=2nf com t + θο) of magnetic flux of the rotating electric machine 12. The instruction value computing unit 22 acquires the electrical frequency f CO m output from a differentiator 30 and performs the inverter lock avoidance control in response to the value of the electrical frequency f com .

[0034] In the present embodiment, the change of the slip frequency instruction value fs-com in the inverter lock avoidance control is performed by switching the map. As described above, the second map has been shifted to a frequency side with a higher frequency than the first map. Thus, as shown in FIG. 3, under a condition in which the torque instruction value Trq com is fixed, the slip frequency f s-C om2 based on the second map is shifted to a higher frequency side relative to the slip frequency f s-CO m based on the first map. The electrical frequency f com is shifted to the high frequency side by this shift to the high frequency side and as a result, it is possible to escape from the inverter lock frequency band.

[0035] Considering such a feature that the frequency is shifted to the high frequency side, it is preferable to set the second map. For example, the second map may be determined so that a shifting width from the first map is equal to or more than the inverter lock frequency band.

[0036] Further, during the execution of the inverter lock avoidance control, by leaving only an equivalent current line of a current value less than the current value which enables the inverter protection control to be executed, the execution of the inverter protection control may be avoided.

[0037] In the present embodiment, by switching the map, in other words, changing the target value of the output efficiency to the rotating electric machine 12, the slip frequency can be changed. By changing the slip frequency, the electrical frequency fcom can be changed to out of the inverter lock frequency band. As a result, the operation of the inverter protection control can be avoided thereby making it possible to suppress reduction of the torque of the rotating electric machine upon startup of a vehicle on a climbing lane.

[0038] In the present embodiment, as shown in FIG. 3, with the torque instruction value Trq com maintained, the slip frequency is changed. Thus, the torque of the rotating electric machine 12 is prevented from dropping when the electrical frequency fcom is switched.

[0039] FIGs. 4A through 4D show a specific example of the inverter lock avoidance control. FIG. 4 A shows a change of vehicle velocity with a time passage (time chart), FIG. 4B shows a change of torque instruction with a time passage (time chart), FIG. 4C shows a change of the slip frequency with a time passage (time chart), and FIG. 4D shows a change of the electrical frequency with a time passage (time chart). In the time chart of the electrical frequency, the inverter lock frequency band is hatched with oblique lines. Further, the lower limit value of the inverter lock frequency band is indicated with - A[Hz] and the upper limit value thereof is indicated with A[Hz].

[0040] The example shown in FIGs. 4A through 4D indicate a driving condition in which the vehicle velocity increases gradually from a negative value to 0 side. This is, for example, a condition in which when a vehicle slides down on a climbing lane, the sliding-down is eliminated by depressing the accelerator pedal.

[0041] In the example shown in FIGs. 4A through 4D, it is assumed that the torque instruction is maintained at a predetermined positive value to facilitate the description. Further, in the time chart which indicates a selected map of FIG. 4C, it is assumed that the first map is selected as initial setting. If the torque instruction is constant, the slip frequency obtained from the first map is constant also.

[0042] As shown in the time chart of FIG. 4D, with elimination of the sliding-down, the rotation number of the rotating electric machine 12 increases gradually from a negative value toward 0, and accompanied therewith, the value of the rotational frequency f r of the rotating electric machine 12 also increases gradually from a negative value toward 0. On the other hand, because as the torque instruction, a constant positive value is output, the slip frequency f s-C omi obtained from the first map becomes a positive constant value. As a result, the electrical frequency f com which is a sum of the rotational frequency f r and the slip frequency f s-C omi approaches 0 gradually, so that it is included in the inverter lock frequency band at time tl .

[0043] At this time, the instruction value computing unit 22 switches the map for use from the first map to the second map, and obtains the slip frequency f s-C om2- based on the torque instruction value Trq com and the second map. By using the slip frequency f s- com2-, the electrical frequency f com is raised so that it escapes from the inverter lock frequency band. In the meantime, after FIGs. 4A through 4D, the second map is called just "avoidance map".

[0044] FIGs. 5A through 5D show other specific example of the inverter lock avoidance control than FIGs. 4A through 4D. This example indicates a case in which after time t2, the sliding-down vehicle velocity (negative vehicle velocity) increases although up to time t2, it is the same as FIGs. 4A through 4D. In this case, it is considered that the gradient of the climbing lane has changed (has become steep) although the torque instruction is constant, for example.

[0045] Since time t2, with an increase of the sliding-down vehicle velocity, the electrical frequency f com decreases (increases to the negative side) and at time t3, it comes that the electrical frequency f CO m is included in the inverter lock frequency band. At this time, the instruction value computing unit 22 switches the map for use from the second map to the first map and obtains the slip frequency f s-C omi- based on the torque instruction value Trq com and the first map. As a result, the electrical frequency f CO m is lowered (decreased), so that it escapes from the inverter lock frequency band.

[0046] Next, a determination flow for determining whether the inverter lock avoidance control can be executed is indicated in FIG. 6. In the flow chart shown in FIG. 6, as a map switching condition, a condition of whether the phase current is equal to or more than a threshold and whether it is in switching inhibition time now are set as well as a condition of whether the electrical frequency f CO m is included in the inverter lock frequency band. In the meantime, the above-described two conditions may be omitted to simplify the flow.

[0047] Upon inverter lock, a current flows to a particular switching element for a long time. Because when a large current flows to the switching element, there is a fear that the switching element is overheated, the inverter protection control is executed. That is, if the particular switching element is supplied with (2) a large current (1) for a long time, the inverter protection control is executed. Thus, (1) even if a current flows to a particular switching element for a long time, (2) if its current value is small, no inverter protection control is executed. Then, according to the embodiment shown in FIG. 6, if the value of current flowing to the switching element is so low a value that no overheating of the switching element is induced, the switching of the map, that is, the inverter lock avoidance control is not performed. More specifically, the instruction value computing unit 22 determines whether any one of the current measurement values i v-r , i w -r obtained by the current sensor 18 and the U-phase current measurement value i u-r calculated from these measurement values is equal to or more than a predetermined threshold.

[0048] Further, if hunting (vibration originating from control response) in which the switching of the first map and the second map frequently occurs is generated, the control becomes unstable. Thus, in the embodiment shown in FIG. 6, immediately after the switching of the map, the switching inhibition time when re-switching of the map is inhibited for a predetermined period is set up.

[0049] In step S10, the instruction value computing unit 22 performs three determination processings. As a first determination processing, whether the present is included in the switching inhibition time is determined. As a second determination processing, whether the electrical frequency f com is included in the inverter lock frequency band is determined. As a third determination processing, whether any one of the current measurement values i v-r , i w -r, and i u-r is equal to or more than the upper limit value B[A] is determined.

[0050] If the result of the first determination processing is "NO", the map cannot be switched because it is in the switching inhibition time. Further, if at least any one of the results of the second and third determination processings is "NO", it can be determined that the inverter protection control is never executed. Therefore, if even one of the determination results of the first to third determination processings in step S10 is "NO", the instruction value computing unit 22 holds a currently selected map (SI 2). On the other hand, if all the determination results of the three determination processings are "YES", of the first map and the second map, the instruction value computing unit 22 switches to a not currently selected one (S14). Further, after the switching of the map, the instruction value computing unit 22 sets a switching inhibition time (SI 6).

[0051] In the meantime, as described above, in the second map, the output efficiency of the rotating electric machine 12 is lower compared to the first map. For this reason, in a driving condition in which no hunting for switching of the map occurs, that is, if the electrical frequency f com is sufficiently apart from the inverter lock frequency band, it is preferable to switch to the first map immediately without waiting for the switching inhibition time as shown in FIGs. 7 A through 7D.

[0052] Thus, like in the flow chart of FIG. 8, first map selection flow may be provided before or after determination of the switching inhibition time. The instruction value computing unit 22 provides a lower threshold - C [Hz] and an upper threshold C [Hz] which are sufficiently apart from the lower limit value - A [Hz] and the upper limit value A [Hz], respectively, of the inverter lock frequency band, and determines whether the electrical frequency f COm is equal to or less than the lower threshold - C or at or equal to or more than the upper threshold C (S20).

[0053] For example, the upper threshold C may be a larger frequency by an amount equal to the inverter lock frequency than the upper limit value A of the inverter lock frequency band. That is, it is permissible that C = A + (A - (-A)). Likewise, it is also permissible that lower threshold - C = -A - (A- (-A)).

[0054] In step S20, if the electrical frequency f com is equal to or less than the lower threshold - C or equal to or more than the upper threshold C, the instruction value computing unit 22 selects the first map irrespective of whether the switching inhibition time has passed (S22).

[0055] Further, if the electrical frequency f com is in a range from the lower threshold - C to the upper threshold C, the instruction value computing unit 22 determines whether any one of the current measurement values i u-r , i v - r , and i w-r is less than the upper limit value B[A] (S24). Because no inverter protection control is executed when any one of the current measurement values i u-r , i v - r , and i w-r is less than the upper limit value B[A], the instruction value computing unit 22 selects the first map irrespective of whether the switching inhibition time has passed (S22).

[0056] In step S24, if any one of the current measurement values i u-r , i v-r , and i w-r is equal to or more than the upper limit value B[A], the instruction value computing unit 22 determines whether it is in the switching inhibition time and whether the electrical frequency f com is included in the inverter lock frequency band (S26). If the switching inhibition time has passed and the electrical frequency f com is included in the inverter lock frequency band, the switching of the map is executed (S28) and the switching inhibition time is set (S30). In the switching inhibition time or if the electrical frequency f com is out of the inverter lock frequency band, a current map is maintained (S32).