Motor control device

The motor control device uses a carrier cycle of 1/n times the control cycle to maintain motor drive control accuracy and suppress noise, addressing the challenges of high-frequency carriers in motor control devices.

JP2024141680APending Publication Date: 2024-10-10FUJITSU GENERAL LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2023053469
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-29
Publication Date
2024-10-10

AI Technical Summary

Technical Problem

The use of high-frequency carriers in motor control devices can suppress motor noise but reduces the detection rate of motor current, leading to decreased accuracy in motor drive control, and increases switching losses.

Method used

A motor control device that includes an inverter, PWM section, detection section, and calculation section, where the PWM section uses a carrier cycle that is 1/n times the control cycle of the motor (n is an integer of 4 or more), the detection section detects two-phase currents, and the calculation section calculates three-phase fundamental wave currents based on successful detections of two or more times in the control period.

Benefits of technology

This approach suppresses motor noise while maintaining motor drive control accuracy, even with high-frequency carriers, by ensuring sufficient detection of motor currents.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024141680000001_ABST
    Figure 2024141680000001_ABST
Patent Text Reader

Abstract

To suppress motor noise while preventing a decrease in the accuracy of motor drive control even when a high-frequency carrier is used.SOLUTION: In a motor control device 100, an inverter 10 converts a DC voltage supplied from a DC power source EDC into a three-phase AC voltage and applies the converted AC voltage to a motor M, a PWM unit 41 controls the inverter 10 by PWM using a carrier signal having a carrier period that is 1 / n times (n is an integer equal to or greater than 4) the control period of the motor M, a 3φ current calculator 61 detects a two-phase current flowing through the motor M for each carrier period, and a success / failure determiner 71 determines whether the detection of the two-phase currents in the 3φ current calculator 61 has been successful. When the detection of the two-phase currents is successful two or more times during the control period of the motor M, the 3φ current calculator 61 calculates the three-phase fundamental current during the control period of the motor M using the two-phase currents that have been successfully detected.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 driving of a motor has an inverter that generates a three-phase AC voltage (hereinafter sometimes referred to as a "three-phase voltage") to be applied to the motor. The inverter is made up of multiple switching elements.

[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 an inverter based on three-phase voltage command values. PWM is a technology that changes the inverter's output voltage (i.e., three-phase voltage) by adjusting the on / off times of the multiple switching elements that make up the inverter. The signal that controls the on / off of the switching elements (hereinafter sometimes referred to as the "PWM signal") is generated based on the results of comparing the carrier wave, which is the carrier wave of the PWM, with the modulating wave. 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 this method, two phases of the motor current flowing through a shunt resistor are detected based on the bus current flowing between the inverter that generates the three-phase voltage and the DC power supply, and the remaining one phase of current is calculated from the two phases of current using Kirchhoff's law.

[0007] Here, a prior art technique has been proposed that suppresses motor noise by generating a PWM signal using a carrier (hereinafter sometimes referred to as a "high-frequency carrier") that has a PWM carrier frequency that is m times (m is an integer greater than or equal to 2). [Prior art documents] [Patent documents]

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

[0009] Using a high-frequency carrier as in the prior art can suppress motor noise. On the other hand, using a high-frequency carrier shortens the time of one carrier cycle, reducing the timing at which the motor current can be detected in the three-phase voltage, resulting in a lower motor current detection rate. A lower motor current detection rate may lead to a decrease in the accuracy of motor drive control.

[0010] However, there are concerns that the use of high-frequency carriers will increase losses that occur when the inverter's switching elements switch from on to off or off to on (hereinafter referred to as "switching losses"). However, switching elements with high switching speeds that use materials such as GaN (gallium nitride) and SiC (silicon carbide) have been developed, and switching losses are gradually being improved.

[0011] Therefore, this disclosure proposes a technique that can suppress motor noise while preventing a decrease in the accuracy of motor drive control even when a high-frequency carrier is used. [Means for solving the problem]

[0012] The motor control device of the present disclosure includes an inverter, a PWM unit, a detection unit, a determination unit, and a calculation unit. The inverter converts a DC voltage supplied from a DC power source into a three-phase AC voltage and applies the AC voltage to a motor. The PWM unit controls the inverter by PWM using a carrier signal having a carrier period that is 1 / n (n is an integer equal to or greater than 4) times the control period of the motor. The detection unit detects two-phase phase currents flowing through the motor for each carrier period. The determination unit determines whether the detection unit has succeeded in detecting the phase currents. When the detection of the phase currents is successful two or more times during the control period, the calculation unit calculates three-phase fundamental currents during the control period using the successfully detected phase currents. Effect of the Invention

[0013] According to the disclosed technique, even when a high-frequency carrier is used, it is possible to suppress motor noise while preventing a decrease in the accuracy of motor drive control. [Brief description of the drawings]

[0014] [Figure 1] FIG. 1 is a diagram illustrating an example of the configuration of a motor control device according to the present disclosure. [Diagram 2] FIG. 2 is a diagram illustrating an example of the configuration of the 3φ current calculator of the present disclosure. [Diagram 3] FIG. 3 is a diagram illustrating an example of the operation of the interpolation calculation unit according to the present disclosure. [Figure 4] FIG. 4 is a diagram illustrating an example of a carrier signal according to the present disclosure. [Diagram 5] FIG. 5 is a diagram illustrating an example of the comparison process of the present disclosure. [Figure 6] FIG. 6 is a diagram illustrating an example of a shift process of a PWM signal according to the present disclosure. [Figure 7] FIG. 7 is a diagram showing an example of calculation when it is determined that the detection of two-phase currents in all of the first carrier, second carrier, third carrier, and fourth carrier of the motor current in the 3φ current calculator disclosed herein is successful. [Figure 8] FIG. 8 is a diagram showing a calculation example when it is determined that detection of two-phase currents in the second carrier, the third carrier, and the fourth carrier of the motor current in the 3φ current calculator of the present disclosure is successful. [Figure 9] FIG. 9 is a diagram showing a calculation example when it is determined that detection of two-phase currents in the first carrier, the third carrier, and the fourth carrier of the motor current in the 3φ current calculator of the present disclosure is successful. [Figure 10] FIG. 10 is a diagram showing a calculation example when it is determined that detection of two-phase currents in the first carrier, the second carrier, and the fourth carrier of the motor current is successful in the 3φ current calculator of the present disclosure. [Figure 11] FIG. 11 is a diagram showing a calculation example when it is determined that detection of two-phase currents in the first carrier, the second carrier, and the third carrier of the motor current is successful in the 3φ current calculator of the present disclosure. [Figure 12] FIG. 12 is a diagram showing a calculation example when it is determined that detection of two-phase currents in the third carrier and the fourth carrier of the motor current in the 3φ current calculator of the present disclosure is successful. [Figure 13] FIG. 13 is a diagram showing a calculation example when it is determined that detection of two-phase currents in the second carrier and the fourth carrier of the motor current is successful in the 3φ current calculator of the present disclosure. [Figure 14]FIG. 14 is a diagram showing a calculation example when it is determined that detection of two-phase currents in the second carrier and the third carrier of the motor current in the 3φ current calculator of the present disclosure is successful. [Figure 15] FIG. 15 is a diagram showing a calculation example when it is determined that detection of two-phase currents in the first carrier and the fourth carrier of the motor current is successful in the 3φ current calculator of the present disclosure. [Figure 16] FIG. 16 is a diagram showing a calculation example when it is determined that detection of two-phase currents in the first carrier and the third carrier of the motor current is successful in the 3φ current calculator of the present disclosure. [Figure 17] FIG. 17 is a diagram showing a calculation example when it is determined that detection of two-phase currents in the first carrier and the second carrier of the motor current is successful in the 3φ current calculator of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0015] 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.

