Magnetic pole position detection device and motor control device

10491144 ยท 2019-11-26

Assignee

Inventors

Cpc classification

International classification

Abstract

A magnetic pole position detection device of a motor control device includes a calculation unit to estimate a magnetic pole position. The calculation unit generates a voltage pulse command for three-phase connection to actuate all of three legs included in an inverter, and a voltage pulse command for one phase opened to actuate only two of the three legs, and narrows down the estimation range on the basis of a first magnetic pole position estimated value estimated on the basis of a motor current that flows during application of the voltage pulse command for three-phase connection, and a second magnetic pole position estimated value estimated on the basis of a motor current that flows during application of the voltage pulse command for one phase opened.

Claims

1. A magnetic pole position detection device that detects a magnetic pole position of a synchronous magnet motor, the detection device comprising: a current detector to detect a motor current flowing to each phase of the synchronous magnet motor; and a calculator to generate a voltage pulse command to estimate the magnetic pole position; to output the voltage pulse command to an inverter that drives the synchronous magnet motor; and to estimate the magnetic pole position on a basis of the motor current that flows in response to the voltage pulse command during an operation of the inverter, wherein the calculator generates a first voltage pulse command to actuate all of three leas included in the inverter, and a second voltage pulse command to actuate only two of the three legs, and narrows down an estimation range on a basis of a first magnetic pole position estimated value and a second magnetic pole position estimated value, the first magnetic pole position estimated value being estimated on a basis of the motor current that flows during application of the first voltage pulse command, the second magnetic pole position estimated value being estimated on a basis of the motor current that flows during application of the second voltage pulse command.

2. The magnetic pole position detection device according to claim 1, wherein the calculator generates, as a third magnetic pole position estimated value, a magnetic pole position that is narrowed down on a basis of a position common to the first magnetic pole position estimated value and the second magnetic pole position estimated value, compares a magnitude between a first current amplitude and, a second current amplitude, the first current amplitude being detected during application of the voltage pulse command used in determination of the first magnetic pole position estimated value, the second current amplitude being detected during application of the voltage pulse command used in determination of the second magnetic pole position estimated value, narrows down the estimation range on a basis of the first magnetic pole position estimated value and the third magnetic pole position estimated value in a case in which the first current amplitude is greater than the second current amplitude, and narrows down the estimation range on a basis of the second magnetic pole position estimated value and the third magnetic pole, position estimated value in a case in which the second current amplitude is greater than the first current amplitude.

3. The magnetic pole position detection device according to claim 2, wherein the calculator includes an estimation accuracy switch to switch processing on a basis of whether priority is given to an estimation time or to an estimation accuracy.

4. The magnetic pole position detection device according to claim 3, wherein the calculator generates the first magnetic pole position estimated value in a case when the estimation accuracy is switched to a first estimation accuracy, narrows down the estimation range on a basis of the first magnetic pole position estimated value and the second magnetic pole position estimated value in a case when the estimation accuracy is switched to a second estimation accuracy that is a higher accuracy than the first estimation accuracy, and narrows down the estimation range on a basis of either the first magnetic pole position estimated value or the second magnetic pole position estimated value as well as on a basis of the third magnetic pole position estimated value in a case when the estimation accuracy is switched to a third estimation accuracy that is a higher accuracy than the second estimation accuracy.

5. A motor control device comprising: the magnetic pole position detection device according to claim 4.

6. A motor control device comprising: the magnetic pole position detection device according to claim 1.

7. A motor control device comprising: the magnetic pole position detection device according to claim 2.

8. A motor control device comprising: the magnetic pole position detection device according to claim 3.

Description

BRIEF DESCRIPTION OF DRAWINGS

(1) FIG. 1 is a block diagram illustrating a configuration of a motor control system according to a first embodiment.

(2) FIG. 2 is a block diagram illustrating an example configuration of the inverter.

(3) FIG. 3 is a block diagram illustrating a specific configuration of the calculation unit in the first embodiment.

(4) FIG. 4 is a block diagram illustrating an example of a hardware configuration for implementing the calculation unit in the first embodiment.

(5) FIG. 5 is a chart illustrating switching states of the inverter used in the first embodiment.

(6) FIG. 6 is a vector diagram illustrating a set of first voltage pulse commands that the inverter of the first embodiment can output.

