Motor control device

The motor control device addresses the challenge of incorrect motor lock state detection by using a voltage command value generator and determiner to analyze voltage command values and correct output voltage errors, ensuring accurate locked state detection and stable motor operation.

WO2024204319A1PCT designated stage expired Publication Date: 2024-10-03FUJITSU GENERAL LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2024/012206
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-31
Filing Date
2024-03-27
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

Existing motor control devices face challenges in accurately detecting the locked state of a motor due to variations in motor induced voltage constants and inverter output voltage errors, leading to incorrect detection of motor lock states during position sensorless control.

Method used

A motor control device is designed with a synchronous operation mode and a position sensorless control mode, incorporating a voltage command value generator and a determiner to correctly detect the locked state by analyzing the voltage command value, and includes a configuration with a voltage calculator that accounts for output voltage errors to ensure accurate lock determination.

Benefits of technology

The motor control device effectively detects the locked state of the motor, reducing errors and ensuring stable operation by using the voltage command value analysis and output voltage error correction, thereby improving the accuracy of motor control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2024012206_03102024_PF_FP_ABST
    Figure JP2024012206_03102024_PF_FP_ABST
Patent Text Reader

Abstract

A motor control device (100a) has: a synchronous operation mode in which a motor M is controlled such that the rotational speed of the motor coincides with a speed command value to cause the motor to be synchronized with a rotational phase obtained by integrating the speed command value; and a position sensorless control mode in which the motor M is controlled such that a speed estimation value, obtained by feedback-controlling the axial error between a control system coordinate axis and a rotor coordinate axis, coincides with the speed command value. In the motor control device: a synchronous operation current command value generator (13) generates a current command value in the synchronous operation mode; a current controller (20), a non-interference controller (36), and an adder (21) generate a voltage command value such that a current flowing through the motor M coincides with the current command value; and a lock determination instrument (52) determines whether or not the motor M is locked on the basis of the voltage command value.
Need to check novelty before this filing date? Find Prior Art

Description

Motor control device

[0001] The present disclosure relates to a motor control device.

[0002] Position sensorless control, which estimates the rotor position of a PMSM (Permanent Magnet Synchronous Motor), is known as one type of control. In position sensorless control, the rotor position of the motor is estimated (hereinafter referred to as "position estimation") using an induced voltage (hereinafter referred to as "motor induced voltage") generated as the motor rotates. In position sensorless control, errors in position estimation become large when the motor is stopped or when the motor is rotating at an extremely low speed where the induced voltage is small.

[0003] Because the motor's induced voltage is small at startup, a known method for position sensorless control involves first performing synchronous operation, which forcibly accelerates the motor to a predetermined rotational speed, and then switching to position sensorless control. A motor control device that controls a motor using this method switches between an operation mode in which synchronous operation is performed (hereinafter sometimes referred to as the "synchronous operation mode") and an operation mode in which position sensorless control is performed (hereinafter sometimes referred to as the "position sensorless control mode"). When the motor control device switches operation modes, if there is a large axis error between the control system coordinate axes and the rotor coordinate axes, a "switching shock" occurs, in which vibrations or changes in rotation speed occur immediately after switching. Therefore, a known technique is to adjust the phase of the current vector (hereinafter sometimes referred to as the "current phase") so that the axis error in the synchronous operation mode is near zero, and then transition the operation mode from the synchronous operation mode to the position sensorless control mode.

[0004] There is also known a technique for detecting whether a motor is in a state where it cannot rotate (hereinafter, sometimes referred to as a "locked state") by using a motor induced voltage.

[0005] JP 2010-029016 A

[0006] However, when detecting the occurrence of a locked state using the motor induced voltage, the locked state may not be detected correctly due to variations in the motor induced voltage constant (hereinafter referred to as the "induced voltage constant") and errors in the inverter output voltage.

[0007] Therefore, the present disclosure proposes a technique that can correctly detect the locked state of a motor.

[0008] A motor control device disclosed herein controls a motor so that its rotational speed coincides with a speed command value, and has a synchronous operation mode in which the motor is synchronized with a rotational phase obtained by integrating the speed command value, and a position sensorless control mode in which the motor is controlled so that a speed estimate obtained by feedback control of an axis error between a control system coordinate axis and a rotor coordinate axis coincides with the speed command value. The motor control device disclosed herein also has a synchronous operation current command value generator, a voltage command value generator, and a determiner. The synchronous operation current command value generator generates a current command value in the synchronous operation mode. The voltage command value generator generates a voltage command value so that the current flowing through the motor coincides with the current command value. The determiner determines whether the motor is locked based on the voltage command value.

[0009] According to the present disclosure, the locked state of the motor can be detected correctly.

[0010] FIG. 1 is a diagram illustrating an example configuration of a motor control device according to a first embodiment of the present disclosure. FIG. 2 is a diagram illustrating an example operation of the motor control device according to the first embodiment of the present disclosure under a light load. FIG. 3 is a diagram illustrating an example operation of the motor control device according to the first embodiment of the present disclosure under an overload. FIG. 4A is a diagram illustrating an example configuration of a voltage calculator according to the first embodiment of the present disclosure. FIG. 4B is a diagram illustrating an example configuration of a voltage calculator according to the first embodiment of the present disclosure. FIG. 4C is a diagram illustrating an example configuration of a voltage calculator according to the first embodiment of the present disclosure. FIG. 4D is a diagram illustrating an example configuration of a voltage calculator according to the first embodiment of the present disclosure. FIG. 5 is a diagram illustrating an example of a relationship between a current vector phase and a voltage amplitude according to the first embodiment of the present disclosure. FIG. 6 is a diagram illustrating an example operation of the motor control device according to the first embodiment of the present disclosure. FIG. 7 is a diagram illustrating an example configuration of a motor control device according to a second embodiment of the present disclosure. FIG. 8 is a diagram illustrating an example configuration of a PLL controller according to the second embodiment of the present disclosure. FIG. 9 is a diagram illustrating an example operation of a proportional output controller according to the second embodiment of the present disclosure. FIG. 10 is a diagram illustrating a change in a current vector when transitioning to a position sensorless control mode according to a third embodiment of the present disclosure. FIG. 11 is a diagram illustrating a configuration example of a sensorless current command value generator according to a third embodiment of the present disclosure. FIG. 12 is a diagram illustrating an operation example of a weighting coefficient generator according to the third embodiment of the present disclosure. FIG. 13 is a diagram illustrating an example of a current vector locus according to the third embodiment of the present disclosure. FIG. 14 is a diagram illustrating a configuration example of a motor control device according to a fourth embodiment of the present disclosure when the device is under a light load. FIG. 15 is a diagram illustrating an operation example of a motor control device according to the fourth embodiment of the present disclosure when the device is overloaded. FIG. 16 is a diagram illustrating an operation example of a motor control device according to the fourth embodiment of the present disclosure. FIG. 17 is a diagram illustrating a configuration example of a speed fluctuation correction value generator according to the fourth embodiment of the present disclosure. FIG. 18 is a diagram illustrating a configuration example of a torque fluctuation correction value generator according to the fourth embodiment of the present disclosure. FIG. 19 is a diagram illustrating a configuration example of a motor control device according to a fifth embodiment of the present disclosure. FIG. 20 is a diagram illustrating a configuration example of a current following error correction value generator according to the fifth embodiment of the present disclosure.

[0011] Hereinafter, examples of the present disclosure will be described with reference to the drawings. In the following examples, the same components are denoted by the same reference numerals, and duplicated descriptions may be omitted.

[0012] First Embodiment <Configuration of Motor Control Device> FIG. 1 is a diagram illustrating an example configuration of a motor control device according to a first embodiment of the present disclosure. In FIG. 1 , a motor control device 100 a includes subtractors 11, 18, and 19, a speed controller 12, a current controller 20, adders 21 and 22, a dq / uvw converter 23, a PWM (Pulse Width Modulation) processor 24, and an IPM (Intelligent Power Module) 25. The IPM 25 is connected to a motor M. Examples of the motor M include PMSMs such as an IPMSM (Interior Permanent Magnet Synchronous Motor) and an SPMSM (Surface Permanent Magnet Synchronous Motor). The technology of the present disclosure is applicable to motors with and without magnetic salience, regardless of the type of motor.

[0013] The motor control device 100 a also includes a current detector 28 , a uvw / dq converter 29 , an axis error calculator 30 , a PLL (Phase Locked Loop) controller 31 , a position estimator 32 , and a decoupling controller 36 .

[0014] The motor control device 100a also has a current command value generator 10, switches SW1, SW2, and SW3, an operation mode switch 40, a voltage calculator 51, and a lock determinator 52. The current command value generator 10 has a synchronous operation current command value generator 13 and a sensorless current command value generator 14. Each of the switches SW1, SW2, and SW3 has an A contact and a B contact.

[0015] The motor control device 100a has two operation modes: a synchronous operation mode and a position sensorless control mode. An operation mode switch 40 switches the operation mode of the motor control device 100a between the synchronous operation mode and the position sensorless control mode. The operation mode switch 40 is controlled by a controller external to the motor control device 100a. When the operation mode is the synchronous operation mode, the operation mode switch 40 operates the synchronous operation current command value generator 13 in the current command value generator 10 while stopping the operation of the sensorless current command value generator 14, and connects the switches SW1, SW2, and SW3 to contact B. When the operation mode is the position sensorless control mode, the operation mode switch 40 operates the sensorless current command value generator 14 in the current command value generator 10 while stopping the operation of the synchronous operation current command value generator 13, and connects the switches SW1, SW2, and SW3 to contact A. The synchronous operation current command value generator 13 generates a current command value when the operation mode is the synchronous operation mode. The sensorless current command value generator 14 generates a current command value when the operation mode is the position sensorless control mode.

[0016] Based on the d-axis current detection value id, the q-axis current detection value iq, the d-axis voltage command value Vd, and the q-axis voltage command value Vq, the axis error calculator 30 calculates an axis error Δθ, which is the difference between the dc-qc coordinate axes, which are the control system coordinate axes, and the dq coordinate axes, which are the rotor coordinate axes of the motor M. The axis error Δθ calculated by the axis error calculator 30 is input to the PLL controller 31 and the synchronous operation current command value generator 13.

[0017] The position estimator 32 generates the rotational phase θdq of the dc-qc coordinate axes by integrating the speed information input via the switch SW3. When the operation mode is the synchronous operation mode, the switch SW3 is connected to the contact B, and therefore the speed command value ω, which is a command value for the electrical angular velocity input to the motor control device 100a from outside the motor control device 100a (for example, from a higher-level controller), is * is input to the position estimator 32 as speed information. Therefore, in the synchronous operation mode, the speed command value ω *The motor M is synchronized with the rotational phase θdq generated based on the above. On the other hand, when the operation mode is in the position sensorless control mode, the switch SW3 is connected to the contact A, and therefore the speed estimation value ω, which is an estimate of the electrical angular velocity output from the PLL controller 31, is input to the position estimator 32 as speed information. Therefore, in the position sensorless control mode, the rotational phase θdq is generated based on the speed estimation value ω obtained by feedback control of the axis error Δθ.

[0018] In this way, in the synchronous operation mode, the speed command value ω * On the other hand, in the position sensorless control mode, the estimated speed value ω obtained by feedback control of the axis error Δθ between the control system coordinate axis and the rotor coordinate axis is synchronized with the speed command value ω * The motor M is controlled so that the rotational speed of the motor M coincides with the rotational speed of the motor M.

[0019] The current controller 20 calculates the d-axis current command value id * The current controller 20 calculates the d-axis voltage command value Vd_cc before decoupling by proportional-plus-integral control of the d-axis current error id_dif, which is the error between the q-axis current command value iq and the d-axis current detection value id. * and the q-axis current detection value iq, and calculates the q-axis voltage command value Vq_cc before decoupling by proportional-plus-integral control of the q-axis current error iq_dif. For example, the current controller 20 calculates the d-axis voltage command value Vd_cc according to equation (1), and calculates the q-axis voltage command value Vq_cc according to equation (2). In equation (1), Kp_d is the d-axis proportional gain and Ki_d is the d-axis integral gain, and in equation (2), Kp_q is the q-axis proportional gain and Ki_q is the q-axis integral gain.

[0020] The decoupling controller 36 controls the speed command value ω * and the d-axis current command value id * and the q-axis current command value iq * The decoupling controller 36 calculates a d-axis decoupling voltage command value Vd_a for compensating for the d-axis voltage command value Vd_cc based on the speed command value ω * and the d-axis current command value id * and the q-axis current command value iq *and calculates a q-axis decoupling voltage command value Vq_a for compensating for the q-axis voltage command value Vq_cc based on the above. For example, the decoupling controller 36 calculates a d-axis decoupling voltage command value Vd_a according to equation (3), and calculates a q-axis decoupling voltage command value Vq_a according to equation (4). In equations (3) and (4), R is the winding resistance of the motor M, Ld is the d-axis inductance of the motor M, Lq is the q-axis inductance of the motor M, and Ψa is the armature flux linkage of the motor M.

[0021] Here, the current used to calculate the d-axis decoupling voltage command value Vd_a and the q-axis decoupling voltage command value Vq_a in the decoupling controller 36 is the d-axis current command value id * and the q-axis current command value iq * By setting the value of the d-axis current command value id to 1 / 2, it becomes possible to control the motor M even if the current command value changes suddenly. * and the q-axis current command value iq * Even under circumstances where the load changes instantaneously, it is possible to achieve both stability and responsiveness in the control of the motor M.

