Motor Control Device

The motor control device uses a shunt resistor and motor model equations to estimate and filter noise, reducing the need for additional converters and parts, achieving accurate motor control with fewer components.

JP7578041B2Active Publication Date: 2024-11-06FUJITSU GENERAL LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2021055999
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-03-29
Publication Date
2024-11-06
Estimated Expiration
2041-03-29

AI Technical Summary

Technical Problem

Existing motor control devices require additional parts and converters to accurately control motor currents, increasing complexity and cost due to the need for separate noise judgment and offset voltage sampling.

Method used

A motor control device that includes a switching module, detection, calculation, conversion, prediction, and determination sections to estimate rotor position without sensors, using a shunt resistor for current detection and motor model equations to predict current values, determining which current values to use based on noise thresholds, thereby reducing the need for additional converters.

Benefits of technology

The device controls motor currents with high accuracy while minimizing the number of parts, allowing for cost-effective and efficient motor control without additional converters.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007578041000001
    Figure 0007578041000001
  • Figure 0007578041000002
    Figure 0007578041000002
  • Figure 0007578041000003
    Figure 0007578041000003
Patent Text Reader

Abstract

To provide a motor control device in which motor control is exercised using a highly accurate current value while suppressing an increase in component counts.SOLUTION: In a motor control device 100, a switching module 10 converts the DC voltage supplied from a DC power supply to an AC voltage and applies the AC voltage to a motor M. A current detection unit 21 detects the busbar current of the switching module using a shunt resistor Rs connected between the DC power supply and the switching module. A 3 φ current calculation unit 61 calculates the three-phase current of a fixed coordinate in the motor M on the basis of the busbar current. A 3 φ / dq conversion unit 42 converts the three-phase current of the fixed coordinate to the two-phase current of a rotary coordinate. A noise assessment unit 80 calculates a predicted value of the two-phase current in accordance with a motor model expression of the motor M, and determines, on the basis of the two-phase current of the rotary coordinate and the predicted value of the two-phase current, which of the two-phase current and the predicted value to use for motor control.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

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

[0002] A motor control device that controls the drive of a motor has a switching module that generates a three-phase AC voltage (hereinafter sometimes referred to as a "three-phase voltage") to be applied to the motor. The switching module is composed of multiple switching elements. The switching module is also called an inverter.

[0003] Furthermore, when vector control is used for the motor control device, the motor control device generates a d-axis current command value and a q-axis current command value so that the rotation speed of the motor coincides with a speed command value (target speed), and generates a d-axis voltage command value and a q-axis voltage command value from the d-axis current command value and the q-axis current command value. Furthermore, the motor control device converts the d-axis voltage command value and the q-axis voltage command value into three-phase voltage command values.

[0004] PWM (Pulse Width Modulation) is known as a technology for controlling a switching module based on three-phase voltage command values. PWM is a technology that changes the output voltage of a switching module (i.e., three-phase voltage) by adjusting the on / off time of multiple switching elements that make up the switching module. A signal that controls the on / off of the switching elements (hereinafter sometimes referred to as a "PWM signal") is generated based on the result of comparing a carrier signal, which is the carrier wave of the PWM, with a comparison value. By controlling the on / off of the switching elements according to the PWM signal, a three-phase voltage is applied to the motor, controlling the drive of the motor.

[0005] There is also known a technology (hereinafter sometimes referred to as a "position sensorless method") for controlling the drive of a motor without using a sensor (hereinafter sometimes referred to as a "position sensor") for detecting the rotational position of the motor rotor (hereinafter sometimes referred to as the "rotor position"). In the position sensorless method, the rotor position is estimated without using a position sensor by detecting the three-phase current (hereinafter sometimes referred to as the "motor current") flowing through the motor.

[0006] Also, the "single-shunt detection method" is known as a method for detecting motor current. In the single-shunt detection method, two phases of the motor current are detected based on the bus current flowing between the DC power supply and the switching module that generates the three-phase voltage, and the remaining one phase of current is calculated from the two phases of current using Kirchhoff's law.

[0007] Here, a prior art has been proposed in which a first connection line, which transmits an amplified voltage obtained by amplifying a voltage generated across a shunt resistor for detecting a bus current, to a first A / D converter, and a second connection line, which transmits an offset voltage generated by an offset voltage generating unit to a second A / D converter, are arranged so as to be as equally affected by noise as possible. In this prior art, when noise is superimposed on the first connection line, noise is also superimposed on the second connection line, so that a determination is made as to whether or not a large noise is superimposed on the bus current (hereinafter, sometimes referred to as "noise determination") by determining whether or not the offset voltage is a voltage outside a predetermined range. In addition, in this prior art, when the offset voltage is a voltage outside a predetermined range, it is determined that the noise has a large effect, and the amplified voltage as the bus current detected simultaneously with the offset voltage is discarded, and when the offset voltage is within the predetermined range, a PWM signal is generated based on the bus current detected simultaneously with the offset voltage. In this way, it becomes possible to control the motor using a current value that is less affected by noise (i.e., a current value with high accuracy). [Prior art documents] [Patent documents]

[0008] [Patent Document 1] JP 2015-126555 A Summary of the Invention [Problem to be solved by the invention]

[0009] In the above-mentioned prior art, since it is necessary to sample the offset voltage at the same time as sampling the amplified voltage when performing noise judgment, a circuit for acquiring the offset voltage and a second A / D converter for sampling the offset voltage are separately required. Therefore, in the above-mentioned prior art, when controlling the motor using a highly accurate current value, the number of parts in the motor control device increases.

[0010] Therefore, this disclosure proposes a technique that can control a motor using highly accurate current values ​​while suppressing an increase in the number of parts in a motor control device. [Means for solving the problem]