(7) FIG. 7 is a vector diagram illustrating a set of second voltage pulse commands that the inverter of the first embodiment can output.

(8) FIG. 8 is a diagram illustrating an example of changes in the motor currents during application of voltage vectors V1 to V6.

(9) FIG. 9 is a chart illustrating a first estimation table of the magnetic pole position obtained using the relationships of the changes in the motor currents illustrated in FIG. 8.

(10) FIG. 10 is a diagram illustrating an example of changes in the motor currents during application of voltage vectors V7 to V12.

(11) FIG. 11 is a chart illustrating a second estimation table of the magnetic pole position obtained using the relationships of the changes in the motor currents illustrated in FIG. 10.

(12) FIG. 12 is a chart illustrating a third estimation table of the magnetic pole position obtained using the relationships of the changes in the motor currents illustrated in both FIGS. 8 and 10.

(13) FIG. 13 is a flowchart illustrating a main flow of magnetic pole position estimation processing in the first embodiment.

(14) FIG. 14 is a flowchart illustrating estimation processing during application of a voltage pulse for three-phase connection in the main flow illustrated in FIG. 13.

(15) FIG. 15 is a flowchart illustrating estimation processing during application of a voltage pulse for one phase opened in the main flow illustrated in FIG. 13.

(16) FIG. 16 is a block diagram illustrating a specific configuration of a calculation unit in a second embodiment.

(17) FIG. 17 is a flowchart illustrating a main flow in the second embodiment, with the main flow here including an estimation accuracy switching feature.

DESCRIPTION OF EMBODIMENTS

(18) A magnetic pole position detection device and a motor control device according to embodiments of the present invention will be described in detail below with reference to the drawings. Note that these embodiments are not intended to limit the scope of the present invention.

(19) First Embodiment

(20) FIG. 1 is a block diagram illustrating a configuration of a motor control system according to a first embodiment. As illustrated in FIG. 1, the motor control system according to the first embodiment includes a motor 50 and a motor control device 30 that controls the motor 50. The motor 50 is a synchronous magnet motor that includes a rotor (not illustrated) including permanent magnets and a stator (not illustrated) having three phases of motor windings including a U-phase winding, a V-phase winding, and a W-phase winding.

(21) The motor control device 30 includes an inverter 2 and a magnetic pole position detection device 20 that detects the magnetic pole position of the motor 50. The magnetic pole position detection device 20 includes a current detection unit 3 and a calculation unit 4.

(22) In the magnetic pole position detection device 20, the current detection unit 3 detects currents iu, iv, and iw each flowing to a phase of the motor 50. As used herein, a current flowing to each of the phases of the motor 50 is referred to as motor current. The calculation unit 4 estimates the magnetic pole position of the motor 50 on the basis of the motor currents iu, iv, and iw detected by the current detection unit 3. The calculation unit 4 generates a voltage pulse for estimation of the magnetic pole position and outputs the voltage pulse to the inverter 2 during an estimation operation of the magnetic pole position of the motor 50. The inverter 2 operates according to the voltage pulse. The inverter 2 converts a direct current (DC) voltage from a voltage source not illustrated in FIG. 1 into a three-phase alternate current (AC) voltage, and applies the obtained AC voltage to each of the phases of the motor 50.

(23) FIG. 2 is a block diagram illustrating an example configuration of the inverter 2. FIG. 2 illustrates an example of a case in which the inverter 2 is configured as a three-phase voltage full-bridge inverter. The inverter 2 includes a voltage source 11 functioning as a source for supplying a DC voltage; a U-phase leg 8; a V-phase leg 9; and a W-phase leg 10. The U-phase leg 8, the V-phase leg 9, and the W-phase leg 10 constitute a power conversion main circuit. As illustrated in the U-phase leg 8, each of the phase legs is configured such that an arm including a pair of an upper arm switch 6 and a lower arm switch 7 connected in series with each other forms an arm corresponding to one phase. Although depicted simply in FIG. 2, each of the V-phase leg 9 and the W-phase leg 10 forms an arm corresponding to one phase similarly to the U-phase leg 8.