[0022] The adder 21 calculates the final d-axis voltage command value Vd by adding the d-axis non-interference voltage command value Vd_a to the d-axis voltage command value Vd_cc according to equation (5). The adder 22 calculates the final q-axis voltage command value Vq by adding the q-axis non-interference voltage command value Vq_a to the q-axis voltage command value Vq_cc according to equation (6). In this way, the d-axis voltage command value Vd and the q-axis voltage command value Vq are calculated in which interference between the d and q coordinate axes is cancelled by feedforward. When the operation mode is the synchronous operation mode, the d-axis voltage command value Vd and the q-axis voltage command value Vq calculated by the adder 21 are input to the voltage calculator 51.

[0023] The dq / uvw converter 23 converts the two-phase d-axis voltage command value Vd and q-axis voltage command value Vq output from the adders 21 and 22 into a three-phase U-phase voltage command value Vu, a V-phase voltage command value Vv, and a W-phase voltage command value Vw based on the rotational phase θdq output from the position estimator 32.

[0024] The PWM processor 24 generates six-phase PWM signals based on the U-phase voltage command value Vu, the V-phase voltage command value Vv, and the W-phase voltage command value Vw, as well as the carrier signal, and outputs the generated six-phase PWM signals to the IPM 25.

[0025] The IPM 25 generates three-phase AC voltages, U-phase, V-phase, and W-phase, from the DC voltage Vdc based on the six-phase PWM signal output from the PWM processor 24, and applies each of the generated three-phase AC voltages to the U-phase, V-phase, and W-phase of the motor M.

[0026] When the bus current of the IPM 25 is detected using the one-shunt system, the current detector 28 detects a U-phase current value iu, a V-phase current value iv, and a W-phase current value iw of the motor M from the six-phase PWM signals output from the PWM processor 24 and the detected bus current, and outputs the phase current values ​​iu, iv, and iw of each phase to the uvw / dq converter 29. Note that the current detector 28 may detect the currents of two phases out of the phase current values ​​iu, iv, and iw, and calculate the current of the remaining phase using Kirchhoff's law.

[0027] The uvw / dq converter 29 converts the three-phase U-phase current value iu, V-phase current value iv, and W-phase current value iw into two-phase d-axis current detection value id and q-axis current detection value iq based on the rotational phase θdq output from the position estimator 32.

[0028] The PLL controller 31 performs proportional-plus-integral control of the position error Δθ to calculate a speed estimate ω that will make the position error Δθ 0. The speed estimate ω calculated by the PLL controller 31 is input to the position estimator 32 via the switch SW3, which corrects the rotational phase θdq, thereby making it possible to bring the position error Δθ closer to 0.

[0029] The subtractor 11 calculates the speed command value ω * The speed error ω_dif is calculated by subtracting the speed estimated value ω from the

[0030] The speed controller 12 performs proportional-plus-integral control on the speed error ω_dif to obtain a torque command value T * For example, the speed controller 12 generates the torque command value T *In equation (7), Kp_sc is the proportional gain of the speed controller 12, and Ki_sc is the integral gain of the speed controller 12. Note that the speed controller 12 generates the d-axis current command value id * and the q-axis current command value iq * The integral value of the speed controller 12 is initialized based on the above equation. By initializing the integral value, it is possible to reduce switching shock before and after switching of the operation mode.

[0031] When the operation mode is the position sensorless control mode, the sensorless current command value generator 14 generates a torque command value T based on a constant torque curve, which is a current locus where the torque is constant. * is converted into a current vector on the dq coordinate axes, the sensorless d-axis current command value id_sl * and the sensorless q-axis current command value iq_sl * Hereinafter, the sensorless d-axis current command value and the sensorless q-axis current command value may be collectively referred to as the "sensorless current command value."

[0032] As described above, the current controller 20, the decoupling controller 36, and the adder 21 generate the d-axis voltage command value Vd and the q-axis voltage command value Vq such that the current flowing through the motor M coincides with the current command value.

[0033] Here, since the preferred method for generating the sensorless current command value differs depending on whether the motor M is an SPMSM or an IPMSM, it is preferable to preset in the motor control device 100a a method for generating the sensorless current command value according to the type of motor to be controlled. For example, when the motor M is an SPMSM, the sensorless current command value generator 14 generates the sensorless d-axis current command value id_sl on the constant torque curve. * is set to 0, and the sensorless q-axis current command value iq_sl * The reason is that when the motor M is an SPMSM, the torque that generates the rotational force is mainly magnet torque (that is, no reluctance torque is generated).

[0034] On the other hand, when the motor M is an IPMSM, the sensorless current command value generator 14 calculates the sensorless d-axis current command value id_sl from the intersection (hereinafter sometimes referred to as the "two-curve intersection") between the constant torque curve and the MTPA curve (maximum torque / current control curve). * and the sensorless q-axis current command value iq_sl * The reason is that when the motor M is an IPMSM, the torque that generates the rotational force is not only the magnet torque but also the contribution of the reluctance torque is large.

[0035] In addition, the motor control device 100a may be configured to pre-set methods for generating sensorless current command values ​​for both the case where the motor M is an SPMSM and the case where the motor M is an IPMSM, and select one of the generation methods depending on the type of motor M.

[0036] For example, when the motor M is an SPMSM, the sensorless current command value generator 14 calculates the sensorless d-axis current command value id_sl in the motor torque equation shown in equation (8). * By substituting 0 into * In the formulas (8) and (9), Pn is the number of pole pairs of the motor M.

[0037] Furthermore, for example, when the motor M is an IPMSM, the sensorless current command value generator 14 calculates the sensorless d-axis current command value id_sl in accordance with the motor torque equation shown in equation (8) and equation (10). * and the sensorless q-axis current command value iq_sl * Calculate.

[0038] First, the sensorless d-axis current command value id_sl is calculated from the equations (8) and (10). * When the sensorless q-axis current command value iq_sl is deleted, * Equation (11) is obtained, which is a quartic equation for

[0039] One of the real solutions of the quartic equation shown in equation (11) is the sensorless q-axis current command value iq_sl at the intersection of the two curves. *Therefore, the sensorless current command value generator 14 derives the solution of the equation (11) to obtain the sensorless q-axis current command value iq_sl * The solution of the quartic equation can be derived using, for example, Newton's method. The sensorless current command value generator 14 calculates the sensorless q-axis current command value iq_sl using equation (11). * After calculating the sensorless q-axis current command value iq_sl in equation (10), * By substituting the above, the sensorless d-axis current command value id_sl * Calculate.

[0040] When the operation mode is the position sensorless control mode, the switches SW1 and SW2 are connected to the contacts A, and therefore the sensorless d-axis current command value id_sl generated by the sensorless current command value generator 14 is * and the sensorless q-axis current command value iq_sl * is the d-axis current command value id input to the subtractors 18 and 19 and the decoupling controller 36. * and the q-axis current command value iq * This becomes:

[0041] On the other hand, when the operation mode is the synchronous operation mode, the switches SW1 and SW2 are connected to the contact B, and therefore the synchronous operation d-axis current command value id_sy generated by the synchronous operation current command value generator 13 is * and synchronous operation q-axis current command value iq_sy * is the d-axis current command value id input to the subtractors 18 and 19 and the decoupling controller 36. * and the q-axis current command value iq * When the operation mode is the synchronous operation mode, the synchronous operation d-axis current command value id_sy generated by the synchronous operation current command value generator 13 is * is input to the voltage calculator 51.

[0042] The subtractor 18 calculates the d-axis current command value id * The subtractor 19 calculates the d-axis current error id_dif by subtracting the d-axis current detection value id from the q-axis current command value iq * The q-axis current error iq_dif is calculated by subtracting the q-axis current detection value iq from the q-axis current error iq_dif.

[0043] The voltage calculator 51 calculates a voltage (hereinafter sometimes referred to as a "lock determination voltage") used to determine whether or not the motor M is in a locked state (hereinafter sometimes referred to as a "lock determination"), and outputs the calculated lock determination voltage to the lock determinator 52. Note that in this embodiment, the lock determination voltage is calculated by the voltage calculator 51, but the final voltage command value after decoupling, which is the output result of the adders 21 and 22, may be used as the lock determination voltage as is.

[0044] The lock determination unit 52 determines whether the motor M is in a locked state based on the lock determination voltage. When the lock determination unit 52 determines that the motor M is in a locked state, the lock determination unit 52 outputs a signal LS indicating that the motor M is in a locked state (hereinafter, may be referred to as a "lock state signal") to the outside of the motor control device 100a (for example, to a higher-level controller).

[0045] <Operation of the Motor Control Device When the Motor is Not Locked> FIGS. 2 and 3 are diagrams illustrating an example of operation of the motor control device according to the first embodiment of the present disclosure. FIGS. 2 and 3 illustrate an example of operation when the motor M is not locked. Also, FIG. 2 illustrates an example of operation under a light load, and FIG. 3 illustrates an example of operation under an overload. When the motor M is started or rotating at low speed, the motor induced voltage is small, which can cause an error in the axis error Δθ calculated by the axis error calculator 30. This error in the axis error Δθ can potentially destabilize the control of the motor M. Therefore, to raise the rotation speed of the motor M to a level at which position sensorless control is applicable, positioning and synchronous operation are performed before position sensorless control is performed. That is, the operation modes of the motor control device 100a are sequentially shifted between positioning mode M1, synchronous operation mode M2, and position sensorless control mode M3, as shown in FIGS. 2 and 3 . When the operation mode is positioning mode M1 or synchronous operation mode M2, the operation mode switch 40 operates the synchronous operation current command value generator 13 in the current command value generator 10 while stopping the operation of the sensorless current command value generator 14, and connects the switches SW1, SW2, and SW3 to contact B. As the operation of the sensorless current command value generator 14 stops, the operations of the speed controller 12 and the PLL controller 31 located on the input side of the sensorless current command value generator 14 also stop. Furthermore, when the operation mode is position sensorless control mode M3, the operation mode switch 40 operates the sensorless current command value generator 14 in the current command value generator 10 while stopping the operation of the synchronous operation current command value generator 13, and connects the switches SW1, SW2, and SW3 to contact A.

[0046] As shown in Figures 2 and 3, the synchronous operation mode M2 ​​has a speed increase section I1 and a current adjustment section I2, and in the synchronous operation mode M2, the control section transitions from the speed increase section I1 to the current adjustment section I2 in that order.

[0047] Furthermore, when the operation mode is the positioning mode M1 or the synchronous operation mode M2, the switches SW1 and SW2 are connected to the contact B, so that the synchronous operation d-axis current command value id_sy generated by the synchronous operation current command value generator 13 is *and synchronous operation q-axis current command value iq_sy * is the d-axis current command value id input to the subtractors 18 and 19 and the decoupling controller 36. * and the q-axis current command value iq * On the other hand, when the operation mode is the position sensorless control mode M3, the switches SW1 and SW2 are connected to the contacts A, and therefore the sensorless d-axis current command value id_sl generated by the sensorless current command value generator 14 is * and the sensorless q-axis current command value iq_sl * is the d-axis current command value id input to the subtractors 18 and 19 and the decoupling controller 36. * and the q-axis current command value iq * This becomes:

[0048] As shown in FIGS. 2 and 3, in the positioning mode M1, the speed command value ω * is set to 0, and the synchronous operation current command value generator 13 calculates the d-axis current command value id * is increased from 0 to a predetermined value id_ini, while the q-axis current command value iq * Set to 0. d-axis current command value id * While the current is increasing, the rotor of the motor M starts to move and is positioned. For example, by setting the current value capable of driving the maximum load as the predetermined value id_ini, the motor M can be started without losing synchronization even when overloaded in the synchronous operation mode M2.

[0049] 2 and 3, in the speed increase section I1, the synchronous operation current command value generator 13 sets the d-axis current command value id_ini as the initial value. * is kept constant at a predetermined value id_ini, and the q-axis current command value iq * While keeping constant at 0, the speed command value ω * is linearly increased from 0 to the predetermined rotation speed ω1. As a result, in the speed increase section I1, the d-axis current command value id * and the q-axis current command value iq *While the voltage command value is maintained constant, the rotation speed of the motor M increases to a predetermined rotation speed corresponding to the predetermined rotation speed ω1. The predetermined rotation speed ω1 is preset to a rotation speed at which the motor induced voltage can be sufficiently detected and is large enough to prevent a motor M that is not locked from being erroneously determined to be locked. For example, in the case of a compressor motor, the predetermined rotation speed ω1 is an electrical angular velocity equivalent to 15 rps. If the motor M is locked, the rotation speed of the motor M does not increase in the speed increase section I1. This embodiment includes a lockup determinator 52 that determines whether the motor M is locked based on the voltage command value, so that it can quickly determine whether the motor M is locked in the speed increase section I1. If it is determined that the motor M is not locked, the operating mode of the motor control device 100a transitions to the current adjustment section I2. The operation of the lockup determinator 52 will be described later.

