Motor control device

By using triangular wave carrier and phase shift technology in three-phase PWM signal mode, the problem of insufficient inference accuracy of magnetic pole position in low-speed areas is solved, and high-precision magnetic pole position inference is realized under positionless sensor, reducing noise, and suitable for multiple type of electric motor.

CN119010710APending Publication Date: 2024-11-22KK TOSHIBA +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410270792.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-05-17
Filing Date
2024-03-11
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

The prior art is difficult to accurately infer the magnetic pole position of the permanent magnet motor in low-speed regions, especially when position sensors are not used, the induced voltage utilization method is insufficient at low speeds, while the inductor utilization method is difficult to be high due to the increase in noise. Accuracy inference.

Method used

The triangular wave is used as the carrier wave. By adjusting the phase shift of each phase pulse in the three-phase PWM signal mode, the current change is detected twice within the carrier period, and a three-phase PWM signal mode is generated to suppress noise and improve the position of the magnetic pole. Inferred accuracy.

Benefits of technology

Without relying on position sensors, the magnetic pole position can be inferred in low-speed areas with high accuracy, reducing noise, suitable for various motors, and easy to apply in existing systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119010710A_ABST
    Figure CN119010710A_ABST
Patent Text Reader

Abstract

A motor control device according to an embodiment includes: a PWM signal generation unit that generates a three-phase PWM signal pattern in accordance with a magnetic pole position of a motor; a current detection unit that detects the phase current of the motor on the basis of the signal generated by the current detection element and the PWM signal pattern; a current change amount detection unit that outputs, as a current change amount, a difference between current values detected twice for each of the two phases; the PWM signal generation unit uses a triangular wave as a carrier wave, and the current detection unit generates a three-phase PWM signal pattern so as to be able to detect two-phase currents twice at a timing of four points within a carrier wave period of the PWM signal. In the magnitude relationship of the duty ratio of each phase that varies for each sector of the output voltage of the inverter unit, the maximum phase is shifted in one direction of the leading side or the lagging side with an arbitrary phase of the carrier cycle as a reference, and the intermediate phase is shifted in the direction opposite to the maximum phase with an arbitrary phase of the carrier cycle as a reference.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] An embodiment of the present invention relates to a device for estimating a magnetic pole position of a motor based on each phase current of the motor driven by an inverter circuit. Background Art

[0002] In the past, in order to properly control permanent magnet motors and DC brushless motors that use permanent magnets in the rotor, the magnetic pole position is detected. The detection of the magnetic pole position refers to detecting the position on the electrical angle coordinates of the motor, that is, the electrical angle phase. In the detection of the magnetic pole position, there is also a method of using position sensors such as rotary encoders, rotary transformers, and Hall elements. However, due to cost and structural limitations, a position sensor is sometimes not provided. For example, in the case of a compressor motor for a refrigeration cycle, since the motor is built into the refrigerant filling space inside the compressor composed of a closed container, a position sensor cannot be installed.

[0003] Therefore, there is a method for estimating the magnetic pole position based on current and voltage information without using a position sensor. Such methods include, for example, an induced voltage utilization type and an inductance utilization type. The induced voltage utilization type is a method of calculating an induced voltage proportional to the speed of the motor based on the input voltage and current to the motor, and estimating the magnetic pole position based on the induced voltage. This method utilizes that the induced voltage generated by the rotation of the motor changes according to the electrical angle of the motor as the magnetic pole position.

[0004] The induced voltage type can achieve sufficient accuracy in the high-speed range where the motor has a high rotation speed. However, in the low-speed range where the rotation speed is low, the amplitude of the induced voltage becomes small or does not occur, so accurate estimation cannot be performed when the motor is stopped or at a low speed.

[0005] On the other hand, the inductance utilization type is a method of calculating the inductance of the motor based on the current and voltage information and estimating the magnetic pole position. This method utilizes the fact that the inductance of the motor changes at a period of 2 times the electrical angle of the motor. As an inference method of the inductance utilization type, for example, several methods have been proposed in which an AC voltage signal for sensor detection that is independent of the drive frequency is applied to the motor and the magnetic pole position is estimated based on the relationship between the voltage and the current.

[0006] Thus, the frequency of the AC voltage signal applied to obtain the inductance is about several 100 Hz to several kHz below the carrier frequency. However, since the frequency of the motor current ripple is within the human audible range, the noise will increase.

[0007] In order to address this problem, the following method is proposed in Japanese Patent Gazette No. 2015-126565: for one phase in the three-phase PWM signal pattern, the duty is increased or decreased in two directions, namely, the lagging side and the leading side, based on an arbitrary phase of the carrier cycle; for the other phase, the duty is increased or decreased in one direction, namely, the lagging side and the leading side, based on an arbitrary phase of the carrier cycle; and for the remaining phase, the duty is increased or decreased in a direction opposite to the said direction, based on an arbitrary phase of the carrier cycle, thereby generating high-order harmonic current amplitudes and inferring the magnetic pole position while suppressing noise.

[0008] In the method of generating a three-phase PWM signal pattern as described above, the currents of the three phases are detected twice at fixed 4 points in the carrier cycle, and then their differential values ​​are obtained, and the estimated magnetic pole position of the motor is obtained based on the current change. Therefore, this method has the following advantages: it does not rely on the electrical characteristics of the motor that the salient pole is relatively small or the inductance is large, and even in an extremely low speed area including zero speed, the estimated magnetic pole position can be obtained with high accuracy by a position sensorless method, and can be easily applied to various motors.