(24) In the inverter 2, control is provided such that the upper arm switch 6 or the lower arm switch 7 is turned on or off in response to a voltage pulse command described later. This control causes the voltage from the voltage source 11 to be applied to the motor 50 through the upper arm switch 6 or the lower arm switch 7 so as to supply the motor currents iu, iv, and iw to the motor 50. Note that, as illustrated in FIG. 2, the motor 50 can be represented by an equivalent circuit including motor impedances 12 of the motor winding each inserted in a corresponding one of the phase. With this configuration, the motor currents iu, iv, and iw that flow in the motor 50 are determined in accordance with the voltage source 11, the ON period of the upper arm switch 6, the ON period of the lower arm switch 7, and the motor impedances 12.

(25) FIG. 3 is a block diagram illustrating a specific configuration of the calculation unit 4 in the first embodiment. As illustrated in FIG. 3, the calculation unit 4 includes a magnetic pole position calculation unit 4a that performs an operation for estimating the magnetic pole position of the motor 50, and a voltage pulse command generation unit 4b that generates a voltage pulse for estimating the magnetic pole position. The voltage pulse command generation unit 4b generates two types of voltage pulse commands described later in detail, and applies these voltage pulse commands to the inverter 2. One of the two types of the voltage pulse commands is a first voltage pulse command, which is a voltage pulse command that actuates all the three legs, and the other of the two types of the voltage pulse commands is a second voltage pulse command, which is a voltage pulse command that actuates only two of the three legs. As used herein, the first voltage pulse command is referred to as voltage pulse command for three-phase connection, and the second voltage pulse command is referred to as voltage pulse command for one phase opened because one leg is not actuated, that is, one phase is made an open phase.

(26) FIG. 4 is a block diagram illustrating an example of a hardware configuration for implementing the calculation unit 4 in the first embodiment. As illustrated in FIG. 4, when the function of the calculation unit 4 is implemented, the calculation unit 4 can be configured to include a central processing unit (CPU) 16 that performs computation, a memory 17 that stores a program read by the CPU 16, and an input circuit 15 and an output circuit 18 for inputting and outputting a signal. The CPU 16 may also be a calculation unit such as a microprocessor, a microcomputer, a processor, or a digital signal processor (DSP). The memory 17 may be a non-volatile or volatile semiconductor memory such as a random access memory (RAM), a read-only memory (RO), a flash memory, an erasable programmable ROM (EPROM), or an electrically erasable programmable ROM (EEPROM).

(27) The memory 17 stores a program for implementing the function of the calculation unit 4 described later. The CPU 16 receives a detected value of a motor current via the input circuit 15, and performs computational processing for estimating the magnetic pole position on the basis of the detected value of a motor current. Information on the estimated magnetic pole position is stored in the memory 17. The CPU 16 selects one of the two types of voltage pulse commands described above, that is, voltage pulse command for three-phase connection and voltage pulse command for one phase opened, and outputs the selected command to the inverter 2 via the output circuit 18.

(28) An operation of the inverter 2 in the first embodiment will next be described with reference to the drawings of FIGS. 5 to 7. FIG. 5 is a chart illustrating switching states of the inverter 2 used in the first embodiment. FIG. 6 is a vector diagram illustrating a set of first voltage pulse commands that the inverter 2 can output. FIG. 7 is a vector diagram illustrating a set of second voltage pulse commands that the inverter 2 can output.

(29) FIG. 5 lists possible switching patterns in the inverter 2 in one phase when control is provided such that the upper arm switch 6 and the lower arm switch 7 are turned on or off. In FIG. 5, a switching pattern to provide control such that the upper arm switch 6 is turned on and the lower arm switch 7 is turned off is assigned a value 1, while a switching pattern to provide control such that the upper arm switch 6 is turned off and the lower arm switch 7 is turned on is assigned a value 0. These switching patterns are also used in Patent Literature 1 described above.

(30) As used in the first embodiment, a switching pattern to provide control such that the upper arm switch 6 and the lower arm switch 7 are both turned off is now newly assigned a value X. Generally, to avoid load release, a voltage source inverter does not use a switching pattern to provide control such that the upper arm switch 6 and the lower arm switch 7 are both turned off during driving of an inductive load such as a motor. In contrast, the magnetic pole position detection technique in the first embodiment also involves driving of an inductive load, but uses a switching pattern that periodically turns on and off the motor current, and thus the upper arm switch 6 and the lower arm switch 7 can both be turned off. Note that, due to unavoidability of input short-circuit, the switching pattern to provide control such that the upper arm switch 6 and the lower arm switch 7 are both turned on is not used even in the first embodiment.