[0050] Next, in the current adjustment section I2, the speed command value ω * is kept constant at a predetermined rotation speed ω1, the synchronous operation current command value generator 13 calculates the d-axis current command value id * and the q-axis current command value iq * In the current adjustment section I2, the synchronous operation current command value generator 13 adjusts the d-axis current command value id_ini using a predetermined value id_ini as an initial value. * In the current adjustment section I2, the synchronous operation current command value generator 13 starts adjusting the q-axis current command value iq * The initial value of the q-axis current command value iq * The d-axis current command value id in the current adjustment section I2 is adjusted. * and the q-axis current command value iq * In the current adjustment section I2, the synchronous operation current command value generator 13 adjusts the current vector on the dc-qc coordinate axes to a state close to the current vector in the position sensorless control mode M3 by adjusting the d-axis current command value id * is converged to the target command value id_sy_end at the end point of the current adjustment section I2 by using a filter or by linearly decreasing the target command value id_sy_end. The target command value id_sy_end has a positive value close to 0 and is slightly over-excited (id* It is preferable to set the value to be greater than 0.

[0051] That is, in the speed increase section I1, the synchronous operation current command value generator 13 sets the d-axis current command value id_sy to a predetermined value id_ini that is greater than the target command value id_sy_end. * In the current adjustment section I2 following the speed increase section I1, the synchronous operation current command value generator 13 sets the d-axis current command value id_ini as the initial value. * is gradually decreased to the target command value id_sy_end.

[0052] Generally, when the motor M is an SPMSM that does not have saliency, the d-axis current command value id on the constant torque curve is * On the other hand, in the synchronous operation mode M2, the rotation phase θdq is not corrected based on the speed estimation value ω calculated by the PLL controller 31, so the d-axis current command value id is adjusted to 0 until the d-axis current at which the current amplitude value required to obtain the desired torque is minimized. * If the d-axis current command value id is decreased, depending on the response speed of the synchronous operation current command value generator 13 when generating the current command value, the load torque may exceed the output torque, and the motor M may lose synchronization. * It is preferable to converge to a slight overexcitation.

[0053] In addition, by setting the target command value id_sy_end at the end of the current adjustment section I2 to a value that is approximately 10% of the rated current amplitude value of the motor M or the current amplitude value when the motor M drives the maximum load, the d-axis current command value id * The d-axis current command value id in the position sensorless control mode M3 * Since the target command value id_sy_end can be converged to a slight over-excitation while being suitably close to , it is possible to prevent the motor M from losing synchronization in the current adjustment section I2. For example, when the rated current amplitude value is about 10 A, it is preferable to set the target command value id_sy_end to about 1 A.

[0054] In the current adjustment section I2, the synchronous operation current command value generator 13 performs integral or proportional integral control on the axis error Δθ to obtain the q-axis current command value iq * When the axis error Δθ is positive, the synchronous operation current command value generator 13 generates the q-axis current command value iq * When the axis error Δθ is negative, the q-axis current command value iq * In this way, in the current adjustment section I2, the synchronous operation current command value generator 13 reduces the q-axis current command value iq by feedback control so as to bring the axis error Δθ closer to zero. * In the current adjustment section I2, the synchronous operation current command value generator 13 adjusts the synchronous operation q-axis current command value iq_sy according to, for example, equation (12). * In equation (12), Ki_iq is the integral gain.

[0055] In the position sensorless control mode M3, when the axis error Δθ is positive, the PLL controller 31 reduces the speed estimate ω so that the speed estimate ω becomes equal to the speed command value ω. * Since the torque command value T * is increased, and the sensorless current command value generator 14 generates the q-axis current command value iq * On the other hand, in the synchronous operation mode M2, the speed command value ω * is directly input to the position estimator 32, the synchronous operation current command value generator 13 directly calculates the q-axis current command value iq * Therefore, the d-axis current command value id * The desired response speed of the synchronous operation current command value generator 13 can be obtained by adjusting the integral gain Ki_iq (equation (12)) according to the magnitude of the predetermined value id_ini, which is the initial value of the motor M, the inertia of the motor M, the induced voltage constant of the motor M, or the characteristics of the load driven by the motor M.

[0056] When transitioning from the current adjustment section I2 to the position sensorless control mode M3, the speed controller 12 calculates the d-axis current command value id * and the q-axis current command value iq *(That is, the synchronous operation d-axis current command value id_sy in the synchronous operation mode M2 * and the synchronous operation q-axis current command value iq_sy in the synchronous operation mode M2. * The torque command value T * is calculated, and the torque command value T * is set as the initial value of the integral value of the speed controller 12 for the speed error ω_dif. By doing so, the torque command value T * Since the occurrence of discontinuity can be prevented, the switching shock that occurs in the motor M when the operation mode is switched can be reduced.

[0057] Furthermore, the torque command value T calculated according to the formula (13) * is used as the initial value of the proportional-integral control for the speed error ω_dif, and therefore, in the position sensorless control mode M3, the sensorless d-axis current command value id_sl generated by the sensorless current command value generator 14 is * is adjusted to a value smaller than the target command value id_sy_end, as shown in Figures 2 and 3. For example, when the target command value id_sy_end has a positive value close to 0, the sensorless d-axis current command value id_sl * is adjusted to a value less than or equal to 0.

[0058] As described above, by converging the d-axis current command value to near zero during synchronous operation and generating the q-axis current command value by feedback-controlling the axis error, it is possible to transition from synchronous operation to position sensorless control with the axis error adjusted to near zero and the degree of overexcitation suppressed. This reduces the change in the current vector after transitioning to position sensorless control, thereby reducing switching shocks caused by current jumps, speed jumps, etc., when transitioning to position sensorless control, even in an IPMSM or other motor with saliency. This improves the control stability of the motor M when transitioning to the position sensorless control mode, regardless of the type of motor M, such as whether it has saliency. This enables stable startup of the motor M, regardless of the type of motor M.

[0059] <Configuration of Voltage Calculator> Hereinafter, configuration examples 1 to 4 of the voltage calculator 51 will be given. <Configuration Example 1 (FIG. 4A)> FIG. 4A is a diagram illustrating configuration example 1 of the voltage calculator according to the first embodiment of the present disclosure. The voltage calculator 51A illustrated in FIG. 4A corresponds to the voltage calculator 51 illustrated in FIG. 1. In FIG. 4A, the voltage calculator 51A includes an error calculator 511, a voltage corrector 512, and an averaging unit 513. The voltage calculator 51A calculates a voltage amplitude value (hereinafter sometimes referred to as a "synthetic voltage amplitude value") calculated from the d-axis voltage command value Vd and the q-axis voltage command value Vq by multiplying the d-axis voltage command value Vd and the synchronous operation d-axis current command value id_sy by the error calculator 511. * The voltage amplitude value after correction and averaging (hereinafter, may be referred to as the “average corrected voltage amplitude value”) Va_co_ave is output to the lock determinator 52 as a lock determination voltage.

[0060] In the positioning mode M1, the speed command value ω * Since σ is set to zero, the voltage theoretically output from the IPM 25 (hereinafter sometimes referred to as the "theoretical output voltage") is only the voltage corresponding to the winding resistance R of the motor M. Therefore, in positioning mode M1, the difference between the theoretical output voltage corresponding to the winding resistance R and the voltage actually applied to the motor M appears as an error (hereinafter sometimes referred to as the "output voltage error") ΔV in the three-phase AC voltage (hereinafter sometimes referred to as the "output voltage") output from the IPM 25. Therefore, in this embodiment, whether the motor M is in a locked state is determined taking into account the output voltage error ΔV. By taking the output voltage error ΔV into account, lock determination can be performed with high accuracy even when the output voltage error ΔV is large (for example, when the dead time of the IPM used in the motor control device is long). The error calculator 511 calculates the synchronous operation d-axis current command value id_sy at the time of positioning completion. *The output voltage error ΔV is calculated according to equation (14) based on the d-axis voltage command value Vd and the winding resistance R of the motor M. The d-axis voltage command value Vd in equation (14) may be the d-axis voltage command value Vd after high-frequency components have been removed by filtering. Since ripples such as cogging torque do not occur in the positioning mode M1, it is preferable that the time constant of the filter used to remove high-frequency components from the d-axis voltage command value Vd is approximately 10 ms.

[0061] The error calculator 511 calculates the output voltage error ΔV on the fixed coordinate system instead of the equation (14). UVW The output voltage error ΔV may be calculated from the output voltage error ΔV UVW can be calculated according to equation (15) based on the carrier frequency fc, the dead time Td in the IPM 25, and the DC voltage Vdc. UVW is a value on a fixed coordinate system, the output voltage error ΔV calculated according to equation (15) UVW must be converted to values ​​on the dc-qc coordinate axes.

[0062] Here, in the speed increase section I1, the d-axis current command value id * is kept constant at a predetermined value id_ini and the q-axis current command value iq *is kept constant at 0, the d-axis current component of the current vector exists, but the q-axis current component of the current vector does not. Therefore, in the speed increase section I1, an output voltage error ΔV occurs only in the d-axis voltage command value Vd. Furthermore, if the carrier frequency fc, the dead time Td in the IPM 25, and the DC voltage Vdc are constant from the positioning mode M1 to the speed increase section I1, the output voltage error ΔV at the end point T1 of the speed increase section I1 (hereinafter sometimes referred to as the "end point of the speed increase section") is approximately the same as the output voltage error ΔV calculated at the time of positioning completion. Therefore, the voltage compensator 512 corrects the composite voltage amplitude value Va, which is calculated from the d-axis voltage command value Vd and the q-axis voltage command value Vq according to equation (16), according to equation (17) based on the output voltage error ΔV at the time of positioning completion, and outputs the corrected voltage amplitude value Va_co (hereinafter sometimes referred to as the "corrected voltage amplitude value") to the averager 513.

[0063] The averager 513 time-averages the correction voltage amplitude value Va_co, which is an instantaneous value, and outputs the correction voltage amplitude average value Va_co_ave to the lock determinator 52 as a lock determination voltage. The averaging process by the averager 513 prevents the lock determinator 52 from making an erroneous determination due to oscillations in the correction voltage amplitude value Va_co when the motor M is in a locked state. For example, when a rotating magnetic field is applied to the motor M in a locked state, the effect of frequency components of the rotating magnetic field (hereinafter sometimes referred to as "electrical angle order ripple") superimposed on the correction voltage amplitude value Va_co due to inductance saliency can be eliminated. Furthermore, the averaging process by the averager 513 makes it possible to calculate an average correction voltage amplitude even in a state where the rotor of the motor M does not make more than one complete rotation but there is a period in which the rotor phase changes instantaneously (hereinafter sometimes referred to as a "rare lock state"), or in a state where the rotor loses synchronization and the motor M cannot be started correctly (hereinafter sometimes referred to as a "lost synchronization state"). Therefore, the averaging process by the averager 513 makes it possible to determine a wide range of locked states, including rare locked states and out-of-step states, thereby improving the accuracy of lock determination. The averager 513 is formed, for example, using a low-pass filter. The time constant of the low-pass filter forming the averager 513 is preferably a time constant (for example, about 100 ms) that does not impair the ability to follow the increase in output voltage that accompanies an increase in the rotation speed of the motor M and that can eliminate electrical angle order ripple.

[0064] <Configuration Example 2 (FIG. 4B)> Fig. 4B is a diagram illustrating a configuration example 2 of the voltage calculator according to the first embodiment of the present disclosure. A voltage calculator 51B illustrated in Fig. 4B corresponds to the voltage calculator 51 illustrated in Fig. 1. In Fig. 4B, the voltage calculator 51B includes a voltage amplitude generator 514. The voltage amplitude generator 514 generates a composite voltage amplitude value Va from the d-axis voltage command value Vd and the q-axis voltage command value Vq according to equation (16), and outputs the generated composite voltage amplitude value Va to the lock determinator 52 as a lock determination voltage.

[0065] <Configuration Example 3 (FIG. 4C)> Fig. 4C is a diagram illustrating a configuration example 3 of the voltage calculator according to the first embodiment of the present disclosure. A voltage calculator 51C illustrated in Fig. 4C corresponds to the voltage calculator 51 illustrated in Fig. 1. In Fig. 4C, the voltage calculator 51C includes a voltage amplitude generator 514 and an averaging unit 515.

[0066] The voltage amplitude generator 514 generates a composite voltage amplitude value Va from the d-axis voltage command value Vd and the q-axis voltage command value Vq according to equation (16), and outputs the generated composite voltage amplitude value Va to the averager 515 .

[0067] The averager 515 time-averages the composite voltage amplitude value Va, which is an instantaneous value, and outputs the averaged composite voltage amplitude value Va_ave to the lock determinator 52 as a lock determination voltage.

[0068] <Configuration Example 4 (FIG. 4D)> Fig. 4D is a diagram illustrating a configuration example 4 of the voltage calculator according to the first embodiment of the present disclosure. A voltage calculator 51D illustrated in Fig. 4D corresponds to the voltage calculator 51 illustrated in Fig. 1. In Fig. 4D, the voltage calculator 51D includes an error calculator 511 and a voltage corrector 512.

[0069] The voltage compensator 512 corrects the composite voltage amplitude value Va, which is calculated from the d-axis voltage command value Vd and the q-axis voltage command value Vq according to equation (16), according to equation (17) based on the output voltage error ΔV at the time of positioning completion, and outputs the corrected voltage amplitude value Va_co to the lock determinator 52 as a lock determination voltage.

[0070] <Operation of Lock Determiner> As described above, in the speed increase section I1, the speed command value ω * is linearly increased from 0 to a predetermined rotation speed ω1. The predetermined rotation speed ω1 is set to a rotation speed at which the motor induced voltage is sufficiently observed in the motor M when it is not in a locked state.

[0071] Therefore, the lock determinator 52 determines whether the speed command value ω *At a speed increase section end point T1, which is the time point at which the rotational speed ω1 reaches a predetermined rotational speed ω1, the lockup determinator 52 compares the lockup determination voltage with a lockup determination threshold V_jd to determine whether the motor M is in a locked state. When the lockup determination voltage is less than the lockup determination threshold V_jd, the lockup determinator 52 determines that the motor M is in a locked state and outputs a locked state signal LS. On the other hand, when the lockup determination voltage is equal to or greater than the lockup determination threshold V_jd, the lockup determinator 52 determines that the motor M is not in a locked state and does not output the locked state signal LS. In other words, when the lockup determination voltage at the predetermined speed increase section end point T1 is less than the lockup determination threshold V_jd, the lockup determinator 52 determines that the motor M is locked, whereas when the lockup determination voltage at the predetermined speed increase section end point T1 is equal to or greater than the lockup determination threshold V_jd, the lockup determinator 52 determines that the motor M is not locked.

[0072] For example, when a lock state signal LS is input from the lock determinator 52, the external controller of the motor control device 100a stops the supply of current to the motor M in the speed increase section I1 without transitioning the synchronous operation mode M2 ​​from the speed increase section I1 to the current adjustment section I2. Here, when the motor M is in a locked state, no motor induced voltage is generated due to the rotation of the motor M. For this reason, if the synchronous operation mode M2 ​​transitions from the speed increase section I1 to the current adjustment section I2 while the motor M is in a locked state, the axis error calculator 30 will no longer be able to calculate the correct axis error Δθ, and the synchronous operation current command value generator 13 will not calculate the synchronous operation q-axis current command value iq_sy. * If the motor M is locked, the feedback control of the axis error Δθ when generating the current command value Δθ will become unstable. Therefore, as described above, when the motor M is in a locked state, destabilization of the axis error calculator 30 and the synchronous operation current command value generator 13 used in the current adjustment section I2 can be prevented by stopping the supply of current to the motor M before the synchronous operation mode M2 ​​transitions to the current adjustment section I2. On the other hand, when the lock state signal LS is not input from the lock determinator 52, the external controller of the motor control device 100a transitions the synchronous operation mode M2 ​​from the speed increase section I1 to the current adjustment section I2.

[0073] By performing the lockup determination based on the voltage command value in the above manner, the lockup determination can be performed before transitioning to the current adjustment section I2. This allows for a prompt determination of whether the motor M is in a locked state. Furthermore, by performing the lockup determination based on the voltage command value while taking the output voltage error ΔV into account, the lockup determination can be performed accurately even when the output voltage error ΔV is large. Furthermore, by calculating the voltage amplitude value from the voltage command value when performing the lockup determination, the lockup determination can be performed based on the comparison result between the magnitude of the voltage command value and a threshold value. Therefore, the lockup determination can be performed based on the voltage command value even when the dc-qc coordinate axes, which are the control system coordinate axes, continue to rotate relative to the d-q coordinate axes, which are the rotor coordinate axes. Furthermore, by averaging the voltage amplitude value over time when performing the lockup determination, the lockup determination can be performed using the time-averaged voltage amplitude value rather than the instantaneous voltage amplitude value. This allows for a determination of the motor M being in a locked state even when the motor M is in a rare locked state or out of step state. In this way, the motor control device 100a can accurately detect the locked state of the motor M, even when the influence of the output voltage error ΔV is significant, for example.

[0074] <Setting of Lock Determination Threshold> The lock determination threshold V_jd is set to a value that is smaller than a first lock determination threshold V_jd_1 based on a minimum value of the theoretical output voltage of the motor M when it is not in a locked state (hereinafter may be referred to as the "unlocked minimum theoretical voltage value") Va_unlock_min, and larger than a second lock determination threshold V_jd_2 based on a maximum value of the theoretical output voltage of the motor M when it is in a locked state (hereinafter may be referred to as the "locked maximum theoretical voltage value") Va_lock_max. Below, a method for calculating the first lock determination threshold V_jd_1 and a method for calculating the second lock determination threshold V_jd_2 will be described.

[0075] <Calculation of First Lock Determination Threshold Value> When the motor M is not in a locked state, the voltage generated in the speed increase section I1 is a composite voltage of the voltage at the resistance and inductance of the motor M (hereinafter, sometimes referred to as the "RL voltage") and the motor induced voltage. The RL voltage is calculated by multiplying the current supply frequency of the IPM 25 (the speed command value ω* ) The RL voltage is minimum when the temperature of the motor M is low (i.e., when the resistance value of the motor M is small). On the other hand, the motor induced voltage is minimum when the temperature of the motor M is high (i.e., when the armature flux linkage Ψa is small) in the operating environment of the motor M. Therefore, there is no time when both the RL voltage and the motor induced voltage are simultaneously minimum in the operating environment of the motor M. However, in the following, to simplify the calculation of the unlocked minimum theoretical voltage value Va_unlock_min, the unlocked minimum theoretical voltage value Va_unlock_min is calculated using the minimum resistance value of the motor M (hereinafter sometimes referred to as the "minimum resistance value") and the minimum armature flux linkage value (hereinafter sometimes referred to as the "minimum armature flux linkage") in the operating environment of the motor M. In this way, by calculating the unlocked minimum theoretical voltage value Va_unlock_min using the minimum resistance value and the minimum armature flux linkage so that the calculated value of the theoretical output voltage of the motor M becomes small, and by setting the first lock determination threshold V_jd_1 to be equal to or lower than that calculated value, the risk of erroneously determining that the motor M is locked when it is not in a locked state can be reduced.

[0076] Furthermore, in the motor M when it is not in a locked state, the orientation of the RL voltage vector relative to the motor induced voltage vector changes depending on the phase θi of the current vector i a (hereinafter, sometimes referred to as the “current vector phase”). Therefore, as shown in FIG. 5 , the amplitude of the voltage resulting from the vector synthesis of the RL voltage vector and the motor induced voltage vector changes nonlinearly depending on the load. FIG. 5 is a diagram illustrating an example of the relationship between the current vector phase and the voltage amplitude in the first embodiment of the present disclosure. Therefore, it is preferable to calculate the unlocked minimum theoretical voltage value Va_unlock_min based on the change in the output voltage amplitude (hereinafter, sometimes referred to as “current vector dependency”) when the state in which the d-axis current i d is equal to the current vector i a and the q-axis current is zero (i.e., a state in which the current vector phase θi is 0 degrees) is defined as no load, and the state in which the d-axis current i d is zero and the q-axis current i q is equal to the current vector i a (i.e., a state in which the current vector phase θi is 90 degrees) is defined as an overload.

[0077] Furthermore, in order to prevent erroneous lock determination, it is desirable to take into consideration the minimum values ​​(for example, about -10%) within the individual variations of the winding resistance R, inductance L, and armature interlinkage magnetic flux Ψa.

[0078] The formula for calculating the theoretical minimum voltage value Va_unlock_min when the motor M is not in a locked state is shown below. In the formula, the d-axis current id and the q-axis current iq are values ​​obtained when the phase θi of the current vector ia is changed from 0 degrees to 90 degrees, and the d-axis inductance Ld and the q-axis inductance Lq are values ​​obtained when the d-axis current command value id * In the following calculation formula, Vd_unlock is the d-axis voltage command value when the motor M is not in a locked state, Vq_unlock is the q-axis voltage command value when the motor M is not in a locked state, R_min is the minimum resistance value taking into account the temperature characteristics and individual variations of the winding resistance R, Ψa_min is the minimum armature flux linkage taking into account the temperature characteristics and individual variations of the motor M, and Va_unlock is the theoretical output voltage when the motor M is not in a locked state.

[0079] The unlocked minimum theoretical voltage value Va_unlock_min calculated as described above is set as the first lock determination threshold value V_jd_1.

[0080] <Calculation of Second Lock Determination Threshold Value> When the motor M is in a locked state, the motor M cannot accelerate in the speed increase section I1, and therefore no motor induced voltage is generated. Therefore, the only voltage generated in the speed increase section I1 is the RL voltage that corresponds to the current supply frequency of the IPM 25 and is applied to the winding resistance R and inductance L of the motor M. Furthermore, in the speed increase section I1, the q-axis current iq is controlled to 0, and therefore the d-axis voltage Vd_lock of the motor M in the locked state is expressed by equation (18), and the q-axis voltage Vq_lock of the motor M in the locked state is expressed by equation (19).

[0081] Therefore, the output voltage Va_lock when the motor M is in a locked state is expressed by equation (20).

[0082] Here, when calculating the locked-state theoretical maximum voltage value Va_lock_max, it is advisable to take into account the effects of parameter fluctuations, as in the calculation of the unlocked state minimum theoretical voltage value Va_unlock_min. For example, the maximum resistance value R_max of motor M under the operating environment can be used as the resistance value of motor M to calculate the voltage at the resistance of motor M. Alternatively, for example, the inductance may be assumed to have no temperature characteristics, and the inductance voltage may be calculated using inductance values ​​(Ld_ini, Lq_ini) that reflect the magnetic saturation characteristics when a current equivalent to the d-axis current command value during synchronous operation is passed through the inductance. Furthermore, for example, when motor M is locked, the dc-qc coordinate axes, which are the control system coordinate axes, continue to rotate relative to the d-q coordinate axes, which are the rotor coordinate axes of motor M. Therefore, the inductance L may be calculated as the average value of the d-axis inductance Ld and the q-axis inductance Lq. Furthermore, in order to prevent erroneous lock determination due to parameter fluctuations, it is desirable to take into consideration the maximum values ​​(for example, about +10%) within the individual variations of the winding resistance R and inductance L.

[0083] The locked-state theoretical maximum voltage value Va_lock_max calculated as described above is set as the second lock determination threshold value V_jd_2.

[0084] The method for calculating the first locking determination threshold V_jd_1 and the method for calculating the second locking determination threshold V_jd_2 have been described above.

[0085] The lock determination threshold V_jd used for the lock determination in the lock determination unit 52 is set to a value smaller than the first lock determination threshold V_jd_1 and larger than the second lock determination threshold V_jd_2. This improves the accuracy of the lock determination. For example, even though the motor M is not in a locked state, if the armature interlinkage magnetic flux decreases due to a low temperature of the motor M and the output voltage decreases, it is possible to prevent an erroneous determination that the motor M is in a locked state. Furthermore, even though the motor M is in a locked state, if the winding resistance increases due to a high temperature of the motor M and the output voltage increases, it is possible to prevent an erroneous determination that the motor M is not in a locked state.

[0086] For example, the locking determination threshold V_jd is set according to equation (21). By setting the locking determination threshold V_jd according to equation (21), the locking determination threshold V_jd can be set to a value closer to the second locking determination threshold V_jd_2 than to the first locking determination threshold V_jd_1. This further reduces the risk of erroneously determining that the motor M is in a locked state when it is not in a locked state, even if the permanent magnet used in the rotor of the motor M is demagnetized.

[0087] <Operation of the Motor Control Device When the Motor is in a Locked State> Figure 6 is a diagram showing an example of the operation of the motor control device according to the first embodiment of the present disclosure. In Figure 6, the change in voltage when the motor M is in a locked state (hereinafter may be referred to as the "locked voltage") is shown by a solid line, and the change in voltage when the motor M is not in a locked state (hereinafter may be referred to as the "unlocked voltage") is shown by a dotted line.

[0088] As described above, the lock determination is performed at the end point T1 of the speed increase section. * is kept constant at a predetermined value id_ini, which is an initial value, and the q-axis current command value iq * is kept constant at 0, and the speed command value ω * is linearly increased from 0 to a predetermined rotation speed ω1.

[0089] The voltage generated in the speed increase section I1 when the motor M is not locked is a composite voltage of the RL voltage and the motor induced voltage, which corresponds to the "unlocked voltage" shown by the dotted line in FIG. 6 . On the other hand, when the motor M is locked, no motor induced voltage is generated. Therefore, the voltage generated in the speed increase section I1 when the motor M is locked is only the RL voltage, which increases according to the energization frequency of the IPM 25. This corresponds to the "locked voltage" shown by the solid line in FIG. 6 . Thus, there is a difference between the output voltage when the motor M is not locked (hereinafter sometimes referred to as the "unlocked output voltage") and the output voltage when the motor M is locked (hereinafter sometimes referred to as the "locked output voltage"). In other words, the presence or absence of a motor induced voltage occurs when the motor M is locked and when it is not locked, which changes the magnitude of the d-axis voltage command value Vd and the q-axis voltage command value Vq, which are generated to cause the motor current to follow the current command value, resulting in a difference in output voltage.

[0090] Therefore, by setting the lock determination threshold V_jd as described above between the unlocked output voltage and the locked output voltage, it becomes possible to make a lock determination.

[0091] The first embodiment has been described above.

[0092] [Example 2] In Example 1, the synchronous operation mode is switched to the position sensorless control mode while suppressing the degree of overexcitation by reducing the d-axis current command value in the synchronous operation mode. Furthermore, in Example 1, a small d-axis current is applied at the end of the current adjustment interval (i.e., at the start of the position sensorless control mode), thereby reducing the risk of the motor M losing synchronization. However, if the load connected to the motor M fluctuates periodically, or if the motor constants set for the motor M deviate from their true values ​​due to changes in the temperature of the motor M or the current value flowing through the motor M, there is a risk that the motor M may lose synchronization during the process of reducing the d-axis current command value.

[0093] Therefore, in the second embodiment, the concern of the motor M losing synchronism in the current adjustment section in the synchronous operation mode is further reduced. Below, the differences from the first embodiment will be described.

[0094] 7 is a diagram illustrating an example of the configuration of a motor control device according to Example 2 of the present disclosure. In FIG. 7, a motor control device 100b includes a PLL controller 31b and an adder 41.

[0095] The PLL controller 31b receives the axis error Δθ from the axis error calculator 30. In the synchronous operation mode, the PLL controller 31b calculates a speed command value ω dq used to generate the rotation phase θ dq based on the axis error Δθ. * In the position sensorless control mode, the PLL controller 31b calculates a speed correction value ωb that corrects the axis error Δθ and outputs the calculated speed correction value ωb. Furthermore, in the position sensorless control mode, the PLL controller 31b calculates a speed estimation value ω based on the axis error Δθ and outputs the calculated speed estimation value ω.

[0096] The adder 41 calculates the speed command value ω * and the speed correction value ωb to calculate the speed sum ω+ to be input to the position estimator 32.

[0097] When the operation mode is the synchronous operation mode, the position estimator 32 generates the rotational phase θdq by integrating the speed sum value ω+. On the other hand, when the operation mode is the position sensorless control mode, the position estimator 32 generates the rotational phase θdq by integrating the speed estimation value ω, as in the first embodiment.

[0098] <Configuration of PLL Controller> Fig. 8 is a diagram illustrating a configuration example of a PLL controller according to Example 2 of the present disclosure. In Fig. 8, a PLL controller 31b includes a proportional integral controller 311, a proportional controller 312, a proportional output controller 313, and a switch SW4.

[0099] The proportional controller 312 calculates a speed fluctuation component ωa that represents a speed fluctuation due to a periodic fluctuation of the load connected to the motor M by proportionally controlling the axis error Δθ.

[0100] The proportional output controller 313 calculates a gradually increasing speed correction value ωb by multiplying the speed fluctuation component ωa by a proportional output coefficient R that changes over time.

[0101] The proportional-plus-integral controller 311 calculates the estimated speed value ω by performing proportional-plus-integral control on the axis error Δθ, similarly to the PLL controller 31a of the first embodiment.

[0102] The switch SW4 has a contact A and a contact B. The operation mode switch 40 connects the switch SW4 to contact B when the operation mode is the synchronous operation mode, and connects the switch SW4 to contact A when the operation mode is the position sensorless control mode. Therefore, when the operation mode is the synchronous operation mode, the speed correction value ωb is output from the PLL controller 31b, and when the operation mode is the position sensorless control mode, the speed estimation value ω is output from the PLL controller 31b.

[0103] <Operation of PLL Controller> FIG. 9 is a diagram illustrating an example of the operation of the proportional output controller according to the second embodiment of the present disclosure.

[0104] As described above, the proportional output controller 313 calculates the speed correction value ωb by multiplying the speed fluctuation component ωa, which is the proportional output, by the proportional output coefficient R, which gradually increases over time. As shown in FIG. 9 , the proportional output coefficient R increases linearly from 0 to 1 from the start point TA of the section (hereinafter sometimes referred to as the “proportional output adjustment section”) in which the magnitude of the speed correction value ωb is adjusted by multiplying the speed fluctuation component ωa by the proportional output coefficient R. For example, the start point of the current adjustment section I2 may be set as the start point TA, and the end point of the current adjustment section I2 may be set as the end point TB. Alternatively, for example, the proportional output coefficient R may be increased to 1 when the axis error Δθ is adjusted to approximately 0, without actually providing a proportional output adjustment section. That is, the start point TA may be set as the point in the current adjustment section when the axis error Δθ is adjusted to approximately 0, and the proportional output coefficient R may be immediately increased to 1 after the start point TA is reached, to reach the end point TB.

[0105] The speed correction value ωb is calculated by multiplying the speed fluctuation component ωa by the proportional output coefficient R shown in FIG. 9, and the magnitude of the speed correction value ωb gradually increases from 0 as time passes.

[0106] By adjusting the magnitude of the speed correction value ωb in the current adjustment section as described above, the proportional response of the PLL control is kept small in the initial section of the current adjustment section, where the d-axis current command value is large and there is little risk of motor M losing synchronization, thereby preventing sudden deceleration of the motor M. On the other hand, in the final section of the current adjustment section, where the d-axis current command value is small and there is a high risk of motor M losing synchronization, the axis error Δθ has converged to near zero, so increasing the proportional response of the PLL control does not pose a problem. Therefore, by increasing the proportional output coefficient R at the end of the current adjustment section or when the axis error Δθ has converged to near zero, it is possible to generate a rotation phase that corresponds to fluctuations in the motor M's speed. This makes it possible to instantaneously correct the rotation phase of the dc-qc coordinate axes in response to fluctuations in the motor M's speed. Therefore, when the d-axis current command value decreases, it is possible to prevent motor M from losing synchronization due to periodic load fluctuations or deviations from the true value of the motor constant.

[0107] The second embodiment has been described above.

[0108] [Embodiment 3] When an IPMSM having a saliency is started under an overload, the current vector at the intersection of the constant torque curve corresponding to the load torque and the MTPA curve deviates from the final current vector during synchronous operation, as shown in Fig. 10. Fig. 10 is a diagram showing the change in the current vector when transitioning to a position sensorless control mode in embodiment 3 of the present disclosure.

[0109] 10, the greater the overload, the greater the deviation of the current vectors between the synchronous operation mode and the position sensorless control mode. Therefore, the greater the overload, the greater the degree of discontinuity in the d-axis current command value and the q-axis current command value when the operation mode is switched from the synchronous operation mode M2 ​​to the position sensorless control mode M3. This raises concerns that switching the operation mode may cause a switching shock in the motor M, which may destabilize the control of the motor M.

[0110] Therefore, in the third embodiment, concerns about instability in the control of the motor M are reduced. Differences from the second embodiment will be described below.

[0111] 11 is a diagram illustrating an example of the configuration of a sensorless current command value generator according to Example 3 of the present disclosure. In Fig. 11, the sensorless current command value generator 14 includes a weighting coefficient generator 141, an MTPA current command value generator 142, a synchronous operation final current command value generator 143, multipliers 144, 145, 146, and 147, and adders 148 and 149.

[0112] The MTPA current command value generator 142 performs the processing performed by the sensorless current command value generator 14 in the second embodiment only for MTPA control, thereby * Based on the MTPA_d-axis current command value id_mt * and MTPA_q-axis current command value iq_mt * That is, the MTPA current command value generator 142 generates the torque command value T * Based on this, the MTPA_d-axis current command value id_mt * and MTPA_q-axis current command value iq_mt * Hereinafter, the MTPA_d-axis current command value and the MTPA_q-axis current command value may be collectively referred to as the "MTPA current command value."

[0113] The synchronous operation final current command value generator 143 generates a final point d-axis current command value id_sy_end, which is the d-axis current command value at the end of the current adjustment section I2 (i.e., the end point of the synchronous operation mode M2). * The synchronous operation final current command value generator 143 generates the final point d-axis current command value id_sy_end * and torque command value T * Based on this, the final point q-axis current command value iq_sy_end is calculated according to the equation (22). * The final point q-axis current command value iq_sy_end generated according to the equation (22) is generated. * is the d-axis current command value on the dc-qc coordinate axes. * The final point d-axis current command value and the final point q-axis current command value are values ​​that lie on a straight line parallel to the qc-axis fixed at θ and fluctuate according to changes in the load torque. Hereinafter, the final point d-axis current command value and the final point q-axis current command value may be collectively referred to as the "final point current command value."

[0114] In addition, when it is known in advance by an experiment or the like that the load torque does not change suddenly in the section where the current command value is switched from the final point current command value to the MTPA current command value (hereinafter, sometimes referred to as the “current vector smoothing section”), the synchronous operation final current command value generator 143 calculates the final point q-axis current command value iq_sy_end according to the equation (22). * Similarly to the d-axis current command value, the q-axis current command value at the end of the current adjustment section I2 is generated as the final point q-axis current command value iq_sy_end * It is also possible to do so.

[0115] The weighting factor generator 141 generates a first weighting factor W_up and a second weighting factor W_down by which the MTPA current command value and the final point current command value are multiplied, respectively.

[0116] The multiplier 144 calculates the MTPA_d-axis current command value id_mt * is multiplied by the first weighting coefficient W_up.

[0117] The multiplier 145 calculates the MTPA_q-axis current command value iq_mt * is multiplied by the first weighting coefficient W_up.

[0118] The multiplier 146 calculates the final point d-axis current command value id_sy_end * is multiplied by the second weighting coefficient W_down.

[0119] The multiplier 147 calculates the final point q-axis current command value iq_sy_end * is multiplied by the second weighting coefficient W_down.

[0120] The adder 148 adds the multiplication result of the multiplier 144 and the multiplication result of the multiplier 146 to calculate the sensorless d-axis current command value id_sl in the current vector smoothing section. * Generate.

[0121] An adder 149 adds the multiplication result of the multiplier 145 and the multiplication result of the multiplier 147 to calculate a sensorless q-axis current command value iq_sl in the current vector smoothing section. * Generate.

[0122] That is, the sensorless d-axis current command value id_sl in the current vector smoothing section * is generated according to equation (23), and the sensorless q-axis current command value iq_sl in the current vector smoothing section * is generated according to equation (24).

[0123] Therefore, when the operation mode is the position sensorless control mode, the MTPA current command value is calculated based on the intersection of the two curves, and corresponds to a first provisional current command value calculated before the final sensorless current command value is calculated by adders 148 and 149. Furthermore, when the operation mode is the position sensorless control mode, the final point current command value is calculated based on the d-axis current command value at the final point of the current adjustment section I2, and corresponds to a second provisional current command value calculated before the final sensorless current command value is calculated by adders 148 and 149.

[0124] <Operation of Sensorless Current Command Value Generator> Fig. 12 is a diagram illustrating an example of the operation of the weighting coefficient generator according to the third embodiment of the present disclosure. As shown in Fig. 12, the weighting coefficient generator 141 generates a first weighting coefficient W_up that increases linearly from 0 to 1 between the start point TX of the current vector smoothing interval and the end point TY of the current vector smoothing interval. The weighting coefficient generator 141 also generates a second weighting coefficient W_down that decreases linearly from 1 to 0 between the start point TX and the end point TY.

[0125] Here, the current vector smoothing section can be set arbitrarily. For example, the current vector smoothing section is set as follows: * It is preferable that the period be set within a position sensorless control mode section, such as a section where ω increases from ω1 to ω2.

[0126] 13 is a diagram illustrating an example of a current vector locus according to the third embodiment of the present disclosure. * and the sensorless q-axis current command value iq_sl *is generated according to equations (23) and (24) using the first weighting coefficient W_up and the second weighting coefficient W_down, so that the continuity of the current vector is maintained even when the operation mode transitions from the synchronous operation mode to the position sensorless control mode, as shown in Fig. 13. Therefore, as shown in Figs. 2 and 3 above, the continuity of the d-axis current command value and the q-axis current command value is maintained when the operation mode is switched from the synchronous operation mode M2 ​​to the position sensorless control mode M3. As a result, switching shock due to current jumps, speed jumps, etc., when transitioning to the position sensorless control mode can be reduced, thereby further improving the stability of control of the motor M when transitioning to the position sensorless control mode.

[0127] The third embodiment has been described above.

[0128] [Fourth Embodiment] There is a concern that a switching shock may occur when transitioning from the synchronous operation mode M2 ​​to the position sensorless control mode M3 due to periodic torque fluctuations at the start of the motor M. In the fourth embodiment, the speed fluctuations due to periodic torque fluctuations at the start of the motor M are suppressed, and the switching shock when transitioning from the synchronous operation mode M2 ​​to the position sensorless control mode M3 is reduced. The following describes the differences from the first embodiment.

[0129] 14 is a diagram illustrating an example of the configuration of a motor control device according to Example 4 of the present disclosure. In Fig. 14, a motor control device 100c includes adders 81, 52, and 62, a speed fluctuation correction value generator 61, a torque fluctuation correction value generator 63, and a q-axis current correction value calculator 64.

[0130] The axis error Δθ calculated by the axis error calculator 30 is input to the PLL controller 31 , the synchronous operation current command value generator 13 and the speed fluctuation correction value generator 61 .

[0131] The position estimator 32 generates the rotational phase θdq of the dc-qc coordinate axes by integrating the speed information ω_cor calculated by the adder 62. When the operation mode is the synchronous operation mode, the switch SW3 is connected to the contact B, and therefore the adder 62 converts the speed fluctuation value Δω output from the speed fluctuation correction value generator 61 into a speed command value ω, which is a command value for the electrical angular velocity input to the motor control device 100c from outside the motor control device 100c (for example, from a higher-level controller). * , a speed command value corrected by the speed fluctuation value Δω (hereinafter sometimes referred to as a "corrected speed command value") is calculated. Therefore, when the operation mode is the synchronous operation mode, the corrected speed command value is input to the position estimator 32 as the speed information ω_cor. Therefore, in the synchronous operation mode, the speed command value ω * The motor M is synchronized with the rotational phase θdq generated based on the speed fluctuation value Δω_cor. On the other hand, when the operation mode is the position sensorless control mode, the switch SW3 is connected to the contact A, so that the adder 62 adds the speed fluctuation value Δω output from the speed fluctuation correction value generator 61 to the speed estimation value ω, which is an estimate of the electrical angular velocity output from the PLL controller 31, to calculate a speed estimation value corrected by the speed fluctuation value Δω (hereinafter sometimes referred to as a "corrected speed estimation value"). Therefore, when the operation mode is the position sensorless control mode, the corrected speed estimation value is input to the position estimator 32 as speed information ω_cor, so that in the position sensorless control mode, the rotational phase θdq is generated based on the speed estimation value ω obtained by feedback control of the axis error Δθ.

[0132] Furthermore, the position estimator 32 generates a mechanical angle phase θm that indicates the rotation angle of the rotor position of the motor M based on the speed information ω_cor input via the switch SW3.

[0133] The PLL controller 31 performs proportional-plus-integral control of the position error Δθ to calculate a speed estimate ω that will make the position error Δθ 0. The speed estimate ω calculated by the PLL controller 31 is input to the adder 62 via the switch SW3, and the corrected speed estimate is input to the position estimator 32, thereby correcting the rotational phase θdq, and as a result, the position error Δθ can approach 0.

[0134] The subtractor 11 calculates the speed command value ω * The speed error ω_dif is calculated by subtracting the speed estimated value ω from the

[0135] The speed controller 12 performs proportional-plus-integral control on the speed error ω_dif to obtain an average torque command value T_ave such that the average component of the periodically pulsating speed error ω_dif approaches zero. * Generate.

[0136] The adder 81 multiplies the torque fluctuation correction value ΔT output from the torque fluctuation correction value generator 63 by the average torque command value T_ave. * The total torque command value T * Calculate.

[0137] When the operation mode is the position sensorless control mode, the sensorless current command value generator 14 generates a total torque command value T based on a constant torque curve, which is a current locus where the total torque is constant. * is converted into a current vector on the dq coordinate axes, the sensorless d-axis current command value id_sl * and the sensorless q-axis current command value iq_sl * Hereinafter, the sensorless d-axis current command value and the sensorless q-axis current command value may be collectively referred to as the "sensorless current command value."

[0138] On the other hand, when the operation mode is the synchronous operation mode, the switch SW1 is connected to the contact B. Therefore, the synchronous operation d-axis current command value id_sy generated by the synchronous operation current command value generator 13 is * is the d-axis current command value id input to the subtractor 18 and the decoupling controller 36. * When the operation mode is the synchronous operation mode, the switch SW2 is connected to the contact B, and therefore the adder 52 calculates the q-axis current correction value Δiq_t output from the q-axis current correction value calculator 64 and the synchronous operation q-axis current command value iq_sy generated by the synchronous operation current command value generator 13. * The synchronous operation q-axis current command value iq_sy corrected by the q-axis current correction value Δiq_t (hereinafter, may be referred to as the “corrected synchronous operation q-axis current command value”) is obtained by adding* Therefore, when the operation mode is the synchronous operation mode, the corrected synchronous operation q-axis current command value iq_sy * ' is the q-axis current command value iq input to the subtractor 19 and the decoupling controller 36. * In the following description, the synchronous operation d-axis current command value and the synchronous operation q-axis current command value may be collectively referred to as the "synchronous operation current command value."

[0139] <Operation of the motor control device when there is no periodic torque fluctuation> When there is no periodic torque fluctuation, the motor control device 100c operates in the same manner as in the first embodiment, as shown in Figures 2 and 3. However, when the operation mode is the positioning mode M1 or the synchronous operation mode M2, the switches SW1 and SW2 are connected to the contact B, and therefore the synchronous operation d-axis current command value id_sy generated by the synchronous operation current command value generator 13 is * and the corrected synchronous operation q-axis current command value iq_sy * ' is the d-axis current command value id input to the subtractors 18 and 19 and the decoupling controller 36. * and the q-axis current command value iq * This becomes:

[0140] <Operation of the motor control device when there is periodic load torque fluctuation> Figures 15 and 16 are diagrams showing an example of operation of the motor control device according to the fourth embodiment of the present disclosure. Figures 15 and 16 show an example of operation when there is periodic load torque fluctuation (hereinafter sometimes referred to as "periodic torque fluctuation"). Figure 15 shows an example of operation under light load, and Figure 16 shows an example of operation under overload. In Figures 15 and 16, in the current adjustment section I2, the motor control device 100c operates in the same manner as in the example of operation when there is no periodic torque fluctuation, thereby adjusting the average current according to the average load torque. In addition, in the current adjustment section I2, the amount of fluctuation in the rotation speed of the motor M is adjusted to a speed fluctuation allowable value |Δω| * The amount of fluctuation in current is adjusted in accordance with the periodic torque fluctuation so that the periodic torque fluctuation is suppressed to within the range of 1 / 2. In this manner, the suppression of periodic torque fluctuation is performed from the current adjustment section I2 of the synchronous operation mode M2.

[0141] 17 is a diagram showing an example of the configuration of a speed fluctuation correction value generator according to the fourth embodiment of the present disclosure. In Fig. 17, the speed fluctuation correction value generator 61 has an axis error fluctuation component separator 611, an axis error fluctuation integrator 612, and a speed fluctuation demodulator 613. The speed fluctuation correction value generator 61 receives the mechanical angle phase θm from the position estimator 32 and the axis error Δθ from the axis error calculator 30.

[0142] In the motor control device 100c, the fluctuation in the axis error Δθ caused by periodic torque fluctuations (hereinafter sometimes referred to as "axis error fluctuations") is fed back, and the fluctuation in the rotational speed of the motor M (hereinafter sometimes referred to as "speed fluctuations") required to make the axis error fluctuations zero is generated for each mechanical angle period.

[0143] Therefore, the axis error fluctuation component separator 611 separates the fundamental wave component of the axis error fluctuation, from which the harmonic components have been removed, into a sine component and a cosine component, based on the axis error Δθ and the mechanical angle phase θm. The axis error fluctuation component separator 611 separates the fundamental wave component of the axis error fluctuation into a sine component and a cosine component by calculating the first Fourier coefficient Δθsin and the second Fourier coefficient Δθcos according to equations (25) and (26). The axis error fluctuation component separator 611 calculates and updates the first Fourier coefficient Δθsin and the second Fourier coefficient Δθcos for each mechanical angle cycle. By updating the Fourier coefficient of the fundamental wave component for each mechanical angle cycle, the axis error fluctuation fundamental wave component from which the harmonic components of the axis error fluctuation have been removed can be accurately extracted.

[0144] The axis error fluctuation integrator 612 calculates an integrated value Δθsin_i of the product Δθsin·k_Δθ of the first Fourier coefficient Δθsin and the correction gain k_Δθ for correcting the axis error fluctuation according to equation (27), and calculates an integrated value Δθcos_i of the product Δθcos·k_Δθ of the second Fourier coefficient Δθcos and the correction gain k_Δθ according to equation (28). Δθsin_i_old in equation (27) is the integrated value Δθsin_i calculated in the previous mechanical angle period, and Δθcos_i_old in equation (28) is the integrated value Δθcos_i calculated in the previous mechanical angle period. The calculation of the integrated values ​​Δθsin_i and Δθcos_i begins in the current adjustment interval I2 and continues in position sensorless control mode M3.

[0145] The speed fluctuation demodulator 613 demodulates the speed fluctuation value Δω using the integrated values ​​Δθsin_i and Δθcos_i according to equation (29) to generate a speed fluctuation value Δω. By generating the speed fluctuation value Δω according to equation (29), a speed fluctuation whose phase lags by π / 2 from the integrated value of the axis error fluctuation is generated, and an instantaneous value of the speed fluctuation at the mechanical angle phase θm is generated. Here, by generating a speed fluctuation whose phase lags by π / 2 relative to the axis error fluctuation, a position fluctuation expressed by the integral of the speed fluctuation occurs with a phase that lags by an additional π / 2 relative to the speed fluctuation. Therefore, the position fluctuation is in opposite phase to the axis error fluctuation, and the axis error fluctuation converges to zero.

[0146] If a theoretical mathematical relationship holds between the position error fluctuation and the speed fluctuation, it is possible to converge the position error fluctuation to zero by generating a speed fluctuation value Δω whose phase lags the phase of the position error fluctuation by a fixed value of π / 2 according to equation (29). However, if the position error Δθ itself contains an error, the theoretical mathematical relationship between the position error fluctuation and the speed fluctuation no longer holds, and it may not be possible to converge the position error fluctuation to zero with a speed fluctuation phase that lags the phase of the position error fluctuation by a fixed value of π / 2. The error in the position error Δθ itself is thought to arise from the response speed of the position error calculator 30, which depends on the rotation speed of the motor M. Therefore, if the position error Δθ itself contains an error, the position error fluctuation can be converged to zero by changing the phase shift θshift of the speed fluctuation relative to the phase of the position error fluctuation using the rotation speed of the motor M. Therefore, when the axis error Δθ itself contains an error, it is preferable that the speed fluctuation demodulator 613 generates the speed fluctuation value Δω according to the equations (30) to (33). * ) is the speed command value ω * is a function that takes the speed command value ω as input. * The phase of the speed fluctuation is expressed by, for example, a linear or quadratic function so that the phase of the speed fluctuation changes depending on the

[0147] As described above, the preferred method for generating the speed fluctuation value Δω differs depending on whether or not the axis error Δθ itself contains an error. Therefore, it is preferable to confirm in advance by experiment or the like whether or not the axis error Δθ itself contains an error, and to set in advance in the motor control device 100c a method for generating the speed fluctuation value Δω that corresponds to whether or not the axis error Δθ itself contains an error.

[0148] The speed fluctuation value Δω generated according to the equation (29) or the equation (30) is * and is used as a speed fluctuation correction value for correcting the speed estimate value ω.

[0149] The configuration of the speed fluctuation correction value generator 61 has been described above.

[0150] Returning to FIG. 14, when the operation mode is the synchronous operation mode, the adder 62 calculates the speed command value ω * When the operation mode is the position sensorless control mode, the adder 62 adds the speed fluctuation value Δω to the speed estimated value ω as a speed fluctuation correction value to calculate the speed information ω_cor, which is the corrected speed command value.

[0151] The position estimator 32 generates the rotational phase θdq by integrating the speed information ω_cor according to equation (35).

[0152] Furthermore, the position estimator 32 generates the mechanical angle phase θm in accordance with equation (36) based on the speed information ω_cor.

[0153] As described above, the speed command value ω * Furthermore, since the fluctuation component of the estimated velocity value ω is corrected by the velocity fluctuation value Δω, accurate position estimation can be performed in which the dq coordinate axes and the dc-qc coordinate axes coincide with each other, including the fluctuation component.

[0154] <Configuration of Torque Fluctuation Correction Value Generator> Fig. 18 is a diagram showing an example configuration of a torque fluctuation correction value generator according to a fourth embodiment of the present disclosure. In Fig. 18, the torque fluctuation correction value generator 63 includes a speed fluctuation component separator 631, a speed fluctuation amplitude calculator 632, a subtractor 633, a correction torque amplitude calculator 634, a speed fluctuation phase modifier 635, an orthogonal component separator 636, and a correction torque demodulator 637. The speed fluctuation value Δω is input to the torque fluctuation correction value generator 63 from the speed fluctuation correction value generator 61, and the mechanical angle phase θm is input to the torque fluctuation correction value generator 63 from the outside of the motor control device 100c (for example, from a higher-level controller). * is input. Speed ​​fluctuation tolerance |Δω| *is a tolerance for the amplitude value of the speed fluctuation, and is set to a value that keeps the vibration generated in the motor M within a tolerance range. The torque fluctuation correction value generator 63 calculates the torque fluctuation correction value when the fluctuation of the speed estimation value ω is less than the speed fluctuation tolerance value |Δω| * The torque fluctuation correction value ΔT is generated as follows so that the torque fluctuation is suppressed within the predetermined range.

[0155] The torque fluctuation correction value generator 63 adjusts the amplitude and phase of the torque fluctuation correction value ΔT for each mechanical angle period based on the fed-back speed fluctuation value Δω so that the vibrations generated in the motor M are within a range of speed fluctuations that will not cause problems in actual use.

[0156] Therefore, the speed fluctuation component separator 631 separates the fundamental wave component of the speed fluctuation, from which harmonic components have been removed, into a sine component and a cosine component based on the speed fluctuation value Δω and the mechanical angle phase θm. The speed fluctuation component separator 631 separates the fundamental wave component of the speed fluctuation into a sine component and a cosine component by calculating the third Fourier coefficient ωsin and the fourth Fourier coefficient ωcos according to equations (37) and (38). The speed fluctuation component separator 631 calculates and updates the third Fourier coefficient ωsin and the fourth Fourier coefficient ωcos for each mechanical angle period. By updating the Fourier coefficient of the fundamental wave component for each mechanical angle period, the speed fluctuation fundamental wave component from which harmonic components of the speed fluctuation have been removed can be accurately extracted.

[0157] The speed fluctuation amplitude calculator 632 calculates the amplitude value |Δω| of the speed fluctuation fundamental wave component based on the third Fourier coefficient ωsin and the fourth Fourier coefficient ωcos in accordance with equation (39). As described above, the third Fourier coefficient ωsin and the fourth Fourier coefficient ωcos are updated for each mechanical angle period, and therefore the amplitude value |Δω| is also updated for each mechanical angle period.

[0158] The subtractor 633 subtracts the speed fluctuation allowable value |Δω| from the amplitude value |Δω|. * is subtracted, and the difference value |Δω|-|Δω| * is output to the correction torque amplitude calculator 634.

[0159] The correction torque amplitude calculator 634 calculates the difference value |Δω|−|Δω| according to the equation (40).* and the multiplication result k_Δω·(|Δω|−|Δω|) by the correction gain k_Δω for correcting the speed fluctuation value Δω. * ) for each mechanical angle period, thereby calculating the corrected torque amplitude |ΔT| for each mechanical angle period. In equation (40), |ΔT|_old is the corrected torque amplitude |ΔT| calculated for the previous mechanical angle period. The amount of change in the corrected torque amplitude |ΔT| is determined by the magnitude of the correction gain k_Δω in equation (40). By setting the correction gain k_Δω in equation (40) to an appropriate value, it is possible to prevent hunting of speed fluctuations at the boundary of the speed fluctuation allowable value, and to prevent the speed fluctuations from exceeding the speed fluctuation allowable value due to a sudden change in load torque, resulting in vibration and noise in the motor M. Note that the calculation of the corrected torque amplitude |ΔT| starts in the current adjustment section I2 and continues in the position sensorless control mode M3.