[0011] The motor control device of the present disclosure includes a switching module, a detection unit, a first calculation unit, a conversion unit, a prediction unit, and a determination unit. The switching module converts a DC voltage supplied from a DC power source into an AC voltage and applies the AC voltage to a motor. The detection unit detects a bus current of the switching module using a resistor connected between the DC power source and the switching module. The first calculation unit calculates a three-phase current of a fixed coordinate system in the motor based on the bus current. The conversion unit converts the three-phase current into a two-phase current of a rotating coordinate system. The prediction unit calculates a predicted value of the two-phase current according to a motor model formula of the motor. The determination unit determines whether the two-phase current or the predicted value is to be used for control of the motor based on the two-phase current and the predicted value. Effect of the Invention

[0012] According to the disclosed technique, it is possible to control a motor using a highly accurate current value while suppressing an increase in the number of parts in a motor control device. [Brief description of the drawings]

[0013] [Figure 1] FIG. 1 is a diagram illustrating a configuration example of a motor control device according to a first embodiment of the present disclosure. [Diagram 2] FIG. 2 is a diagram illustrating a configuration example of a noise determination unit according to the first embodiment of the present disclosure. [Diagram 3] FIG. 3 is a diagram illustrating a configuration example of a noise determination unit according to the second embodiment of the present disclosure. [Figure 4] FIG. 4 is a diagram illustrating an example of the operation of the noise component extraction unit according to the second embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] Hereinafter, embodiments of the present disclosure will be described with reference to the drawings. In the following embodiments, the same components are denoted by the same reference numerals.

[0015] [Example 1] <Motor control device configuration> Fig. 1 is a diagram showing an example of the configuration of a motor control device according to a first embodiment of the present disclosure. The motor control device 100 shown in Fig. 1 controls the driving of a motor M using a position sensorless method, a single shunt detection method, and PWM. In Fig. 1, the motor control device 100 includes subtraction units 46, 47, and 52, a d-axis current setting unit 48, a speed control unit 49, a d-axis and q-axis voltage setting unit 45, a dq / 3φ conversion unit 43, a PWM unit 41, a switching module 10, and a DC power supply E DC and a shunt resistor Rs. The motor control device 100 also has a DC voltage detection unit 31, a current detection unit 21, AD conversion units 71, 72, a 3φ current calculation unit 61, a DC voltage calculation unit 32, a 3φ / dq conversion unit 42, a position / speed estimation unit 44, a 1 / Pn processing unit 51, and a noise determination unit 80.

[0016] The subtraction units 46, 47, 52, d-axis current setting unit 48, speed control unit 49, d-axis / q-axis voltage setting unit 45, dq / 3φ conversion unit 43, PWM unit 41, DC voltage detection unit 31, current detection unit 21, AD conversion units 71, 72, 3φ current calculation unit 61, DC voltage calculation unit 32, 3φ / dq conversion unit 42, position / speed estimation unit 44, 1 / Pn processing unit 51, and noise judgment unit 80 are realized as hardware, for example by an MCU (Micro Control Unit).

[0017] The switching module 10 also has upper arm switching elements SWup, SWvp, SWwp and lower arm switching elements SWun, SWvn, SWwn.

[0018] In the motor control device 100, the d-axis current setting unit 48 sets a predetermined d-axis current command value id * is output to the subtraction unit 46.

[0019] The subtraction unit 46 receives the d-axis current command value id from the d-axis current setting unit 48. * is input to the subtraction unit 46, and the d-axis current id is input from the noise determination unit 80. The subtraction unit 46 calculates the d-axis current command value id * The d-axis current deviation Δid is calculated by subtracting the d-axis current id from the d-axis current deviation Δid, and the calculated d-axis current deviation Δid is output to the d-axis and q-axis voltage setting unit 45.

[0020] The speed control unit 49 calculates the q-axis current command value iq so that the speed deviation Δω input from the subtraction unit 52 approaches zero. * Calculate the q-axis current command value iq * is output to the subtraction unit 47.

[0021] The subtraction unit 47 receives the q-axis current command value iq * is input to the subtraction unit 47, and the q-axis current iq is input from the noise determination unit 80. The subtraction unit 47 subtracts the q-axis current command value iq * The d-axis / q-axis voltage setting unit 45 calculates the q-axis current deviation Δiq by subtracting the q-axis current iq from the d-axis / q-axis voltage setting unit 45.

[0022] The d-axis and q-axis voltage setting unit 45 receives the d-axis current deviation Δid from the subtraction unit 46, the q-axis current deviation Δiq from the subtraction unit 47, and the d-axis current id and the q-axis current iq from the noise determination unit 80. The d-axis and q-axis voltage setting unit 45 adjusts the d-axis voltage command value Vd so that the d-axis current deviation Δid and the q-axis current deviation Δiq approach zero. * and q-axis voltage command value Vq * Calculate the d-axis voltage command value Vd * and q-axis voltage command value Vq * The d-axis voltage command value Vd * and q-axis voltage command value Vq * also changes according to the U-phase current iu, the V-phase current iv, and the W-phase current iw, which are the motor currents calculated by the 3φ current calculation unit 61.

[0023] The position / speed estimation unit 44 receives the d-axis current id and the q-axis current iq from the noise determination unit 80, and receives the d-axis voltage command value Vd from the d-axis / q-axis voltage setting unit 45. * and q-axis voltage command value Vq * The position and speed estimation unit 44 receives the d-axis current id, the q-axis current iq, and the d-axis voltage command value Vd * , and the q-axis voltage command value Vq * Based on this, the position / speed estimation unit 44 estimates the electrical angular velocity ωe of the motor M and the rotational phase angle θdq of the motor M in the rotational coordinates (dq coordinates). The position / speed estimation unit 44 outputs the estimated angular velocity ωe to the 1 / Pn processing unit 51 and the noise determination unit 80, and outputs the estimated rotational phase angle θdq to the 3φ / dq conversion unit 42 and the dq / 3φ conversion unit 43.