[0009] However, in the process of generating a three-phase PWM signal, since a carrier wave of a different waveform is used in each phase, the direction of stretching the pulse of each phase is changed. For example, the V-phase carrier wave is a triangle wave, the U-phase carrier wave is a falling sawtooth wave, and the W-phase carrier wave is a rising sawtooth wave that is opposite to the U-phase. And these phases are output in a manner that the amplitude level of the U-phase carrier wave is the smallest, the amplitude level of the V-phase carrier wave is the largest, and the amplitude level of the W-phase carrier wave is the largest.

[0010] Therefore, if practical application is envisioned, a microcomputer capable of generating these carrier waves for each phase must be used, which becomes a limitation when selecting a microcomputer during product development or software update of an existing system, making it difficult to universally apply to various systems. Summary of the invention

[0011] Therefore, a motor control device is provided which can suppress noise while using only a triangular wave as a carrier wave and ensuring a sufficient SN ratio for magnetic pole position estimation.

[0012] According to the present embodiment, the motor control device includes:

[0013] An inverter circuit drives a motor, wherein the motor converts a direct current into a three-phase alternating current by controlling the on / off of a plurality of switching elements connected in a three-phase bridge according to a prescribed PWM signal pattern;

[0014] a current detection element for generating a signal corresponding to a current value of the inverter circuit;

[0015] a PWM signal generating unit for generating a three-phase PWM signal pattern in a manner following the magnetic pole position of the motor;

[0016] A current detection unit detects a phase current of the motor based on a signal generated by the current detection element and the PWM signal pattern;

[0017] a current change amount detection unit that outputs a difference between two detected current values ​​as a current change amount for each of two phases among the three phases; and

[0018] a magnetic pole position estimation unit that estimates the magnetic pole position of the motor based on the current change amount;

[0019] The PWM signal generating unit uses a triangular wave as a carrier wave.

[0020] The current detection unit generates a three-phase PWM signal pattern so that the current of the two phases can be detected twice at the timing of four points within the carrier cycle of the PWM signal.

[0021] The PWM signal generating unit performs the following first shifting method: in the magnitude relationship of the duty ratios of the phases in the three-phase PWM signal that change in each sector of the output voltage of the inverter unit, with respect to the maximum phase having the largest duty ratio, it is shifted in one direction toward the leading side or the lagging side with reference to any phase of the carrier cycle, and with respect to the intermediate phase having an intermediate duty ratio, it is shifted in a direction opposite to the maximum phase with reference to any phase of the carrier cycle. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 This is a functional block diagram showing the configuration of a motor control device according to the first embodiment.

[0023] Figure 2 This is a diagram showing a specific configuration example of a current detector (part 1).

[0024] Figure 3 This is a diagram showing a specific configuration example of a current detector (part 2).

[0025] Figure 4 This is a functional block diagram showing the internal structure of the PWM generation unit.

[0026] Figure 5 This is a diagram showing three-phase PWM signal pulses and motor currents generated by a conventional triangle wave comparison method.

[0027] Figure 6 This is a diagram showing three-phase PWM signal pulses and motor currents after phase shift in the first embodiment.

[0028] Figure 73 is a diagram showing duty command values ​​of three phases before phase shifting.

[0029] Figure 8 3 is a diagram showing duty command values ​​of three phases after phase shifting.

[0030] Fig. 9 This is a diagram showing the triangular wave carrier wave in one electrical angle cycle, the pulses of each phase in each sector, and the current detection timing.

[0031] Fig.10 3 is a diagram showing the relationship between voltage vectors V0 to V7 and sectors 0 to 5.

[0032] Fig.11 1 is a diagram showing a current detection pattern for each sector that can obtain three current change amounts that have a phase difference of 120 degrees and an equal DC offset amount.

[0033] Fig.12 This is a diagram (part 2) showing a current detection pattern for each sector that can obtain three current change amounts that have a phase difference of 120 degrees and an equal DC offset amount.

[0034] Fig.13 The diagram shows the current change amount, the output voltage sector, the three-phase gate signals, and the current detection timing when the PWM signal pattern of the present embodiment is applied to the permanent magnet motor.

[0035] Fig.14 It is a timing chart showing the processing contents of the vector control in the case of sector 0.

[0036] Fig.15 yes Fig.14 The flowchart (part 1) corresponding to the processes (7) to (9) shown.

[0037] Fig.16 yes Fig.14 The flowchart (part 2) corresponding to the processes (7) to (9) shown.

[0038] Fig.17 yes Fig.14 The flowchart corresponding to the process (10) shown.

[0039] Fig.18 This is a diagram showing current detection timings T1 to T4 within a control period.

[0040] Fig.19 This is a timing chart showing a pulse shift method according to the second embodiment.

[0041] Fig. 20 This is a diagram showing a specific configuration example of a current detector according to a third embodiment.

[0042] Fig.21 is a timing diagram showing the first shift method and the second shift method.

[0043] Fig. 22 1 is a timing chart showing a case where the first shift method and the second shift method are alternately switched and executed.

[0044] Fig.23 yes Fig. 22 The processing shown corresponds to the flowchart (part 1).

[0045] Fig.24 yes Fig. 22 Flowchart (part 2) corresponding to the processing shown.

[0046] Fig.25 This is a diagram showing current detection timings T1 to T4 within a control period.

[0047] Fig.26 This is a functional block diagram showing a configuration of a motor control device according to a fourth embodiment. DETAILED DESCRIPTION

[0048] (First Embodiment)

[0049] Figure 1 1 is a functional block diagram showing the configuration of a system including the motor control device of the present embodiment. The speed control unit 1 generates a q-axis current command value Iqref from the inverter unit 5 to the motor 6 by performing PI control or PID control on the difference between the input speed command value ωref and the estimated speed ω obtained by the magnetic pole position estimation unit 10. In addition, the speed control unit 1 generates a d-axis current command value Idref for field weakening control by performing PI control on the difference between the DC voltage VDC and the dq-axis voltage amplitude Vdq, for example.