[0160] The speed fluctuation phase corrector 635 calculates an integrated value ωsin_i of the multiplication result ωsin·k_Δω of the third Fourier coefficient ωsin and the correction gain k_Δω according to equation (41), and calculates an integrated value ωcos_i of the multiplication result ωcos·k_Δω of the fourth Fourier coefficient ωcos and the correction gain k_Δω according to equation (42). ωsin_i_old in equation (41) is the integrated value ωsin_i calculated in the previous mechanical angle period, and ωcos_i_old in equation (42) is the integrated value ωcos_i calculated in the previous mechanical angle period.

[0161] Furthermore, the speed fluctuation phase corrector 635 calculates a phase φωi (hereinafter sometimes referred to as the "speed fluctuation correction phase") obtained by correcting the phase of the speed fluctuation component based on the integrated values ​​ωsin_i and ωcos_i in accordance with equation (43). The speed fluctuation correction phase φωi serves as a reference for the torque control phase, and a phase delayed by π / 2 from the speed fluctuation correction phase φωi serves as the correction torque phase.

[0162] The orthogonal component separator 636 calculates a sine component ωsin_i of the fundamental wave whose amplitude is the correction torque amplitude |ΔT| and whose phase is the speed fluctuation correction phase φωi according to equation (44), and calculates a cosine component ωcos_i of the fundamental wave whose amplitude is the correction torque amplitude |ΔT| and whose phase is the speed fluctuation correction phase φωi according to equation (45). This processing rewrites equations (41) and (42) based on the results of equations (44) and (45), and also serves to prevent divergence during phase correction by the calculation of equations (41) and (42).