[0016] [Example] FIG. 1 is a diagram illustrating an example of the configuration of a motor control device according to the present disclosure.

[0017] A motor M whose drive is controlled by the motor control device 100 shown in FIG. 1 is, for example, a PMSM (permanent magnet synchronous motor).

[0018] 1 employs a 180-degree energization method (sine wave energization method), a position sensorless method, and a single shunt detection method. For example, when controlling a motor M, the motor control device 100 detects a bus current Is using a shunt resistor Rs, and controls the driving of the motor M by generating a PWM signal based on the detected bus current Is. The motor control device 100 has an inverter 10, a current detection unit 20, a calculation unit 60, a voltage detection unit 30, and a generation unit 40.

[0019] The inverter 10 converts a DC voltage into a DC power supply E DC and three-phase (U-phase, V-phase, W-phase) PWM signals Up, Un, Vp, Vn, Wp, Wn are input from generation unit 40. Inverter 10 converts a DC voltage into a three-phase voltage in accordance with the PWM signals Up to Wn, and applies the converted three-phase voltage to motor M to drive motor M.

[0020] The inverter 10 has upper arm switching elements SWup, SWvp, SWwp and lower arm switching elements SWun, SWvn, SWwn. The inverter 10 converts a DC voltage into a three-phase voltage by turning on / off each of the switching elements SWup-SWwn in accordance with PWM signals Up-Wn. Freewheeling diodes Dupd-Dwnd are connected to both ends of each of the switching elements SWup-SWwn.

[0021] The current detection unit 20 has a shunt resistor Rs and a current detection circuit 21, and detects the bus current Is using the shunt resistor Rs.

[0022] The shunt resistor Rs is connected to the DC power supply E DC and the inverter 10. The shunt resistor Rs is connected between, for example, a DC power supply E DC The shunt resistor Rs is inserted on the N line LN, which is a DC line between the N-side terminal of the DC power supply E DC 10 and the inverter 10.

[0023] A bus current Is corresponding to the U-phase current, V-phase current, and W-phase current, which are motor currents, and the PWM signal, flows through the shunt resistor Rs. At this time, a voltage drop occurs across the shunt resistor Rs. The current detection circuit 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, and outputs the detection result to the calculation unit 60 and the generation unit 40.

[0024] The calculation unit 60 has a 3φ current calculator 61. The 3φ current calculator 61 calculates motor currents iu, iv, iw based on the bus current Is detected by the current detection unit 20 and the PWM signals Up to Wn generated by the generation unit 40, and outputs the calculated motor currents iu, iv, iw to the generation unit 40.

[0025] The voltage detection unit 30 has a DC voltage detection circuit 31 and a DC voltage calculator 32, and detects the bus voltage. The DC voltage detection circuit 31 detects the bus voltage between the P line LP and the N line LN, and outputs the detection result to the DC voltage calculator 32. The DC voltage calculator 32 converts the detection result into a DC voltage Vdc, and outputs the converted DC voltage Vdc to the generation unit 40.

[0026] The generator 40 generates a speed command value ωm * is input from outside the motor control device 100 (for example, a higher-level controller of the motor control device 100), the motor currents iu, iv, and iw are input from the calculation unit 60, and the DC voltage Vdc is input from the voltage detection unit 30. The generation unit 40 receives the speed command value ωm * The generator 40 generates the PWM signals Up to Wn based on the motor currents iu, iv, and iw, and the DC voltage Vdc. * The PWM signals Up to Wn are generated so that the rotation occurs at the target speed indicated by

[0027] The generation unit 40 includes a 3φ / dq coordinate converter 42, a position / speed estimator 44, a 1 / Pn converter 51, a subtractor 52, a d-axis current setter 48, a subtractor 46, a speed controller 49, a subtractor 47, a d-axis / q-axis voltage setter 45, a dq / 3φ coordinate converter 43, a PWM unit 41, and a success / failure determiner 71.

[0028] The 3φ / dq coordinate converter 42 receives the motor currents iu, iv, iw from the 3φ current calculator 61, and receives the phase angle θdq of the rotating coordinate system (dq coordinate system) relative to the fixed coordinate system (UVW coordinate system) from the position / speed estimator 44. The 3φ / dq coordinate converter 42 uses the phase angle θdq to convert the current vector (iu, iv, iw) in the fixed coordinate system into a current vector (id, iq) in the rotating coordinate system, and stores the result in time series. The 3φ / dq coordinate converter 42 outputs the converted d-axis current id to the position / speed estimator 44, the d-axis / q-axis voltage setter 45, and the subtractor 46, and outputs the converted q-axis current iq to the position / speed estimator 44, the d-axis / q-axis voltage setter 45, and the subtractor 47.

[0029] The position / speed estimator 44 receives the d-axis current id and the q-axis current iq from the 3φ / dq coordinate converter 42 and calculates the d-axis voltage command value Vd * and q-axis voltage command value Vq * are input from the d-axis and q-axis voltage setting unit 45. The position and speed estimator 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 these, the angular velocity ωe of the motor M and the phase angle θdq of the rotating coordinate system are estimated, and the angular velocity ωe is output to a 1 / Pn converter 51, and the phase angle θdq is output to a 3φ / dq coordinate converter 42 and a dq / 3φ coordinate converter 43.

[0030] The 1 / Pn converter 51 receives the estimated electrical angular velocity ωe from the position / speed estimator 44. The 1 / Pn converter 51 multiplies the estimated angular velocity ωe by 1 / Pn (Pn is the number of pole pairs of the motor M) to convert the estimated electrical angular velocity ωe into a mechanical angular velocity ωm of the rotor of the motor M. The 1 / Pn converter 51 outputs the converted angular velocity ωm to the subtractor 52.

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