(31) FIGS. 6 and 7 illustrate voltage pulse commands each having a non-zero vector magnitude that the inverter 2 can output. As used in relation to FIGS. 6 and 7, each of the voltage pulse commands illustrated in the vector diagrams is referred to as voltage vector.

(32) In FIG. 6, voltage vectors V1 to V6 can be derived using Equations (1) to (4) given below.

(33) [ Formula 1 ] [ V V ] = 2 3 [ 1 - 1 2 - 1 2 0 3 2 - 3 2 ] [ V u V v V w ] ( 1 ) [ Formula 2 ] .Math. V .Math. = V 2 + V 2 ( 2 ) [ Formula 3 ] = tan - 1 V V ( 3 ) [ Formula 4 ] V = .Math. V .Math. ( 4 )

(34) In Equation (1) above, V.sub.u, V.sub.v, and V.sub.w are, as also illustrated in FIG. 2, potentials at the connection points between the upper arm switch 6 and the lower arm switch 7 in their respective phase legs. As used herein, the connection point between the upper arm switch 6 and the lower arm switch 7 in each of the phase legs is referred to as virtual neutral point, and the potential of a virtual neutral point is referred to as virtual neutral point potential. In Equation (1) above, V.sub. and V.sub. are values obtained by decomposing the virtual neutral point potentials V.sub.u, V.sub.v, and V.sub.w into a component along the -axis and a component along the -axis orthogonal to the -axis, in an - coordinate system. Once V.sub. and V.sub. are calculated by Equation (1) above, Equation (2) above provides the magnitude of the voltage vector and Equation (3) above provides the phase angle of the voltage vector. Then, Equations (2) and (3) above together provide the voltage vector expressed by Equation (4) as illustrated in FIG. 6.

(35) In FIG. 6, the numbers in parentheses are each a value of the switching pattern illustrated in FIG. 5 and they represent the switching patterns of the U-phase leg 8, of the V-phase leg 9, and of the W-phase leg 10 from left to right. By way of specific example, V1 (1, 0, 0) indicates that the upper arm switch 6 of the U-phase leg 8 is in an ON state, the lower arm switch 7 of the V-phase leg 9 is in an ON state, the lower arm switch 7 of the W-phase leg 10 is in an ON state, and the other ones of the upper arm switches 6 and of the lower arm switches 7 are in an OFF state. Moreover, V6 (1, 0, 1) indicates that the upper arm switch 6 of the U-phase leg 8 is in an ON state, the lower arm switch 7 of the V-phase leg 9 is in an ON state, the upper arm switch 6 of the W-phase leg 10 is in an ON state, and the other ones of the upper arm switches 6 and of the lower arm switches 7 are in an OFF state.

(36) In addition, FIG. 7 illustrates voltage vectors V7 to V12. Voltage vectors V7 to V12 are each a voltage vector in a case of one phase opened, which can be output by the inverter 2 by use of the switching pattern X illustrated in the table of FIG. 5. Similarly to voltage vectors V1 to V6, voltage vectors V7 to V12 for one phase opened can be derived using Equations (1) to (4) above. As is obvious from comparison between the vector diagrams of FIGS. 6 and 7, voltage vectors V1 to V6 and voltage vectors V7 to V12 have a phase difference of 30 therebetween.

(37) In addition, since no current flows in the open phase in regard to voltage vectors V7 to V12, the potential of the open phase is equal to the neutral point potential of the motor 50 and thus has a value obtained by equally dividing the voltage from the voltage source 11 by means of the motor impedances 12. Although the neutral point potential of the motor 50 varies due to the effect of magnetic saturation, the effect is ignored here on the assumption that the effect is small. The voltage vectors that the inverter 2 can output in a case of one phase opened are the six patterns of V7 to V12. Although this number is the same as the number of patterns in a case of three-phase connection, the condition in which one phase is always open reduces the number of times the switches are turned on and off, thereby providing an advantage in that the switching loss is reduced.

(38) An algorithm for estimating the magnetic pole position in the first embodiment will next be described with reference to the drawings of FIGS. 8 to 12. FIG. 8 is a diagram illustrating an example of changes in the motor currents during application of voltage vectors V1 to V6. FIG. 9 is a chart illustrating a first estimation table of the magnetic pole position obtained using the relationships of the changes in the motor currents illustrated in FIG. 8. FIG. 10 is a diagram illustrating an example of changes in the motor currents during application of voltage vectors V7 to V12. FIG. 11 is a chart illustrating a second estimation table of the magnetic pole position obtained using the relationships of the changes in the motor currents illustrated in FIG. 10. FIG. 12 is a chart illustrating a third estimation table of the magnetic pole position obtained using the relationships of the changes in the motor currents illustrated in both FIGS. 8 and 10.