[0024] The 1 / Pn processing unit 51 converts the electrical angular velocity ωe into a mechanical angular velocity ωm of the rotor of the motor M by dividing the angular velocity ωe by the number of pole pairs of the motor M, and outputs the converted angular velocity ωm to the subtraction unit 52.

[0025] The subtraction unit 52 receives the angular velocity ωm from the 1 / Pn processing unit 51, and receives a velocity command value ωm from outside the motor control device 100 (for example, from a higher-level controller of the motor control device 100). *The subtraction unit 52 receives the speed command value ωm * The speed deviation Δω is calculated by subtracting the angular velocity ωm from the velocity deviation Δω, and the calculated velocity deviation Δω is output to the velocity control unit 49.

[0026] The dq / 3φ conversion unit 43 converts the two-phase d-axis voltage command value Vd * and q-axis voltage command value Vq * The three-phase voltage command value Vu * ,Vv * ,Vw * The dq / 3φ conversion unit 43 converts the converted voltage command value Vu * ,Vv * ,Vw * to the PWM unit 41.

[0027] The PWM unit 41 receives a voltage command value Vu from the dq / 3φ conversion unit 43. * ,Vv * ,Vw * is input to the PWM unit 41, and a DC voltage Vdc is input from the DC voltage calculation unit 32. A carrier signal, which is a carrier wave of the PWM, is input to the PWM unit 41 from outside the motor control device 100 (for example, from a higher-level controller of the motor control device 100). The PWM unit 41 calculates a voltage command value Vu * ,Vv * ,Vw * Based on the DC voltage Vdc and the carrier signal, three-phase PWM signals Up, Un, Vp, Vn, Wp, and Wn are generated, and the generated PWM signals Up, Un, Vp, Vn, Wp, and Wn are output to the switching module 10 and the 3φ current calculation unit 61.

[0028] The switching module 10 includes a DC power supply E DC A DC voltage is supplied from the power supply 10, and PWM signals Up, Un, Vp, Vn, Wp, and Wn are input from the PWM unit 41. The switching module 10 is DCThe switching module 10 converts a DC voltage supplied from the inverter 11 into a three-phase AC voltage in accordance with the PWM signals Up to Wn, and applies the converted three-phase AC voltage to the motor M. The motor M is driven by applying the three-phase AC voltage to the motor M. In the switching module 10, the switching elements SWup, SWun, SWvp, SWvn, SWwp, and SWwn are turned on / off in accordance with the PWM signals Up, Un, Vp, Vn, Wp, and Wn, thereby converting the DC voltage into a three-phase voltage. Freewheeling diodes Dup, Dun, Dvp, Dvn, Dwp, and Dwn are connected to both ends of the switching elements SWup, SWun, SWvp, SWvn, SWwp, and SWwn.

[0029] The current detection unit 21 detects the DC power supply E DC The shunt resistor Rs connected between the DC power supply E and the switching module 10 is used to detect the bus current Is of the switching module 10. DC The N line L is a DC line between the N-side terminal in N The shunt resistor Rs is placed on the DC power supply E DC The P line L is a DC line between the P-side terminal in P The shunt resistor Rs may be disposed on the upper side of the shunt resistor 72. The shunt resistor Rs is supplied with the U-phase current, V-phase current, and W-phase current, which are the motor currents, and a bus current Is corresponding to the PWM signal. When the bus current Is flows through the shunt resistor Rs, a voltage drop occurs across the shunt resistor Rs. The current detection unit 21 detects the bus current Is flowing through the shunt resistor Rs from the magnitude of this voltage drop and the resistance value of the shunt resistor Rs. Furthermore, the current detection unit 21 calculates an analog voltage VA1 expressed by equation (1) based on the shunt resistor Rs and the bus current Is, and outputs the calculated analog voltage VA1 to the AD conversion unit 72. "k" in equation (1) indicates a predetermined amplification factor. VA1 = k × (Rs · Is) … (1)

[0030] The AD conversion unit 72 samples the analog voltage VA1 to convert it into a digital voltage value VA2, and outputs the converted digital voltage value VA2 to the 3φ current calculation unit 61.

[0031] The 3φ current calculation unit 61 calculates the motor current using a single shunt detection method. The 3φ current calculation unit 61 calculates the motor currents, U-phase current iu, V-phase current iv, and W-phase current iw, based on the resistance value of the shunt resistor Rs, the amplification factor k, the digital voltage value VA2, and the PWM signals Up to Wn, and outputs the calculated motor currents iu, iv, and iw to the 3φ / dq conversion unit 42.

[0032] The 3φ / dq conversion unit 42 converts the motor currents iu, iv, iw, which indicate a three-phase current vector in a fixed coordinate system, into a d-axis current and a q-axis current, which indicate a two-phase current vector in a rotating coordinate system, using the rotation phase angle θdq input from the position / speed estimation unit 44. Hereinafter, the d-axis current after conversion in the 3φ / dq conversion unit 42 may be referred to as the “detected d-axis current”, and the q-axis current after conversion in the 3φ / dq conversion unit 42 may be referred to as the “detected q-axis current”. The 3φ / dq conversion unit 42 outputs the detected d-axis current id_det and the detected q-axis current iq_det to the noise determination unit 80.

[0033] The noise determination unit 80 receives the detected d-axis current id_det and the detected q-axis current iq_det from the 3φ / dq conversion unit 42, the angular velocity ωe from the position / speed estimation unit 44, and the d-axis voltage command value Vd * and q-axis voltage command value Vq * is input. The noise judgment unit 80 performs noise judgment, and based on the result of the noise judgment, determines the d-axis current id to be output to the position / speed estimation unit 44, the d-axis / q-axis voltage setting unit 45, and the subtraction unit 46, and the q-axis current iq to be output to the position / speed estimation unit 44, the d-axis / q-axis voltage setting unit 45, and the subtraction unit 47. Details of the noise judgment unit 80 will be described later.