[0163] The correction torque demodulator 637 demodulates the torque fluctuation correction value ΔT using the sine component ωsin_i and the cosine component ωcos_i in accordance with equation (46) to generate the torque fluctuation correction value ΔT. By generating the torque fluctuation correction value ΔT in accordance with equation (46), a correction torque phase that lags behind the speed fluctuation correction phase φωi by π / 2 is calculated, and an instantaneous value of the correction torque at the mechanical angle phase θm is generated.

[0164] The correction torque demodulator 637 may generate the torque fluctuation correction value ΔT according to equation (47) instead of equation (46).

[0165] The configuration of the torque fluctuation correction value generator 63 has been described above. The torque fluctuation correction value ΔT generated as above is used to calculate the average torque command value T_ave. * By correcting the difference, fluctuations in the rotation speed of the motor M are suppressed.

[0166] 14, the torque fluctuation correction value ΔT generated by the torque fluctuation correction value generator 63 is input to the adder 81 and the q-axis current correction value calculator 64. The q-axis current correction value calculator 64 also receives the synchronous operation d-axis current command value id_sy from the synchronous operation current command value generator 13. * is entered.

[0167] The q-axis current correction value calculator 64 converts the torque-dimensional physical quantity into a current-dimensional physical quantity according to equation (48), thereby calculating the q-axis current correction value Δiq_t from the torque fluctuation correction value ΔT.

