Motor control device and motor control method
Through technical means such as current control and carrier frequency adjustment, high-frequency PWM signals are generated to increase the switching frequency of the inverter, which solves the problem that switching frequency is difficult to increase in the motor control device in the prior art, and realizes the iron loss of the motor and reduction in switching losses.
Patent Information
- Application Number
- CN202280093648.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-08
- Publication Date
- 2024-11-08
AI Technical Summary
In the existing motor control devices, the switching frequency of the inverter is difficult to increase, resulting in the motor iron loss and switching loss being difficult to reduce at the same time.
By combining the current control unit, the carrier generation unit, the carrier frequency adjustment unit, the phase calculation unit, the split phase calculation unit and the PWM control unit, the PWM pulse signal for the inverter is generated, and the carrier frequency and the split phase are adjusted to achieve the inverse The switching frequency of the converter is high frequency.
It effectively increases the switching frequency of the inverter and reduces the iron loss and switching loss of the motor.
Smart Images

Figure CN118923032A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a device and method for controlling a motor. Background Art
[0002] In the prior art, there is known a motor control device that controls the operation of an inverter that converts a DC power into an AC power using a plurality of switching elements, and drives an AC motor using the AC power output from the inverter, thereby controlling the motor. Such a motor control device is widely used in, for example, railway vehicles or electric vehicles.
[0003] The power loss generated in the motor control device mainly includes the switching loss of the inverter and the iron loss of the motor. By increasing the switching frequency of the inverter, the iron loss of the motor can be reduced. However, if the switching frequency is increased, the switching loss of the inverter will usually increase, so the power loss cannot be reduced.
[0004] As a method for solving the above problem, the following method is known: based on the inverter using a switching element with excellent characteristics when operating at high frequencies, such as a semiconductor switching element using SiC (silicon carbide), the switching frequency is increased to a high frequency. In this way, the increase in switching loss in the inverter can be suppressed to a certain extent, while effectively reducing the iron loss of the motor.
[0005] Regarding the high frequency of the switching frequency, for example, a motor control device described in Patent Document 1 is known. The motor control device of Patent Document 1 includes two computing devices, one of which performs a current control operation of the motor, and the other performs a magnetic pole position operation for detecting the magnetic pole position of the motor together with abnormality monitoring of the one computing device. Thus, a high-speed and high-response motor control device using a controller such as a microcomputer is realized.
[0006] Prior art literature
[0007] Patent Literature
[0008] Patent Document 1: Japanese Patent Application Publication No. 2003-23800 Summary of the invention
[0009] Problems to be solved by the invention
[0010] In the motor control device described in Patent Document 1, the current control operation and the magnetic pole position operation are respectively shared by two operation devices, and these operation processes are synchronously executed. Therefore, the cycle of the PWM signal output from the motor control device to the inverter to drive the switching element of the inverter is consistent with the operation cycle of the current control operation, and the output cycle of the PWM signal cannot be made shorter than the operation cycle of the current control operation. Therefore, it is difficult to achieve a high switching frequency.
[0011] The present invention has been made in view of the above-mentioned problems, and a main object of the present invention is to increase the switching frequency of the inverter.
[0012] Methods for solving problems
[0013] The present invention provides a motor control device, which is connected to an inverter that converts a DC electric power into a three-phase AC electric power and then outputs it to the motor, and uses the inverter to control the drive of the motor by controlling the action of the inverter, wherein the motor control device includes: a current control unit, which calculates voltage instructions for the d-axis and q-axis of the motor in each specified operation cycle; a carrier generating unit, which generates a carrier; a carrier frequency adjusting unit, which adjusts the frequency of the carrier; a phase calculation unit, which calculates the voltage phase of the inverter based on the rotational position of the motor; a split phase calculation unit, which calculates the split phase obtained by dividing the voltage phase by more than 2 specified split numbers; a three-phase voltage conversion unit, which converts the voltage instruction into a three-phase voltage instruction based on the split phase; and a PWM control unit, which uses the carrier to perform pulse width modulation on the three-phase voltage instruction to generate a PWM pulse signal for controlling the action of the inverter.
[0014] The present invention provides a motor control method, which controls the operation of an inverter that converts a DC electric power into a three-phase AC electric power and outputs it to the motor, and uses the inverter to control the drive of the motor, wherein voltage instructions for the d-axis and q-axis of the motor are calculated in each specified operation cycle, the frequency of the carrier is adjusted, the voltage phase of the inverter is calculated based on the rotational position of the motor, the value obtained by dividing the operation cycle of the voltage instruction by a specified number of divisions is used as the operation cycle of the divided phase based on the voltage phase to calculate the divided phase, the voltage instruction is converted into a three-phase voltage instruction based on the divided phase, and the three-phase voltage instruction is pulse-width modulated by using the carrier to generate a PWM pulse signal for controlling the operation of the inverter.
[0015] Effects of the Invention
[0016] According to the present invention, the switching frequency of the inverter can be increased. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 It is an overall configuration diagram of a motor drive system including a motor control device according to one embodiment of the present invention.
[0018] Figure 2 This is a block diagram showing a functional configuration of a motor control device according to an embodiment of the present invention.
[0019] Figure 3 This is a block diagram of a split phase calculation unit according to one embodiment of the present invention.
[0020] Figure 4 This is a diagram showing an example of the relationship between a PLL trigger and a divided phase.
[0021] Figure 5 It is a diagram showing how the division phase changes.
[0022] Figure 6 1 is a diagram comparing the values of the three-phase voltage commands obtained by conventional control when the present invention is not applied and the values of the three-phase voltage commands when the present invention is applied.
[0023] Figure 7 This is a diagram showing a hardware configuration example of a motor control device. DETAILED DESCRIPTION
[0024] Hereinafter, specific embodiments of the present invention will be described in detail with reference to the accompanying drawings. In this embodiment, an application example to a motor drive system installed and used in an electric vehicle such as an electric vehicle or a hybrid vehicle will be described.
[0025] Figure 1 FIG. 1 is an overall structural diagram of a motor drive system including a motor control device according to an embodiment of the present invention. Figure 1 In the embodiment, the motor drive system 100 includes a motor control device 1 , a permanent magnet synchronous motor (hereinafter, simply referred to as “motor”) 2 , an inverter 3 , a rotation position detector 4 , and a high-voltage battery 5 .
[0026] The motor control device 1 controls the operation of the inverter 3 based on the torque command T* corresponding to the target torque requested from the vehicle to the motor 2, thereby generating a PWM pulse signal for controlling the drive of the motor 2. Then, the generated PWM pulse signal is output to the inverter 3. In addition, the details of the motor control device 1 will be described later.
[0027] The inverter 3 has an inverter circuit 31, a gate drive circuit 32, and a smoothing capacitor 33. The gate drive circuit 32 generates a gate drive signal for controlling each switching element of the inverter circuit 31 based on the PWM pulse signal input from the motor control device 1, and outputs it to the inverter circuit 31. The inverter circuit 31 has switching elements corresponding to the upper arm and the lower arm of the U phase, the V phase, and the W phase, respectively. By controlling these switching elements respectively according to the gate drive signal input from the gate drive circuit 32, the DC power supplied from the high-voltage battery 5 is converted into an AC power and output to the motor 2. The smoothing capacitor 33 smoothes the DC power supplied from the high-voltage battery 5 to the inverter circuit 31.
[0028] The motor 2 is a synchronous motor that is rotationally driven by the AC power supplied from the inverter 3, and has a stator and a rotor. When the AC power input from the inverter 3 is applied to the armature coils Lu, Lv, and Lw provided in the stator, three-phase AC currents Iu, Iv, and Iw are conducted in the motor 2, and each armature coil generates an armature magnetic flux. An attractive force and a reaction force are generated between the armature magnetic flux of each armature coil and the magnetic flux of the permanent magnet arranged in the rotor, thereby generating a torque in the rotor, and the rotor is rotationally driven.
[0029] A rotation position sensor 8 for detecting the rotation position θr of the rotor is mounted on the motor 2. The rotation position detector 4 calculates the rotation position θr based on the input signal of the rotation position sensor 8. The calculation result of the rotation position θr detected by the rotation position detector 4 is input to the motor control device 1, and is used in the phase control of the AC power by the motor control device 1 by generating a PWM pulse signal according to the phase of the induced voltage of the motor 2.
[0030] Here, the rotation position sensor 8 is preferably a synchronous resolver composed of an iron core and a winding, but there is no problem even if it is a magnetoresistive element such as a GMR sensor or a sensor using a Hall element. In addition, the rotation position detector 4 can also estimate the rotation position θr by using the three-phase AC current Iu, Iv, Iw flowing to the motor 2 or the three-phase AC voltage Vu, Vv, Vw applied from the inverter 3 to the motor 2 instead of using the input signal from the rotation position sensor 8.
[0031] A current detection unit 7 is arranged between the inverter 3 and the motor 2. The current detection unit 7 detects the three-phase AC currents Iu, Iv, and Iw (U-phase AC current Iu, V-phase AC current Iv, and W-phase AC current Iw) supplied to the motor 2. The current detection unit 7 is configured using, for example, a Hall current sensor. The detection result of the three-phase AC currents Iu, Iv, and Iw by the current detection unit 7 is input to the motor control device 1 and used to generate a PWM pulse signal by the motor control device 1. In addition, Figure 2The example of the current detection unit 7 being composed of three current detectors is shown, but two current detectors may be used, and the remaining one-phase AC current may be calculated based on the fact that the sum of the three-phase AC currents Iu, Iv, and Iw is zero. In addition, the pulsed DC current flowing from the high-voltage battery 5 into the inverter 3 may be detected by a shunt resistor inserted between the smoothing capacitor 33 and the inverter 3, and the three-phase AC currents Iu, Iv, and Iw may be obtained based on the DC current and the three-phase AC voltages Vu, Vv, and Vw applied from the inverter 3 to the motor 2.
[0032] Next, the details of the motor control device 1 will be described. Figure 2 1 is a block diagram showing the functional structure of a motor control device 1 according to an embodiment of the present invention. Figure 2 In the embodiment, the motor control device 1 has functional blocks of a current command generating unit 10, a speed calculating unit 11, a current converting unit 12, a current controlling unit 13, a carrier frequency adjusting unit 14, a carrier generating unit 15, a phase calculating unit 16, a split phase calculating unit 17, a three-phase voltage converting unit 18, and a PWM controlling unit 19. The motor control device 1 is composed of, for example, a microcomputer, and these functional blocks can be realized by executing a predetermined program in the microcomputer. Alternatively, some or all of these functional blocks can be realized by using hardware circuits such as logic ICs or FPGAs.
[0033] The current command generating unit 10 calculates the d-axis current command Id* and the q-axis current command Iq* based on the input torque command T* and the voltage Hvdc of the high-voltage battery 5. Here, the d-axis current command Id* and the q-axis current command Iq* corresponding to the torque command T* are obtained using, for example, a preset current command map or mathematical formula.
[0034] The speed calculation unit 11 calculates the motor rotation speed ωr indicating the rotation speed (rotation speed) of the motor 2 based on the time change of the rotation position θr. The motor rotation speed ωr may be a value expressed in either angular velocity (rad / s) or rotation speed (rpm). In addition, these values may be converted to each other and used.
[0035] The current conversion unit 12 performs dq conversion on the three-phase AC currents Iu, Iv, and Iw detected by the current detection unit 7 based on the rotation position θr obtained by the rotation position detector 4 to calculate a d-axis current value Id and a q-axis current value Iq.
[0036] The current control unit 13 calculates the d-axis voltage command Vd* and the q-axis voltage command Vq* corresponding to the torque command T* so that these values are consistent with each other, based on the deviations between the d-axis current command Id* and the q-axis current command Iq* outputted from the current command generating unit 10 and the d-axis current value Id and the q-axis current value Iq outputted from the current converting unit 12. Here, the d-axis voltage command Vd* corresponding to the deviation between the d-axis current command Id* and the d-axis current value Id, and the q-axis voltage command Vq* corresponding to the deviation between the q-axis current command Iq* and the q-axis current value Iq are obtained at each predetermined calculation cycle Tv by a control method such as PI control.
[0037] The carrier frequency adjustment unit 14 calculates a carrier frequency fc representing the frequency of a carrier used to generate a PWM pulse signal based on the rotation position θr obtained by the rotation position detector 4 and the rotation speed ωr obtained by the speed calculation unit 11. For example, the carrier frequency fc is calculated so that the number of carriers per rotation of the motor 2 is a predetermined number of carriers Nc and the relationship between the phase of the carrier and the rotation position θr is constant.
[0038] The carrier wave generating unit 15 generates a carrier wave signal (triangular wave signal) Sc based on the carrier wave frequency fc calculated by the carrier wave frequency adjusting unit 14 .
[0039] The phase calculation unit 16 calculates the voltage phase (electric angle) θe of the inverter 3 based on the rotation position θr. The phase calculation unit 16 calculates the voltage phase θe by the following equations (1) to (4), for example, based on the rotation position θr, using the d-axis voltage command Vd* and the q-axis voltage command Vq* calculated by the current control unit 13, the rotation speed ωr calculated by the speed calculation unit 11, and the carrier frequency fc calculated by the carrier frequency adjustment unit 14.
[0040] θe=θr+φv+φdqv+0.5π…(1)
[0041] φv=ωr·1.5Tc…(2)
[0042] Tc=1 / fc…(3)
[0043] φdqv=atan(Vq* / Vd*)…(4)
[0044] Here, φv represents the calculation delay compensation value of the voltage phase, Tc represents the carrier period, and φdqv represents the voltage phase from the d-axis. The calculation delay compensation value φv is a value for compensating for the calculation delay of 1.5 control periods that occurs from the time when the rotation position detector 4 obtains the rotation position θr to the time when the motor control device 1 outputs the PWM pulse signal to the inverter 3. In addition, in this embodiment, 0.5π is added to the fourth term on the right side of equation (1). Since the voltage phase calculated in the first to third terms on the right side of equation (1) is a cosine wave, the above is a calculation for converting the cosine wave viewpoint into a sinine wave.
[0045] Here, the calculation of the voltage phase θe by the phase calculation unit 16 is preferably performed synchronously with the calculation of the d-axis voltage command Vd* and the q-axis voltage command Vq* by the current control unit 13. Thus, the value of the voltage phase θe can be updated at the timing when the values of the d-axis voltage command Vd* and the q-axis voltage command Vq* are updated.
[0046] The split phase calculation unit 17 calculates the split phase θe[n] obtained by dividing the voltage phase θe calculated by the phase calculation unit 16 by each predetermined number of divisions Ne (where Ne is a positive integer of two or more) based on the calculation period Tv and the carrier frequency fc of the d-axis voltage command Vd* and the q-axis voltage command Vq* of the current control unit 13. In the split phase θe[n], n is an integer that changes continuously from 0 to Ne-1, and θe[0]=θe. The details of the split phase calculation unit 17 will be described later.
[0047] The three-phase voltage conversion unit 18 uses the split phase θe[n] calculated by the split phase calculation unit 17 to perform three-phase conversion on the d-axis voltage command Vd* and the q-axis voltage command Vq* calculated by the current control unit 13, and calculates the three-phase voltage commands Vu*, Vv*, and Vw* (U-phase voltage command value Vu*, V-phase voltage command value Vv*, and W-phase voltage command value Vw*). Thus, the three-phase voltage commands Vu*, Vv*, and Vw* corresponding to the torque command T* are generated.
[0048] The PWM control unit 19 uses the carrier signal Sc output from the carrier generator 15 to perform pulse width modulation on the three-phase voltage instructions Vu*, Vv*, and Vw* output from the three-phase voltage converter 18, respectively, to generate a PWM pulse signal for controlling the operation of the inverter 3. Specifically, based on the comparison result of the three-phase voltage instructions Vu*, Vv*, and Vw* output from the three-phase voltage converter 18 and the carrier signal Sc output from the carrier generator 15, a pulse voltage is generated for each phase of the U phase, the V phase, and the W phase. Then, based on the generated pulse voltage, a PWM pulse signal for the switching element of each phase of the inverter 3 is generated. At this time, the PWM pulse signals Gup, Gvp, and Gwp of the upper arm of each phase are logically inverted, respectively, to generate PWM pulse signals Gun, Gvn, and Gwn of the lower arm. The PWM pulse signal generated by the PWM control unit 19 is output from the motor control device 1 to the gate drive circuit 32 of the inverter 3, and is converted into a gate drive signal by the gate drive circuit 32. Thus, each switching element of the inverter circuit 31 is controlled to be on / off, and the output voltage of the inverter 3 is adjusted.
[0049] Next, the operation of the split phase calculation unit 17 in the motor control device 1 is described. The split phase calculation unit 17 calculates the split phase θe[n] obtained by dividing the voltage phase θe of the inverter 3 by each predetermined number of divisions Ne as described above. The three-phase voltage conversion unit 18 calculates the three-phase voltage commands Vu*, Vv*, and Vw* using the split phase θe[n], thereby being able to implement PWM control based on the three-phase voltage commands Vu*, Vv*, and Vw* corresponding to the split phase θe[n] at a cycle shorter than the calculation cycle Tv of the current control unit 13 for the d-axis voltage command Vd* and the q-axis voltage command Vq*.
[0050] Figure 3 FIG. 1 is a block diagram of a split phase calculation unit 17 according to an embodiment of the present invention. The split phase calculation unit 17 can be Figure 3 (a) a block diagram or Figure 3 The configuration shown in any of the block diagrams of (b) performs calculation of the divided phase θe[n] based on the voltage phase θe.
[0051] exist Figure 3 In the block diagram of (a), the divided phase calculation unit 17 includes functional blocks of a current control period storage unit 171 , a time division unit 172 , and a phase division unit 173 .
[0052] The current control cycle storage unit 171 stores the value of the calculation cycle Tv of the current control unit 13 for the d-axis voltage command Vd* and the q-axis voltage command Vq*, and outputs the value of the calculation cycle Tv to the time division unit 172 .
[0053] The time division unit 172 determines the number of divisions Ne used for the calculation of dividing the phase θe[n] based on the calculation period Tv of the d-axis voltage command Vd* and the q-axis voltage command Vq* input from the current control period storage unit 171 and the carrier frequency fc calculated by the carrier frequency adjustment unit 14. Specifically, for example, the carrier period Tc can be calculated using the above formula (3) according to the carrier frequency fc, and the number of divisions Ne can be calculated using the following formula (5) based on the ratio Tv / Tc of the calculation period Tv to the carrier period Tc. The right side of the formula (5) represents the integer value of the ratio Tv / Tc with the decimal point rounded off. In addition, in the carrier frequency adjustment unit 14, the value of the carrier frequency fc can be adjusted in such a way that the value of the above ratio Tv / Tc is an integer, and the value of the ratio Tv / Tc can be directly used as the number of divisions Ne.
[0054] Ne=int(Tv / Tc)…(5)
[0055] The phase division unit 173 calculates the value of the divided phase θe[n] updated at each cycle shorter than the calculation cycle Tv based on the number of divisions Ne calculated by the time division unit 172 and the voltage phase θe calculated by the phase calculation unit 16. Specifically, for example, in the phase calculation unit 16, when the voltage phase θe is calculated at each calculation cycle Tv that is the same as the d-axis voltage command Vd* and the q-axis voltage command Vq*, the value of the current voltage phase θe is set to θe1 and the value of the previous voltage phase θe is set to θe0. In this case, the divided phase θe[n] can be calculated by the following equations (6) and (7). Here, n is an integer that changes continuously from 0 to Ne-1 as described above, and is updated at each carrier cycle Tc.
[0056] θe[n]=θe1+n·Δθe…(6)
[0057] Δθe=(θe1-θe0) / Ne…(7)
[0058] In addition, Δθe obtained by equation (7) represents the interval of the divided phase θe[n] calculated by the phase division unit 173. That is, the interval Δθe of the divided phase θe[n] is obtained by dividing the change amount θe1-θe0 of the voltage phase θe within the calculation cycle Tv by the number of divisions Ne, and the value obtained by multiplying the interval Δθe by an integer multiple is added to the current voltage phase θe1, thereby the divided phase θe[n] can be obtained.
[0059] exist Figure 3 In the block diagram of (b), the divided phase calculation unit 17 includes functional blocks of a PLL trigger output unit 174 and a PLL calculation unit 175 .
[0060] The PLL trigger output unit 174 generates and outputs a PLL trigger for determining the output time of the split phase θe[n] based on the time when the d-axis voltage command Vd* and the q-axis voltage command Vq* are output from the current control unit 13 (hereinafter referred to as the "voltage command time") and the carrier frequency fc calculated by the carrier frequency adjustment unit 14. Specifically, for example, the carrier period Tc is calculated using the above formula (3) based on the carrier frequency fc, and a pulse signal having a predetermined pulse width per carrier period Tc is generated starting from the voltage command time, and is output as a PLL trigger. In addition, in this case, it is also related to Figure 3 The contents described in the block diagram of (a) are the same, and the carrier frequency adjustment unit 14 may adjust the value of the carrier frequency fc so that the value of the ratio Tv / Tc becomes an integer.
[0061] The PLL operation unit 175 performs a phase operation based on the voltage phase θe calculated by the phase operation unit 16 according to the PLL trigger output from the PLL trigger output unit 174, and calculates the divided phase θe[n] obtained by dividing the value of the voltage phase θe by each division number Ne. Specifically, for example, based on the calculation result of the voltage phase θe by the phase operation unit 16 up to that point, the continuously changing voltage phase θe' is estimated by the phase operation, and the value of the voltage phase θe' at that time is output as the divided phase θe[n] every time the PLL trigger is output. In this way, the divided phase θe[n] can be calculated.
[0062] Figure 4 Yes means Figure 3 (b) is a diagram showing an example of the relationship between the PLL trigger and the divided phase θe[n] in the block diagram. Figure 4 In the figure, the upper part shows an example of a current control trigger corresponding to the voltage command timing of the current control unit 13. In addition, the middle part shows an example of a PLL trigger, a PWM timer, and a split phase θe[n] when the carrier frequency fc is low, and the lower part shows an example of a PLL trigger, a PWM timer, and a split phase θe[n] when the carrier frequency fc is high. In addition, the PWM timer is equivalent to the carrier signal Sc generated by the carrier generation unit 15, and its value changes periodically according to the carrier frequency fc. In the PWM control unit 19, by comparing the value of the PWM timer with the three-phase voltage commands Vu*, Vv*, and Vw*, a PWM pulse signal for the switching element of each phase can be generated.
[0063] like Figure 4 As shown, the higher the carrier frequency fc is, the more the number of PLL triggers outputted in the current control trigger cycle (operation cycle Tv) increases. In addition, as the number of divisions Ne calculated in the above equation (5) increases, the number of division phases θe[n] also increases.
[0064] Figure 5 It is a diagram showing how the divided phase θe[n] changes. Figure 5 (a) shows an example of the split phase θe[n] when the carrier frequency fc is low, which is equivalent to the above Figure 4 The situation shown in the middle section. Figure 5 (b) shows an example of the split phase θe[n] when the carrier frequency fc is high, which is equivalent to the above Figure 4 The situation shown in the lower middle paragraph.
[0065] like Figure 5 As shown, the higher the carrier frequency fc is, the shorter the interval of the divided phase θe[n] is. That is, the divided phase θe[n] can be output in detail regardless of the calculation cycle of the voltage phase θe. In addition, the interval of the divided phase θe[n] can be expressed by the interval Δθe calculated by the above formula (7).
[0066] Figure 6 1 is a comparison diagram of the values of the three-phase voltage instructions Vu*, Vv*, Vw* obtained by the control of the prior art when the present invention is not applied and the values of the three-phase voltage instructions Vu*, Vv*, Vw* when the present invention is applied. Here, in the control of the prior art when the present invention is not applied, in the three-phase voltage conversion unit 18, the three-phase voltage instructions Vu*, Vv*, Vw* are calculated for each calculation cycle Tv using the voltage phase θe.
[0067] like Figure 6 As shown, by applying the present invention, the three-phase voltage command value can be output in detail compared with the control of the prior art. Therefore, the switching frequency of the inverter 3 can be increased in frequency. In addition, the interval of the three-phase voltage command value in the present invention is the interval of the divided phase θe[n], which can be represented by the interval Δθe calculated by the above formula (7) as described above.
[0068] Next, the hardware structure of the motor control device 1 is described below. In the motor control device 1 of the present embodiment, as described above, in the split phase operation unit 17, the split phase θe[n] is calculated with a cycle shorter than the calculation cycle Tv of the current control unit 13 for the d-axis voltage command Vd* and the q-axis voltage command Vq* (hereinafter referred to as "split phase operation"). In addition, in the three-phase voltage conversion unit 18, the three-phase voltage commands Vu*, Vv*, and Vw* are calculated with the same cycle as the split phase calculation (hereinafter referred to as "current control calculation"). Therefore, compared with the control of the prior art to which the present invention is not applied, although the calculation load of the current control unit 13 does not change, there is an increase in the calculation load caused by the split phase calculation performed by the split phase operation unit 17 or an increase in the calculation load caused by the shortening of the calculation cycle in the current control calculation performed by the three-phase voltage conversion unit 18, so the overall calculation load increases. In the motor control device 1, it is necessary to set a hardware structure that takes into account the increase in such calculation load.
[0069] Figure 7 FIG. 1 is a diagram showing an example of a hardware configuration of the motor control device 1. In the motor control device 1 of the present embodiment, Figure 7 (a) Figure 7 (b) Figure 7 The hardware structure of any of the diagrams (c) can realize a hardware structure that can absorb an increase in the computational load.
[0070] Figure 7 (a) is an example of a hardware structure in which each core in a microcomputer performs current control calculations and split phase calculations. Figure 7 In (a), the motor control device 1 is composed of a microcomputer having a core A and a core B. The core A performs arithmetic processing including a current control operation, and the core B performs arithmetic processing including a split phase operation. In addition, the processing of the PWM timer can be performed by either the core A or the core B, or by both cores in cooperation. In addition, other arithmetic processing performed in the motor control device 1 can also be performed by either the core A or the core B.
[0071] Figure 7 (b) is an example of a hardware structure in which a microcomputer performs current control calculations and PWM timer processing, and a logic operation circuit performs phase division. Figure 7 In (b), the motor control device 1 is composed of a microcomputer and a logic operation circuit. The microcomputer performs operation processing including current control operation and PWM timer processing, and the logic operation circuit performs operation processing including split phase operation. In addition, other operation processing performed in the motor control device 1 may be performed by either the microcomputer or the logic operation circuit.
[0072] Figure 7 (c) is an example of a hardware structure in which a microcomputer performs current control calculations and a logic operation circuit performs phase division and PWM timer processing. Figure 7 In (c), the motor control device 1 is composed of a microcomputer and a logic operation circuit. The microcomputer performs arithmetic processing including current control arithmetic, and the logic operation circuit performs arithmetic processing including split phase arithmetic and PWM timer processing. In addition, other arithmetic processing performed in the motor control device 1 may be performed by either the microcomputer or the logic operation circuit.
[0073] In the motor control device 1, by adopting any of the hardware configurations described above, it is possible to use different hardware to configure the calculation unit including the split phase calculation unit 17 and the calculation unit including the three-phase voltage conversion unit 18. Therefore, the calculation load in the motor control device 1 can be dispersed to each hardware to absorb the increase in the calculation load from the control of the conventional technology.
[0074] According to one embodiment of the present invention described above, the following effects are achieved.
[0075] (1) The motor control device 1 is connected to the inverter 3 that converts DC power into three-phase AC power and outputs the converted power to the motor 2 , and controls the operation of the inverter 3 to control the driving of the motor 2 using the inverter 3 . The motor control device 1 includes: a current control unit 13 that calculates voltage commands Vd* and Vq* for the d-axis and q-axis of the motor 2 at each predetermined calculation cycle; a carrier generating unit 15 that generates a carrier; a carrier frequency adjusting unit 14 that adjusts the frequency fc of the carrier; a phase calculating unit 16 that calculates a voltage phase θe of the inverter 3 based on the rotation position θr of the motor 2; a split phase calculating unit 17 that calculates a split phase θe[n] obtained by splitting the voltage phase θe by a predetermined number of divisions Ne of two or more; and a three-phase voltage converting unit 18 that converts the voltage commands Vd* and Vq* into three-phase voltage commands Vu*, Vv*, and Vw* based on the split phase θe[n]; and a PWM control unit 19 that performs pulse width modulation on the three-phase voltage commands Vu*, Vv*, and Vw* using a carrier to generate a PWM pulse signal for controlling the operation of the inverter 3. As a result, the switching frequency of the inverter 3 can be increased in frequency.
[0076] (2) Preferably, the motor control device 1 includes: a first operation unit including a three-phase voltage conversion unit 18; and a second operation unit including a split phase operation unit 17, wherein the first operation unit and the second operation unit are respectively configured using different hardware. Specifically, preferably, for example, Figure 7 (a), the first computing unit is a core A of the microcomputer, and the second computing unit is a core B of the microcomputer, or, for example, Figure 7 As in (b) and (c), the first operation unit is a microcomputer and the second operation unit is a logic operation circuit that performs a predetermined logic operation. This allows the operation load in the motor control device 1 to be distributed to each hardware to absorb the increase in the operation load.
[0077] (3) Alternatively, the carrier frequency adjustment unit 14 may adjust the carrier frequency fc so that the value of the ratio Tv / Tc of the operation period Tv of the voltage commands Vd* and Vq* to the period Tc of the carrier is an integer. Thus, since the value of the ratio Tv / Tc can be directly used as the division number Ne, the calculation load can be further reduced.
[0078] (4) Figure 3 As shown in (a), the split phase calculation unit 17 may include: a time division unit 172, which determines the number of divisions Ne by equation (5) based on the operation period Tv of the voltage instructions Vd*, Vq* and the frequency fc of the carrier; a phase division unit 173, which calculates the interval Δθe of the split phase θe[n] by equation (7) based on the change θe1-θe0 of the voltage phase θe within the operation period Tv of the voltage instructions Vd*, Vq* and the number of divisions Ne determined by the time division unit 172, and adds the value obtained by multiplying the calculated interval Δθe of the split phase θe[n] by an integer multiple to the voltage phase θe, thereby calculating the split phase θe[n] by equation (6). Or, as Figure 3 As shown in (b), the split phase calculation unit 17 can also include: a PLL trigger output unit 174 that outputs a PLL trigger signal for each period Tc of the carrier; and a PLL calculation unit 175 that performs PLL calculation based on the PLL trigger signal output from the PLL trigger output unit 174, and updates the voltage phase θe for each period of the PLL trigger signal to calculate the split phase θe[n]. In this way, the split phase θe[n] can be accurately calculated with a small calculation load.
[0079] In addition, in the above-described embodiment, an application example of a motor drive system mounted and used in an electric vehicle such as an electric vehicle or a hybrid vehicle is described, but the present invention is not limited thereto. As long as the motor control device is connected to an inverter having a plurality of switching elements and controls the operation of the inverter to control the drive of the motor using the inverter, the present invention can be applied to a motor control device used in any motor drive system.
[0080] In addition, the present invention is not limited to the above-mentioned embodiment, and various changes can be made without departing from the scope of the present invention.
[0081] Description of Reference Numerals
[0082] 1…Motor control device
[0083] 2…Electric motor
[0084] 3…Inverter
[0085] 4…Rotation position detector
[0086] 5…High voltage battery
[0087] 7…Current detection unit
[0088] 8…Rotary position sensor
[0089] 10…Current command generation unit
[0090] 11…Speed calculation unit
[0091] 12…Current conversion unit
[0092] 13…Current control unit
[0093] 14…Carrier frequency adjustment unit
[0094] 15…Carrier generation unit
[0095] 16…Phase calculation unit
[0096] 17…Split phase calculation unit
[0097] 18…Three-phase voltage conversion unit
[0098] 19…PWM control unit
[0099] 31…Inverter circuit
[0100] 32…Gate drive circuit
[0101] 33…Smoothing capacitor
[0102] 100…Motor drive system.
Claims
1. A motor control device, connected to an inverter that converts a DC electric power into a three-phase AC electric power and outputs the converted power to a motor, and controlling the operation of the inverter to control the drive of the motor using the inverter, wherein the motor control device comprises: a current control unit that calculates voltage commands for the d-axis and q-axis of the motor at each predetermined calculation cycle; A carrier wave generating unit that generates a carrier wave; A carrier frequency adjustment unit, which adjusts the frequency of the carrier; a phase calculation unit that calculates a voltage phase of the inverter based on a rotational position of the motor; a divided phase calculation unit that calculates a divided phase obtained by dividing the voltage phase by a predetermined number of divisions of two or more; a three-phase voltage conversion unit that converts the voltage command into a three-phase voltage command based on the divided phases; and The PWM control unit performs pulse width modulation on the three-phase voltage command using the carrier wave to generate a PWM pulse signal for controlling the operation of the inverter.
2. The motor control device according to claim 1, characterized in that: include: a first operation unit including the three-phase voltage conversion unit; and a second operation unit, comprising the split phase operation unit, The first calculation unit and the second calculation unit are configured using different hardware.
3. The motor control device according to claim 2, characterized in that: The first computing unit is the first core of the microcomputer. The second computing unit is a second core of the microcomputer.
4. The motor control device according to claim 2, characterized in that: The first computing unit is a microcomputer. The second operation unit is a logic operation circuit that performs a predetermined logic operation.
5. The motor control device according to any one of claims 1 to 4, characterized in that: The carrier frequency adjustment unit adjusts the frequency of the carrier so that a ratio of a calculation period of the voltage command to a period of the carrier becomes an integer.
6. The motor control device according to any one of claims 1 to 4, characterized in that: The split phase operation unit comprises: a time division unit that determines the number of divisions based on a calculation period of the voltage command and a frequency of the carrier wave; and A phase division unit calculates the interval of the divided phase based on the change of the voltage phase within the operation cycle of the voltage command and the number of divisions determined by the time division unit, and adds a value obtained by multiplying the calculated interval of the divided phase by an integer multiple to the voltage phase, thereby calculating the divided phase.
7. The motor control device according to any one of claims 1 to 4, characterized in that: The split phase operation unit comprises: a trigger output unit that outputs a trigger signal at each cycle of the carrier; and A PLL operation unit performs a PLL operation based on the trigger signal output from the trigger output unit, and updates the voltage phase for each cycle of the trigger signal to calculate the divided phase.
8. A motor control method, which controls the operation of an inverter that converts a DC electric power into a three-phase AC electric power and outputs the result to the motor, and uses the inverter to control the drive of the motor, wherein: calculating voltage commands for the d-axis and q-axis of the motor at each predetermined calculation cycle, Adjust the carrier frequency, calculating a voltage phase of the inverter based on a rotational position of the motor, The divided phase is calculated by dividing the calculation cycle of the voltage command by a predetermined number of divisions as a calculation cycle of the divided phase based on the voltage phase, Based on the split phase, the voltage command is converted into a three-phase voltage command, The three-phase voltage command is pulse-width modulated using the carrier wave to generate a PWM pulse signal for controlling the operation of the inverter.