[0034] The DC voltage detection unit 31 detects the P line L P and N Line L Nand outputs the detected analog bus voltage VB1 to the AD conversion unit 71.

[0035] The AD conversion unit 71 samples the analog bus voltage VB1 to convert the analog bus voltage VB1 into a digital bus voltage value VB2, and outputs the converted digital bus voltage value VB2 to the DC voltage calculation unit 32.

[0036] The DC voltage calculation unit 32 calculates a DC voltage Vdc from the digital bus voltage value VB2, and outputs the calculated DC voltage Vdc to the PWM unit 41.

[0037] <Configuration of noise determination unit> 2 is a diagram illustrating a configuration example of a noise determination unit according to the first embodiment of the present disclosure. In FIG. 2, the noise determination unit 80 includes a current prediction unit 81, a difference calculation unit 82, and a current determination unit 83. The current prediction unit 81 receives the d-axis voltage command value Vd * and q-axis voltage command value Vq * and receives the angular velocity ωe from the position / speed estimation unit 44. The difference calculation unit 82 and the current determination unit 83 receive the detected d-axis current id_det and the detected q-axis current iq_det from the 3φ / dq conversion unit 42.

[0038] Here, the d-axis voltage command value Vd * and q-axis voltage command value Vq *is expressed by the motor model equations shown in equations (2.1) and (2.2). In equations (2.1) and (2.2), "R" is the winding resistance of the motor M, "id" is the d-axis current output from the current determination unit 83 at the previous control timing (hereinafter may be referred to as the "previous d-axis current"), "p" is the differential operator of (d / dt), "Ld" is the d-axis inductance of the motor M, "ωe" is the angular velocity input from the position / speed estimation unit 44, "Lq" is the q-axis inductance of the motor M, "iq" is the q-axis current output from the current determination unit 83 at the previous control timing (hereinafter may be referred to as the "previous q-axis current"), and "Ψ" is the linkage magnetic flux of the motor M. The winding resistance R, the d-axis inductance Ld, the q-axis inductance Lq, and the linkage magnetic flux Ψ are parameters (hereinafter may be referred to as the "motor parameters") that determine the characteristics of the motor M. Vd * =R·id+p·Ld·id-ωe·Lq·iq …(2.1) Vq * =R·iq+p·Lq·iq+ωe·Ld·id+ωe·Ψ …(2.2)

[0039] Furthermore, when the carrier frequency fc in the motor control device 100 is used, the formulas (2.1) and (2.2) can be transformed into the formulas (3.1) and (3.2). In the formulas (3.1) and (3.2), "ΔId" is the amount of change (hereinafter sometimes referred to as "d-axis current change") of the d-axis current predicted to be output from the current determination unit 83 at the current control timing (hereinafter sometimes referred to as "predicted d-axis current") relative to the previous d-axis current, and "ΔIq" is the amount of change (hereinafter sometimes referred to as "q-axis current change") of the q-axis current predicted to be output from the current determination unit 83 at the current control timing (hereinafter sometimes referred to as "predicted q-axis current") relative to the previous q-axis current. Vd * =R·id+Ld·ΔId·fc-ωe·Lq·iq …(3.1) Vq * =R·iq+Lq·ΔIq·fc+ωe·Ld·id+ωe·Ψ …(3.2)

[0040] Solving equations (3.1) and (3.2) for the d-axis current change and the q-axis current change gives equations (4.1) and (4.2). ΔId = (Vd * -R·id+ωe·Lq·iq) / (Ld·fc) …(4.1) ΔIq=(Vq * -R·iq-ωe·Ld·id-ωe·Ψ) / (Lq·fc) …(4.2)

[0041] Therefore, the current prediction unit 81 calculates a predicted d-axis current id_pre and a predicted q-axis current iq_pre according to equations (5.1) and (5.2) using the previous d-axis current id determined by the current determination unit 83 at the previous control timing and input from the current determination unit 83, and the previous q-axis current iq determined by the current determination unit 83 at the previous control timing and input from the current determination unit 83. id_pre = id + ΔId … (5.1) iq_pre=iq+ΔIq …(5.2)

[0042] In this way, the current prediction unit 81 calculates the predicted d-axis current id_pre and the predicted q-axis current iq_pre that are theoretically derived in accordance with the motor model equation of the motor M, and outputs the calculated predicted d-axis current id_pre and the predicted q-axis current iq_pre to the difference calculation unit 82 and the current determination unit 83.

[0043] The difference calculation unit 82 calculates the difference id_dif between the detected d-axis current id_det and the predicted d-axis current id_pre (hereinafter sometimes referred to as the “d-axis difference”) and the difference iq_dif between the detected q-axis current iq_det and the predicted q-axis current iq_pre (hereinafter sometimes referred to as the “q-axis difference”) according to equations (6.1) and (6.2). The difference calculation unit 82 outputs the calculated d-axis difference id_dif and q-axis difference iq_dif to the current determination unit 83. id_dif=id_det-id_pre …(6.1) iq_dif = iq_det - iq_pre ... (6.2)

[0044] The d-axis difference id_dif and the q-axis difference iq_dif are the differences between the detected values ​​and the predicted values ​​of the d-axis current and the q-axis current. If the detected values ​​and the predicted values ​​are significantly different, it is possible that noise is superimposed on the detected values ​​of the d-axis current and the q-axis current. In addition, the d-axis difference id_dif and the q-axis difference iq_dif may be positive or negative depending on the superimposed noise. The current determination unit 83 performs noise determination by comparing the d-axis difference id_dif and the q-axis difference iq_dif with a predetermined first threshold TH1, which is a negative value, and a predetermined second threshold TH2, which is a positive value, to determine the d-axis current id and the q-axis current iq at the current control timing.