[0032] The d-axis current setting unit 48 sets a d-axis current command value id * The generated d-axis current command value id * is output to the subtractor 46.

[0033] The subtractor 46 subtracts the d-axis current command value id * is input from the d-axis current setting unit 48, and the d-axis current id is input from the 3φ / dq coordinate converter 42. The subtractor 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.

[0034] The speed controller 49 receives the speed deviation Δω from the subtractor 52. The speed controller 49 adjusts the q-axis current command value iq * The speed controller 49 controls the q-axis current command value iq * is output to the subtractor 47.

[0035] The subtractor 47 subtracts the q-axis current command value iq * is input from the speed controller 49, and the q-axis current iq is input from the 3φ / dq coordinate converter 42. The subtractor 47 calculates the q-axis current command value iq * The d-axis / q-axis voltage setting unit 45 outputs the calculated q-axis current deviation Δiq to the d-axis / q-axis voltage setting unit 45.

[0036] The d-axis and q-axis voltage setting unit 45 receives the d-axis current deviation Δid from the subtractor 46 and the q-axis current deviation Δiq from the subtractor 47. The d-axis and q-axis voltage setting unit 45 determines a d-axis voltage command value Vd such that the d-axis current deviation Δid and the q-axis current deviation Δiq approach zero. * and q-axis voltage command value Vq * The d-axis and q-axis voltage setting unit 45 calculates the calculated d-axis voltage command value Vd * and q-axis voltage command value Vq* to the position / speed estimator 44 and the dq / 3φ coordinate converter 43.

[0037] The dq / 3φ coordinate converter 43 converts the d-axis voltage command value Vd * and q-axis voltage command value Vq * is input from the d-axis and q-axis voltage setting device 45, and the phase angle θdq is input from the position / speed estimator 44. The dq / 3φ coordinate converter 43 converts the voltage vector (Vd * ,Vq * ) into the voltage vector (Vu * ,Vv * ,Vw * ) coordinate conversion.

[0038] That is, the dq / 3φ coordinate converter 43 calculates the d-axis voltage command value Vd according to the motor currents iu, iv, and iw calculated by the 3φ current calculator 61. * and q-axis voltage command value Vq * is converted to the three-phase voltage command value Vu * ,Vv * ,Vw * The dq / 3φ coordinate converter 43 converts the generated three-phase voltage command value Vu * ,Vv * ,Vw * is output to the PWM unit 41.

[0039] The PWM unit 41 outputs a three-phase voltage command value Vu * ,Vv * ,Vw * is input from dq / 3φ coordinate converter 43, and DC voltage Vdc is input from DC voltage calculator 32. PWM unit 41 also receives a carrier signal, which is a PWM carrier wave, and a carrier period from outside motor control device 100 (for example, a higher-level controller of motor control device 100). PWM unit 41 receives the carrier signal, carrier period, voltage command value Vu * ,Vv * ,Vw * and generates PWM signals Up to Wn based on the DC voltage Vdc.

[0040] The PWM device 41 also receives an input of a time required for sampling performed by the 3φ current calculator 61 (hereinafter sometimes referred to as the “required sampling time”) from outside the motor control device 100 (for example, a higher-level controller of the motor control device 100). The PWM device 41 also generates a sampling start instruction (hereinafter sometimes referred to as the “AD conversion trigger timing”) for the 3φ current calculator 61, and outputs the generated AD conversion trigger timing to the 3φ current calculator 61. The PWM device 41 also sets a non-detectable flag indicating whether or not the motor current can be detected to “TRUE” (not detectable) or “FALSE” (detectable) based on the input to the PWM device 41, and outputs the non-detectable flag after the setting to the success / failure determiner 71.

[0041] For example, a triangular wave signal is input to the PWM unit 41 as a carrier signal, and the period of the triangular wave signal is input as the carrier period.

[0042] The PWM unit 41 outputs a voltage command value Vu * ,Vv * ,Vw * For example, the PWM unit 41 generates the PWM signals Up to Wn by comparing each of the voltage command values ​​Vu * The voltage command value Vu is compared with the carrier signal. * If it is greater than 1, the U-phase PWM signal Up is turned on and the U-phase PWM signal Un is turned off, and the carrier signal level is the voltage command value Vu * If the voltage command value Vv is smaller than the reference voltage Vp, the PWM unit 41 turns off the U-phase PWM signal Up and turns on the U-phase PWM signal Un, and supplies the generated PWM signals Up and Up to the switching elements SWup and SWun, respectively. * In accordance with the comparison result between the carrier signal and the voltage command value Vw, the PWM unit 41 generates the V-phase PWM signals Vp, Vn, and supplies the generated PWM signals Vp, Vn to the switching elements SWvp, SWvn, respectively. *The PWM signal generation circuit 100 generates W-phase PWM signals Wp, Wn in accordance with a comparison result between the carrier signal and the PWM signal Wp, Wn generated are supplied to the switching elements SWwp, SWwn, respectively.

[0043] In the following, in a carrier signal that is a triangular wave signal, the peak on the crest side may be referred to as the "peak" and the peak on the trough side may be referred to as the "trough". In addition, in the following, in one cycle of the carrier signal (i.e., one carrier period), the range from trough to crest may be referred to as the "first half of the carrier" and the range from crest to trough may be referred to as the "second half of the carrier". Thus, the first half of the carrier corresponds to the "ascending" of the carrier signal, and the second half of the carrier corresponds to the "descending" of the carrier signal, and the respective lengths of the first half of the carrier (ascending) and the second half of the carrier (descending) correspond to half the carrier period.

[0044] For example, when the comparison process between the voltage command value, which is the comparison value, and the triangular wave signal, which is the carrier signal, is performed based on the peak of the carrier signal (when the carrier signal is based on the peak), each carrier period is set so that the peak of the carrier signal is in the center of the carrier period. Then, the PWM unit 41 outputs a voltage command value Vu, which has a constant level within one carrier period. * ,Vv * ,Vw * is given, and the level of the carrier signal is the voltage command value Vu * ,Vv * ,Vw * When the voltage command value Vu is exceeded, the P-side PWM signals Up, Vp, and Wp are turned on, while the N-side PWM signals Un, Vn, and Wn are turned off. * ,Vv * ,Vw * At the point where the P-side PWM signals Up, Vp, and Wp are set to OFF level, while the N-side PWM signals Un, Vn, and Wn are set to ON level. At this time, in each carrier cycle, the PWM signals Up, Vp, and Wp have a symmetrical pattern with respect to the peak of the carrier signal. Also, when the motor M is driving, the voltage command value Vu * ,Vv * ,Vw *Since the levels of the PWM signals Up, Vp, and Wp change, when viewed in adjacent carrier periods, the PWM signals Up, Vp, and Wp have asymmetric patterns with respect to the valleys of the carrier signal.

