Magnetic pole initial position detection device using direct-current excitation method and magnetic pole position detection device
11303239 · 2022-04-12
Assignee
Inventors
Cpc classification
H02P21/36
ELECTRICITY
H02P2203/03
ELECTRICITY
International classification
Abstract
A magnetic pole initial position detection device includes: a direct-current excitation command generation section configured to generate a first command for causing a constant excitation current with a current phase fixed to a first phase to flow through the synchronous motor; a torque-zero determination section configured to determine whether a torque generated in the rotor of the synchronous motor is zero when the excitation current based on the first command flows through the synchronous motor; and a magnetic pole initial position acquisition section configured to acquire the magnetic pole initial position of the rotor of the synchronous motor on a basis of a rotor actual position at or near a point in time when the torque-zero determination section determines that the torque is zero; a number of pole pairs of the synchronous motor; and an excitation phase during direct-current excitation under the first command.
Claims
1. A magnetic pole initial position detection device configured to detect a magnetic pole initial position of a rotor of a synchronous motor, the magnetic pole initial position detection device comprising: a direct-current excitation command generation section configured to generate a first command for causing a constant excitation current with a current phase fixed to a first phase to flow through the synchronous motor; a torque-zero determination section configured to acquire at least one of an acceleration or a speed of the rotor of the synchronous motor and determine when a torque generated in the rotor of the synchronous motor is zero when the excitation current based on the first command flows through the synchronous motor, wherein the torque-zero determination section determines that the torque is zero at a point in time when a polarity of an acceleration of the synchronous motor changes; and a magnetic pole initial position acquisition section configured to acquire the magnetic pole initial position of the rotor of the synchronous motor on a basis of a rotor actual position at or near a point in time when the torque-zero determination section determines that the torque is zero; a number of pole pairs of the synchronous motor; and an excitation phase during direct-current excitation under the first command, wherein the rotor actual position at or near the point in time when the determined torque is zero is a position of the rotor at any point in time between two sampling points in time that define a sampling period including the point in time when the torque-zero determination section determines that the torque is zero of the sampling periods of the position of the rotor acquired by a rotor actual position acquisition section.
2. A magnetic pole initial position detection device configured to detect a magnetic pole initial position of a rotor of a synchronous motor, the magnetic pole initial position detection device comprising: a direct-current excitation command generation section configured to generate a first command for causing a constant excitation current with a current phase fixed to a first phase to flow through the synchronous motor; a torque-zero determination section configured to acquire at least one of an acceleration or a speed of the rotor of the synchronous motor and determine when a torque generated in the rotor of the synchronous motor is zero when the excitation current based on the first command flows through the synchronous motor; and a magnetic pole initial position acquisition section configured to acquire the magnetic pole initial position of the rotor of the synchronous motor on a basis of a rotor actual position at or near a point in time when the torque-zero determination section determines that the torque is zero; a number of pole pairs of the synchronous motor; and an excitation phase during direct-current excitation under the first command, wherein the rotor actual position at or near the point in time when the determined torque is zero is a position of the rotor at any point in time between two sampling points in time that define a sampling period including the point in time when the torque-zero determination section determines that the torque is zero of the sampling periods of the position of the rotor acquired by a rotor actual position acquisition section, wherein the torque-zero determination section determines that the torque is zero at a point in time when a speed of the synchronous motor is maximized or minimized.
3. The magnetic pole initial position detection device according to claim 1, further comprising: a rotor actual position acquisition section configured to acquire a position of the rotor from a sensor provided in the synchronous motor; and a storage section configured to store information relating to the number of pole pairs of the synchronous motor.
4. The magnetic pole initial position detection device according to claim 1, wherein when the synchronous motor is a salient-pole synchronous motor, the direct-current excitation command generation section generates, as the first command, a command for causing the excitation current lower than a predetermined upper limit value to flow through the synchronous motor.
5. The magnetic pole initial position detection device according to claim 4, wherein the predetermined upper limit value is determined in accordance with
6. The magnetic pole initial position detection device according to claim 1, wherein the direct-current excitation command generation section includes: a second command generation section configured to generate a second command for causing a constant excitation current with a current phase fixed to a second phase that is arbitrarily set, to flow through the synchronous motor; an excitation phase determination section configured to determine the first phase for generating the first command on a basis of a rotational direction of the synchronous motor when the excitation current based on the second command is caused to flow through the synchronous motor, and a rotational direction of a speed command to the synchronous motor such that, under the first command, the synchronous motor rotates in a direction identical to the rotational direction of the speed command; and a first command generation section configured to generate the first command by using the current phase of the first phase determined by the excitation phase determination section.
7. A magnetic pole position detection device comprising a magnetic pole position update section configured to output a magnetic pole position of the rotor of the synchronous motor that is initialized at the magnetic pole initial position detected by the magnetic pole initial position detection device according to claim 1.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The objects, features and advantages of the invention will become more apparent from the following description of the embodiments in connection with the accompanying drawings, and in the accompanying drawings,
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
DETAILED DESCRIPTION
(14) A magnetic pole initial position detection device using a direct-current excitation method and a magnetic pole position detection device according to an embodiment of the present disclosure are described below with reference to the accompanying drawings. Throughout the drawings, corresponding components are denoted by common reference numerals. The drawings are scaled appropriately to facilitate understanding. Embodiments illustrated in the drawings are an example for implementation, and the disclosure is not limited to the embodiments illustrated.
First Embodiment
(15)
(16) As illustrated in
(17) The direct-current excitation command generation section 11 generates a command (hereinafter also referred to as a first command) for causing a constant excitation current with a current phase fixed to a predetermined phase (hereinafter also referred to as a first phase) to flow through the synchronous motor 2. The command generated by the direct-current excitation command generation section 11 is sent to a current control section 33 in a motor control device 1000 for controlling the driving of the synchronous motor 2 (see
(18) The torque-zero determination section 12 determines whether the torque generated in the rotor of the synchronous motor 2 is zero (0) when the constant excitation current based on the first command generated by the direct-current excitation command generation section 11 is flowing through the synchronous motor 2. Note that, in the rotor oscillating in the rotational direction, a point in time (timing) when the torque is zero occurs a plurality of times until the rotor is completely stopped, and accordingly the torque-zero determination section 12 has a plurality of opportunities for torque-zero determination before the rotor is completely stopped. Regarding the plurality of torque-zero determination opportunities, as the torque-zero determination opportunity gets closer to the start timing of the direct-current excitation command input to the synchronous motor 2 by the direct-current excitation command generation section 11, the time that is required for completing a process of acquiring the magnetic pole initial position of the rotor of the synchronous motor 2 by the magnetic pole initial position acquisition section 13 from the start timing of the direct-current excitation command input to the synchronous motor 2 by the direct-current excitation command generation section 11 is shortened. For example, most preferably, the torque-zero determination section 12 detects the first torque-zero caused after the direct-current excitation command to the synchronous motor 2 is started by the direct-current excitation command generation section 11 and notifies the detection result (i.e., the torque-zero determination) to the magnetic pole initial position acquisition section 13.
(19) The magnetic pole initial position acquisition section 13 acquires the magnetic pole initial position of the rotor of the synchronous motor 2 on the basis of the position (rotor actual position) of the rotor of the synchronous motor 2 at or near a point in time when the torque-zero determination section 12 determines that the torque is zero; the number of pole pairs of the synchronous motor 2; and the excitation phase during the direct-current excitation.
(20) The rotor actual position acquisition section 14 acquires the rotor actual position, which is the position of the rotor of the synchronous motor 2, from a sensor 51 provided in the synchronous motor 2.
(21) The storage section 15 stores information relating to the number of pole pairs of the synchronous motor 2. The storage section 15 is formed of a non-volatile memory, such as EEPROM™, which is electrically erasable and recordable, or a random-access memory, such as DRAM and SRAM, which is readable and writable at high speed, for example.
(22) Now, with reference to
(23)
(24)
(25) A constant excitation current with a current phase fixed at 0 degrees in the dq-coordinate system according to the motor control device is denoted by I.sub.e. In this case, in the dq-coordinate system according to the synchronous motor, the excitation current I.sub.e is expressed as Equation (1).
I.sub.dm=I.sub.e.Math.cos θ
I.sub.qm=−I.sub.e.Math.sin θ (1)
(26) When the number of pole pairs of the synchronous motor 2 is denoted by pp, the main magnetic flux is denoted by Φ, the d-phase inductance is denoted by L.sub.d, and the q-phase inductance is denoted by L.sub.q, the torque T.sub.r generated when the excitation current I.sub.e flows through the salient-pole synchronous motor is expressed as Equation (2).
(27)
(28) The d-phase inductance L.sub.d and the q-phase inductance L.sub.q are equal to each other in non-salient-pole synchronous motors (i.e., synchronous motors that do not have a salient pole). Accordingly, the torque T.sub.r that is generated when the excitation current I.sub.e flows through a non-salient-pole synchronous motor is expressed as Equation (3), which is obtained by transforming Equation (2).
T.sub.r=pp.Math.Φ.Math.(−I.sub.e.Math.sin θ) (3)
(29) When a constant excitation current with a fixed current phase continuously flows through the synchronous motor, the rotor of the synchronous motor oscillates in the rotational direction, and the oscillation gradually attenuates and finally stops as illustrated in
(30) However, in the case of a salient-pole synchronous motor, “{Φ−(L.sub.q−L.sub.d).Math.I.sub.e.Math.cos θ}” in Equation (2) can be zero, i.e., the torque T.sub.r expressed in Equation (2) can be zero when θ has a value other than zero depending on the magnitude of the excitation current I.sub.e. In other words, in the case of a salient-pole synchronous motor, the deviation amount θ is not necessarily zero even when the torque T.sub.r is zero. Accordingly, in the case where the present embodiment is applied to a salient-pole synchronous motor, it is necessary not to allow the excitation current I.sub.e that sets “{Φ−(L.sub.q−L.sub.d).Math.I.sub.e.Math.cos θ}” to zero to flow. On the other hand, in the case of a non-salient-pole synchronous motor, the deviation amount θ is expressed as Equation (3), and accordingly the torque T.sub.r is zero only when the deviation amount θ is zero. Therefore, in the case where the present embodiment is applied to a non-salient-pole synchronous motor, it is not necessary to provide an upper limit value to the constant excitation current I.sub.e with a fixed current phase.
(31) Now, the magnitude of the excitation current I.sub.e to be applied for acquiring the magnetic pole initial position of a salient-pole synchronous motor is described with reference to
(32)
(33) When the excitation current I.sub.e is 30 Arms or 60 Arms, the torque T.sub.r is zero only when the deviation amount θ is zero as illustrated in
(34) Inequality (4) is acquired by applying “T.sub.r>0” and “θ≠0” to Equation (2) and by transforming Equation (2).
Φ−(L.sub.q−L.sub.d).Math.I.sub.e.Math.cos θ>0 (4)
(35) In Inequality (4), “−1≤cos θ≤1” holds, and accordingly Inequality (5) is acquired from Inequality (4).
Φ−(L.sub.q−L.sub.d).Math.I.sub.e>0 (5)
(36) Inequality (6) is acquired by transforming the Inequality (5).
(37)
(38) Accordingly, in the case where the present embodiment is applied to a salient-pole synchronous motor, the constant excitation current I.sub.e with a fixed current phase should be set to a magnitude that satisfies Inequality (6). In the present embodiment, when the synchronous motor, of which the magnetic pole initial position is to be acquired, is a salient-pole synchronous motor, the direct-current excitation command generation section 11 generates a command to cause the excitation current I.sub.e lower than an upper limit value “Φ/(L.sub.q−L.sub.d)” to flow through the synchronous motor 2.
(39) Note that the main magnetic flux Φ decreases as the temperature of the permanent magnet provided in the synchronous motor 2 increases. Accordingly, the upper limit value of the excitation current I.sub.e may be set in consideration of the temperature rise that may occur in the permanent magnet at the time of driving the synchronous motor 2 having a salient pole. Now, the magnitude of the excitation current I.sub.e to be applied for acquiring the magnetic pole initial position in consideration of the temperature rise in the permanent magnet of the salient-pole synchronous motor is described with reference to
(40)
(41)
(42) Thus, in the case where the present embodiment is applied to a salient-pole synchronous motor, the constant excitation current I, with a fixed current phase may be set to a magnitude that satisfies Inequality (7) in consideration of the temperature rise in the permanent magnet that is anticipated at the time of driving the synchronous motor. In this case, the direct-current excitation command generation section 11 generates a command to cause the excitation current I.sub.e lower than an upper limit value “Φ.sub.min/(L.sub.q−L.sub.d)” to flow through the synchronous motor 2.
(43) Now, a torque-zero determination process performed by the torque-zero determination section 12 is described with reference to
(44) As illustrated in
(45) Next, a magnetic pole initial position acquisition process performed by the magnetic pole initial position acquisition section 13 is described with reference to
(46)
(47) The magnetic pole initial position acquisition section 13 acquires the magnetic pole initial position of the rotor of the synchronous motor 2 on the basis of the rotor actual position at or near the point in time when the torque-zero determination section 12 determines that the torque T.sub.r is zero; the number of pole pairs of the synchronous motor 2; and the excitation phase during the direct-current excitation. In the illustrated example, when the sampling cycle of the rotor actual position acquired by the rotor actual position acquisition section 14 is denoted by T.sub.s, the rotor actual position acquisition section 14 acquires the rotor actual position at time 0 and then acquires the rotor actual position at time T.sub.s. Assume that, at time T.sub.0 between time 0 and time T.sub.s, the polarity of the acceleration a of the rotor of the synchronous motor 2 changes from positive to negative (in other words, the acceleration a of the rotor is zero-crossed). The acceleration of the rotor of the synchronous motor 2 at time 0 is denoted by A.sub.0, the rotor speed by V.sub.0, and the rotor actual position by P.sub.0. The acceleration of the rotor of the synchronous motor 2 at time T.sub.s is denoted by A.sub.1, the speed of the rotor by V.sub.1, and the rotor actual position by P.sub.1. The rotor actual position at time T.sub.0 is denoted by P.sub.e. In the illustrated example, a value, obtained by adding the excitation phase during the direct-current excitation to a value obtained by multiplying, by the number of pole pairs of the synchronous motor 2, the deviation between the rotor actual position P.sub.e at time T.sub.0 when the torque T.sub.r is zero and the rotor actual position P.sub.1 at time T.sub.s, corresponds to the magnetic pole initial position of the rotor of the synchronous motor 2. In other words, a point in time when it is determined that the torque T.sub.r is zero is included within a time period between time 0 and time T.sub.s, which are two sampling points in time that define a sampling period including a point in time when the torque-zero determination section 12 determines that the torque T.sub.r is zero, of the sampling periods of the rotor actual position acquired by the rotor actual position acquisition section 14. In the present embodiment, of the sampling periods of the rotor actual position acquired by the rotor actual position acquisition section 14, any point in time between two sampling points in time (time 0 and time T.sub.s in the example of
(48) In a first form of the calculation process for the rotor actual position P.sub.e, the rotor actual position P.sub.e is calculated in the following method.
(49) The acceleration a of the rotor of the synchronous motor 2 at time t is expressed as Equation (8).
(50)
(51) Accordingly, time T.sub.0 at which the acceleration of the rotor of the synchronous motor 2 changes from positive to negative is expressed as Equation (9), which is obtained by substituting t=T.sub.0 and a(T.sub.0)=0 into Equation (8).
(52)
(53) At this time, since the rotor actual position also substantially monotonously increases on a proportional basis, the rotor actual position P.sub.e at the point in time when the polarity of the acceleration a of the rotor of the synchronous motor 2 changes from positive to negative (i.e., the point in time when the acceleration a of the rotor is zero-crossed), which is the point in time when the torque T.sub.r is zero, is expressed as Equation (10).
(54)
(55) In the first form of the calculation process of the rotor actual position P.sub.e, the magnetic pole initial position acquisition section 13 calculates the rotor actual position on the basis of Equation (10).
(56) In a second form of the calculation process for the rotor actual position P.sub.e, the rotor actual position P.sub.e is calculated in the following method.
(57) In a period including the point in time when the torque-zero determination section 12 determines that the torque T.sub.r is zero, the variation in the speed of the rotor of the synchronous motor 2 is small. Therefore, when the speed of the rotor of the synchronous motor 2 is assumed to be a constant speed V.sub.0, the rotor actual position P.sub.e at the point in time when the torque T.sub.r is zero can be expressed as Equation (11).
(58)
(59) In the second form of the calculation process of the rotor actual position P.sub.e, the magnetic pole initial position acquisition section 13 calculates the rotor actual position on the basis of Equation (11).
(60) In a third form of the calculation process for the rotor actual position P.sub.e, the rotor actual position P.sub.e is calculated in the following method.
(61) The rotor actual position substantially monotonously increases on a proportional basis, and therefore, on the assumption that an intermediate point of the sampling period of the rotor actual position is the point in time when the torque T.sub.r is zero, the rotor actual position P.sub.e at the point in time when the torque T.sub.r is zero can be expressed as Equation (12).
(62)
(63) In the third form of the calculation process of the rotor actual position P.sub.e, the magnetic pole initial position acquisition section 13 calculates the rotor actual position on the basis of Equation (12).
(64) The magnetic pole initial position acquisition section 13 calculates the magnetic pole initial position on the basis of Equation (13) by using the rotor actual position P.sub.e, at time T.sub.0 when the torque T.sub.r is zero, calculated through the calculation process according to any one of the first to third forms, using the rotor actual position P.sub.1 at the next sampling time T.sub.s after the torque T.sub.r has become zero, and using the number of pole pairs pp of the synchronous motor 2.
θ−pp.Math.(P.sub.1−P.sub.e)+excitation phase (13)
(65) A magnetic pole position counter (not illustrated) is initialized at the magnetic pole initial position detected by the magnetic pole initial position detection device 1, and thereafter a value obtained by multiplying the amount of incremental pulses (=P.sub.n−P.sub.n−1) per sampling cycle by the number of pole pairs is added to the magnetic pole position counter.
(66)
(67) At step S101, the direct-current excitation command generation section 11 generates a first command for causing a constant excitation current having a current phase fixed to the first phase to flow through the synchronous motor 2. The current phase (first phase) is fixed to 0 degrees, for example. The first command generated by the direct-current excitation command generation section 11 is sent to a current control section in the motor control device (not illustrated) for controlling the driving of the synchronous motor 2. The current control section in the motor control section generates a voltage command on the basis of the command received from the direct-current excitation command generation section 11 and the current feedback converted in the fixed current phase, and a power converter (not illustrated) generates a constant excitation current with a fixed current phase by applying a voltage to the synchronous motor 2 on the basis of the received voltage command.
(68) At step S102, the magnetic pole initial position detection device 1 determines whether the rotor of the synchronous motor 2 has moved. When it is determined at step S102 that the rotor of the synchronous motor 2 has moved, the process proceeds to step S103, and when it is determined that the rotor of the synchronous motor 2 has not moved, the process proceeds to step S105.
(69) At step S103, the torque-zero determination section 12 determines whether the torque generated in the rotor of the synchronous motor 2 is zero when a constant excitation current based on the command generated by the direct-current excitation command generation section 11 flows through the synchronous motor 2. For example, the torque-zero determination section 12 determines that the timing when the polarity of the acceleration of the synchronous motor 2 changes is the point in time when the torque is zero. Also, for example, the torque-zero determination section 12 determines that the point in time when the speed of the synchronous motor 2 is maximized or minimized is the point in time when the torque is zero. When it is determined at step S103 that the torque is zero, the process proceeds to step S104, and when it is determined that the torque is not zero, the process returns to step S102.
(70) At step S104, the magnetic pole initial position acquisition section 13 acquires the magnetic pole initial position of the rotor of the synchronous motor 2 on the basis of the rotor actual position of the synchronous motor 2 at or near the point in time when the torque-zero determination section 12 determines that the torque is zero; the number of pole pairs of the synchronous motor 2; and the excitation phase during the direct-current excitation.
(71) When it is determined at step S102 that the rotor of the synchronous motor 2 has not moved, the direct-current excitation command generation section 11, at step S105, generates a command for causing a constant excitation current to flow through the synchronous motor 2 in a current phase that is shifted by 90 degrees from the current phase set at step S101 (e.g., 0 degrees). The reason for again applying the constant excitation current with the current phase shifted by 90 degrees when it is determined at step S102 that the rotor of the synchronous motor 2 has not moved is to avoid a situation where, in the case where the current phase set at step S101 is already at or near the magnetic pole initial position of the rotor, the rotor of the synchronous motor 2 does not make oscillatory movement even when an excitation current flows therethrough, thus failing to accurately acquire the magnetic pole initial position.
(72) At step S106, the magnetic pole initial position detection device 1 determines whether the rotor of the synchronous motor 2 has moved. When it is determined at step S106 that the rotor of the synchronous motor 2 has moved, the process proceeds to step S103, and when it is determined that the rotor of the synchronous motor 2 has not moved, the process proceeds to step S107.
(73) When it is determined at step S106 that the rotor of the synchronous motor 2 has not moved, the rotor of the synchronous motor 2 may possibly be in some locked state such as being fixed by a fastener, and accordingly the magnetic pole initial position detection device 1 generates an alarm and stops the operation.
(74)
(75) The magnetic pole position detection device 100 includes the magnetic pole initial position detection device 1 and a magnetic pole position update section 41. The motor control device 1000 includes the magnetic pole position detection device 100, a speed control section 31, a current command generation section 32, the current control section 33, a dq-three-phase conversion section 34, the power conversion section 35, a three-phase dq-conversion section 36, and a speed acquisition section 37.
(76) The speed control section 31 generates a torque command T.sub.cmd on the basis of a speed command ω.sub.cmd and a speed ω.sub.m of the rotor of the synchronous motor 2 acquired by the speed acquisition section 37.
(77) The current command generation section 32 generates a d-axis current command I.sub.dc and a q-axis current command I.sub.qc on the basis of the torque command T.sub.cmd and the speed ω.sub.m of the rotor of the synchronous motor 2 acquired by the speed acquisition section 37.
(78) The three-phase dq-conversion section 36 performs three-phase dq conversion on three-phase currents I.sub.u, I.sub.v and I.sub.w output from the power conversion section 35 on the basis of the magnetic pole position detected by the magnetic pole position detection device 100 and outputs a d-axis current I.sub.d and a q-axis current I.sub.q to the current control section 33.
(79) In normal motor control, the current control section 33 generates a d-axis voltage command V.sub.dc and a q-axis voltage command V.sub.qc on the basis of the d-axis current command I.sub.dc, the q-axis current command I.sub.qc, the d-axis current I.sub.d, and the q-axis current I.sub.q. At the time of magnetic pole initial position detection, the current control section 33 generates the d-axis voltage command V.sub.dc and the q-axis voltage command V.sub.qc for applying a constant excitation current with a fixed current phase on the basis of a direct-current excitation command (I.sub.d=I.sub.e, I.sub.q=0) output from (the direct-current excitation command generation section 11 of) the magnetic pole initial position detection device 1.
(80) The dq-three-phase conversion section 34 performs dq-three-phase conversion on the d-axis voltage command V.sub.dc and the q-axis voltage command V.sub.qc on the basis of the magnetic pole position detected by the magnetic pole position detection device 100 and outputs three-phase voltage commands V.sub.uc, V.sub.vc, and V.sub.wc to the power conversion section 35.
(81) The power conversion section 35 is formed of, for example, a reverse converter (three-phase inverter) having a full-bridge circuit of semiconductor switching elements and outputs the three-phase currents I.sub.u, I.sub.v, and I.sub.w for controlling the on-off of the semiconductor switching elements to drive the synchronous motor 2 on the basis of the received three-phase voltage commands V.sub.uc, V.sub.vc, and V.sub.wc.
(82) The magnetic pole position update section 41 in the magnetic pole position detection device 100 initializes the magnetic pole position counter at a magnetic pole initial position output from (the magnetic pole initial position acquisition section 13 of) the magnetic pole initial position detection device 1. After the initialization of the magnetic pole position counter, the magnetic pole position update section 41 adds the incremental pulse amount multiplied by the number of pole pairs to the magnetic pole position counter and outputs the magnetic pole position.
(83) The direct-current excitation command generation section 11, the torque-zero determination section 12, the magnetic pole initial position acquisition section 13, the rotor actual position acquisition section 14, the speed control section 31, the current command generation section 32, the current control section 33, the dq-three-phase conversion section 34, the three-phase dq-conversion section 36, the speed acquisition section 37, and the magnetic pole position update section 41 may be configured as a software program or may be configured as a combination of various electronic circuits and software programs, for example. For example, in the case where the above-mentioned sections are configured as a software program, the functions of the sections can be achieved by operating an arithmetic processing device in the motor control device 1000 in accordance with the software program. Alternatively, the direct-current excitation command generation section 11, the torque-zero determination section 12, the magnetic pole initial position acquisition section 13, the rotor actual position acquisition section 14, the speed control section 31, the current command generation section 32, the current control section 33, the dq-three-phase conversion section 34, the three-phase dq-conversion section 36, speed acquisition section 37, and magnetic pole position update section 41 may be achieved as a semiconductor integrated circuit having a written software program that achieves the functions of the sections.
Second Embodiment
(84) A magnetic pole initial position detection device 1A according to a second embodiment of the present disclosure is described below. The magnetic pole initial position detection device 1A corresponds to a modified example of the magnetic pole initial position detection device 1 according to the first embodiment.
(85) An overview of the detection operation of the magnetic pole initial position by the magnetic pole initial position detection device 1A according to the second embodiment is as follows. First, the second command generation section 11B performs direct-current excitation on the synchronous motor 2 in a current phase of an arbitrarily set second phase (θ.sub.0). In this case, the direct-current excitation may be extremely short. As a result, the rotor starts to rotate from the initial position in a direction corresponding to the direct-current excitation in the current phase of the second phase. Next, the excitation phase determination section 16 acquires the relationship between the rotational direction of the rotor and the excitation phase (second phase) at this time. On the basis of this relationship, the excitation phase determination section 16 determines the first phase for generating the first command such that the direction (polarity) in which the rotor rotates under the first command matches the rotational direction (polarity) of the speed command (ω.sub.cmd). The first command generation section 11A generates the first command by using the excitation phase (first phase) determined by the excitation phase determination section 16. When the direct-current excitation is performed under the first command generated by the first command generation section 11A, a magnetic pole initial value is acquired through an operation of the torque-zero determination section 12 and the magnetic pole initial position acquisition section 13. In this case, the torque-zero determination section 12 detects a torque-zero that is generated first after the first command to the synchronous motor 2 by the first command generation section 11A is started and notifies the magnetic pole initial position acquisition section 13 of the detection result. When the magnetic pole initial position is acquired, transition to the speed control of the synchronous motor 2 under the speed command (ω.sub.cmd) is performed.
(86)
(87) Next, the second command generation section 11B generates the second command by substituting a value of an arbitrarily set current phase θ.sub.0 (second phase) into a variable Θ.sub.e for setting the current phase of the direct-current excitation. The second command is sent to the current control section 33 of the motor control device 1000, and direct-current excitation under the second command is performed (step S3). At step S4, the value of the variable ‘STAGE’ is confirmed. Currently, the value is ‘STAGE’=1, and accordingly the process proceeds to step S5. At step S5, the magnetic pole initial position detection device 1A determines whether the rotor has moved. As a result, when the rotor has moved (S5: YES), the excitation phase determination section 16 determines whether the direction (polarity) in which the rotor moves matches the rotational direction (polarity) of the speed command (ω.sub.cmd) (step S7). As a result, when the direction in which the rotor has moved and the rotational direction of the speed command match, the excitation phase determination section 16 substitutes the value of the current phase θ.sub.0 set at step S3 into a variable Θ.sub.w into which the excitation phase for generating the first command is substituted (step S8).
(88) On the other hand, when the direction in which the rotor has moved and the rotational direction of the speed command (ω.sub.cmd) do not match (S7: NO), the excitation phase determination section 16 substitutes, into the variable Θ.sub.w, the value obtained by adding 180 degrees to the current phase θ.sub.0 (step S9). Here, the reason that the value obtained by adding 180 degrees to the current phase θ.sub.0 is substituted into the variable Θ.sub.w is to set the rotational direction of the rotor in the direct-current excitation in the excitation phase (Θ.sub.w) to the direction opposite to the rotational direction of the rotor in the case of the direct-current excitation in the current phase θ.sub.0. The current position of the rotor is advanced from the rotor position (θ.sub.m0) at the start of the process that is stored at step S2, and accordingly the excitation phase (first phase) for generating the final first command is set by adding the phase corresponding to the advancement of the rotor to the variable Θ.sub.w (step S10). Specifically, at step S10, the variable Θ.sub.w is determined as follows:
Θ.sub.w=Θ.sub.w+pp(P.sub.c−θ.sub.m0)
(89) where Pc: rotor current position pp: number of pole pairs.
(90) When the excitation phase (Θ.sub.w) for generating the first command is determined in this method, the excitation phase determination section 16 forwards the determined excitation phase (Θ.sub.w) to the first command generation section 11A and updates the variable ‘STAGE’ to 3, which indicates completion of the process (step S11). When the variable ‘STAGE’ is updated to 3 at step S11, it is determined at step S1 that the variable ‘STAGE’ is 3, and this excitation phase determination process is terminated. By using the excitation phase (Θ.sub.w) determined as described above to generate the first command in the first command generation section 11A, the rotational direction of the rotor in the direct-current excitation for the initial magnetic pole detection operation can be matched to the rotational direction of the rotor under the speed command (ω.sub.cmd).
(91) When it is determined at step S5 that the rotor does not move, the magnetic pole initial position detection device 1A performs direct-current excitation in a current phase Θ.sub.e obtained by adding 90 degrees to the current phase θ.sub.0 (step S6). Here, the case where it is determined at step 5 that the rotor does not move corresponds to the case where the current phase θ.sub.0 is at or near the magnetic pole initial position (phase) of the rotor. Accordingly, in order to avoid this, direct-current excitation is performed with the current phase Θ.sub.e obtained by adding 90 degrees to the current phase θ.sub.0. At step S6, the variable ‘STAGE’ is updated to 2. When the variable ‘STAGE’ is updated to 2 at step S6 and the process returns to step S1, it is determined that the variable ‘STAGE’ is 2, and the process proceeds to step S4. In this case, it is determined at step S4 that the value of the variable ‘STAGE’ is 2 and the process proceeds to step S12.
(92) At step S12, it is determined whether the rotor has moved as a result of the direct-current excitation with the current phase Θ.sub.e obtained by adding 90 degrees to the current phase θ.sub.0 at step S6. As a result, when it is determined that the rotor has moved (S12: YES), the direction (polarity) in which the rotor has rotated is determined (step S13). As a result, when it is determined that the rotational direction of the rotor is positive direction (S13: ‘+’), the current phase θ.sub.0 set at step S3 represents the magnetic pole initial position (phase). In this case, a value (Θ.sub.w) obtained by adding, to the current phase θ.sub.0, the phase corresponding to the movement of the rotor after the start of this process is determined using the following equation, and the determined value is set to the magnetic pole initial position (step S14).
Θ.sub.w=θ.sub.0+pp(P.sub.c−ν.sub.m0)
(93) On the other hand, when it is determined at step S13 that the rotational direction of the rotor is a negative direction (S13: ‘−’), a value obtained by adding 180 degrees to the current phase θ.sub.0 set at step S3 represents a magnetic pole initial position (phase). In this case, a value (Θ.sub.w) obtained by adding, to the value obtained by adding 180 degrees to the current phase θ.sub.0, the phase corresponding to the movement of the rotor after the start of this process is determined using the following equation, and the determined value is set to the magnetic pole initial position (step S15).
Θ.sub.w=θ.sub.0+180 degrees+pp(P.sub.c−θ.sub.m0)
(94) At step S16, Θ.sub.w obtained at step S14 or S15 is determined to be the magnetic pole initial position, and the variable ‘STAGE’ is updated to 3 to complete this excitation phase determination process. In this case, the excitation phase determination process is terminated, generation of the first command by the first command generation section 11A is not performed, and the detection of the magnetic pole initial position based on the first command is not performed. The θ.sub.w determined at step S14 or S15 is set as a magnetic pole initial position that is output from the magnetic pole initial position detection device 1 to the magnetic pole position update section 41.
(95) Here, the following describes the capability of determining the magnetic pole initial position as in steps S14 and S15 in accordance with the rotational direction of the rotor in the case where the direct-current excitation is performed in the current phase Θ.sub.e obtained by adding 90 degrees to the current phase θ.sub.0 at step S6. It is determined at step S5 that the rotor does not move when the current phase θ.sub.0 matches the phase of the magnetic pole initial value or when the current phase θ.sub.0 is different from the phase of the magnetic pole initial position by 180 degrees. Now a situation is considered in which the rotor has moved with direct-current excitation in a current phase of θ.sub.0+90 degrees at step S6. As described with reference to
(96) In this case, as illustrated in
(97) Returning to the description of
(98) As described above, according to the second embodiment, the direction in which the rotor rotated by the direct-current excitation under the first command generated by the first command generation section 11A can be matched to the rotational direction of the rotor under the speed command (ω.sub.cmd), and the transition from the magnetic pole initial position detection operation to the speed control can be performed smoothly.
(99) According to the embodiments of the present disclosure, it is possible to achieve a magnetic pole initial position detection device using the direct-current excitation method that is capable of acquiring a magnetic pole initial position of a rotor of a synchronous motor in a short time, and it is also possible to achieve a magnetic pole position detection device provided with the magnetic pole initial position detection device.
(100) While the invention has been described with reference to specific embodiments, it will be understood, by those skilled in the art, that various changes or modifications may be made thereto without departing from the scope of the claims described later.