[0045] Here, the first threshold TH1 is set to a negative value smaller than the bottom values ​​of the steady d-axis difference id_dif and q-axis difference iq_dif when no noise is superimposed on the detected d-axis current id_det and the detected q-axis current iq_det, or when the noise superimposed on the detected d-axis current id_det and the detected q-axis current iq_det is small. For example, the bottom values ​​of the steady d-axis difference id_dif and q-axis difference iq_dif can be obtained in advance by testing. When the bottom values ​​of the steady d-axis difference id_dif and q-axis difference iq_dif are -0.8 [A], the first threshold TH1 is set to a negative value smaller than the bottom values, for example, -1 [A].

[0046] Similarly, the second threshold TH2 is set to a positive value larger than the peak values ​​of the steady d-axis difference id_dif and the q-axis difference iq_dif when no noise is superimposed on the detected d-axis current id_det and the detected q-axis current iq_det, or when the noise superimposed on the detected d-axis current id_det and the detected q-axis current iq_det is small. For example, the peak values ​​of the steady d-axis difference id_dif and the q-axis difference iq_dif can be obtained in advance by testing. When the peak values ​​of the steady d-axis difference id_dif and the q-axis difference iq_dif are 0.8 [A], the second threshold TH2 is set to a positive value larger than the peak values, for example, 1 [A].

[0047] When the d-axis difference id_dif is greater than or equal to the first threshold TH1 and less than the second threshold TH2, the current determination unit 83 determines that no noise is superimposed on the detected d-axis current id_det or that the noise superimposed on the detected d-axis current id_det is small, and determines the detected d-axis current id_det as the d-axis current id to be used for controlling the motor M at the current control timing.The current determination unit 83 outputs the detected d-axis current id_det between the detected d-axis current id_det and the predicted d-axis current id_pre to the position / speed estimation unit 44, the d-axis and q-axis voltage setting unit 45, the subtraction unit 46, and the current prediction unit 81. On the other hand, when the d-axis difference id_dif is less than the first threshold value TH1 or greater than or equal to the second threshold value TH2, the current determination unit 83 determines that the noise superimposed on the detected d-axis current id_det is large, determines the predicted d-axis current id_pre as the d-axis current id to be used for controlling the motor M at the current control timing, and outputs the predicted d-axis current id_pre of the detected d-axis current id_det and the predicted d-axis current id_pre to the position / speed estimation unit 44, the d-axis and q-axis voltage setting unit 45, the subtraction unit 46, and the current prediction unit 81.

[0048] In addition, when the q-axis difference iq_dif is greater than or equal to the first threshold TH1 and less than the second threshold TH2, the current determination unit 83 determines that no noise is superimposed on the detected q-axis current iq_det or that the noise superimposed on the detected q-axis current iq_det is small, determines the detected q-axis current iq_det as the q-axis current iq to be used for controlling the motor M at the current control timing, and outputs the detected q-axis current iq_det between the detected q-axis current iq_det and the predicted q-axis current iq_pre to the position / speed estimation unit 44, the d-axis and q-axis voltage setting unit 45, the subtraction unit 47, and the current prediction unit 81. On the other hand, when the q-axis difference iq_dif is less than the first threshold value TH1 or greater than or equal to the second threshold value TH2, the current determination unit 83 determines that the noise superimposed on the detected q-axis current iq_det is large, determines the predicted q-axis current iq_pre as the q-axis current iq to be used for controlling the motor M at the current control timing, and outputs the predicted q-axis current iq_pre of the detected q-axis current iq_det and the predicted q-axis current iq_pre to the position / speed estimation unit 44, the d-axis and q-axis voltage setting unit 45, the subtraction unit 47, and the current prediction unit 81.

[0049] The first embodiment has been described above.

[0050] [Example 2] <Configuration of noise determination unit> Fig. 3 is a diagram showing a configuration example of a noise determination unit according to the second embodiment of the present disclosure. In Fig. 3, a noise determination unit 80 includes a current prediction unit 81, a difference calculation unit 82, a current determination unit 83, and a noise component extraction unit 84. The operations of the current prediction unit 81 and the difference calculation unit 82 are similar to those in the first embodiment, and therefore will not be described.

[0051] The difference calculation unit 82 outputs the calculated d-axis difference id_dif and q-axis difference iq_dif to the noise component extraction unit 84.

[0052] Here, the d-axis difference id_dif and the q-axis difference iq_dif include noise components and components other than noise (hereinafter sometimes referred to as "non-noise components"). The noise component extractor 84 extracts the d-axis noise component id_no and the q-axis noise component iq_no from the d-axis difference id_dif and the q-axis difference iq_dif by removing the non-noise components from the d-axis difference id_dif and the q-axis difference iq_dif, and outputs the extracted d-axis noise component id_no and q-axis noise component iq_no to the current determiner 83. The d-axis noise component id_no and the q-axis noise component iq_no may be positive or negative.

[0053] The current determination unit 83 performs noise judgment by comparing the d-axis noise component id_no and the q-axis noise component iq_no with a predetermined third threshold TH3 which is a negative value and a predetermined fourth threshold TH4 which is a positive value, and determines the d-axis current id and the q-axis current iq at the current control timing.

[0054] Here, the third threshold TH3 has a value different from the first threshold TH1. For example, the third threshold TH3 is set to a negative value smaller than the bottom values ​​of the stationary d-axis noise component id_no and the q-axis noise component iq_no when no noise is superimposed on the detected d-axis current id_det and the detected q-axis current iq_det, or when the noise superimposed on the detected d-axis current id_det and the detected q-axis current iq_det is small. For example, the bottom values ​​of the stationary d-axis noise component id_no and the q-axis noise component iq_no can be obtained in advance by testing. When the bottom values ​​of the stationary d-axis noise component id_no and the q-axis noise component iq_no are −0.3 [A], the third threshold TH3 is set to a negative value smaller than the bottom values, for example, −0.5 [A].