[0045] Furthermore, for example, when the comparison process between the voltage command value, which is the comparison value, and the triangular wave signal, which is the carrier signal, is performed based on the valley of the carrier signal (when the carrier signal is based on the valley), each carrier period is set so that the valley of the carrier signal is in the center of the carrier period. Then, the PWM unit 41 outputs a voltage command value Vu, which has a constant level within one carrier period. * ,Vv * ,Vw * is given, and the level of the carrier signal is the voltage command value Vu * ,Vv * ,Vw * When the voltage command value Vu is exceeded, the P-side PWM signals Up, Vp, and Wp are turned on, while the N-side PWM signals Un, Vn, and Wn are turned off. * ,Vv * ,Vw * At the point where the P-side PWM signals Up, Vp, and Wp are set to OFF level, while the N-side PWM signals Un, Vn, and Wn are set to ON level. At this time, in each carrier cycle, the PWM signals Up, Vp, and Wp have a symmetrical pattern with respect to the valley of the carrier signal. Also, when the motor M is driving, the voltage command value Vu * ,Vv * ,Vw * Since the levels of the PWM signals Up, Vp, and Wp change, when viewed in adjacent carrier periods, the patterns of the PWM signals Up, Vp, and Wp become asymmetric with respect to the peaks of the carrier signal.

[0046] In addition, the PWM unit 41 calculates the voltage command value voltage Vu of each phase with respect to the DC voltage Vdc according to the equations (1), (2), and (3). * ,Vv * ,Vw * Then, the U-phase duty Duty_u, the V-phase duty Duty_v, and the W-phase duty Duty_w are calculated. Duty_u=Vu * / Vdc…(1) Duty_v=Vv * / Vdc…(2) Duty_w=Vw * / Vdc…(3)

[0047] In addition, the PWM device 41 calculates the U-phase on-time On_u, V-phase on-time On_v, and W-phase on-time On_w, which are the on-times of the switching elements SWup, SWvp, and SWwp, according to equations (4), (5), and (6) based on the duties Duty_u, Duty_v, and Duty_w and the carrier period Tc input from outside the motor control device 100. On_u = Tc·Duty_u…(4) On_v = Tc · Duty_v … (5) On_w = Tc·Duty_w…(6)

[0048] The PWM device 41 also generates AD conversion trigger timing and PWM signals Up, Un, Vp, Vn, Wp, Wn, and sets a detection impossible flag based on the on-times On_u, On_v, On_w, and a carrier signal, carrier period, and required sampling time input from outside the motor control device 100. The PWM device 41 generates a PWM signal Up whose on-level time is the U-phase on-time On_u, a PWM signal Vp whose on-level time is the V-phase on-time On_v, and a PWM signal Wp whose on-level time is the W-phase on-time On_w.

[0049] The success / failure determiner 71 determines whether or not detection of two-phase currents (hereinafter, sometimes referred to as "two-phase currents") detected by a first calculation unit 61b described later is successful. When the non-detection flag input from the PWM unit 41 is set to "FALSE" (detectable), the success / failure determiner 71 determines that detection of the two-phase currents is successful, and when the non-detection flag input from the PWM unit 41 is set to "TRUE" (not detectable), the success / failure determiner 71 determines that detection of the two-phase currents is unsuccessful. In addition, the success / failure determiner 71 determines whether or not detection of the two-phase currents input from the current detection circuit 21 is successful, for example, based on a noise determination signal sent from outside the generation unit 40. For example, when the magnitude of the noise superimposed on the noise determination signal is less than a threshold, the success / failure determiner 71 determines that detection of the two-phase currents is successful, and when the magnitude of the noise superimposed on the noise determination signal is equal to or greater than the threshold, the success / failure determiner 71 determines that detection of the two-phase currents is unsuccessful. When the success / failure determiner 71 determines that the detection of the two-phase currents is successful, it sets the success / failure flag to “0” (success), and when it determines that the detection of the two-phase currents is unsuccessful, it sets the success / failure flag to “1” (failure), and outputs the set success / failure flag to the 3φ current calculator 61.

[0050] 2 is a diagram showing a configuration example of a 3φ current calculator of the present disclosure. In the following, a case where the carrier signal is peak-based will be described as an example. Note that the technology of the present disclosure is also applicable to a case where the carrier signal is valley-based in the same way as to a case where the carrier signal is peak-based. In addition, for convenience of explanation, the following mainly describes the first carrier period and the second carrier period.

[0051] The 3φ current calculator 61 calculates motor currents iu, iv, and iw based on the bus current Is detected by the current detector 20 and the PWM signals Up to Wn generated by the generator 40.

[0052] For example, the 3φ current calculator 61 calculates the motor current at the boundary position between the first carrier cycle and the second carrier cycle based on the PWM signals Up-Wn of the first carrier cycle, the bus current Is detected in the first half of the first carrier cycle, the PWM signals Up-Wn of the second carrier cycle which is the next carrier cycle to the first carrier cycle, and the bus current Is detected in the first half of the second carrier cycle. The 3φ current calculator 61 outputs the calculated motor current to the generator 40. The generator 40 converts the motor current input from the 3φ current calculator 61 into two-phase currents id, iq, and outputs the converted currents id, iq and the speed command value ωm * The current command value id based on * ,iq * The voltage command value Vd * ,Vq * The generator 40 also generates a two-phase voltage command value Vd * ,Vq * The three-phase voltage command value Vu * ,Vv * ,Vw * By converting it into the three-phase voltage command value Vu * ,Vv * ,Vw * The generating unit 40 then generates the three-phase voltage command values ​​Vu * ,Vv * ,Vw * and the DC voltage Vdc, the PWM signals Up to Wn are generated.

[0053] As shown in FIG. 2, the 3φ current calculator 61 includes an AD conversion unit 61a, a first calculation unit 61b, an interpolation calculation unit 61c, and a second calculation unit 61d.

[0054] The AD conversion unit 61a receives the bus current Is detected by the current detection circuit 21. The AD conversion unit 61a samples the analog bus current Is in accordance with the AD conversion trigger timing input from the PWM unit 41, thereby converting the analog bus current Is into a digital value of the bus current Is, and outputs the converted digital value of the bus current Is to the first calculation unit 61b. The AD conversion unit 61a acquires the bus current Is based on the PWM signals Up to Wn.