(39) The upper and lower portions of FIG. 8 illustrate motor currents iu1, iw2, iv3, iu4, iw5, and iv6 during application of voltage vectors V1 to V6. The motor current iu1 is the motor current iu during application of voltage vector V1. In a similar manner, the motor current iw2 is the motor current iw during application of voltage vector V2, the motor current iv3 is the Motor current iv during application of voltage vector V3, the motor current iu4 is the motor current in during application of voltage vector V4, the motor current iw5 is the motor current iw during application of voltage vector V5, and the motor current iv6 is the motor current iv during application of voltage vector V6, The direction in which a current flowing from the inverter 2 to the motor 50 is herein defined as positive. Thus, the motor currents iu1, iv3, and iw5 have positive values, and the motor currents iw2, iu4, and iv6 have negative values.

(40) Due to increase or decrease in magnetization in the motor impedances 12, which serve as inductive loads, dependent on the rotor magnet position of the motor 50, application of even a voltage vector having the same magnitude for the same time period may result in a different motor current value depending on the position of the rotor magnet. This means that the magnitude relationship between the current amplitudes during application of a voltage vector enables the magnetic pole position to be estimated. Note that, in this operation, the voltage is applied to the motor 50 for a time period that is long enough to cause magnetic saturation of the motor windings and that allows a current to flow in an amount not to rotate the motor 50.

(41) The middle portion of FIG. 8 illustrates waveforms of iu1, iv1, and iw1. The left column of the first estimation table illustrated in FIG. 9 lists iu1, iv1, and iw1, and iu1, iv1, and iw1, which are iu1, iv1, and iw1 with inverted signs. These values are calculated using Equations (5) to (7) below.

(42) [Formula 5]
iu1=iu1+iu4(5)

(43) [Formula 6]
iv1=iv3+iv6(6)

(44) [Formula 7]
iw1=iv2+iw5(7)

(45) As used herein, the values iu1, iv1, and iw1 calculated using Equations (5) to (7) above are each referred to as phase current amplitude sum. The calculation unit 4 calculates the phase current amplitude sums iu1, iv1, and iw1 using the motor currents iu1, iw2, iv3, iu4, iw5, and iv6, and then estimates the motor magnetic pole position using the first estimation table illustrated in FIG. 9. By way of specific example, the calculation unit 4 selects the maximum value from a set of six phase current amplitude sums {iu1, iv1, iw1, iu1, iv1, iw1}consisting of iu1, iv1, and iw1, and iu1, iv1, and iw1, which are iu1, iv1, and iw1 with inverted signs. Then, if iu1 is the maximum value, the motor magnetic pole position is estimated to be 0, while if iu1 is the maximum value, the motor magnetic pole position is estimated to be 180. A maximum value other than iu1 also allows the motor magnetic pole position to be estimated using the first estimation table illustrated in FIG. 9.

(46) Note that when the magnetic pole position is estimated using six voltage vectors output by the inverter 2 as described above, because 360 divided by six is 60, there is an estimation error of 30 in the estimated magnetic pole position value. By way of specific example, if iu1 is the maximum value among the set of six phase current amplitude sums {iu1, iv1, iw1, iu1, iv1, iw1}, the magnetic pole position is estimated to be 0, which means that the actual magnetic pole position is within a range from 30 to 30.

(47) The upper and lower portions of FIG. 10 illustrate motor currents iu7, iw8, iv9, iu10, iw11, and iv12 during application of voltage vectors V7 to V12. The motor current iu7 is the motor current iu during application of voltage vector V7. In a similar manner, the motor current iw8 is the motor current iw during application of voltage vector V8, the motor current iv9 is the motor current iv during application of voltage vector V9, the motor current iu10 is the motor current iu during application of voltage vector V10, the motor current iw11 is the motor current iw during application of voltage vector V11, and the motor current iv12 is the motor current iv during application of voltage vector V12. The direction in which a current flowing from the inverter 2 to the motor 50 is herein defined as positive. Thus, the motor currents iu7, iv9, and iw11 have positive values, and the motor currents iw8, iu10, and iv12 have negative values.