[0055] Similarly, the fourth threshold TH4 has a value different from the second threshold TH2. For example, the fourth threshold TH4 is set to a positive value larger than the peak values ​​of the stationary d-axis noise component id_no and the q-axis noise component iq_no when no noise is superimposed on the detected d-axis current id_det and the detected q-axis current iq_det, or when the noise superimposed on the detected d-axis current id_det and the detected q-axis current iq_det is small. For example, the peak values ​​of the stationary d-axis noise component id_no and the q-axis noise component iq_no can be obtained in advance by testing. When the peak values ​​of the stationary d-axis noise component id_no and the q-axis noise component iq_no are 0.3 [A], the fourth threshold TH4 is set to a positive value larger than the peak values, for example, 0.5 [A].

[0056] The third threshold TH3 and the fourth threshold TH4 may be updated as needed based on the d-axis noise component id_no and the q-axis noise component iq_no. For example, when no noise is superimposed on the detected d-axis current id_det and the detected q-axis current iq_det, or when the noise superimposed on the detected d-axis current id_det and the detected q-axis current iq_det is small, the peak value and the bottom value of the d-axis noise component id_no and the q-axis noise component iq_no may be updated as needed, a value obtained by providing a margin to the absolute value of the larger of the peak value and the bottom value may be calculated, the calculated value may be set as the fourth threshold TH4, and a value obtained by adding a negative sign to the calculated value may be set as the third threshold TH3.

[0057] When the magnitude of the d-axis noise component id_no is greater than or equal to the third threshold TH3 and less than the fourth threshold TH4, the current determination unit 83 determines that no noise is superimposed on the detected d-axis current id_det or that the noise superimposed on the detected d-axis current id_det is small, determines the detected d-axis current id_det as the d-axis current id to be used for controlling the motor M at the current control timing, and outputs the detected d-axis current id_det of the detected d-axis current id_det and the predicted d-axis current id_pre to the position / speed estimation unit 44, the d-axis and q-axis voltage setting unit 45, and the subtraction unit 46. On the other hand, when the magnitude of the d-axis noise component id_no is less than the third threshold TH3 or greater than or equal to the fourth threshold TH4, the current determination unit 83 determines that the noise superimposed on the detected d-axis current id_det is large, determines the predicted d-axis current id_pre as the d-axis current id to be used for controlling the motor M at the current control timing, and outputs the predicted d-axis current id_pre, of the detected d-axis current id_det and the predicted d-axis current id_pre, to the position / speed estimation unit 44, the d-axis and q-axis voltage setting unit 45, and the subtraction unit 46.

[0058] In addition, when the magnitude of the q-axis noise component iq_no is greater than or equal to the third threshold TH3 and less than the fourth threshold TH4, the current determination unit 83 determines that no noise is superimposed on the detected q-axis current iq_det or that the noise superimposed on the detected q-axis current iq_det is small, determines the detected q-axis current iq_det as the q-axis current iq to be used for controlling the motor M at the current control timing, and outputs the detected q-axis current iq_det between the detected q-axis current iq_det and the predicted q-axis current iq_pre to the position / speed estimation unit 44, the d-axis and q-axis voltage setting unit 45, and the subtraction unit 47. On the other hand, when the magnitude of the q-axis noise component iq_no is less than the third threshold TH3 or greater than or equal to the fourth threshold TH4, the current determination unit 83 determines that the noise superimposed on the detected q-axis current iq_det is large, determines the predicted q-axis current iq_pre as the q-axis current iq to be used for controlling the motor M at the current control timing, and outputs the predicted q-axis current iq_pre of the detected q-axis current iq_det and the predicted q-axis current iq_pre to the position / speed estimation unit 44, the d-axis and q-axis voltage setting unit 45, and the subtraction unit 47.

[0059] Examples of non-noise components include frequency components (hereinafter sometimes referred to as "rotation order components") that depend on the order of the rotation frequency of the motor M (hereinafter sometimes referred to as "rotation order"), frequency components (hereinafter sometimes referred to as "calculation delay components") that occur due to a delay in the calculation of the predicted d-axis current id_pre and the predicted q-axis current iq_pre, and components (hereinafter sometimes referred to as "parameter error components") that occur due to errors in motor parameters. An example of a rotation order component is pulsation due to cogging torque. Below, extraction of the d-axis noise component id_no and the q-axis noise component iq_no from the d-axis difference id_dif and the q-axis difference iq_dif will be described using three extraction examples, extraction examples 1, 2, and 3.

[0060] <Extraction example 1> In extraction example 1, the noise component extraction unit 84 extracts the d-axis noise component id_no and the q-axis noise component iq_no from the d-axis difference id_dif and the q-axis difference iq_dif by removing the rotation order components from the d-axis difference id_dif and the q-axis difference iq_dif.

[0061] The rotational order components include harmonic components, and the order of the frequency at which the rotational order components appear is determined by the number of poles and slots of the motor M, and the rotational speed of the motor M. For example, if the rotational speed of the motor M is the fundamental frequency and the motor M is an X-pole Y-slot motor, the rotational order components appear at the frequency of the least common multiple of X and Y, as shown in FIG. 4. Furthermore, the rotational order components also appear at the frequencies of the orders of half, two, three, ..., n times the least common multiple of X and Y. For example, if the motor M is a 6-pole 9-slot motor, the rotational order components appear at the 18th order frequency, which is the least common multiple of 6 and 9, as well as the 9th order frequency, which is half the least common multiple of 6 and 9, and the 18×n order frequencies of 36th, 54th, ... Therefore, for example, when the rotation speed of the motor M is 30 [rps], the rotation order components appear at frequencies of 270 [Hz], 540 [Hz], 1080 [Hz], 1620 [Hz], ..., 540 x n [Hz]. In this way, the rotation order components appear at specific frequencies. Figure 4 is a diagram for explaining an example of the operation of the noise component extraction unit of the second embodiment of the present disclosure.

