The present invention relates to a magnetic pole initial position detection device using a direct-current excitation method and a magnetic pole position detection device.
In a synchronous motor, a current is applied to an appropriate excitation phase winding in accordance with a magnetic pole position of a rotor by using a dq-coordinate control system to generate a desired torque. Synchronous motors are categorized into synchronous motors provided with a magnetic pole position sensor such as an encoder for detecting the magnetic pole position of the rotor and synchronous motors provided with no magnetic pole position sensor.
In a synchronous motor provided with no magnetic pole position sensor, a magnetic pole position detection process is performed at each powering-on (activation) of the synchronous motor to detect the initial position of the magnetic pole (hereinafter referred to as a “magnetic pole initial position”), and the rotation of the synchronous motor is controlled on the basis of the magnetic pole position relative to the detected magnetic pole initial position. A method for detecting the magnetic pole initial position is, for example, a direct-current excitation method in which a constant excitation current with a fixed current phase is continuously applied to the synchronous motor and the final stopped position is set as a magnetic pole initial position.
For example, a known driving circuit of a brushless motor (e.g., see JP 2-276492 A) includes: an energizing unit configured to apply an excitation current to a drive coil to generate a rotating magnetic field in a stator; a rotor including a permanent magnet rotated by the rotating magnetic field; an encoder configured to output phase-shifted two-phase pulsed rotation signals in response to the rotation of the rotor; a rotational speed detection unit configured to detect a rotational angular speed of the rotor from the number of pulses of the rotation signal in a unit time and to detect a rotational direction of the rotor from the rotation signal; a logical operation unit configured to perform control of stopping the energization after the energization of the drive coil has been performed for a certain period and to calculate an initial position of the rotor from an output of the rotation speed detection unit; and a counter configured to count, using the inputted rotation signal, a rotation amount of the rotor from an initial position up to the current time, wherein the logical operation unit determines a current position of the rotor from the initial position of the rotor and the rotation amount up to the current time.
For example, in a known control device (e.g., see JP 2000-78878 A) for a permanent magnet type synchronous motor that is controlled by a variable voltage and a variable frequency output from a power converter, and for a mechanical device driven by the permanent magnet type synchronous motor, the control device is configured to release a brake device that brings the mechanical device to a halt and to estimate the magnetic pole phase of the permanent magnet type synchronous motor from the armature current and the load torque or from the armature current in the case where the motor generated torque and the load torque caused when a predetermined armature current is applied thereto are approximately balanced, regardless of the rotational position of the permanent magnet synchronous motor.
For example, in a known initial magnetic pole estimation device of an AC synchronous motor (e.g., see JP 2001-157482 A) provided in an AC synchronous motor control device including a speed control unit configured to calculate a command torque (command current) from a command speed, and a current control unit and a PWM power conversion device configured to drive the AC synchronous motor in accordance with the command torque (command current), the initial magnetic pole estimation device includes: a speed deviation calculation unit configured to calculate a speed deviation by subtracting the detection speed from the command speed generated by a command speed pattern generating unit; a speed gain control unit configured to calculate a command torque (command current) by multiplying the speed deviation by a speed gain; a mode period determination unit configured to perform a process of determining a mode period (a first cycle period and a second cycle period) from the command speed; a mode switch configured to switch a mode period between the first cycle period and the second cycle period in accordance with a result in the mode period determination unit; a data acquisition speed period determination unit configured to determine whether the command speed is in a data acquisition speed period in a case where the first cycle period is selected; a first command torque calculation unit (first command current calculation unit) configured to calculate first command torque data (first command current data) from the command torque (the command current) in the determined data acquisition speed period; a data acquisition speed period determination unit configured to determine whether the command speed is in the data acquisition speed period in a case where the second cycle period is selected; a second command torque calculation unit (second command current calculation unit) configured to calculate second command torque data (second command current data) from the command torque (the command current) in the determined data acquisition speed period; and an estimated initial magnetic pole computation unit configured to compute an estimated magnetic pole initial position by using information on the first command torque data (the first command current data) and the second command torque data (the second command current data).
In a magnetic pole initial position detection process using a direct-current excitation method, for example, direct-current excitation is performed on a synchronous motor at a magnetic pole of 0 degrees, and after a rotor of the synchronous motor is stopped, direct-current excitation is performed at a magnetic pole of 90 degrees. Then, after the rotor is stopped, the stopped position is acquired as the magnetic pole initial position. The time from the start of the direct-current excitation of the synchronous motor until stop of the rotor of the synchronous motor in this method is very long, and consequently acquisition of the magnetic pole initial position takes a long time. In particular, for a synchronous motor having a high acceleration performance with very little friction, such as a synchronous motor having a hydrostatic bearing, acquisition of the magnetic pole initial position may require several minutes. As such, in a magnetic pole position detection process using a direct-current excitation method, a technique capable of acquiring a magnetic pole initial position of a rotor of a synchronous motor in a short period of time is desired.
According to one aspect of the present disclosure, a magnetic pole initial position detection device is configured to detect a magnetic pole initial position of a rotor of a synchronous motor, the magnetic pole initial position detection device including: 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.
According to another aspect of the present disclosure, a magnetic pole position detection device includes 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.
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,
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.
As illustrated in
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
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.
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.
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.
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.
Now, with reference to
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 Ie. In this case, in the dq-coordinate system according to the synchronous motor, the excitation current Ie is expressed as Equation (1).
I
dm
=I
e·cos θ
I
qm
=−I
e·sin θ (1)
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 Ld, and the q-phase inductance is denoted by Lq, the torque Tr generated when the excitation current Ie flows through the salient-pole synchronous motor is expressed as Equation (2).
The d-phase inductance Ld and the q-phase inductance Lq 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 Tr that is generated when the excitation current Ie flows through a non-salient-pole synchronous motor is expressed as Equation (3), which is obtained by transforming Equation (2).
T
r
=pp·Φ·(−Ie·sin θ) (3)
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
However, in the case of a salient-pole synchronous motor, “{Φ−(Lq−Ld)·Ie·cos θ}” in Equation (2) can be zero, i.e., the torque Tr expressed in Equation (2) can be zero when θ has a value other than zero depending on the magnitude of the excitation current Ie. In other words, in the case of a salient-pole synchronous motor, the deviation amount θ is not necessarily zero even when the torque Tr 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 Ie that sets “{Φ−(Lq−Ld)·Ie·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 Tr 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 Ie with a fixed current phase.
Now, the magnitude of the excitation current Ie to be applied for acquiring the magnetic pole initial position of a salient-pole synchronous motor is described with reference to
When the excitation current Ie is 30 Arms or 60 Arms, the torque Tr is zero only when the deviation amount θ is zero as illustrated in
Inequality (4) is acquired by applying “Tr>0” and “θ≠0” to Equation (2) and by transforming Equation (2).
Φ−(Lq−Ld)·Ie·cos θ>0 (4)
In Inequality (4), “−1≤cos θ≤1” holds, and accordingly Inequality (5) is acquired from Inequality (4).
Φ−(Lq−Ld)·Ie>0 (5)
Inequality (6) is acquired by transforming the Inequality (5).
Accordingly, in the case where the present embodiment is applied to a salient-pole synchronous motor, the constant excitation current Ie 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 Ie lower than an upper limit value “Φ/(Lq−Ld)” to flow through the synchronous motor 2.
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 Ie 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 Ie 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
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 Ie lower than an upper limit value “Φmin/(Lq−Ld)” to flow through the synchronous motor 2.
Now, a torque-zero determination process performed by the torque-zero determination section 12 is described with reference to
As illustrated in
Next, a magnetic pole initial position acquisition process performed by the magnetic pole initial position acquisition section 13 is described with reference to
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 Tr 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 Ts, the rotor actual position acquisition section 14 acquires the rotor actual position at time 0 and then acquires the rotor actual position at time Ts. Assume that, at time T0 between time 0 and time Ts, 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 A0, the rotor speed by V0, and the rotor actual position by P0. The acceleration of the rotor of the synchronous motor 2 at time Ts is denoted by A1, the speed of the rotor by V1, and the rotor actual position by P1. The rotor actual position at time T0 is denoted by Pe. 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 Pe at time T0 when the torque Tr is zero and the rotor actual position P1 at time Ts, 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 Tr is zero is included within a time period between time 0 and time Ts, 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 Tr 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 Ts in the example of
In a first form of the calculation process for the rotor actual position Pe, the rotor actual position Pe is calculated in the following method.
The acceleration a of the rotor of the synchronous motor 2 at time t is expressed as Equation (8).
Accordingly, time T0 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=T0 and a(T0)=0 into Equation (8).
At this time, since the rotor actual position also substantially monotonously increases on a proportional basis, the rotor actual position Pe 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 Tr is zero, is expressed as Equation (10).
In the first form of the calculation process of the rotor actual position Pe, the magnetic pole initial position acquisition section 13 calculates the rotor actual position on the basis of Equation (10).
In a second form of the calculation process for the rotor actual position Pe, the rotor actual position Pe is calculated in the following method.
In a period including the point in time when the torque-zero determination section 12 determines that the torque Tr 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 V0, the rotor actual position Pe at the point in time when the torque Tr is zero can be expressed as Equation (11).
In the second form of the calculation process of the rotor actual position Pe, the magnetic pole initial position acquisition section 13 calculates the rotor actual position on the basis of Equation (11).
In a third form of the calculation process for the rotor actual position Pe, the rotor actual position Pe is calculated in the following method.
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 Tr is zero, the rotor actual position Pe at the point in time when the torque Tr is zero can be expressed as Equation (12).
In the third form of the calculation process of the rotor actual position Pe, the magnetic pole initial position acquisition section 13 calculates the rotor actual position on the basis of Equation (12).
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 Pe, at time T0 when the torque Tr is zero, calculated through the calculation process according to any one of the first to third forms, using the rotor actual position P1 at the next sampling time Ts after the torque Tr has become zero, and using the number of pole pairs pp of the synchronous motor 2.
θ−pp·(P1−Pe)+excitation phase (13)
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 (=Pn−Pn−1) per sampling cycle by the number of pole pairs is added to the magnetic pole position counter.
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.
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.
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.
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.
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.
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.
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.
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.
The speed control section 31 generates a torque command Tcmd on the basis of a speed command ωcmd and a speed ωm of the rotor of the synchronous motor 2 acquired by the speed acquisition section 37.
The current command generation section 32 generates a d-axis current command Idc and a q-axis current command Iqc on the basis of the torque command Tcmd and the speed ωm of the rotor of the synchronous motor 2 acquired by the speed acquisition section 37.
The three-phase dq-conversion section 36 performs three-phase dq conversion on three-phase currents Iu, Iv and Iw 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 Id and a q-axis current Iq to the current control section 33.
In normal motor control, the current control section 33 generates a d-axis voltage command Vdc and a q-axis voltage command Vqc on the basis of the d-axis current command Idc, the q-axis current command Iqc, the d-axis current Id, and the q-axis current Iq. At the time of magnetic pole initial position detection, the current control section 33 generates the d-axis voltage command Vdc and the q-axis voltage command Vqc for applying a constant excitation current with a fixed current phase on the basis of a direct-current excitation command (Id=Ie, Iq=0) output from (the direct-current excitation command generation section 11 of) the magnetic pole initial position detection device 1.
The dq-three-phase conversion section 34 performs dq-three-phase conversion on the d-axis voltage command Vdc and the q-axis voltage command Vqc on the basis of the magnetic pole position detected by the magnetic pole position detection device 100 and outputs three-phase voltage commands Vuc, Vvc, and Vwc to the power conversion section 35.
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 Iu, Iv, and Iw 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 Vuc, Vvc, and Vwc.
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.
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.
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.
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 (θ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 (ω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 (ωcmd) is performed.
Next, the second command generation section 11B generates the second command by substituting a value of an arbitrarily set current phase θ0 (second phase) into a variable Θ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 (ω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 θ0 set at step S3 into a variable Θw into which the excitation phase for generating the first command is substituted (step S8).
On the other hand, when the direction in which the rotor has moved and the rotational direction of the speed command (ωcmd) do not match (S7: NO), the excitation phase determination section 16 substitutes, into the variable Θw, the value obtained by adding 180 degrees to the current phase θ0 (step S9). Here, the reason that the value obtained by adding 180 degrees to the current phase θ0 is substituted into the variable Θw is to set the rotational direction of the rotor in the direct-current excitation in the excitation phase (Θw) to the direction opposite to the rotational direction of the rotor in the case of the direct-current excitation in the current phase θ0. The current position of the rotor is advanced from the rotor position (θ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 Θw (step S10). Specifically, at step S10, the variable Θw is determined as follows:
Θw=Θw+pp(Pc−θm0)
where
When the excitation phase (Θw) for generating the first command is determined in this method, the excitation phase determination section 16 forwards the determined excitation phase (Θ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 (Θ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 (ωcmd).
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 Θe obtained by adding 90 degrees to the current phase θ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 θ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 Θe obtained by adding 90 degrees to the current phase θ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.
At step S12, it is determined whether the rotor has moved as a result of the direct-current excitation with the current phase Θe obtained by adding 90 degrees to the current phase θ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 θ0 set at step S3 represents the magnetic pole initial position (phase). In this case, a value (Θw) obtained by adding, to the current phase θ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).
Θ
w=θ0+pp(Pc−νm0)
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 θ0 set at step S3 represents a magnetic pole initial position (phase). In this case, a value (Θw) obtained by adding, to the value obtained by adding 180 degrees to the current phase θ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).
Θw=θ0+180 degrees+pp(Pc−θm0)
At step S16, Θ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 θ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.
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 Θe obtained by adding 90 degrees to the current phase θ0 at step S6. It is determined at step S5 that the rotor does not move when the current phase θ0 matches the phase of the magnetic pole initial value or when the current phase θ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 θ0+90 degrees at step S6. As described with reference to
In this case, as illustrated in
Returning to the description of
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 (ωcmd), and the transition from the magnetic pole initial position detection operation to the speed control can be performed smoothly.
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.
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.
Number | Date | Country | Kind |
---|---|---|---|
2018-193846 | Oct 2018 | JP | national |
2019-055633 | Mar 2019 | JP | national |