(48) The middle portion of FIG. 10 illustrates waveforms of iu2, iv2, and iw2. The left column of the second estimation table illustrated in FIG. 11 lists iu2, iv2, and iw2, and iu2, iv2, and iw2, which are iu2, iv2, and iw2 with inverted signs. These values are calculated using Equations (8) to (10) below.

(49) [Formula 8]
iu2=iu7+iu10(8)

(50) [Formula 9]
iv2=iv9+iv12(9)

(51) [Formula 10]
iw2=iw8+iw11(10)

(52) The calculation unit 4 calculates the phase current amplitude sums iu2, iv2, and iw2 using the motor currents iu7, iw8, iv9, iu10, iw11, and iv12 according to Equations (8) to (10) above, and then estimates the motor magnetic pole position using the second estimation table illustrated in FIG. 11. By way of specific example, the calculation unit 4 selects the maximum value from a set of six phase current amplitude sums (iu2, iv2, iw2, iu2, iv2, iw2) consisting of iu2, iv2, and iw2, and iu2, iv2, and iw2, which are iu2, iv2, and iw2 with inverted signs. Then, if iw2 is the maximum value, the motor magnetic pole position is estimated to be 30, while if iw2 is the maximum value, the motor magnetic pole position is estimated to be 210. A maximum value other than iw2 also allows the motor magnetic pole position to be estimated using the second estimation table illustrated in FIG. 11.

(53) Note that, also in a case of use of the second estimation table, the magnetic pole position is estimated using six voltage vectors; therefore, there is an estimation error of 30 in the magnetic pole position value. In contrast, use of both the first estimation table illustrated in FIG. 9 and the second estimation table illustrated in FIG. 11 in combination enables the magnetic pole position to be estimated with an accuracy of 15. FIG. 12 illustrates estimation of the magnetic pole position with an accuracy of 15. By way of specific example, the expression iu1 and iw2 in the left column of FIG. 12 indicates a case where iu1 is determined as the maximum value in the first estimation table illustrated in FIG. 9 and iw2 is determined as the maximum value in the second estimation table illustrated in FIG. 11. Thus, iu1 and iw2 leads to a determination that the magnetic pole position is in a range from 0 to 30, and it is thus estimated that the actual magnetic pole position is in a range within 15 about the angle of 15. That is, use of the third estimation table illustrated in FIG. 12 enables the magnetic pole position to be estimated with an accuracy of 15.

(54) A comparison of values may further be made between the phase current amplitude sums in the case of application of the set of first voltage pulse commands illustrated in FIG. 6 and in the case of application of the set of second voltage pulse commands illustrated in FIG. 7 to determine to which estimation value the magnetic pole position is nearer. By way of specific example, if it is determined, with reference to the third estimation table, that the maximum value combination is iu1 and iw2, the values iu1 and iw2 are further compared with each other, and if iu1 is greater, it is possible to determine that the magnetic pole position is nearer to 0, while if iw2 is greater, it is possible to determine that the magnetic pole position is nearer to 30. That is, if iu1 is greater, it is possible to estimate that the magnetic pole position is in a range from 0 to 15, and if iw2 is greater, it is possible to estimate that the magnetic pole position is in a range from 15 to 30. In either case, the magnetic pole position can be estimated with an accuracy of 7.5. Note that the first voltage pulse commands illustrated in FIG. 6 and the second voltage pulse commands illustrated in FIG. 7 have different voltage vector amplitudes. Thus, the comparison of the phase current amplitude sums can be made after multiplying the obtained current value by an adjustment factor so that it is possible to assume that voltage vectors having the same magnitude are applied.

(55) An overall flow of estimating the magnetic pole position will next be described with reference to the drawings of FIGS. 13 to 15 in a case when the algorithm for estimating the magnetic pole position according to the first embodiment described above is used. FIG. 13 is a flowchart illustrating a main flow of magnetic pole position estimation processing in the first embodiment. FIG. 14 is a flowchart illustrating estimation processing during application of voltage pulse for three-phase connection in the main flow illustrated in FIG. 13. FIG. 15 is a flowchart illustrating estimation processing during application of voltage pulse for one phase opened in the main flow illustrated in FIG. 13.