[0050] The current control unit 2 performs PI control or PID control on the difference between the current command values ​​Iqref and Idref and the d-axis current Id and q-axis current Iq given by the three-phase→dq coordinate conversion unit 9, thereby generating a d-axis voltage command value Vd and a q-axis voltage command value Vq. The three-phase→dq coordinate conversion unit 9 converts the detected current values ​​Iu_detect, Iv_detect, and Iw_detect detected by the phase current and current change amount detection unit 8 via the current detector 7 into dq-axis currents Id and Iq based on the magnetic pole position θ estimated by the magnetic pole position estimation unit 10. The dq→three-phase coordinate conversion unit 3 converts the d-axis and q-axis voltage command values ​​Vd and Vq into three-phase voltage command values ​​Vu, Vv, and Vw based on the magnetic pole position θ. The magnetic pole position estimation unit 10 estimates the magnetic pole position θ based on three current changes dIx_Vn, dIx_Vm and dIy_Vm (x, y=u, v, w: n, m=1, 3, 5) with a phase difference of 120 degrees detected by the phase current and current change detection unit 7 according to the principle described below.

[0051] The PWM generator 4 generates three-phase high-side and low-side PWM signals U±, V± and W± based on the three-phase voltage command values ​​Vu, Vv and Vw, and outputs a gate drive signal to the inverter 5. The inverter 5 generates a three-phase AC voltage for driving the motor 6 based on the supplied DC power supply and the given gate drive signal. The details of the configuration of the PWM generator 4 and the inverter 5 will be described later.

[0052] The current detector 7, which is equivalent to a current detection element, detects the current of each phase flowing through the motor 6 and generates a signal corresponding to the detection result. For example, a shunt resistor or CT (Current Transformer) can be used. Figure 2 As shown in FIG. 1 , a case where a CT is provided in series with the output portion of the inverter portion 5 is different from the case where a CT is provided in series with the output portion of the inverter portion 5. Figure 3 As shown in FIG. 1 , a shunt resistor is used between the lower switching element of the inverter unit 5 and the lower side of the DC power supply. The phase current and current change amount detection unit 8 performs A / D conversion and detects the phase current signal generated by the current detector 7 based on the current detection timing signal synchronized with the carrier cycle of the PWM carrier obtained by the PWM generation unit 4. The details of the phase current detection process will also be described later.

[0053] Regarding the inverter unit 5, Figure 2 as well as Figure 3As shown, a plurality of switching elements are connected in a three-phase bridge type, and these switching elements are turned on and off according to the PWM signal mode, thereby converting DC into three-phase AC. The inverter unit 5 connects the switching elements connected in parallel with diodes, that is, a pair of unit cells in series, with one unit being the positive side when viewed from the DC power supply 11, and the other unit being the negative side. As the switching element, MOSFET, IGBT, power transistor, wide bandgap semiconductor such as SiC, GaN, etc. can be used.

[0054] A pair of unit cells are connected in parallel to three DC power supplies 11 corresponding to three. Hereinafter, the unit cell on the positive side is set as the upper arm, and the unit cell on the negative side is set as the lower arm. In addition, the "upper arm" is changed to "positive arm" and the "lower arm" is changed to "negative arm" for the same meaning. Moreover, the connection point between the upper arm and the lower arm becomes the output terminal of each phase of the inverter unit 5, which is connected to the electric motor 6 composed of a DC brushless motor.

[0055] If a CT is used in the current detector 7, the current can be detected without being affected by the on / off state of the switching element. If a shunt resistor is used in the current detector 7, the current can be detected when the switching element of the lower arm is turned on, affected by the on / off state of the switching element. Hereinafter, current detection using a shunt resistor that is more limited than a CT will be described as an example.

[0056] like Figure 4 As shown, the PWM generator 4 includes a duty generator 12 and a pulse forming unit 13. The duty generator 12 determines the duty ratio as the ratio of the pulse width of each phase PWM signal based on the three-phase voltage command values ​​Vu, Vv and Vw and the voltage value VDC of the DC power supply. The pulse forming unit 13 generates a PWM signal pattern of each phase as a gate drive signal for driving the switching element of the inverter unit 5 based on the duty ratio of each phase. The details of the processing of the PWM generator 4 will be described later. The above constitutes the motor control device 14.

[0057] Next, the function of this embodiment is described. The phase current and current change amount detection unit 8 detects each phase current signal output by the current detector 7 twice during the period of generating two voltage vectors in one carrier cycle based on the input current detection timing signal. That is, each phase current signal is detected four times in one carrier cycle. One phase is detected in the interval of one voltage vector, and the above-mentioned one phase and another one phase are detected in the interval of another voltage vector, so the number of detections in the phase unit is as follows: Fig. 9 As shown, the total number is 6. In addition, the phase of the detection current signal differs according to the sector divided by the voltage vector.

[0058] The phase current and current change amount detection unit 8 obtains two current change amounts dIx_Vn of one phase x detected in the interval of one voltage vector Vn, and two current change amounts dIx_Vm and dIy_Vm of two phases x and y detected in the interval of another voltage vector Vm, and outputs them to the magnetic pole position estimation unit 10. Here, x and y are any one of u, v, and w as the detection phase of the current signal, and n and m are any one of the voltage vectors 1, 3, and 5. In addition, since the sum of the three-phase currents is zero, the phase current and current change amount detection unit 8 obtains three-phase current signals Iu_detect, Iv_detect, and Iw_detect based on the current signals of the two phases and outputs them to the three-phase → dq coordinate conversion unit 9. The current signals of the two phases use any one of the six detections within one period of the carrier, for example, the initial detection value of the interval of the voltage vector of the current signals of the two phases.