[0062] Therefore, in extraction example 1, the noise component extraction unit 84 removes the rotation order components from the d-axis difference id_dif and the q-axis difference iq_dif by filtering the d-axis difference id_dif and the q-axis difference iq_dif using a notch filter capable of removing specific frequency components. This allows the d-axis noise component id_no and the q-axis noise component iq_no to be extracted after the rotation order components have been removed from the d-axis difference id_dif and the q-axis difference iq_dif.

[0063] <Extraction example 2> In extraction example 2, the noise component extraction unit 84 extracts the d-axis noise component id_no and the q-axis noise component iq_no from the d-axis difference id_dif and the q-axis difference iq_dif by removing the calculation delay components from the d-axis difference id_dif and the q-axis difference iq_dif.

[0064] Since the calculation delay component is a frequency component occurring due to the calculation of the predicted d-axis current id_pre and the predicted q-axis current iq_pre, as shown in Fig. 4, the calculation delay component appears at a specific frequency equal to the rotation speed of the motor M. For example, when the rotation speed of the motor M is 30 [rps], the calculation delay component appears at a frequency of 30 [Hz].

[0065] Therefore, in extraction example 2, the noise component extraction unit 84 removes the calculation delay components from the d-axis difference id_dif and the q-axis difference iq_dif by filtering the d-axis difference id_dif and the q-axis difference iq_dif using a notch filter capable of removing specific frequency components. This allows the d-axis noise component id_no and the q-axis noise component iq_no to be extracted after the calculation delay components have been removed from the d-axis difference id_dif and the q-axis difference iq_dif.

[0066] <Extraction example 3> In extraction example 3, the noise component extraction unit 84 extracts the d-axis noise component id_no and the q-axis noise component iq_no from the d-axis difference id_dif and the q-axis difference iq_dif by removing parameter error components from the d-axis difference id_dif and the q-axis difference iq_dif.

[0067] Since the actual motor parameters are not fixed values ​​but are values ​​that change depending on the state of the motor M, an error occurs between the fixed motor parameters set in equations (2.1) and (2.2) and the actual motor parameters. As described above, the predicted d-axis current id_pre and the predicted q-axis current iq_pre are calculated based on equations (2.1) and (2.2) in which the motor parameters are set to fixed values, so that a steady error occurs between the detected d-axis current id_det and the predicted d-axis current id_pre, and between the detected q-axis current iq_det and the predicted q-axis current iq_pre due to an error between the motor parameters. In other words, the parameter error components are so-called offset components that do not have a frequency component, as shown in FIG. 4.

[0068] Therefore, in extraction example 3, the noise component extraction unit 84 first extracts parameter error components from the d-axis difference id_dif and the q-axis difference iq_dif by filtering the d-axis difference id_dif and the q-axis difference iq_dif using a low-pass filter. Next, the noise component extraction unit 84 removes the extracted parameter error components from the d-axis difference id_dif and the q-axis difference iq_dif. As a result, the d-axis noise component id_no and the q-axis noise component iq_no are extracted after the parameter error components have been removed from the d-axis difference id_dif and the q-axis difference iq_dif.

[0069] Extraction examples 1, 2, and 3 have been described above.

[0070] The noise component extractor 84 may remove one or more of the rotation order components, the calculation delay components, and the parameter error components from the d-axis difference id_dif and the q-axis difference iq_dif.

[0071] The second embodiment has been described above.

[0072] As described above, the motor control device (motor control device 100 of the embodiment) of the present disclosure includes a switching module (switching module 10 of the embodiment), a detection unit (current detection unit 21 of the embodiment), a first calculation unit (3φ current calculation unit 61 of the embodiment), a conversion unit (3φ / dq conversion unit 42 of the embodiment), a prediction unit (current prediction unit 81 of the embodiment), and a determination unit (current determination unit 83 of the embodiment). The switching module converts a DC voltage supplied from a DC power source into an AC voltage and applies the AC voltage to a motor (motor M of the embodiment). The detection unit detects a bus current of the switching module using a resistor (shunt resistor Rs of the embodiment) connected between the DC power source and the switching module. The first calculation unit calculates a three-phase current of a fixed coordinate in the motor based on the bus current. The conversion unit converts the three-phase current of the fixed coordinate into two-phase current of a rotating coordinate (detected d-axis current id_det, detected q-axis current iq_det of the embodiment). The prediction unit calculates predicted values ​​of two-phase currents (predicted d-axis current id_pre, predicted q-axis current iq_pre in the embodiment) according to a motor model equation of the motor. The determination unit determines whether to use the two-phase currents or the predicted values ​​for controlling the motor, based on the two-phase currents of the rotating coordinates and the predicted values ​​of the two-phase currents.

[0073] For example, the motor control device of the present disclosure has a second calculation unit (difference calculation unit 82 in the embodiment) that calculates the difference between the two-phase currents and the predicted values ​​(d-axis difference id_dif, q-axis difference iq_dif in the embodiment). The decision unit decides to use the two-phase currents for motor control when the difference is equal to or greater than a first threshold (first threshold TH1 in the embodiment) and less than a second threshold (second threshold TH2 in the embodiment), and decides to use the predicted values ​​for motor control when the difference is less than the first threshold or equal to or greater than the second threshold.

[0074] In this way, when controlling a motor using a highly accurate current value, the offset voltage required in the above-mentioned prior art is no longer necessary, and therefore a circuit for acquiring the offset voltage and an A / D converter for sampling the offset voltage are no longer necessary. Therefore, it is possible to control a motor using a highly accurate current value while suppressing an increase in the number of parts in a motor control device. In addition, because an A / D converter for sampling the offset voltage is no longer necessary, the A / D converter used for sampling the offset voltage can be used for another purpose.