[0168] The adder 52 calculates the q-axis current correction value Δiq_t as the synchronous operation q-axis current command value iq_sy * The corrected synchronous operation q-axis current command value iq_sy is obtained by adding * ' is calculated.

[0169] As described above, in the current adjustment section I2 of the synchronous operation mode M2, the speed fluctuation value Δω required to suppress the axis error fluctuation is generated. Furthermore, the torque fluctuation correction value ΔT is generated based on the speed fluctuation value Δω, and the corrected synchronous operation q-axis current command value iq_sy generated based on the torque fluctuation correction value ΔT * Current control is performed by the motor M'. This suppresses speed fluctuations due to periodic torque fluctuations when the motor M is started. This reduces vibration and noise of the motor M, and also reduces switching shock when transitioning to the position sensorless control mode M3.

[0170] Here, the speed fluctuation correction value generator 61 generates a speed fluctuation value Δω required to make the axis error fluctuation 0. As a result, from the viewpoint of improving the efficiency of the motor M, the speed fluctuation allowable value |Δω| * is set to a large value, the fluctuation of the axis error Δθ is suppressed. Therefore, torque control functions normally, vibration and noise of the motor M can be reduced, and switching shock when switching to the position sensorless control mode M3 can be reduced.

[0171] Furthermore, the torque fluctuation correction value generator 63 generates a torque fluctuation correction value ΔT based on the speed fluctuation value Δω. This makes it possible to achieve torque control based on the torque fluctuation correction value ΔT regardless of whether the operation mode is the synchronous operation mode or the sensorless control mode.