[0059] The magnetic pole position estimation unit 10 calculates the estimated magnetic pole position θ using three current variation calculations with a phase difference of 120 degrees. The three-phase→dq coordinate conversion unit 9 converts the detected current values ​​Iu_detect, Iv_detect and Iw_detect into dq axis currents Id and Iq using the estimated magnetic pole position θ and outputs them to the current control unit 2.

[0060] Here, refer to Figures 5 to 18 The pulse generation process, the current detection process, and the magnetic pole position estimation process based on the above-mentioned pulse generation process will be described in detail.

[0061] [Pulse generation processing]

[0062] First, the pulse generation process of the PWM generator 4 is described. For example, when the three-phase voltage command values ​​Vu, Vv, and Vw are zero and the duty ratios of the three-phase PWM signal patterns are uniformly 50%, the duty ratios can be obtained by the general triangle wave comparison method. Figure 5 The three-phase signal pulses shown in FIG. 1 are generated by the same reference phase and pulse width as shown in FIG. 2 , so the switches of the inverter unit 5 correspond to the all-phase on or all-phase off state. Therefore, in the entire interval of one cycle of the PWM control cycle, no voltage is applied between the terminals of each phase of the motor 6, and the current of each phase is zero. In this state, since the current ripple that becomes the high-frequency current amplitude is not generated, the magnetic pole position detection using the inductance based on the current detection cannot be performed.

[0063] In this embodiment, when the three-phase voltage command values ​​Vu, Vv, and Vw are zero and the duty ratios of the three-phase PWM signal patterns are all 50%, Figure 5Differently, by shifting the generation phase of each phase pulse as follows, a voltage of a carrier period component is applied to the motor 6 in one cycle of PWM control, and a high-frequency current ripple that can detect the magnetic pole position is generated. First, regarding the three-phase PWM signal pattern, the maximum phase with the largest duty ratio, the minimum phase with the smallest duty ratio, and the intermediate phase between them are distinguished. In addition, when the three-phase voltage command values ​​Vu, Vv, and Vw are zero and the duty ratios of the three-phase PWM signal pattern are uniformly 50%, the sector is set to the initial value, for example, at the start of the motor 6.

[0064] An example of pulse generation processing is shown in Figure 6 In. Figure 6 In the example, the PWM carrier is a triangular wave, and the minimum amplitude value of the triangular wave, i.e., the valley value, is taken as the central phase of the cycle. In this example, it is assumed that the U phase is the maximum phase, the V phase is the middle phase, and the W phase is the minimum phase, and the waveforms of the gate signals of the upper switching elements of each phase and the current of each phase are shown when the initial value of the sector is sector 0. Moreover, with respect to the maximum phase, the phase is shifted in one direction of the leading side or the lagging side based on an arbitrary phase of the carrier cycle, and with respect to the middle phase, the phase is shifted in the opposite direction to the maximum phase based on an arbitrary phase of the carrier cycle, and the minimum phase is not shifted. In addition, the duty cycle is sometimes referred to as "duty" below.

[0065] All three-phase pulses use the central phase as the reference phase. Regarding the U-phase pulse, before the interval in which only the U-phase pulse is generated, the phase of the pulse is shifted to the right side in the figure, that is, the leading side. In addition, regarding the V-phase pulse, before the interval in which only the V-phase pulse is generated, the phase of the pulse is shifted to the left side in the figure, that is, the lagging side. At this time, the set value of the duty cycle is adjusted according to each carrier half cycle, and the pulse width before the phase shift is equal to the pulse width after the phase shift.

[0066] The interval (6) in which only the U-phase pulse is generated is set by shifting the U-phase pulse so that the pulse width difference between the U-phase and the W-phase becomes the sum of the current change amount detection period, the certain period in which the influence of the current pulsation when the switching element of the W-phase changes to the on state can be ignored, and the current detection mask period. Similarly, the interval (2) in which only the V-phase pulse is generated is set by shifting the phase of the V-phase pulse so that the pulse width difference between the V-phase and the W-phase becomes the sum of the current change amount detection period and the current detection mask period when the switching element of the V-phase changes to the on state.

[0067] In this case, if the voltage between the phase terminals of the motor 6 is considered, Figure 6 The cycle shown is divided into six intervals (1) to (6). Intervals (1) and (4) are all-phase on or all-phase off. Figure 5Similarly, no voltage is applied between the phase terminals of the motor 6, and the current of each phase does not change. In the interval (2), only the V phase is turned on, so the voltage vector is V3 (010) (refer to Fig.10 ), a DC voltage VDC is applied between the V→UW phases, and the V phase current increases with a slope based on the inductance of the motor 6. At this time, a negative voltage is applied to the U and W phase terminals, so the U phase current and the W phase current decrease.