[0055] The first calculation unit 61b receives the digital value of the bus current Is from the AD conversion unit 61a. In a first carrier cycle in which the success / failure flag set to "0" is input from the success / failure determiner 71, the first calculation unit 61b calculates two-phase currents in the first half of the carrier of the first carrier cycle from the PWM signal of the first carrier cycle and the bus current detected in the first half of the carrier of the first carrier cycle. In a second carrier cycle in which the success / failure flag set to "0" is input from the success / failure determiner 71, the first calculation unit 61b calculates two-phase currents in the first half of the carrier of the second carrier cycle from the PWM signal of the second carrier cycle following the first carrier cycle and the bus current detected in the first half of the carrier of the second carrier cycle. In this way, the first calculation unit 61b succeeds in calculating the two-phase currents when the success / failure flag set to "0" is input from the success / failure determiner 71. On the other hand, the first calculation unit 61b fails to calculate the two-phase currents when the success / failure flag set to "1" is input from the success / failure determiner 71. The processes in the AD conversion unit 61a and the first calculation unit 61b are repeated until two-phase currents in all carriers in one control period are calculated.

[0056] The first calculation unit 61b outputs the two-phase currents in the first half of the first carrier cycle and the two-phase currents in the first half of the second carrier cycle to the interpolation calculation unit 61c.

[0057] The interpolation calculation unit 61c receives the calculation results from the first calculation unit 61b, that is, the two-phase currents in the first half of the first carrier cycle and the two-phase currents in the first half of the second carrier cycle, from the first calculation unit 61b.

[0058] The interpolation calculation unit 61c calculates two-phase currents at the boundary position between the first carrier cycle and the second carrier cycle from two-phase currents in the first half of the first carrier cycle and two-phase currents in the first half of the second carrier cycle.

[0059] The interpolation calculation unit 61c calculates the phase currents by linear interpolation, not by simple averaging. That is, the interpolation calculation unit 61c uses linear interpolation to calculate the two-phase currents at the boundary between the first and second carrier cycles from the two-phase currents in the first half of the first carrier cycle and the two-phase currents in the first half of the second carrier cycle.

[0060] Fig. 3 is a diagram showing an example of the operation of the interpolation calculation unit of the present disclosure. For example, as shown in Fig. 3, if the U-phase current at timing tu1 is -Iu1 and the U-phase current at timing tu2 is -Iu2, then if the length of the period from timing tu1 to tc12 is Ti and the length of the period from timing tc12 to tu2 is Tiv, then the U-phase current Iu12 at the boundary position tc12 can be expressed by equation (7). Iu12 ={(-Iu2)-(-Iu1)}×Ti / (Tiv+Ti)+(-Iu1)…(7)

[0061] Similarly, if the W-phase current at timing tw1 is Iw1 and the W-phase current at timing tw2 is Iw2, then if the length of the period from timing tw1 to tc12 is Tii and the length of the period from timing tc12 to tw2 is Tiii, then the W-phase current Iw12 at boundary position tc12 can be expressed by equation (8). Iw12 ={(+Iw2)-(+Iw1)}×Tii / (Tiii+Tii)+(+Iw1)…(8)

[0062] The interpolation calculation unit 61c outputs the two-phase currents at the boundary position to the second calculation unit 61d. For example, the interpolation calculation unit 61c outputs the U-phase current Iu12 and the W-phase current Iw12 at the boundary position tc12 to the second calculation unit 61d.

[0063] The second calculation unit 61d receives the two-phase currents at the boundary position from the interpolation calculation unit 61c. For example, the second calculation unit 61d receives the U-phase current Iu12 and the W-phase current Iw12 at the boundary position tc12 from the interpolation calculation unit 61c. The second calculation unit 61d calculates the remaining phase current from the interpolated two-phase currents of the motor current according to Kirchhoff's law.

[0064] 3, the second calculation unit 61d calculates the V-phase current Iv12 at the boundary position tc12 from the U-phase current Iu12 and the W-phase current Iw12 at the boundary position tc12 by using the three-phase condition "Iu+Iv+Iw=0." That is, the second calculation unit 61d calculates the V-phase current Iv12 at the boundary position tc12 according to equation (9). Iv12=-Iu12-Iw12…(9)

[0065] The second calculation unit 61d outputs the calculated Iv12, Iu12, and Iw12 to the 3φ / dq coordinate converter 42 as motor currents.

[0066] Fig. 4 is a diagram showing an example of a carrier signal of the present disclosure. A triangular wave signal as shown in Fig. 4 is input as a carrier signal to PWM device 41. Furthermore, a duty is associated with the amplitude of the carrier signal in Fig. 4, and when the amplitude of the carrier signal is 0 to 1, the duty is 0% when the comparison value is "1" and 100% when the comparison value is "0".

[0067] Fig. 5 is a diagram showing an example of the comparison process of the present disclosure. As shown in Fig. 5, the PWM unit 41 generates PWM signals Up to Wn by comparing the comparison value with the carrier signal. Here, the PWM unit 41 sets the comparison value for each phase according to the U-phase duty Duty_u, the V-phase duty Duty_v, and the W-phase duty Duty_w. The comparison process between the comparison value and the carrier signal is performed for each of the U-phase, V-phase, and W-phase.

[0068] For example, when the comparison process between the comparison value and the carrier signal is performed with the crest as a reference (i.e., when the carrier signal is crest-based), when a triangular wave carrier signal is generated in a predetermined carrier cycle, the center of the carrier cycle becomes the crest. Then, when the level of the carrier signal exceeds the comparison value, the PWM unit 41 turns the PWM signals Up, Vp, and Wp to the on level while turning the PWM signals Un, Vn, and Wn to the off level, and when the level of the carrier signal becomes equal to or lower than the comparison value, turns the PWM signals Up, Vp, and Wp to the off level while turning the PWM signals Un, Vn, and Wn to the on level. Therefore, as shown in FIG. 5, in the carrier cycle, the PWM signals Up, Vp, and Wp have a symmetrical pattern with respect to the crest (i.e., the first half of the carrier and the second half of the carrier).

[0069] The PWM unit 41 also controls the time during which the PWM signals Up, Vp, and Wp are at the on level by increasing or decreasing the comparison value according to the on time of each phase expressed by equations (4), (5), and (6). That is, the PWM unit 41 generates the PWM signals Up, Vp, and Wp whose on-level times are expressed by equations (4), (5), and (6) by decreasing the comparison value as the on time becomes longer and increasing the comparison value as the on time becomes shorter. Then, in accordance with the PWM signals Up, Vp, and Wp thus generated, the inverter 10 generates three-phase AC voltages, that is, a voltage applied to the U-phase terminal of the motor M (hereinafter sometimes referred to as the "U-phase terminal voltage"), a voltage applied to the V-phase terminal of the motor M (hereinafter sometimes referred to as the "V-phase terminal voltage"), and a voltage applied to the W-phase terminal of the motor M (hereinafter sometimes referred to as the "W-phase terminal voltage"). In other words, inverter 10 generates a U-phase terminal voltage having a pulse width corresponding to on-time On_u, a V-phase terminal voltage having a pulse width corresponding to on-time On_v, and a W-phase terminal voltage having a pulse width corresponding to on-time On_w.