[0172] In the above description, an example has been given in which motor control device 100c has separate speed fluctuation correction value generator 61 and torque fluctuation correction value generator 63. However, instead of having separate speed fluctuation correction value generator 61 and torque fluctuation correction value generator 63, motor control device 100c may have a "torque controller" that integrates speed fluctuation correction value generator 61 and torque fluctuation correction value generator 63.

[0173] The fourth embodiment has been described above.

[0174] [Example 5] Depending on the load and parameters that determine the characteristics of the motor M, such as the winding resistance, d-axis inductance, q-axis inductance, and flux linkage, the fluctuation amplitude of the q-axis current correction value Δiq_t increases, and the current detection value may not follow the current command value due to the response delay of the current controller 20 and the influence of interference between the d and q axes.

[0175] Therefore, in the fifth embodiment, the ability of the detected current value to follow the current command value is improved. The differences from the fourth embodiment will be described below.

[0176] <Configuration of Motor Control Device> Fig. 19 is a diagram illustrating an example of the configuration of a motor control device according to a fifth embodiment of the present disclosure. In Fig. 19, a motor control device 100d includes a current tracking error correction value generator 71 and adders 72 and 73. The current tracking error correction value generator 71 receives a d-axis current command value id * and the q-axis current command value iq * The current tracking error correction value generator 71 also receives the mechanical angle phase θm from the position estimator 32, and the d-axis current detection value id and the q-axis current detection value iq from the uvw / dq converter 29.

[0177] <Configuration of Current Tracking Error Correction Value Generator> Here, the detected current value fluctuates with the period of the periodic torque fluctuation. Therefore, although the average value of the detected current value follows the average value of the current command value, the fluctuation component of the detected current value may not follow the fluctuation component of the current command value due to the effect of response delay of the current controller 20 and interference between the d- and q-axes. When the detected current value does not follow the current command value, a phase difference occurs between the detected current value and the current command value.

[0178] Therefore, the current tracking error correction value generator 71 has the following configuration. Fig. 20 is a diagram showing an example configuration of the current tracking error correction value generator according to the fifth embodiment of the present disclosure. In Fig. 20, the current tracking error correction value generator 71 includes subtractors 711 and 712, a d-axis current error component separator 713, a q-axis current error component separator 714, a d-axis current error integrator 715, a q-axis current error integrator 716, a d-axis current error correction value demodulator 717, and a q-axis current error correction value demodulator 718.

[0179] The subtractor 711 subtracts the d-axis current command value id from the d-axis current detection value id according to equation (49). * The d-axis current fluctuation error id_err is calculated by subtracting

[0180] The d-axis current error component separator 713 calculates a fifth Fourier coefficient id_err_sin and a sixth Fourier coefficient id_err_cos according to equations (50) and (51) to separate the fundamental component of the d-axis current fluctuation error id_err, from which harmonic components have been removed, into a sin component and a cos component. The d-axis current error component separator 713 calculates and updates the fifth Fourier coefficient id_err_sin and the sixth Fourier coefficient id_err_cos for each mechanical angle period. By updating the Fourier coefficient of the fundamental component for each mechanical angle period, the d-axis current error component separator 713 can accurately extract the d-axis current fluctuation error fundamental component from which harmonic components of the d-axis current fluctuation error id_err have been removed.

[0181] The d-axis current error integrator 715 calculates an integrated value id_err_sin_i of the multiplication result id_err_sin·k_Δid of the fifth Fourier coefficient id_err_sin and the correction gain k_Δid for correcting the d-axis current fluctuation error id_err according to equation (52), and calculates an integrated value id_err_cos_i of the multiplication result id_err_cos·k_Δid of the sixth Fourier coefficient id_err_cos and the correction gain k_Δid according to equation (53). In equation (52), id_err_sin_i_old is the integrated value id_err_sin_i calculated in the previous mechanical angle period, and in equation (53), id_err_cos_i_old is the integrated value id_err_cos_i calculated in the previous mechanical angle period. Furthermore, calculation of the integrated value id_err_sin_i and the integrated value id_err_cos_i starts in the current adjustment section I2 and continues in the position sensorless control mode M3.

[0182] The d-axis current error correction value demodulator 717 demodulates the d-axis current error correction value Δid_i using the integrated values ​​id_err_sin_i and id_err_cos_i in accordance with equation (54) to generate the d-axis current error correction value Δid_i, and outputs the generated d-axis current error correction value Δid_i to the adder 72. By generating the d-axis current error correction value Δid_i in accordance with equation (54), a d-axis current error correction value Δid_i whose phase is inverted from the integrated value of the d-axis current fluctuation error id_err is generated, and an instantaneous value of the d-axis current error correction value Δid_i at the mechanical angle phase θm is generated.

[0183] On the other hand, the subtractor 712 calculates the q-axis current command value iq from the q-axis current detection value iq according to the equation (55). * The q-axis current fluctuation error iq_err is calculated by subtracting

[0184] The q-axis current error component separator 714 calculates a seventh Fourier coefficient iq_err_sin and an eighth Fourier coefficient iq_err_cos according to equations (56) and (57), thereby separating the fundamental component of the q-axis current fluctuation error iq_err, from which harmonic components have been removed, into a sin component and a cos component. The q-axis current error component separator 714 calculates and updates the seventh Fourier coefficient iq_err_sin and the eighth Fourier coefficient iq_err_cos for each mechanical angle cycle. By updating the Fourier coefficient of the fundamental component for each mechanical angle cycle, the q-axis current error component separator 714 can accurately extract the q-axis current fluctuation error fundamental component from which harmonic components of the q-axis current fluctuation error iq_err have been removed.

[0185] The q-axis current error integrator 716 calculates an integrated value iq_err_sin_i of the multiplication result iq_err_sin·k_Δiq of the seventh Fourier coefficient iq_err_sin and the correction gain k_Δiq for correcting the q-axis current fluctuation error iq_err according to equation (58), and calculates an integrated value iq_err_cos_i of the multiplication result iq_err_cos·k_Δiq of the eighth Fourier coefficient iq_err_cos and the correction gain k_Δiq according to equation (59). iq_err_sin_i_old in equation (58) is the integrated value iq_err_sin_i calculated in the previous mechanical angle period, and iq_err_cos_i_old in equation (59) is the integrated value iq_err_cos_i calculated in the previous mechanical angle period. Furthermore, calculation of the integrated value iq_err_sin_i and the integrated value iq_err_cos_i starts in the current adjustment section I2 and continues in the position sensorless control mode M3.

[0186] The q-axis current error correction value demodulator 718 demodulates the q-axis current error correction value Δiq_i using the integrated values ​​iq_err_sin_i and iq_err_cos_i according to equation (60) to generate the q-axis current error correction value Δiq_i, and outputs the generated q-axis current error correction value Δiq_i to the adder 73. By generating the q-axis current error correction value Δiq_i according to equation (60), a q-axis current error correction value Δiq_i whose phase is inverted from the integrated value of the q-axis current fluctuation error iq_err is generated, and an instantaneous value of the q-axis current error correction value Δiq_i at the mechanical angle phase θm is generated.

[0187] Returning to FIG. 19, the adder 72 calculates the d-axis current command value id * By adding the d-axis current error correction value Δid_i to the d-axis current command value id_FF, which is the d-axis current command value corrected by the d-axis current error correction value Δid_i, * Calculate.

[0188] The adder 73 calculates the q-axis current command value iq according to the equation (62). *By adding the q-axis current error correction value Δiq_i to the q-axis current command value iq_FF, which is the q-axis current command value corrected by the q-axis current error correction value Δiq_i, * Calculate.

[0189] The subtractor 18 calculates the corrected d-axis current command value id_FF * The subtractor 19 calculates the d-axis current error id_dif by subtracting the d-axis current detection value id from the corrected q-axis current command value iq_FF. * The q-axis current error iq_dif' is calculated by subtracting the q-axis current detection value iq from the q-axis current error iq_dif'.

[0190] The current controller 20 calculates a d-axis voltage command value Vd_cc before decoupling by proportional-integral control of the d-axis current error id_dif, and calculates a q-axis voltage command value Vq_cc before decoupling by proportional-integral control of the q-axis current error iq_dif.

[0191] As described above, the d-axis current error correction value Δid_i and the q-axis current error correction value Δiq_i are used to calculate the d-axis current command value id * and the q-axis current command value iq * By correcting the above, it is possible to suppress the response delay of the current controller 20 and interference between the d and q axes that accompanies current control, thereby improving the ability of the detected current value to follow the current command value.

[0192] The fifth embodiment has been described above.

[0193] As described above, the motor control device (motor control devices 100a, 100b, 100c, and 100d of the embodiments) of the present disclosure controls a motor (motor M of the embodiments) so that its rotational speed matches a speed command value. The motor control device also has a synchronous operation mode in which the motor is synchronized with a rotational phase obtained by integrating a speed command value, and a position sensorless control mode in which the motor is controlled so that a speed estimate obtained by feedback control of an axis error between a control system coordinate axis and a rotor coordinate axis matches a speed command value. The motor control device also has a synchronous operation current command value generator (synchronous operation current command value generator 13 of the embodiments), a voltage command value generator (current controller 20, decoupling controller 36, and adder 21 of the embodiments), and a determiner (lock determiner 52 of the embodiments). The synchronous operation current command value generator generates a current command value in the synchronous operation mode. The voltage command value generator generates a voltage command value so that the current flowing through the motor matches the current command value. The determiner determines whether the motor is locked or not based on the voltage command value.

[0194] For example, the determiner determines whether the motor is locked or not based on the magnitude of the voltage command value.

[0195] Furthermore, for example, the synchronous operation mode has a speed increase section and a current adjustment section, and the determiner determines whether the motor is locked or not based on the voltage command value in the speed increase section.