[0075] The motor control device of the present disclosure also has an extraction unit (noise component extraction unit 84 in the embodiment) that extracts noise components included in the difference by removing non-noise components included in the difference from the difference. The determination unit determines that the two-phase current is used to control the motor when the magnitude of the noise component is equal to or greater than a third threshold (fourth threshold TH3 in the embodiment) and less than a fourth threshold (fourth threshold TH4 in the embodiment), and determines that the predicted value is used to control the motor when the magnitude of the noise component is less than the third threshold or equal to or greater than the fourth threshold.

[0076] This makes it possible to further improve the accuracy of the current value used to control the motor.

[0077] For example, the extractor extracts the noise components contained in the difference by removing frequency components that depend on the rotation order of the motor from the difference.

[0078] Furthermore, for example, the extracting unit extracts noise components contained in the difference by removing frequency components caused by a delay in calculation of the predicted value from the difference.

[0079] Also, for example, the extraction unit extracts an offset component between the motor parameters included in the motor model formula and the actual motor parameters of the motor from the difference, and extracts the noise components included in the difference by removing the offset component from the difference.

[0080] In this way, the noise components can be extracted accurately. [Explanation of symbols]

[0081] 100 Motor control device 10 Switching Module 21 Current detection section 42 3φ / dq conversion section 61 3φ current calculation section 80 Noise judgment section 81 Current prediction section 82 Difference calculation part 83 Current determination unit 84 Noise component extraction section

Claims

1. a switching module that converts a DC voltage supplied from a DC power source into an AC voltage and applies the AC voltage to a motor; a detection unit that detects a bus current of the switching module using a resistor connected between the DC power source and the switching module; a first calculation unit that calculates three-phase currents of a fixed coordinate system in the motor based on the bus currents; A conversion unit for converting the three-phase current into a two-phase current in a rotating coordinate system; a prediction unit that calculates a predicted value of the two-phase current according to a motor model equation of the motor; a determination unit that determines whether the two-phase currents or the predicted value is to be used for control of the motor based on the two-phase currents and the predicted value; a second calculation unit that calculates a difference between the two-phase currents and the predicted values; Equipped with the determination unit determines that the two-phase currents are to be used for control of the motor when the difference is equal to or greater than a negative first predetermined value that is smaller than a bottom value of the steady difference and is less than a positive second predetermined value that is larger than a peak value of the steady difference, and determines that the predicted value is to be used for control of the motor when the difference is less than the first predetermined value or equal to or greater than the second predetermined value. Motor control device.

2. a switching module that converts a DC voltage supplied from a DC power source into an AC voltage and applies the AC voltage to a motor; a detection unit that detects a bus current of the switching module using a resistor connected between the DC power source and the switching module; a first calculation unit that calculates three-phase currents of a fixed coordinate system in the motor based on the bus currents; A conversion unit for converting the three-phase current into a two-phase current in a rotating coordinate system; a prediction unit that calculates a predicted value of the two-phase current according to a motor model equation of the motor; a determination unit that determines whether the two-phase currents or the predicted value is to be used for control of the motor based on the two-phase currents and the predicted value; a second calculation unit that calculates a difference between the two-phase currents and the predicted values; an extracting unit that extracts a noise component included in the difference by removing a frequency component that depends on a rotation order of the motor from the difference; Equipped with the determination unit determines whether to use the two-phase current or the predicted value for controlling the motor based on a magnitude of the noise component. Motor control device.

3. a switching module that converts a DC voltage supplied from a DC power source into an AC voltage and applies the AC voltage to a motor; a detection unit that detects a bus current of the switching module using a resistor connected between the DC power source and the switching module; a first calculation unit that calculates three-phase currents of a fixed coordinate system in the motor based on the bus currents; A conversion unit for converting the three-phase current into a two-phase current in a rotating coordinate system; a prediction unit that calculates a predicted value of the two-phase current according to a motor model equation of the motor; a determination unit that determines whether the two-phase currents or the predicted value is to be used for control of the motor based on the two-phase currents and the predicted value; a second calculation unit that calculates a difference between the two-phase currents and the predicted values; an extraction unit that extracts a noise component included in the difference by removing a frequency component caused by a delay in calculation of the predicted value from the difference; Equipped with the determination unit determines whether to use the two-phase current or the predicted value for controlling the motor based on a magnitude of the noise component. Motor control device.

4. a switching module that converts a DC voltage supplied from a DC power source into an AC voltage and applies the AC voltage to a motor; a detection unit that detects a bus current of the switching module using a resistor connected between the DC power source and the switching module; a first calculation unit that calculates three-phase currents of a fixed coordinate system in the motor based on the bus currents; A conversion unit for converting the three-phase current into a two-phase current in a rotating coordinate system; a prediction unit that calculates a predicted value of the two-phase current according to a motor model equation of the motor; a determination unit that determines whether the two-phase currents or the predicted value is to be used for control of the motor based on the two-phase currents and the predicted value; a second calculation unit that calculates a difference between the two-phase currents and the predicted values; an extraction unit that extracts an offset component between a motor parameter included in the motor model formula and an actual motor parameter of the motor from the difference, and extracts a noise component included in the difference by removing the offset component from the difference; Equipped with the determination unit determines whether to use the two-phase currents or the predicted value for controlling the motor based on a magnitude of the noise component. Motor control device.

Citation Information

Patent Citations

  • Inverter device, compressor drive, refrigerating and air- conditioning apparatus, and control method for inverter device

    JP2002095263A

  • Motor controller

    JP2008067556A

  • Motor controller, motor drive system, and motor control method

    JP2013055713A

  • Motor control device and electric power steering device mounted with the same

    JP2013215064A

  • Motor control apparatus

    JP2015126555A