[0070] In the following, the U-phase terminal voltage, the V-phase terminal voltage, and the W-phase terminal voltage may be collectively referred to as the "terminal voltages." Furthermore, in the following, the pulse of the U-phase terminal voltage may be referred to as the "U-phase pulse," the pulse of the V-phase terminal voltage may be referred to as the "V-phase pulse," and the pulse of the W-phase terminal voltage may be referred to as the "W-phase pulse." Furthermore, the U-phase pulse, V-phase pulse, and W-phase pulse may be collectively referred to as the "terminal voltage pulse."

[0071] FIG. 6 is a diagram illustrating an example of a shift process of a PWM signal according to the present disclosure.

[0072] As shown in FIG. 6, when a PWM signal before shift is generated using an original comparison value, which is a comparison value before increase or decrease, by decreasing the first half of the carrier of the original comparison value by α and increasing the second half of the carrier of the original comparison value by α, the PWM signal shifts to the left in the figure by β corresponding to the magnitude of α (i.e., backward in time in the carrier period) without changing the pulse width. For example, when shifting a PWM signal to the left in the figure by 30% of the time width of the first half of the carrier within one carrier period, it is sufficient to decrease the first half of the carrier of the original comparison value by a value corresponding to a duty of 30% and increase the second half of the carrier of the original comparison value by a value corresponding to a duty of 30%. Conversely, by increasing the first half of the carrier of the original comparison value by α and decreasing the second half of the carrier of the original comparison value by α, the PWM signal shifts to the right in the figure by β corresponding to the magnitude of α (i.e., forward in time in the carrier period) without changing the pulse width. As described above, since the terminal voltage is generated according to the PWM signal, when the PWM signal shifts, the pulse of the terminal voltage also shifts in the same manner as the shift of the PWM signal. In addition, the original comparison value in one carrier period is decreased by α in the first half of the carrier and increased by the same magnitude α in the second half of the carrier, or increased by α in the first half of the carrier and decreased by the same magnitude α in the second half of the carrier, so that the duty within one carrier is kept at the same value before and after the shift of the PWM signal. By shifting the PWM signal in this manner, the region in which AD conversion by the AD conversion unit 61a is possible can be increased.

[0073] <Processing of the PWM device> The processing in the PWM device 41 will be described in more detail below. The PWM device 41 determines whether it is possible to ensure the sampling required time for different phases by shifting at least one of the three-phase terminal voltage pulses. Here, there are various patterns for shifting the terminal voltage pulses, and different terminal voltage pulses can be obtained depending on which phase of the three phases is shifted and by how much in which direction. Therefore, the PWM device 41 checks the patterns for shifting the terminal voltage pulses in a predetermined order and determines whether the sampling required time can be ensured for each pattern.

[0074] When the PWM device 41 determines that the sampling required time can be ensured in any pattern, it shifts the terminal voltage pulses according to the pattern. Next, the PWM device 41 sets the detection impossible flag to "FALSE" and outputs the detection impossible flag set to "FALSE" to the success / failure determiner 71.

[0075] Next, the PWM device 41 generates the AD conversion trigger timing based on the shifted terminal voltage pulses and outputs the generated AD conversion trigger timing to the AD conversion unit 61a. The AD conversion unit 61a starts sampling when the AD conversion trigger timing is input from the PWM device 41.

[0076] On the other hand, when the PWM device 41 determines that the sampling required time cannot be ensured in all patterns, it determines that the sampling required time cannot be ensured even if the terminal voltage pulses are shifted. Then, the PWM device 41 sets the detection impossible flag to "TRUE" and outputs the detection impossible flag set to "TRUE" to the success / failure determiner 71.

[0077] <Processing of the three-phase current calculator> 7 to 17 are diagrams showing an example of calculation of a motor current in the 3φ current calculator of the present disclosure. In FIG. 7 to FIG. 17, a case where the carrier period is ¼ times the control period of the motor M (hereinafter, sometimes referred to as the "motor control period") will be described as an example. The technology of the present disclosure is applicable to all motor control devices in which the carrier period is 1 / n times the motor control period (n is an integer of 4 or more). In addition, since the harmonic components contained in the motor current at the boundary timing (i.e., the timing of the valley or the timing of the peak) between two adjacent carrier periods are small, hereinafter, the motor current calculated at the boundary timing between two adjacent carrier periods may be referred to as the "fundamental current". The fundamental current is calculated by the 3φ current calculator 61 for each motor control period.

[0078] As shown in Figs. 7 to 11, when the motor control period is four times the carrier period, four carriers, namely, the first carrier, the second carrier, the third carrier, and the fourth carrier, are included in one motor control period. The coordinate conversion in the 3φ / dq coordinate converter 42 is performed in the same period as the motor control period, and the motor M is controlled using the fundamental current calculated immediately before the coordinate conversion timing in the 3φ / dq coordinate converter 42. The first calculation unit 61b detects two-phase currents in the first half of each of the first carrier, the second carrier, the third carrier, and the fourth carrier (i.e., the rising edge of the carrier signal), for example. When the motor control period is four times the carrier period, three boundary positions, namely, the first boundary position PT1, the second boundary position PT2, and the third boundary position PT3, exist as positions at which the fundamental current can be calculated in one motor control period. Therefore, the calculation positions of the two-phase currents calculated by the linear interpolation in the interpolation calculation unit 61c and the calculation position of the remaining one-phase current calculated by the second calculation unit 61d (i.e., the calculation position of the fundamental current) are either the first boundary position PT1, the second boundary position PT2, or the third boundary position PT3. In the following, a case where the fundamental current is calculated at the timing of the peak of the fourth carrier among the first carrier, the second carrier, the third carrier, and the fourth carrier will be described as an example. In addition, in Figs. 7 to 11, among the first carrier, the second carrier, the third carrier, and the fourth carrier, the carriers that are determined by the success / failure determiner 71 to be successful in detecting the two-phase current are indicated by a mark "○", and the carriers that are determined by the success / failure determiner 71 to be unsuccessful in detecting the two-phase current are indicated by a mark "X". Hereinafter, calculation examples 1 to 17 of the fundamental current will be described.