[0196] Further, for example, the determiner determines whether the motor is locked or not based on the result of comparing the voltage command value with a threshold value (lock determination threshold value V_jd in the embodiment).

[0197] For example, the threshold value is set to a value between the motor output voltage value when the motor is locked (the second lock determination threshold value V_jd_2 in the embodiment) and the motor output voltage value when the motor is not locked (the first lock determination threshold value V_jd_1).

[0198] The motor control device of the present disclosure also includes a corrector (voltage calculator 51 in the embodiment). The corrector corrects the voltage command value and outputs a corrected voltage command value, which is the corrected voltage command value. The determiner determines whether the motor is locked based on the magnitude of the corrected voltage command value.

[0199] Furthermore, the synchronous operation current command value generator increases the rotational speed of the motor to a predetermined rotational speed (predetermined rotational speed ω1 in the embodiment) in the speed increase section, and then, in the current adjustment section, adjusts the q-axis current command value by performing feedback control so that the axial error approaches 0 while bringing the d-axis current command value closer to the target command value (target command value id_sy_end in the embodiment). The determiner can determine whether the motor is locked in the speed increase section, and this can improve the reliability of the feedback control of the axial error in the current adjustment section.

[0200] The motor control device of the present disclosure also includes a position sensorless current command value generator (sensorless current command value generator 14 in the embodiment). The synchronous operation current command value generator sets the d-axis current command value to a predetermined value (predetermined value id_ini in the embodiment) that is greater than the target command value in the speed increase section. The position sensorless current command value generator adjusts the d-axis current command value to a value smaller than the target command value in the position sensorless control mode.

[0201] In addition, the synchronous operation current command value generator brings the d-axis current command value closer to a target command value having a positive value near 0 in the synchronous operation mode, and the position sensorless current command value generator adjusts the d-axis current command value to a value less than 0 in the position sensorless control mode.

[0202] The motor control device according to the present disclosure also includes a speed controller (speed controller 12 in the embodiment). When the operation mode transitions from the synchronous operation mode to the position sensorless control mode, the speed controller sets an initial value of the torque command value to bring the difference between the speed command value and the estimated speed value closer to zero, based on the final value of the d-axis current command value in the synchronous operation mode and the final value of the q-axis current command value in the synchronous operation mode.

[0203] The motor control device of the present disclosure also includes a PLL controller (PLL controller 31b in the embodiment) and a position estimator (position estimator 32 in the embodiment). The PLL controller calculates a speed fluctuation component (speed fluctuation component ωa in the embodiment) by proportionally controlling the axis error in the current adjustment period and calculates a speed correction value based on the speed fluctuation component, while in the position sensorless control mode, calculates a speed estimated value by proportional-plus-integral control of the axis error. The position estimator generates a rotational phase based on the speed command value and the speed correction value in the current adjustment period, while in the position sensorless control mode, generates the rotational phase by integrating the speed estimated value.

[0204] Furthermore, in the current adjustment section, the PLL controller calculates a speed correction value by multiplying the speed fluctuation component by a coefficient that increases with the passage of time.

[0205] The position sensorless current command value generator includes a first current command generator (MTPA current command value generator 142 in the embodiment), a second current command generator (synchronous operation final current command value generator 143 in the embodiment), and a coefficient generator (weighting coefficient generator 141 in the embodiment). The first current command generator generates a first tentative current command value (MTPA current command value in the embodiment) in the position sensorless control mode. The second current command generator generates a second tentative current command value (final point current command value in the embodiment) based on the d-axis current command value immediately before the operation mode transitions from the synchronous operation mode to the position sensorless control mode. The coefficient generator generates an increase coefficient (first weighting coefficient W_up in the embodiment) that increases from 0 to 1 from the start to the end of a smoothing interval (current vector smoothing interval in the embodiment) that is set within an interval in which the operation mode is the position sensorless control mode, and a decrease coefficient (second weighting coefficient W_down in the embodiment) that decreases from 1 to 0 from the start to the end of the smoothing interval. The position sensorless current command value generator generates a current command value in the position sensorless control mode by adding the product of the first tentative current command value and the increase coefficient to the product of the second tentative current command value and the decrease coefficient.

[0206] The motor control device of the present disclosure also has a torque controller (a speed fluctuation correction value generator 61 and a torque fluctuation correction value generator 63 in the embodiment). In the speed increase section, the synchronous operation current command value generator sets the current command value to a predetermined value (a predetermined value id_ini in the embodiment) to increase the motor rotation speed to a predetermined rotation speed (a predetermined rotation speed ω1 in the embodiment), and then in the current adjustment section, adjusts the current command value according to the motor load. In the current adjustment section, the torque controller controls the torque of the motor.

[0207] The torque controller also has a speed fluctuation correction value generator (speed fluctuation correction value generator 61 in the embodiment). The speed fluctuation correction value generator generates a speed fluctuation correction value (speed fluctuation value Δω in the embodiment) based on the fluctuation components of the axial error in the current adjustment section. The determiner can determine whether the motor is locked in the speed increase section, thereby improving the reliability of feedback control of the axial error in the current adjustment section. Therefore, the reliability of the speed fluctuation correction value based on the fluctuation components of the axial error when the operation mode transitions to the position sensorless control mode is also improved, ensuring reliable vibration suppression through torque control.

[0208] The torque controller also has a torque fluctuation correction value generator (torque fluctuation correction value generator 63 in the embodiment). The torque fluctuation correction value generator generates a torque fluctuation correction value (torque fluctuation correction value ΔT in the embodiment) for suppressing fluctuations in the rotation speed of the motor based on the speed fluctuation correction value. The motor control device of the present disclosure also has a current correction value calculator (q-axis current correction value calculator 64 in the embodiment). The current correction value calculator calculates a current correction value (q-axis current correction value Δiq_t in the embodiment) based on the torque fluctuation correction value. The current correction value is calculated based on a q-axis current command value (synchronous operation q-axis current command value iq_sy in the embodiment). * ) (q-axis current correction value Δiq_t in the embodiment).

[0209] In addition, the synchronous operation current command value generator generates a d-axis current command value (synchronous operation d-axis current command value id_sy in the embodiment) in the current adjustment section. *) to a target command value (target command value id_sy_end in the embodiment) having a value smaller than a predetermined value, and by performing feedback control so that the axis error approaches 0, the q-axis current command value (synchronous operation q-axis current command value iq_sy in the embodiment) is obtained. * ) to adjust the

[0210] The motor control device of the present disclosure also includes a current tracking error correction value generator (current tracking error correction value generator 71 in the embodiment) and adders (adders 72 and 73 in the embodiment). The current tracking error correction value generator generates current tracking error correction values ​​(d-axis current error correction value Δid_i and q-axis current error correction value Δiq_i in the embodiment) based on the current error between the current command value and the current detection value (d-axis current fluctuation error id_err and q-axis current fluctuation error iq_err in the embodiment). The adder generates a corrected current command value (corrected d-axis current command value id_FF in the embodiment) by adding the current tracking error correction value to the current command value. * , corrected q-axis current command value iq_FF * ) is calculated.

[0211] The current tracking error correction value generator integrates the current errors and generates a value with the phase of the current error integration result inverted as the current tracking error correction value.

[0212] The components of each unit shown in the figure do not necessarily have to be physically configured as shown in the figure. The specific form of distribution and integration of the components of each unit is not limited to that shown in the figure, and all or part of the components of each unit may be functionally or physically distributed or integrated in any unit depending on various loads, usage conditions, etc.

[0213] Furthermore, all or any part of the various processing functions described above may be executed using a processor such as a CPU (Central Processing Unit), MPU (Micro Processing Unit), or MCU (Micro Controller Unit), etc. Also, all or any part of the various processing functions may be executed on a program executed by a processor or on hardware using wired logic.

[0214] 100a, 100b, 100c, 100d Motor control device 12 Speed ​​controller 13 Synchronous operation current command value generator 14 Sensorless current command value generator 51 Voltage calculator 512 Voltage corrector 52 Lock determiner

Claims

1. A motor control device that controls a motor so that its rotational speed coincides with a speed command value, having a synchronous operation mode in which the motor is synchronized with a rotational phase obtained by integrating the speed command value, and a position sensorless control mode in which the motor is controlled so that a speed estimated value obtained by feedback control of an axial error between a control system coordinate axis and a rotor coordinate axis coincides with the speed command value, the motor control device comprising: a synchronous operation current command value generator that generates a current command value in the synchronous operation mode; a voltage command value generator that generates a voltage command value so that a current flowing through the motor coincides with the current command value; and a determiner that determines whether the motor is locked based on the voltage command value.

2. The motor control device according to claim 1, wherein the determiner determines whether or not the motor is locked based on the magnitude of the voltage command value.

3. The motor control device according to claim 1, wherein the synchronous operation mode has a speed increase section and a current adjustment section, and the determiner determines whether or not the motor is locked based on the voltage command value in the speed increase section.

4. The motor control device according to claim 2, wherein the determiner determines whether or not the motor is locked based on a result of comparing the voltage command value with a threshold value.

5. The motor control device according to claim 4, wherein the threshold value is set to a value between the output voltage value of the motor when the motor is locked and the output voltage value of the motor when the motor is not locked.

6. The motor control device according to claim 1, further comprising a compensator that corrects the voltage command value and outputs a corrected voltage command value, which is the voltage command value after the correction, wherein the determiner determines whether or not the motor is locked based on the magnitude of the corrected voltage command value.

7. The motor control device according to claim 3, wherein the synchronous operation current command value generator increases the rotational speed of the motor to a predetermined rotational speed in the speed increase section, and then, in the current adjustment section, adjusts the q-axis current command value by performing feedback control so as to bring the axis error closer to zero while bringing the d-axis current command value closer to a target command value.

8. The motor control device according to claim 7, further comprising: a position sensorless current command value generator that sets the d-axis current command value to a predetermined value greater than the target command value in the speed increase section; and that adjusts the d-axis current command value to a value smaller than the target command value in the position sensorless control mode.

9. The motor control device according to claim 8, wherein the synchronous operation current command value generator brings the d-axis current command value closer to the target command value having a positive value near 0 in the synchronous operation mode, and the position sensorless current command value generator adjusts the d-axis current command value to a value equal to or less than 0 in the position sensorless control mode.

10. The motor control device according to claim 7, further comprising a speed controller that sets an initial value of a torque command value so as to bring a difference between the speed command value and the speed estimation value closer to zero, based on the final value of the d-axis current command value in the synchronous operation mode and the final value of the q-axis current command value in the synchronous operation mode, when the operation mode transitions from the synchronous operation mode to the position sensorless control mode.

11. The motor control device according to claim 7, further comprising: a PLL controller that calculates a speed fluctuation component by proportionally controlling the axial error in the current adjustment section, calculates a speed correction value based on the speed fluctuation component, and calculates the speed estimated value by proportional-integral control of the axial error in the position sensorless control mode; and a position estimator that generates the rotation phase based on the speed command value and the speed correction value in the current adjustment section, and generates the rotation phase by integrating the speed estimated value in the position sensorless control mode.

12. The motor control device according to claim 11, wherein the PLL controller calculates the speed correction value by multiplying the speed fluctuation component by a coefficient that increases with time in the current adjustment section.

13. The motor control device according to claim 7, further comprising a position sensorless current command value generator having: a first current command generator generating a first tentative current command value in the position sensorless control mode; a second current command generator generating a second tentative current command value based on a d-axis current command value immediately before an operation mode transitions from the synchronous operation mode to the position sensorless control mode; and a coefficient generator generating, in a smoothing section set within a section in which the operation mode is in the position sensorless control mode, an increase coefficient that increases from 0 to 1 from the start to the end of the smoothing section and a decrease coefficient that decreases from 1 to 0 from the start to the end of the smoothing section, wherein the position sensorless current command value generator generates the current command value in the position sensorless control mode by adding a product of the first tentative current command value and the increase coefficient and a product of the second tentative current command value and the decrease coefficient.

14. The motor control device according to claim 3, further comprising a torque controller, wherein the synchronous operation current command value generator sets a current command value to a predetermined value in the speed increase section to increase the rotation speed of the motor to the predetermined rotation speed, and then adjusts the current command value in the current adjustment section in accordance with the load on the motor, and performs torque control of the motor in the current adjustment section.

15. The motor control device according to claim 14, wherein the torque controller comprises a speed fluctuation correction value generator that generates a speed fluctuation correction value based on a fluctuation component of the axial error in the current regulation section.

16. A motor control device as described in claim 15, wherein the torque controller further comprises: a torque fluctuation correction value generator that generates a torque fluctuation correction value for suppressing fluctuations in the rotational speed of the motor based on the speed fluctuation correction value; and a current correction value calculator that calculates a current correction value based on the torque fluctuation correction value.

17. The motor control device according to claim 16, wherein the synchronous operation current command value generator reduces the d-axis current command value to a target command value having a value smaller than the predetermined value in the current adjustment section, and adjusts the q-axis current command value by feedback control so as to bring the axis error closer to zero, and the current correction value is a correction value for the q-axis current command value.

18. The motor control device according to claim 17, further comprising: a current tracking error correction value generator that generates a current tracking error correction value based on a current error between a current command value and a current detection value; and an adder that calculates a corrected current command value by adding the current tracking error correction value to the current command value.

19. The motor control device according to claim 18, wherein the current tracking error correction value generator integrates the current error, and generates a value obtained by inverting the phase of the integration result of the current error as the current tracking error correction value.

Citation Information

Patent Citations

  • Motor control apparatus, motor control system, motor control module, and refrigerating apparatus

    JP2010029016A

  • Drive unit for synchronous motor, freezer, air conditioner and refrigerator using the same, and drive method for synchronous motor

    JP2013146162A

  • Motor controller

    JP2020036513A