[0068] Similarly, in section (3), a voltage vector V4 (011) is given (refer to Fig.10 ), in section (5) a voltage vector V6 (101) is given (refer to Fig.10 ), in section (6) a voltage vector V1 (100) is given (refer to Fig.10 If the total interval (1) to (6) is unified, when the duty ratio of each phase is unified to 50%, as a result of the increase and decrease of the current of each phase, the average current of the three phases is zero, which is the same as Figure 5 The PWM signal pattern shown in FIG. 1 is the same as the phase current, but the current ripple of the carrier frequency is generated in each phase. That is, by making the pulse generation phase of the three-phase PWM signal as Figure 6 By shifting as shown, it is possible to provide a high-frequency current amplitude of the carrier frequency without changing the average value of the three-phase current.

[0069] Next, refer to Figures 7 to 9 To Figure 6 The function of generating PWM signal pulses in the mode shown is explained. The three-phase voltage command values ​​Vu, Vv, and Vw determined by the dq→three-phase coordinate conversion unit 3 are converted into duty values ​​Du, Dv, and Dw of each phase by the duty generation unit 12 according to the detected DC voltage value. The duty values ​​Du, Dv, and Dw of each phase are given to the pulse forming unit 13, and compared with the level of the carrier to generate a three-phase PWM signal. In addition, a signal on the lower arm side that inverts the three-phase PWM signal is also generated, and after adding dead time as needed, the PWM signals U±, V±, and W± of each phase are output to the inverter unit 5.

[0070] In this embodiment, a triangular wave carrier wave common to three phases is used, and each sector (see Fig. 9 ) In the magnitude relationship of the duty ratio of the carrier wave, the maximum phase is shifted to one direction of the leading side or the lagging side based on an arbitrary phase of the carrier wave period, and the intermediate phase is shifted to the opposite direction of the maximum phase based on an arbitrary phase of the carrier wave period. In the pulse forming unit 13, the duty ratios Du, Dv, and Dw of each phase are compared with the level of the carrier wave of each phase, and a high-level pulse is output during the period when (duty ratio)>(carrier wave).

[0071] The results, such as Figure 8As shown, in the case of sector 0, the valley value of the triangular wave carrier is used as the reference phase of the cycle, and the PWM signal pulse U+ of the U phase is shifted from the reference phase to the right side of the figure, that is, the leading direction. The PWM signal pulse V+ of the V phase is shifted from the reference phase to the left side of the figure, that is, the lagging direction. The PWM signal pulse W+ of the W phase is not shifted.

[0072] [Current detection processing]

[0073] Next, the current detection processing of the phase current and current change amount detection unit 8 is described. The phase current and current change amount detection unit 8 is given a current detection timing signal from the PWM generation unit 4, and detects the current of the three phases according to the current detection timing signal. As described above, the detection timing is a timing of four points calculated based on the carrier of the PWM signal, the carrier (Japanese: transport wave) within one cycle, the duty width difference of each phase, the detection period of the current change amount, and the current detection mask period, and is set to detect the phase current twice during the two voltage vector periods.

[0074] Fig. 9 The figure shows the triangular wave carrier in one electrical angle cycle and the phase pulses and current detection timing of each sector. Fig.10 : The relationship between the voltage vectors V0 to V7 and the sectors 0 to 5 is shown in FIG. The current detection is performed four times by giving the signals of the timings T1, T2, T3, and T4 for detecting the three-phase current within one carrier cycle. For example, the count is counted down from the maximum value of the count value of the triangular wave carrier, and the timings T1 and T2 are set in the period before the count value reaches zero. After the count value reaches zero and turns to count up, the timings T3 and T4 are set in the period before the count value reaches the maximum value.

[0075] The phase current and current change amount detection unit 8 sets the detection timing in this way and obtains the difference value of the detection current at T1 and T2, thereby calculating the current change amount dIw_V3 in the case of sector 0. Similarly, by obtaining the difference value of the detection current at T3 and T4, the current change amounts dIv_V1 and dIw_V1 are calculated. In addition, the difference time T2-T1 and T4-T3 are set to be equal. Fig.11 as well as Fig.12 This indicates that a current detection mode for each sector can be obtained with three current change amounts having a phase difference of 120 degrees and an equal DC offset, and the detection current phase is set according to the change in the sector.

[0076] [Magnetic pole position estimation processing]

[0077] Next, the estimation process of the magnetic pole position by the magnetic pole position estimation unit 10 will be described. Fig.13As an example, the current change amount, the sector of the output voltage, the three-phase gate signal, and the current detection timing when the PWM signal mode of the embodiment is applied to the embedded magnet type permanent magnet motor are shown. Each current change amount changes by 2 times 2θ relative to the electrical angle 1 cycle, and for a motor with salient polarity, information indicating the magnetic pole position of the motor is included. Therefore, based on the three current changes obtained as described above, in the case of sector 0, three-phase / two-phase conversion is performed by the following formula, and an inverse tangent operation is performed, thereby θ as an estimated value can be obtained.

[0078] Equation 1

[0079]

[0080]

[0081] Here, the estimated position θ obtained by formula (2) is a value obtained by dividing 2θ, so in principle, it has an error of ±180°. Therefore, in order to determine one of the above in the stopped state before driving the motor 6, an algorithm for identifying the initial position is required. For this, the determination is made by using the characteristics of magnetic saturation, which is a known technology in the past. Regarding this known technology, there are methods such as the following literature.

[0082] Journal of the Institute of Electrical Engineers D (Industrial Applications) Vol. 125 (2005), No. 3 "A method for estimating the initial rotational position of a surface magnet synchronous motor using pulse voltage", Yamamoto Osamu, Arata Hiroshi

[0083] Then, the estimated speed ω is obtained by time-differentiating the estimated position at the control cycle.

[0084] [Duty setting method and current detection timing details]

[0085] Fig.14 The timing diagram of vector control in the case of sector 0 is shown in FIG. The vector control is based on a series of processes (1) to (10) shown in the figure, which are related to Figure 1 The control block diagram shown in FIG. 1 corresponds to the control block diagram shown in FIG. 1 . In addition, (1) to (10) correspond to the circled numbers in the figure. The following description is based on the "current control cycle". (1) In the current / DC voltage detection, the detection value of the previous control cycle is calculated, and then the processing is performed in the order of (2) to (6) in the first half of the carrier cycle, and the processing is performed in the order of (7) to (9) in the second half of the carrier cycle.

[0086] In (8) PWM output setting (first half) and (9) detection timing setting, the duty of the PWM pulse and the current detection timing of the next control cycle are calculated. At the end of this control cycle, the PWM pulse of the first half of the carrier of the next control cycle is set, and the current / DC voltage detection timing of the next control cycle is set. Then, in the first half of the carrier of the next control cycle, the processing (10) PWM output setting (second half) which is the last in the time series is executed, and the PWM pulse of the second half of the carrier of the next control cycle is set at the center of the next control cycle.

[0087] pass Fig.15 as well as Fig.16 The flowchart of will explain the processing of (7) to (10). In addition, the first half of the processing of duty calculation (7) is a common setting in the three-phase duty calculation processing of three-phase modulation based on vector control, so the description is omitted. Fig.15 The second half of the processing corresponding to the duty calculation of (7) and the processing of (8) and (9). First, the three-phase duty obtained in the first half of the processing of (7) is used to calculate the pulse width difference (S1) between the duty middle phase and the minimum phase and the duty maximum phase and the middle phase by formula (3). In addition, the duty maximum phase, middle phase, and minimum phase change for each sector.

[0088] Pulse width difference 1 = (duty middle phase - duty minimum phase) / 2

[0089] Pulse width difference 2 = (maximum duty phase - intermediate duty phase) / 2…(3)

[0090] Next, the phase shift amount (S2) of the pulse in the duty mid-phase is calculated using equation (4).

[0091] Pulse shift amount in duty cycle middle phase = pulse shift amount setting value + pulse width difference 2…(4)

[0092] Here, the pulse shift setting value is as follows: Fig.18 As shown in FIG. 1 , the total of the mask period, the detection period, and the remaining period for current detection are set in consideration of the influence of current ripple caused by switching in the inverter unit 5 .

[0093] Next, the pulse shift amount of the maximum duty phase is calculated (S3). If the total value of pulse width difference 1 and pulse width difference 2 is less than the pulse shift amount setting value, the pulse shift amount of the maximum duty phase is calculated using equation (5). Otherwise, the phase shift amount is set to zero.

[0094] Pulse shift amount of the maximum duty phase

[0095] = Pulse shift setting value - (Pulse width difference 1 + Pulse width difference 2)…(5)

[0096] If the maximum duty phase is shifted, it will also affect the shift amount of the initially calculated middle duty phase, so (S4) is calculated again. When the total value of pulse width difference 1 and pulse width difference 2 is less than the pulse shift amount of the maximum duty phase, it is necessary to consider the relationship with the minimum duty phase and calculate the pulse shift amount of the middle duty phase again using formula (6).

[0097] Pulse shift amount in the duty cycle middle phase = pulse shift amount setting value - pulse width difference 1…(6)

[0098] If the above total value exceeds the pulse shift amount of the maximum phase, the pulse shift amount of the duty intermediate phase needs to be reduced by the amount by which the duty maximum phase is shifted, and therefore, it is calculated again using equation (7).

[0099] Pulse shift amount in the duty cycle

[0100] = Pulse shift amount of the duty cycle middle phase - Pulse shift amount of the duty cycle maximum phase (7)

[0101] In addition, the pulse shift is not performed in the duty minimum phase.

[0102] Through the above, the pulse shift amount of the maximum duty phase and the middle phase is calculated. Using them, the duty (S5, S6) of the first half of the carrier and the second half of the carrier is calculated by equation (8). The direction of the pulse shift changes according to the positive or negative sign of the second term on the right side of equation (8), but equation (8) is given by Fig. 9 The case of the defined pulse shift direction. In the first half of the carrier, the sign (-) means the duty cycle decreases, so the PWM pulse shifts to the right, and the sign (+) means the duty cycle increases, so the PWM pulse shifts to the left. Similarly, in the second half of the carrier, the sign (+) means the duty cycle increases, so the PWM pulse shifts to the right, and the sign (-) means the duty cycle decreases, so the PWM pulse shifts to the left. Therefore, in formula (8), the sign of the second term on the right side is opposite in the first half of the carrier and the second half of the carrier.

[0103] Maximum duty phase (first half of carrier)

[0104] = Maximum duty phase - Pulse shift of maximum duty phase × 2

[0105] Duty cycle middle phase (first half of carrier)

[0106] = duty middle phase + duty middle phase pulse shift amount × 2

[0107] Maximum duty phase (second half of carrier)

[0108] = Maximum duty phase + Pulse shift of maximum duty phase × 2

[0109] Duty cycle middle phase (second half of carrier)

[0110] = duty middle phase - pulse shift amount of duty middle phase × 2…(8)

[0111] The process so far is the duty calculation process of (7).

[0112] Next, by processing the PWM output setting (first half) of (8), the duty maximum phase and the intermediate phase that are finally compared with the triangular wave carrier are set to the duty maximum phase (first half of the carrier) and duty intermediate phase (first half of the carrier) obtained by (7) (S7). The minimum phase is kept as it is because no pulse shift is performed. Then, in the detection timing setting process of (9), the maximum phase and the intermediate phase are set by formula (9) Fig.18 The detection timings shown are T1 to T4 (S8).

[0113] T1 = 100% - (50% + duty cycle middle phase (first half of carrier) / 2 - detection shield %

[0114] T2 = 100% - (T1 - detection period%)

[0115] T4 = 50% + maximum duty phase (second half of carrier) / 2 - remaining period%

[0116] T3=T4-Detection period%…(9)

[0117] The detection timings T1 to T4 are duty ratios (%), and “detection mask %”, “detection period %”, etc. indicate the duty ratios corresponding to the detection mask time and the length of the detection period.

[0118] Finally, if Fig.17 As shown, through the processing of the PWM output setting (second half) of (10), the maximum duty phase and the middle phase that are finally compared with the triangular wave carrier are set to the maximum duty phase (second half of the carrier) and the middle duty phase (second half of the carrier) (S9) obtained by (7).

[0119] As described above, according to the present embodiment, by performing triangular wave carrier comparison on a plurality of switching elements connected in a three-phase bridge, on-off control is performed according to a PWM signal pattern that shifts the maximum duty phase and the intermediate duty phase in opposite directions in accordance with the magnitude relationship of the duty ratio that changes in each sector. Thus, when the motor 6 is driven via the inverter unit 5 that converts direct current into three-phase alternating current, the PWM generating unit 4 generates a three-phase PWM signal pattern in a manner that follows the magnetic pole position of the motor 6.

[0120] The phase current and current change amount detection unit 8 detects the current of the three phases twice at the timings T1 to T4 calculated based on the duty width difference of each phase within the carrier cycle, the detection period of the current change amount, and the current detection mask period, and obtains the current change amount. The magnetic pole position estimation unit 10 estimates the magnetic pole position θ of the motor 6 based on these current change amounts. In particular, according to the voltage vector that changes in each sector, the detection points of the three current change amounts used to estimate the magnetic pole position are switched in each sector, so that the areas of the two voltage vectors to be detected can be used as detection points.

[0121] Therefore, it is not necessary to use a combination of sawtooth wave and triangular wave carriers, and the magnetic pole position θ can be estimated with high accuracy without a position sensor even in an extremely low speed region including zero speed. Therefore, the present embodiment can be easily applied to various systems.

[0122] (Second Embodiment)

[0123] Hereinafter, description of the same parts as those of the first embodiment will be omitted, and different parts will be described.

[0124] The first embodiment is as follows Fig. 9 As shown in FIG. 1 , when moving from an even sector to an odd sector, the phase with the maximum duty cycle and the intermediate phase shift in opposite directions, thereby continuously generating the same voltage vector. Therefore, the current ripple becomes larger.

[0125] In contrast, in the second embodiment, if Fig.19 As shown in FIG. 1 , the portion surrounded by the dotted line is added. That is, by setting the phase shift direction of the PWM pulse over the electrical angle 2 period, the same voltage vector will not be continuously generated when the sectors are switched. This can reduce the current ripple. Fig.19 As shown, the sign of the second term on the right side of equation (8) may be changed according to the switching of sectors.

[0126] (Third Embodiment)

[0127] The third embodiment is as follows Fig. 20 , a case where one shunt resistor inserted on the DC side of the inverter unit 5 is used is shown. Fig.21 Although the shift direction of the PWM pulse is the same as that of the first embodiment, the combination of the current detection phase and the current change amount used to infer the magnetic pole position is different. When three shunt resistors are used as in the first embodiment, the current of the phase where the pulse is OFF can be detected. When one shunt resistor is used as in the third embodiment, only the current of the phase where only one phase of the pulse is ON or OFF can be detected. Therefore, the current detection phase with respect to the voltage vector is different in the first embodiment and the third embodiment. Fig.11 The combination of current change amounts having a phase difference of 120 degrees shown is also different in the third embodiment.

[0128] right Fig.21 In the example of the sector 0 shown in FIG. 1 , in addition to the voltage vectors V1 and V3, the voltage vector V2 is also required. However, in the pulse generation method of the first embodiment, it is difficult to simultaneously generate the voltage vectors V1, V2, and V3 in one control cycle and detect the current change amount. Therefore, in the third embodiment, as shown in FIG. Fig.21 As shown in the lower part of , a method of shifting the duty maximum phase and the intermediate phase in the same direction is added, and this method and the pulse generation method of the first embodiment are performed alternately in each control cycle. Fig.21 The method shown in the upper part is set as the first shift method, and the method shown in the lower part is set as the second shift method. Fig. 22 The case of sector 0 shows a PWM pulse generated by combining these two shifting methods. By switching the current detection phase and the voltage vector in each control cycle, a combination of current changes for estimating the magnetic pole position can be detected in two control cycles.

[0129] for Fig.14 The vector control processes (7) to (9) shown above require an additional method for shifting the maximum duty phase and the intermediate phase in the same direction when a shunt resistor is used. Fig.23 as well as Fig.24 The flowchart shown corresponds to the second half of the duty calculation process of (7) and the processes of (8) and (9). When the same process as step S1 is performed (S11), the phase shift amount of the pulse in the duty intermediate phase is obtained (S12).

[0130] Since the phases are shifted in the same direction, the shift amount is larger than that in the first embodiment, so the phase shift amount of the duty middle phase is calculated first, and then the phase shift amount of the duty maximum phase is calculated. When the pulse width difference 1 between the duty middle phase and the minimum phase is less than the pulse shift amount setting value, the pulse shift amount of the duty middle phase is calculated by formula (10), and when the pulse width difference 1 exceeds the pulse shift amount setting value, the phase shift amount is zero.

[0131] Pulse shift amount in duty cycle middle phase = pulse shift amount setting value - pulse width difference 1…(10)

[0132] Since the pulse width difference 2 between the duty maximum phase and the middle phase is changed by the phase shift of the duty middle phase, it is recalculated and updated using equation (11) (S13).

[0133] Pulse width difference 2 = Pulse width difference 2 - Pulse shift amount in the duty cycle middle phase…(11)

[0134] Next, the pulse shift amount of the maximum duty phase is calculated (S14). When the recalculated pulse width difference 2 is less than the pulse shift amount setting value, the pulse shift amount of the maximum duty phase is calculated by equation (12). When the pulse width difference 2 exceeds the pulse shift amount setting value, the phase shift amount is zero.

[0135] Pulse shift amount of the maximum duty phase = pulse shift amount setting value - pulse width difference 2…(12)

[0136] Through the above, the pulse shift amounts of the duty maximum phase and the intermediate phase can be obtained.

[0137] Next, using these, the duties (S15, S16) of the first half and the second half of the carrier are calculated by equation (13). Since the phase shift is in the same direction, the combination of the positive and negative signs of the second term on the right side of the following equation is different from that of equation (8).

[0138] Maximum duty phase (first half of carrier)

[0139] = Maximum duty phase - Pulse shift of maximum duty phase × 2

[0140] Duty cycle middle phase (first half of carrier)

[0141] = duty middle phase - pulse shift amount of duty middle phase × 2

[0142] Maximum duty phase (second half of carrier)

[0143] = Maximum duty phase + Pulse shift of maximum duty phase × 2

[0144] Duty cycle middle phase (second half of carrier)

[0145] = duty middle phase + duty middle phase pulse shift × 2…(13)

[0146] The process up to this point is the duty calculation process of (7). Next, if the same process as step S7 is performed (S17), in the process of setting the detection timing of (9), the value is set by equation (14). Fig.24 The detection timings shown are T1 to T4 (S18).

[0147] T2 = 50% + duty cycle (latter half of carrier) / 2 - remaining period %

[0148] T1=T2-Detection period%

[0149] T4 = 50% + maximum duty phase (second half of carrier) / 2 - remaining period%

[0150] T3=T4-Detection period%…(14)

[0151] The above is a method of adding a phase shift of the PWM pulse in the same direction when using a shunt resistor. Fig.15 as well as Fig.16 ,and Fig.23 as well as Fig.24 The processing of the flowcharts (7) to (9) of the vector control shown in the figure may be performed.

[0152] (Fourth Embodiment)

[0153] like Fig.26 As shown, in the motor control device 21 of the fourth embodiment, the functional block of the phase current and current change amount detection unit 8 in the motor control device 14 of the first embodiment is divided into a phase current detection unit 22 and a current change amount detection unit 23. In addition, the detection output of the current detector 7 is amplified by amplifiers 24U, 24V, and 24 and input to the current change amount detection unit 23. For example, when the operating power supply voltage is 5V, the amplifier 24 is given an offset voltage of 2.5V and set to a gain of "2".

[0154] The current detector 7 determines the specification by considering the maximum output in the entire speed range of the motor 6, so the current detection range is large, and the resolution is reduced when detecting a small current change. The magnetic pole position detection based on the current change is mainly used when the motor 6 is at a low speed, so the detection range of the current change can be determined by considering the maximum output at the start of the motor 6 and in the low speed range. Therefore, for the phase current of the motor 6 used in the vector control, the output signal of the current detector 7 is used as it is, and the output signal of the current detector 7 is amplified for the current change used in the magnetic pole position estimation in order to improve the detection resolution. As a result, even if the system capacity is increased and the detection range of the current detector 7 becomes larger, it is easy to implement the magnetic pole position estimation based on the current change.

[0155] Although several embodiments of the present invention have been described, these embodiments are presented as examples and are not intended to limit the scope of the invention. These new embodiments can be implemented in various other ways, and various omissions, substitutions, and changes can be made without departing from the scope of the subject matter of the invention. These embodiments and their variations are included in the scope and subject matter of the invention, and are included in the invention described in the claims and the scope of their equivalents.

Claims

1. A motor control device, characterized in that: have: An inverter circuit drives a motor, wherein the motor converts a direct current into a three-phase alternating current by controlling the on / off of a plurality of switching elements connected in a three-phase bridge according to a prescribed PWM signal pattern; a current detection element that generates a signal corresponding to a current value of the inverter section; a PWM signal generating unit for generating a three-phase PWM signal pattern in a manner following the magnetic pole position of the motor; A current detection unit detects a phase current of the motor based on a signal generated by the current detection element and the PWM signal pattern; a current variation detection unit that outputs a difference between two current values ​​detected as a current variation for each of two phases among the three phases; as well as a magnetic pole position estimation unit that estimates the magnetic pole position of the motor based on the current change amount; The PWM signal generating unit uses a triangular wave as a carrier wave. The current detection unit generates a three-phase PWM signal pattern so that the current of the two phases can be detected twice at the timing of four points within the carrier cycle of the PWM signal. The PWM signal generating unit performs the following first shifting method: in the magnitude relationship of the duty ratios of the phases in the three-phase PWM signal that change in each sector of the output voltage of the inverter unit, with respect to the maximum phase having the largest duty ratio, it is shifted in one direction toward the leading side or the lagging side with reference to any phase of the carrier cycle, and with respect to the intermediate phase having an intermediate duty ratio, it is shifted in a direction opposite to the maximum phase with reference to any phase of the carrier cycle.

2. The motor control device according to claim 1, characterized in that: The PWM signal generating unit generates a PWM signal for at least one phase of the three-phase PWM signals shifted by the first shift method so that the pulse shift direction of the previous value of the sector is equal to the pulse shift direction of the current value of the sector.

3. The motor control device according to claim 1 or 2, characterized in that: The current detection element is connected to the DC side of the inverter circuit. The PWM signal generating unit is capable of executing the following second shifting method: in the magnitude relationship of the duty ratios that vary in each of the sectors in the three-phase PWM signal, the maximum and intermediate phases are shifted toward one direction of the leading side or the lagging side based on an arbitrary phase of the carrier cycle, The PWM signal generating unit performs the first shifting method and the second shifting method alternately in each control period.

4. The motor control device according to claim 3, characterized in that: For the second shift method, the PWM signal generating unit sets a shift amount of the largest phase to be larger than a shift amount of the intermediate phase in the magnitude relationship of duty phases that change for each sector in the three-phase PWM signal.

5. The motor control device according to claim 1 or 2, characterized in that: An amplifier is provided for amplifying the signal generated by the current detection element and outputting the amplified signal to the current change amount detection unit.

6. The motor control device according to claim 3, characterized in that: An amplifier is provided for amplifying the signal generated by the current detection element and outputting the amplified signal to the current change amount detection unit.