(56) In FIG. 13, at step ST101, estimation processing during application of a voltage pulse for three-phase connection is performed. This step is specifically illustrated in the flowchart of FIG. 14. FIG. 14 illustrates that, at step ST101a, the calculation unit 4 causes voltage pulses V1 to V6 for three-phase connection described above to be applied; at step ST101b, the current detection unit 3 detects the amplitude values of the motor currents iu1 to iv6; at step ST101c, the calculation unit 4 calculates the phase current amplitude sums iu1, iv1, and iw1 described above; and at step ST101d, the calculation unit 4 estimates the magnetic pole position. The estimated value of the magnetic pole position determined at this step has an accuracy of 30. After completion of processing at step ST101d, the process proceeds to step ST102 of FIG. 13.

(57) At step ST102, estimation processing during application of a voltage pulse for one phase opened is performed. This step is specifically illustrated in the flowchart of FIG. 15, FIG. 15 illustrates that, at step ST102a, the calculation unit 4 causes voltage pulses V7 to V12 for one phase opened described above to be applied; at step ST102b, the current detection unit 3 detects the amplitude values of the motor currents iu7 to iv12; at step ST102c, the calculation unit 4 calculates the phase current amplitude sums iu2, iv2, and iw2 described above; and at step ST102d, the calculation unit 4 estimates the magnetic pole position. The estimated value of the magnetic pole position determined at this step has an accuracy of 30. After completion of processing at step ST102d, the process proceeds to step ST103 of FIG. 13.

(58) FIG. 13 describes the processing at step ST103 as first specific estimation. As used herein, the estimated value of the magnetic pole position determined at step ST101 is referred to as first magnetic pole position estimated value, and the estimated value of the magnetic pole position determined at step ST102 is referred to as second magnetic pole position estimated value. In the first specific estimation processing, the average value of the first magnetic pole position estimated value and the second magnetic pole position estimated value is calculated as a new estimated value. The estimated value of the magnetic pole position determined in this process has an accuracy of 15. After completion of processing at step ST103, the process proceeds to step ST104.

(59) FIG. 13 describes the processing at step ST104 as second specific estimation. As used herein, the current amplitude detected during application of the voltage vector used in determination of the first magnetic pole position estimated value is referred to as first current amplitude, while the current amplitude detected during application of the voltage vector used in determination of the second magnetic pole position estimated value is referred to as second current amplitude. In addition, the estimated value determined in the first specific estimation processing is referred to as third magnetic pole position estimated value. In the second specific estimation processing, the first current amplitude is compared with the second current amplitude. If the first current amplitude is greater than the second current amplitude, the average value of the first magnetic pole position estimated value and the third magnetic pole position estimated value is calculated as a new estimated value. Otherwise, if the second current amplitude is greater than the first current amplitude, the average value of the second magnetic pole position estimated value and the third magnetic pole position estimated value is calculated as a new estimated value. The estimated value of the magnetic pole position determined in this process has an accuracy of 7.5.

(60) Note that the processing at step ST104 described above, i.e., the second specific estimation processing, is performed such that the first current amplitude is compared with the second current amplitude, and if the first current amplitude is greater than the second current amplitude, the average value of the first magnetic pole position estimated value and the third magnetic pole position estimated value is calculated as a new estimated value. However, the new estimated value calculated at step ST104 is not limited to such average value. If the difference between the first current amplitude and the second current amplitude is relatively small, then a value nearer to the third magnetic pole position estimated value than the average value of the first magnetic pole position estimated value and the third magnetic pole position estimated value may instead be used as the estimated value of the magnetic pole position. In a similar manner, the second specific estimation processing described above is performed such that the first current amplitude is compared with the second current amplitude, and if the second current amplitude is greater than the first current amplitude, the average value of the second magnetic pole position estimated value and the third magnetic pole position estimated value is calculated as a new estimated value. However, the new estimated value is not limited to such average value. If the difference between the second current amplitude and the first current amplitude is relatively small, then a value nearer to the third magnetic pole position estimated value than the average value of the second magnetic pole position estimated value and the third magnetic pole position estimated value may instead be used as the estimated value of the magnetic pole position.