[0079] <Calculation example 1 (Fig. 7)> 7 is a diagram showing a calculation example when it is determined that the detection of the two-phase current in all of the first carrier, the second carrier, the third carrier, and the fourth carrier of the motor current is successful in the 3φ current calculator of the present disclosure. As shown in FIG. 7, when it is determined that the detection of the two-phase current in all of the first carrier, the second carrier, the third carrier, and the fourth carrier is successful, the fundamental wave current at the third boundary position PT3 is calculated using the two-phase current detected in the third carrier and the two-phase current detected in the fourth carrier.

[0080] <Calculation example 2 (Fig. 8)> 8 is a diagram showing a calculation example when it is determined that the detection of the two-phase current in the second carrier, the third carrier, and the fourth carrier of the motor current is successful in the 3φ current calculator of the present disclosure. As shown in FIG. 8, when it is determined that the detection of the two-phase current in the second carrier, the third carrier, and the fourth carrier is successful among the first carrier, the second carrier, the third carrier, and the fourth carrier, and the detection of the two-phase current in the first carrier is unsuccessful, the fundamental wave current at the third boundary position PT3 is calculated using the two-phase current detected in the third carrier by the current detection unit 20 and the two-phase current detected in the fourth carrier by the current detection unit 20.

[0081] <Calculation example 3 (Fig. 9)> 9 is a diagram showing a calculation example when it is determined that the detection of the two-phase current in the first carrier, the third carrier, and the fourth carrier of the motor current is successful in the 3φ current calculator of the present disclosure. As shown in FIG. 9, when it is determined that the detection of the two-phase current in the first carrier, the third carrier, and the fourth carrier is successful among the first carrier, the second carrier, the third carrier, and the fourth carrier, and the detection of the two-phase current in the second carrier is unsuccessful, the fundamental wave current at the third boundary position PT3 is calculated using the two-phase current detected in the third carrier by the current detection unit 20 and the two-phase current detected in the fourth carrier by the current detection unit 20.

[0082] <Calculation example 4 (Fig. 10)> 10 is a diagram showing a calculation example when it is determined that the detection of the two-phase currents in the first carrier, the second carrier, and the fourth carrier of the motor current is successful in the 3φ current calculator of the present disclosure. As shown in FIG. 10, when it is determined that the detection of the two-phase currents in the first carrier, the second carrier, and the fourth carrier is successful and the detection of the two-phase current in the third carrier is unsuccessful among the first carrier, the second carrier, the third carrier, and the fourth carrier, the fundamental wave current at the third boundary position PT3 is calculated using the two-phase current detected in the second carrier by the current detection unit 20 and the two-phase current detected in the fourth carrier by the current detection unit 20.

[0083] <Calculation example 5 (Fig. 11)> 11 is a diagram showing a calculation example when it is determined that the detection of the two-phase current in the first carrier, the second carrier, and the third carrier of the motor current is successful in the 3φ current calculator of the present disclosure. As shown in FIG. 11, when it is determined that the detection of the two-phase current in the first carrier, the second carrier, and the third carrier is successful and the detection of the two-phase current in the fourth carrier is unsuccessful among the first carrier, the second carrier, the third carrier, and the fourth carrier, the fundamental wave current at the second boundary position PT2 is calculated using the two-phase current detected in the second carrier by the current detection unit 20 and the two-phase current detected in the third carrier by the current detection unit 20.

[0084] <Calculation example 6 (Fig. 12)> 12 is a diagram showing a calculation example when it is determined that the detection of two-phase currents in the third and fourth carriers of the motor current is successful in the 3φ current calculator of the present disclosure. As shown in FIG. 12, when it is determined that the detection of two-phase currents in the third and fourth carriers is successful among the first, second, third, and fourth carriers, and the detection of two-phase currents in the first and second carriers is unsuccessful, the fundamental wave current at the third boundary position PT3 is calculated using the two-phase current detected in the third carrier by the current detection unit 20 and the two-phase current detected in the fourth carrier by the current detection unit 20.

[0085] <Calculation example 7 (Fig. 13)> 13 is a diagram showing a calculation example when it is determined that the detection of the two-phase current in the second carrier and the fourth carrier of the motor current is successful in the 3φ current calculator of the present disclosure. As shown in FIG. 13, when it is determined that the detection of the two-phase current in the second carrier and the fourth carrier is successful among the first carrier, the second carrier, the third carrier, and the fourth carrier, and it is determined that the detection of the two-phase current in the first carrier and the third carrier is unsuccessful, the fundamental wave current at the third boundary position PT3 is calculated using the two-phase current detected in the second carrier by the current detection unit 20 and the two-phase current detected in the fourth carrier by the current detection unit 20.

[0086] <Calculation example 8 (Fig. 14)> 14 is a diagram showing a calculation example when it is determined that the detection of the two-phase current in the second carrier and the third carrier of the motor current is successful in the 3φ current calculator of the present disclosure. As shown in FIG. 14, when it is determined that the detection of the two-phase current in the second carrier and the third carrier is successful and the detection of the two-phase current in the first carrier and the fourth carrier is unsuccessful among the first carrier, the second carrier, the third carrier, and the fourth carrier, the fundamental wave current at the second boundary position PT2 is calculated using the two-phase current detected in the second carrier by the current detection unit 20 and the two-phase current detected in the third carrier by the current detection unit 20.

[0087] <Calculation example 9 (Fig. 15)> 15 is a diagram showing a calculation example when it is determined that the detection of the two-phase current in the first carrier and the fourth carrier of the motor current is successful in the 3φ current calculator of the present disclosure. As shown in FIG. 15, when it is determined that the detection of the two-phase current in the first carrier and the fourth carrier is successful among the first carrier, the second carrier, the third carrier, and the fourth carrier, and it is determined that the detection of the two-phase current in the second carrier and the third carrier is unsuccessful, the fundamental wave current at the second boundary position PT2 is calculated using the two-phase current detected in the first carrier by the current detection unit 20 and the two-phase current detected in the fourth carrier by the current detection unit 20.

[0088] <Calculation example 10 (Fig. 16)> 16 is a diagram showing a calculation example when it is determined that the detection of the two-phase current in the first carrier and the third carrier of the motor current is successful in the 3φ current calculator of the present disclosure. As shown in FIG. 16, when it is determined that the detection of the two-phase current in the first carrier and the third carrier is successful and the detection of the two-phase current in the second carrier and the fourth carrier is unsuccessful among the first carrier, the second carrier, the third carrier, and the fourth carrier, the fundamental wave current at the second boundary position PT2 is calculated using the two-phase current detected in the first carrier by the current detection unit 20 and the two-phase current detected in the third carrier by the current detection unit 20.