(61) As described above, according to the magnetic pole position detection device and the motor control device according to the first embodiment, the estimation range is narrowed down on the basis of the position common to the first magnetic pole position estimated value, which is estimated on the basis of the motor current that flows during application of the voltage pulse command for three-phase connection, and the second magnetic pole position estimated value, which is estimated on the basis of the motor current that flows during application of the voltage pulse command for one phase opened. This enables the magnetic pole position to be estimated with a higher accuracy than a conventional technique does.

(62) Moreover, according to the magnetic pole position detection device and the motor control device according to the first embodiment, a third magnetic pole position estimated value is generated by narrowing down the estimation range on the basis of the position common to the first magnetic pole position estimated value and the second magnetic pole position estimated value, and in addition, a magnitude comparison is made between the first current amplitude, detected during application of the voltage vector used in determination of the first magnetic pole position estimated value, and the second current amplitude, detected during application of the voltage vector used in determination of the second magnetic pole position estimated value, and if the first current amplitude is greater than the second current amplitude, the estimation range is further narrowed down on the basis of the first magnetic pole position estimated value and the third magnetic pole position estimated value, while, if the second current amplitude is greater than the first current amplitude, the estimation range is further narrowed down on the basis of the second magnetic pole position estimated value and the third magnetic pole position estimated value. This enables the magnetic pole position to be estimated with an even higher accuracy.

(63) Second Embodiment

(64) FIG. 16 is a block diagram illustrating a specific configuration of a calculation unit 4A in a second embodiment. The calculation unit 4A in the second embodiment further includes an estimation accuracy switching unit 4c for switching accuracy of estimation of the magnetic pole position in addition to the components of the calculation unit 4 in the first embodiment illustrated in FIG. 3. The other portion of the configuration is identical or equivalent to the configuration of the first embodiment illustrated in FIG. 3. Identical or equivalent elements are designated by like reference characters, and duplicate description will be omitted.

(65) FIG. 17 is a flowchart illustrating a main flow in the second embodiment, with the main flow here including an estimation accuracy switching function. First, at step ST100, the estimation accuracy switching unit 4c determines estimation accuracy, and then information concerning the estimation accuracy determined is transmitted to the magnetic pole position calculation unit 4a, and the estimation accuracy is transmitted to the voltage pulse command generation unit 4b. The estimation accuracy may be determined as desired by the estimation accuracy switching unit 4c.

(66) If it is determined that the estimation accuracy is 30, which is a first estimation accuracy, only the processing of step ST101 illustrated in FIG. 14 is performed, after which the process is terminated.

(67) If it is determined that the estimation accuracy is 15, which is a second estimation accuracy, the processing of step ST101 illustrated in FIG. 14 and the processing of step ST102 illustrated in FIG. 15 are performed. Then, at next step ST103, the first specific estimation processing described in relation to the first embodiment is performed, after which the process is terminated.

(68) If it is determined that the estimation accuracy is 7.5, which is a third estimation accuracy, the processing of step ST101 illustrated in FIG. 14 and the processing of step ST102 illustrated in FIG. 15 are performed. Then, at next step ST103, the first specific estimation processing described in relation to the first embodiment is performed, and then at step ST104, the second specific estimation processing described in relation to the first embodiment is performed, after which the process is terminated.

(69) An estimation accuracy of 7.5 provides a higher estimation accuracy, but requires a longer processing time, while an estimation accuracy of 30 enables the magnetic pole position to be estimated only by the processing of step ST101, thereby reducing the processing time. Thus, the processing can be switched on the basis of whether priority is given to the estimation time or to the estimation accuracy.

(70) As described above, according to the magnetic pole position detection device and the motor control device according to the second embodiment, a trade-off can be made between the required estimation time and the required estimation accuracy, thereby providing an advantage in that user demand can be precisely and appropriately met.

(71) The configurations described in the foregoing embodiments are merely examples of various aspects of the present invention. These configurations may be combined with a known other technology, and moreover, a part of such configurations may be omitted and/or modified without departing from the spirit of the present invention.

REFERENCE SIGNS LIST

(72) 2 inverter; 3 current detection unit; 4, 4A calculation unit; 4a magnetic pole position calculation unit; 4b voltage pulse command generation unit; 4c estimation accuracy switching unit; 6 upper arm switch; 7 lower arm switch; 8 U-phase leg; 9 V-phase leg; 10 W-phase leg; 11 voltage source; 12 motor impedance; 15 input circuit; 16 CPU; 17 memory; 18 output circuit; 20 magnetic pole position detection device; 30 motor control device; 50 motor.