[0089] <Calculation Example 11 (Figure 17)> 17 is a diagram showing a calculation example when it is determined that the detection of the two-phase current in the first carrier and the second carrier of the motor current is successful in the 3φ current calculator of the present disclosure. As shown in FIG. 17, when it is determined that the detection of the two-phase current in the first carrier and the second carrier is successful and the detection of the two-phase current in the third carrier and the fourth carrier is unsuccessful among the first carrier, the second carrier, the third carrier, and the fourth carrier, the fundamental wave current at the first boundary position PT1 is calculated using the two-phase current detected in the first carrier by the current detection unit 20 and the two-phase current detected in the second carrier by the current detection unit 20.

[0090] Calculation Examples 1 to 11 have been explained above.

[0091] As in the above calculation examples 1 to 17, when the detection of two-phase currents is successful two or more times in a motor control period, the fundamental current in the motor control period is calculated using the successfully detected two-phase currents.

[0092] By doing this, even if a PWM signal is generated using a high-frequency carrier that is n times the PWM carrier frequency (n is an integer greater than or equal to 4), the three-phase fundamental current can be calculated using two-phase currents that are detected a sufficient number of times, thereby making it possible to suppress the noise of motor M while preventing a decrease in the accuracy of the drive control of motor M.

[0093] Also, as in the above calculation examples 1 to 5, when the detection of the two-phase current is successful three or more times in the motor control period, the fundamental current is calculated using the two-phase current successfully detected in the carrier period closest to the end of the motor control period and the two-phase current successfully detected in the carrier period second closest to the end of the motor control period. Also, as in the above calculation examples 1 to 4, when the detection of the two-phase current is successful three or more times in the motor control period, the fundamental current at the timing closest to the end of the motor control period is calculated. Also, as in the above calculation examples 1 to 17, when the fundamental current is calculated at the trough position of the carrier period, the two-phase current is detected at the rising edge of the carrier period. On the other hand, when the fundamental current is calculated, for example, at the crest position of the carrier period, the two-phase current is detected at the falling edge of the carrier period (not shown).

[0094] This makes it possible to calculate the fundamental current with timing close to the next motor control cycle, thereby improving the accuracy of motor control.

[0095] Furthermore, as in the above calculation examples 1 to 17, when the detection of the two-phase current is successful twice in the motor control period, the 3φ current calculator 61 calculates the fundamental current by linear interpolation as described above. Note that, when the detection of the two-phase current is successful three or more times in the motor control period as in the above calculation examples 1 to 5, the 3φ current calculator 61 may calculate the fundamental current by quadratic polynomial interpolation.

[0096] This improves the calculation accuracy of the fundamental current when the detection of two-phase currents is successful three or more times within a motor control period.

[0097] In addition, when the two-phase current is successfully detected less than twice within the motor control period, the 3φ current calculator 61 may calculate the fundamental current using a previously successfully detected two-phase current or a previously calculated fundamental current.

[0098] In this way, even when it is difficult to calculate the fundamental current by interpolation because the two-phase currents are successfully detected less than twice within the motor control period, the fundamental current can be obtained.

[0099] The above describes the embodiment.

[0100] As described above, the motor control device (motor control device 100 of the embodiment) of the present disclosure includes an inverter (inverter 10 of the embodiment), a PWM unit (PWM unit 41 of the embodiment), a detection unit (first calculation unit 61b of the embodiment), a determination unit (success / failure determination unit 71 of the embodiment), and a calculation unit (interpolation calculation unit 61c and second calculation unit 61d of the embodiment). DC) into a three-phase AC voltage, and applies the converted AC voltage to a motor (motor M in the embodiment). The PWM unit controls the inverter by PWM using a carrier signal having a carrier period that is 1 / n (n is an integer equal to or greater than 4) times the control period of the motor. The detection unit detects two-phase currents flowing through the motor for each carrier period. The determination unit determines whether the detection unit has succeeded in detecting the two-phase currents. When the detection of the two-phase currents is successful two or more times during the control period of the motor, the calculation unit calculates the three-phase fundamental current during the control period of the motor using the two phase currents that have been successfully detected.

[0101] By doing this, even when the inverter is controlled by PWM using a carrier signal having a short carrier period such as 1 / n (n is an integer greater than or equal to 4) the motor control period, the three-phase fundamental current can be calculated using two-phase currents that have a sufficient number of detections possible, so that motor noise can be suppressed while preventing a decrease in the accuracy of the motor drive control even when a high-frequency carrier is used. [Explanation of symbols]

[0102] 100 Motor control device 10 Inverter 41 PWM device 60 Calculation section 61 3φ current calculator 61a AD conversion section 61b First calculation part 61c Interpolation calculation unit 61d Second calculation section 71 Success / failure judgement device

Claims

1. an inverter that converts a DC voltage supplied from a DC power source into a three-phase AC voltage and applies the AC voltage to a motor; a PWM unit that controls the inverter by PWM using a carrier signal having a carrier period that is 1 / n (n is an integer equal to or greater than 4) times the control period of the motor; a detection unit that detects two-phase currents flowing through the motor for each carrier period; a determination unit that determines whether the detection unit has detected the phase current; a calculation unit that calculates three-phase fundamental currents in the control period by using the phase currents that have been successfully detected two or more times during the control period; A motor control device comprising:

2. the calculation unit calculates the fundamental wave current by linear interpolation when detection of the phase current is successful twice within the control period. The motor control device according to claim 1 .

3. the calculation unit calculates the fundamental wave current by second-order polynomial interpolation when detection of the phase current is successful three or more times within the control period. The motor control device according to claim 1 .

4. when detection of the phase current is successful three or more times during the control period, the calculation unit calculates the fundamental current using the phase current successfully detected in the carrier period closest to the end of the control period and the phase current successfully detected in the carrier period second closest to the end of the control period. The motor control device according to claim 1 .

5. the calculation unit calculates the fundamental current at a timing closest to the end of the control period when detection of the phase current is successful three or more times during the control period. The motor control device according to claim 1 .

6. When the calculation unit calculates the fundamental wave current at a valley position of the carrier cycle, the detection unit detects the phase current at an ascending edge of the carrier cycle. The motor control device according to claim 1 .

7. When the calculation unit calculates the fundamental wave current at a peak position of the carrier cycle, the detection unit detects the phase current at a falling edge of the carrier cycle. The motor control device according to claim 1 .

8. when the phase current is successfully detected less than twice within the control period, the calculation unit calculates the fundamental current by using the phase current that the detection unit has successfully detected in the past or the fundamental current that the calculation unit has calculated in the past. The motor control device according to claim 1 .

Citation Information

Patent Citations

  • Motor control device and image forming apparatus

    JP2017073877A

  • Motor control device

    JP2018057084A

  • Motor controller

    JP2021164322A

  • Motor controller, motor system and method for controlling motor

    US20220166363A1

  • Inverter control device

    JP2012182891A