Motor control unit and vehicle
The motor control device stabilizes low-speed motor output by switching between drive methods based on rotational speed and torque changes, enhancing energy efficiency through optimized motor operation.
Patent Information
- Application Number
- JP2023043396
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-17
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2043-03-17
AI Technical Summary
The resolution of detecting the magnetic pole position of the rotor in a motor decreases at low speeds, leading to unstable motor output.
A motor control device that switches between rectangular wave voltage drive and vector control drive based on rotational speed and torque command changes, using Hall sensors to stabilize motor output at low speeds.
Stabilizes motor output at low rotation speeds, improving energy efficiency by selectively employing drive methods that suit the motor's operational conditions.
Smart Images

Figure 2024132571000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a motor control device and a vehicle. [Background technology]
[0002] In recent years, efforts to realize a low-carbon or carbon-free society have been intensified, and research and development into electrification technologies has been conducted in order to reduce CO2 emissions and improve energy efficiency in vehicles. One of these electrification technologies is known to be a technology in which a drive voltage having a specific voltage waveform is applied to drive a motor installed in a vehicle.
[0003] Patent Document 1 discloses a technique for driving a DC motor with rectangular wave energization when the rotation speed of the DC motor is below a threshold value, and for driving the DC motor with sine wave energization when the rotation speed of the DC motor is equal to or higher than the threshold value. The technique disclosed in Patent Document 1 makes it possible to avoid braking operation at the time of phase switching when starting the motor, and to suppress a reduction in starting torque.
[0004] Patent Document 2 discloses a technique for calculating the rotation speed of a permanent magnet rotor provided in a brushless motor based on the time interval of a half cycle or one cycle, which is the interval between the rising or falling edges of a pulsed position sensor signal detected by each Hall sensor provided in the brushless motor. The technique disclosed in Patent Document 2 can reduce calculation errors in the rotation speed caused by variations in the mounting position of each Hall sensor, achieving a brushless motor that rotates smoothly and produces little noise. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2004-242432 A [Patent Document 2] JP 2003-264990 A Summary of the Invention [Problem to be solved by the invention]
[0006] However, in motor drive technology, which is one of the technologies related to electrification technology, there is an issue that the resolution for detecting the magnetic pole position of the rotor installed in the motor decreases when the motor is rotating at low speeds, resulting in unstable motor output at low speeds.
[0007] The present invention aims to achieve stabilization of motor output at low revolutions in order to solve the above problems, and thereby contribute to improving energy efficiency. [Means for solving the problem]
[0008] One aspect for achieving the above-mentioned object is a motor control device comprising: a drive unit capable of selectively driving the motor by rectangular wave voltage drive, which applies a rectangular wave voltage to a stator winding provided in the motor to drive the motor, and vector control drive, which applies a sinusoidal wave voltage to the stator winding to drive the motor; a command unit that commands a torque command value that tracks the torque of the motor; and a switching unit that causes the drive unit to switch the drive of the motor to the rectangular wave voltage drive or the vector control drive, wherein the switching unit switches the drive of the motor from the vector control drive to the rectangular wave voltage drive when the torque command value input from the command unit changes while the motor is being driven by the vector control drive at a rotational speed equal to or lower than a threshold value.
[0009] Another aspect for achieving the above object is a vehicle comprising the motor control device of the above aspect, the motor, and a position detection unit that outputs a position signal indicating the rotational position of a rotor provided in the motor. Effect of the Invention
[0010] According to the above aspect, it is possible to achieve stabilization of motor output during low rotation. [Brief description of the drawings]
[0011] [Figure 1]1 is a block diagram showing an example of a schematic configuration of a motor control device and a vehicle according to an embodiment of the present disclosure. [Diagram 2] 1 is a diagram illustrating an example of a circuit configuration of an inverter unit provided in a motor control device according to an embodiment of the present disclosure. [Diagram 3] 4 is a flowchart illustrating an example of an operation flow of a motor control device according to an embodiment of the present disclosure. [Figure 4] 4 is a timing chart showing an example of operation timing of a motor control device according to an embodiment of the present disclosure. [Diagram 5] 5A to 5C are diagrams illustrating an example of voltage waveforms and signal waveforms of Hall detection signals during vector control driving in a motor control device according to an embodiment of the present disclosure. [Figure 6] 5A and 5B are diagrams illustrating rotor position detection in a motor control device according to an embodiment of the present disclosure. [Figure 7] 5A to 5C are diagrams illustrating an example of a voltage waveform and a signal waveform of a Hall detection signal when driven by a square wave voltage in a motor control device according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] [1. Configuration of the motor control device and vehicle] 1 is a block diagram showing an example of a schematic configuration of a motor control device 10 and a vehicle 1 according to an embodiment of the present disclosure. The vehicle 1 includes the motor control device 10, a motor 20 controlled by the motor control device 10, and a plurality of hall sensors (examples of position detection units) 22u, 22v, and 22w that output hall detection signals (examples of position signals) Hu, Hv, and Hw that indicate the rotational position of a rotor 23 provided in the motor 20. Examples of the vehicle 1 include an automobile and a motor-driven bicycle.
[0013] The motor 20 is, for example, a brushless motor. The motor 20 includes a rotor 23 provided with a permanent magnet (not shown) and a stator (not shown) provided with a U-phase winding 21u, a V-phase winding 21v, and a W-phase winding 21w (each of which is an example of a stator winding). The U-phase winding 21u, the V-phase winding 21v, and the W-phase winding 21w are arranged at intervals of 120°. The hall sensors 22u, 22v, and 22w are arranged at intervals of 120° and shifted from the U-phase winding 21u, the V-phase winding 21v, and the W-phase winding 21w by 60°. In this embodiment, the hall sensor 22u is arranged between the U-phase winding 21u and the W-phase winding 21w, the hall sensor 22v is arranged between the U-phase winding 21u and the V-phase winding 21v, and the hall sensor 22w is arranged between the V-phase winding 21v and the W-phase winding 21w.
[0014] Next, the configuration of the motor control device 10 will be described with reference to FIGS. 1, the motor control device 10 includes a drive unit 11 connected to a U-phase winding 21u, a V-phase winding 21v, and a W-phase winding 21w provided on a motor 20. The motor control device 10 includes a detection unit 12 connected to Hall sensors 22u, 22v, and 22w provided on the motor 20, and a rotation speed calculation unit 13 connected to the Hall sensor 22u. The motor control device 10 includes a switching unit 14 connected to the drive unit 11 and the rotation speed calculation unit 13, and a command unit 15 connected to the drive unit 11, the detection unit 12, the rotation speed calculation unit 13, and the switching unit 14.
[0015] The driving unit 11 is configured to selectively drive the motor 20 by a rectangular wave voltage driving in which a rectangular wave voltage is applied to the U-phase winding 21u, the V-phase winding 21v, and the W-phase winding 21w provided in the motor 20 to drive the motor 20, and a vector control driving in which a sinusoidal wave voltage is applied to the U-phase winding 21u, the V-phase winding 21v, and the W-phase winding 21w to drive the motor 20. The driving unit 11 has a rectangular wave voltage driving unit 111, a vector control driving unit 112, and an inverter unit 113. The rectangular wave voltage driving unit 111 is switched between a state in which the output is electrically connected to the inverter unit 113 and a state in which the output is electrically disconnected from the inverter unit 113 by a drive switching signal Scd1 input from the switching unit 14. The vector control driving unit 112 is switched between a state in which the output is electrically connected to the inverter unit 113 and a state in which the output is electrically disconnected from the inverter unit 113 by a drive switching signal Scd2 input from the switching unit 14. The rectangular wave voltage driver 111 and the vector control driver 112 are electrically disconnected from the input of the inverter unit 113 by putting the outputs into a high impedance state, for example.
[0016] When the switching unit 14 switches the drive unit 11 to operate using the square wave voltage drive unit 111, the drive unit 11 drives the motor 20 with square wave voltage drive using the square wave voltage drive unit 111 and the inverter unit 113. On the other hand, when the switching unit 14 switches the drive unit 11 to operate using the vector control drive unit 112, the drive unit 11 drives the motor 20 with vector control drive using the vector control drive unit 112 and the inverter unit 113.
[0017] The rectangular wave voltage driver 111 drives the q-axis current command value Iq * The detector 12 generates pulse signals Pau, Pav, Paw, Pax, Pay, and Paz for driving the inverter unit 113, using a U-phase current Iu, a V-phase current Iv, and a W-phase current Iw input from the inverter unit 113, and a rotation angle signal Sθ of the motor 20 input from the detector 12. Hereinafter, the "pulse signals Pau, Pav, Paw, Pax, Pay, and Paz" may be abbreviated as "pulse signals Pau to Paz".
[0018] The vector control driver 112 controls the d-axis current command value Id * and q-axis current command value Iq * The detection unit 12 generates pulse signals Pbu, Pbv, Pbw, Pbx, Pby, and Pbz for driving the inverter unit 113 using a U-phase current Iu, a V-phase current Iv, and a W-phase current Iw input from the inverter unit 113, and a rotation angle signal Sθ input from the detection unit 12. Hereinafter, the "pulse signals Pbu, Pbv, Pbw, Pbx, Pby, and Pbz" may be abbreviated as "pulse signals Pbu to Pbz".
[0019] When the switching unit 14 switches the drive of the motor 20 to square wave voltage drive, the drive unit 11 inputs the pulse signals Pau, Pav, Paw, Pax, Pay, and Paz as pulse signals Pu, Pv, Pw, Px, Py, and Pz to the inverter unit 113. When the switching unit 14 switches the drive of the motor 20 to vector control drive, the drive unit 11 inputs the pulse signals Pbu, Pbv, Pbw, Pbx, Pby, and Pbz as pulse signals Pu, Pv, Pw, Px, Py, and Pz to the inverter unit 113. Hereinafter, "pulse signals Pu, Pv, Pw, Px, Py, and Pz" may be abbreviated as "pulse signals Pu to Pz".
[0020] FIG. 2 shows an example of a circuit configuration of the inverter unit 113. As shown in FIG. 2, the inverter unit 113 is configured by connecting six semiconductor elements Qu, Qv, Qw, Qx, Qy, and Qz in a full bridge configuration between a positive line Lp to which a positive DC voltage is applied and a negative line Ln to which a negative DC voltage is applied. Hereinafter, the "semiconductor elements Qu, Qv, Qw, Qx, Qy, and Qz" may be abbreviated as "semiconductor elements Qu to Qz." The semiconductor elements Qu and Qx are connected in series between the positive line Lp and the negative line Ln to configure a U-phase arm 113u. The semiconductor elements Qv and Qy are connected in series between the positive line Lp and the negative line Ln to configure a V-phase arm 113v. The semiconductor elements Qw and Qz are connected in series between the positive line Lp and the negative line Ln to configure a W-phase arm 113w. The semiconductor elements Qu to Qz each include a power semiconductor element and a free wheel diode connected in anti-parallel to the power semiconductor element.
[0021] A pulse signal Pu is input to the gate of the power semiconductor element provided in the semiconductor element Qu, and a pulse signal Px is input to the gate of the power semiconductor element provided in the semiconductor element Qx. A pulse signal Pv is input to the gate of the power semiconductor element provided in the semiconductor element Qv, and a pulse signal Py is input to the gate of the power semiconductor element provided in the semiconductor element Qy. A pulse signal Pw is input to the gate of the power semiconductor element provided in the semiconductor element Qw, and a pulse signal Pz is input to the gate of the power semiconductor element provided in the semiconductor element Qz. The semiconductor elements Qu to Qz are on / off controlled at a predetermined timing and in a predetermined order by the pulse signals Pu to Pz. As a result, the U-phase arm 113u outputs a U-phase AC voltage Vu from the connection part of the semiconductor elements Qu and Qx to the U-phase winding 21u provided in the motor 20 (see FIG. 1). The V-phase arm 113v outputs a V-phase AC voltage Vv from the connection portion of the semiconductor elements Qv, Qy to a V-phase winding 21v provided in the motor 20. The W-phase arm 113w outputs a W-phase AC voltage Vw from the connection portion of the semiconductor elements Qw, Qz to a W-phase winding 21w provided in the motor 20.
[0022] When the inverter unit 113 operates, an AC U-phase current Iu flowing between the inverter unit 113 and the motor 20 is output from the U-phase arm 113u to the drive unit 11, an AC V-phase current Iv flowing between the inverter unit 113 and the motor 20 is output from the V-phase arm 113v to the drive unit 11, and an AC W-phase current Iw flowing between the inverter unit 113 and the motor 20 is output from the W-phase arm 113w to the drive unit 11.
[0023] Returning to FIG. 1, the command unit 15 outputs a torque command value τ * The command unit 15 outputs a torque command value τ based on the rotation speed of the motor 20 calculated by the rotation speed calculation unit 13, a rotation speed command value input from the outside, and an accelerator opening input from the outside. * The command unit 15 generates the generated torque command value τ * Based on the rotation angle of the rotor 23 input from the detection unit 12, the d-axis current command value Id * and q-axis current command value Iq * The command unit 15 generates the generated torque command value τ * The command unit 15 outputs the generated q-axis current command value Iq * The command unit 15 outputs the generated d-axis current command value Id * and q-axis current command value Iq * is output to the vector control driver 112.
[0024] The detection unit 12 detects the rotational position (i.e., the rotation angle) of the rotor 23 provided in the motor 20. The detection unit 12 receives a Hall detection signal Hu output from a Hall sensor 22u provided in the motor 20, a Hall detection signal Hv output from a Hall sensor 22v provided in the motor 20, and a Hall detection signal Hw output from a Hall sensor 22w provided in the motor 20. Although details will be described later, the detection unit 12 determines the angle (electrical angle) of the rotating magnetic field in the motor 20 based on a combination of the voltage levels of the Hall detection signals Hu, Hv, and Hw input from the motor 20, and detects the rotation angle of the rotor 23 based on the determined electrical angle. If the electrical angle of the motor 20 is θe and the number of magnetic poles of the permanent magnet provided in the rotor 23 is p, the detection unit 12 detects the rotation angle θ of the rotor 23 by the following formula (1). θ = θe × 2 / p (1)
[0025] The detection unit 12 detects the rotation angle θ of the rotor 23 based on the equation (1), and outputs a rotation angle signal Sθ including information on the rotation angle θ to the drive unit 11 and the command unit 15.
[0026] The switching unit 14 switches the drive of the motor 20 to the rectangular wave voltage drive or the vector control drive by the drive unit 11. As will be described in detail later, the switching unit 14 switches the drive of the motor 20 to the rectangular wave voltage drive or the vector control drive by the command unit 15 in a state where the motor 20 is driven at a rotation speed equal to or lower than a threshold value by the vector control drive. * has changed, the drive of the motor 20 is switched from vector control drive to square wave voltage drive. The switching unit 14 causes the drive unit 11 to switch the drive of the motor 20 based on the drive and rotation speed of the motor 20, so that the motor control device 10 can stabilize the output of the motor 20 at low rotation speed.
[0027] The switching unit 14 determines that the motor 20 is driven by the square wave voltage drive when it outputs the drive switching signal Scd1 to the square wave voltage drive unit 111, and determines that the motor 20 is driven by the vector control drive when it outputs the drive switching signal Scd2 to the vector control drive unit 112. The switching unit 14 obtains the rotation speed ω of the motor 20 from the rotation speed signal Sω input from the rotation speed calculation unit 13.
[0028] A Hall detection signal Hu output from a Hall sensor 22u provided on the motor 20 is input to the switching unit 14. Although details will be described later, when the switching unit 14 instructs the drive unit 11 to switch the drive of the motor 20 to square wave voltage drive in order to stabilize the output of the motor 20 at low rotation speed, the switching unit 14 executes whether or not to end the square wave voltage drive based on a change in the signal level of the Hall detection signal Hu.
[0029] When the motor 20 is driven by the square wave voltage drive, the switching unit 14 electrically connects the output of the square wave voltage drive unit 111 to the inverter unit 113 and electrically disconnects the output of the vector control drive unit 112 from the inverter unit 113. On the other hand, when the motor 20 is driven by the vector control drive, the switching unit 14 electrically disconnects the output of the square wave voltage drive unit 111 from the inverter unit 113 and electrically connects the output of the vector control drive unit 112 to the inverter unit 113. Therefore, even if the drive unit 11 has a configuration in which the output of the square wave voltage drive unit 111 and the output of the vector control drive unit 112 are connected to each other and connected to the input of the inverter unit 113, it is possible to input only one of the pulse signals Pau to Paw and the pulse signals Pbu to Pbw to the inverter unit 113 as the pulse signals Pu to Pw without causing interference between the pulse signals Pau to Paw and the pulse signals Pbu to Pbw.
[0030] The rotation speed calculation unit 13 calculates the rotation speed ω of the motor 20 based on any one of the multiple Hall detection signals Hu, Hv, and Hw. In this embodiment, the rotation speed calculation unit 13 calculates the rotation speed ω of the motor 20 (more specifically, the rotation angular speed of the rotor 23) using, for example, the Hall detection signal Hu. However, the rotation speed calculation unit 13 may calculate the rotation speed ω of the motor 20 using the Hall detection signal Hv or the Hall detection signal Hw. If the number of magnetic poles of the permanent magnet provided in the rotor 23 is p and the frequency of the Hall detection signal Hu is f, the rotation speed calculation unit 13 calculates the rotation speed ω of the motor 20 by the following formula (2). The rotation speed calculation unit 13 outputs a rotation speed signal Sω including information on the calculated rotation speed ω to the switching unit 14 and the command unit 15. ω=2×π×f / (p / 2) = 2 × π × 2 × f / p (2)
[0031] [2. Operation of the motor control device] [2-1. Operational flow of the motor control device] The operation of the motor control device 10 according to this embodiment will be described using Figures 3 to 7 while also referring to Figures 1 and 2. Figure 3 is a flowchart showing an example of the flow of operation of the motor control device 10. The process shown in Figure 3 is started, for example, when power is applied to the motor control device 10 (i.e., the power is turned on).
[0032] As shown in Fig. 3, when the motor control device 10 (see Fig. 1) starts controlling the motor 20 (see Fig. 1), in step S11, the switching unit 14 (see Fig. 1) determines whether the motor 20 is driven by vector control drive. If the switching unit 14 is outputting the drive switching signal Scd2 to the vector control drive unit 112 (step S11: YES), the switching unit 14 determines that the motor 20 is driven by vector control drive, and proceeds to the process of step S12. On the other hand, if the switching unit 14 is outputting the drive switching signal Scd1 to the square wave voltage drive unit 111 (step S11: NO), the switching unit 14 determines that the motor 20 is driven by square wave voltage drive, and proceeds to the process of step S17.
[0033] In step S12, the switching unit 14 judges whether the rotation speed ω of the motor 20 included in the rotation speed signal Sω input from the rotation speed calculation unit 13 (see FIG. 1) is equal to or less than the threshold value ωth. If the switching unit 14 judges that the rotation speed ω of the motor 20 is equal to or less than the threshold value ωth (step S12: YES), the switching unit 14 proceeds to processing of step S13. On the other hand, if the switching unit 14 judges that the rotation speed ω of the motor 20 is greater than the threshold value ωth (step S12: NO), the switching unit 14 proceeds to processing of step S17. The threshold value ωth is a rotation speed in an extremely low rotation region, and is set to a value higher than a drive switching threshold value ωthc described later. The threshold value ωth is determined by an experiment, a simulation, or the like, and may be set to a different value for each type of vehicle 1 (see FIG. 1).
[0034] In step S13, the switching unit 14 receives the torque command value τ * The switching unit 14 determines whether the torque command value τ * is time-differentiated, and if the time-differentiated result is positive, the torque command value τ * is increasing (step S13: YES), and the process proceeds to step S14. On the other hand, if the result is negative or zero, the switching unit 14 determines that the torque command value τ * It is determined that the torque command value τ * A command to increase the torque of motor 20 when the time derivative of the torque command value is negative (i.e., a decrease in the torque command value) is a command to decrease the torque of motor 20. A command to maintain the torque of motor 20 at the current constant value when the time derivative of the torque command value is zero (i.e., maintaining the current torque command value).
[0035] In step S14, the switching unit 14 switches the drive of the motor 20 to the rectangular wave voltage drive, and the process proceeds to step S15. In this manner, in the process flow of steps S13 and S14, the switching unit 14 *changes from a value that reduces or maintains the torque of the motor 20 at a constant value to a value that increases the torque, the drive unit 11 is caused to switch the drive of the motor 20 from vector control drive to square wave voltage drive. Hereinafter, when an affirmative determination (i.e., a "YES" determination) is made in all the processes from step S11 to step S13, the square wave voltage drive switched to as the drive of the motor 20 may be referred to as "low speed drive".
[0036] In step S15, the switching unit 14 determines whether or not there has been a change in the signal level of the Hall detection signal Hu (see FIG. 1) input from the Hall sensor 22u provided on the motor 20. If the switching unit 14 determines that the signal level of the Hall detection signal Hu has changed (step S15: YES), the processing proceeds to step S16. On the other hand, if the switching unit 14 determines that the signal level of the Hall detection signal Hu has not changed (step S15: NO), the processing proceeds to step S17.
[0037] In step S16, the switching unit 14 causes the drive unit 11 to end the driving of the motor 20 with the rectangular wave voltage drive, and the process proceeds to step S17.
[0038] In step S17, the switching unit 14 judges whether the rotation speed ω included in the rotation speed signal Sω input from the rotation speed calculation unit 13 is smaller than the drive switching threshold ωthc. The process of step S17 is executed to judge whether the drive of the motor 20 is switched to either the square wave voltage drive or the vector control drive under a situation where the condition for driving the motor 20 in the low speed drive is not satisfied or under a situation where the low speed drive is ended. The drive switching threshold ωthc is a threshold for judging whether the drive of the motor 20 is switched to either the square wave voltage drive or the vector control drive, and is set in the switching unit 14. The drive switching threshold ωthc is set to, for example, a value smaller than the threshold ωth used in the process of step S12. When the switching unit 14 judges that the rotation speed ω is lower than the drive switching threshold ωthc (step S17: YES), the process proceeds to step S18. On the other hand, when the switching unit 14 determines that the rotation speed ω is equal to or greater than the drive switching threshold ωthc (step S17: NO), the process proceeds to step S19.
[0039] In step S18, the switching unit 14 causes the drive unit 11 to switch the drive of the motor 20 to the square wave voltage drive, and the process proceeds to step S20. In step S19, the switching unit 14 causes the drive unit 11 to switch the drive of the motor 20 to vector control drive, and the process proceeds to step S20.
[0040] In this way, the switching unit 14 changes the torque command value τ * After driving the motor 20 by low-speed drive, which is a square wave voltage drive switched based on a change in (flow from step S13 to step S14), the driving of the motor 20 by low-speed drive is terminated (step S16) on the condition that the signal level of the Hall detection signal Hu indicating the rotational position of the rotor 23 provided in the motor 20 has changed. The switching unit 14 switches the driving of the motor 20 to square wave voltage drive or vector control drive according to the rotational speed ω at the time when the low-speed drive is terminated (flow from step S17 to step S18 or step S19).
[0041] The square wave voltage drive is a control that switches the energization pattern based on the change in the Hall detection signal, and therefore has the advantage that it is possible to control energization even in a region where the rotation speed cannot be calculated based on the pulse interval at very low rotation speeds. On the other hand, the square wave voltage drive has the disadvantage that it is difficult to achieve high efficiency.
[0042] Vector control drive has the advantage that it theoretically eliminates torque pulsation in the motor and is superior to square wave voltage drive in terms of noise, vibration, efficiency, torque accuracy, and transient characteristics.On the other hand, vector control drive has the disadvantage that it requires a controller with high computing power because it uses pulse width modulation (PWM) control to generate sine wave U-phase current, V-phase current, and W-phase current with little distortion.
[0043] As described above, the square wave voltage driving and the vector control driving each have advantages and disadvantages. Therefore, the motor control device 10 selects, as the driving method for the motor 20, either the square wave voltage driving or the vector control driving, whichever is more suitable for the rotation speed ω of the motor 20 after the low speed driving has been executed. In this way, the motor control device 10 can control the motor 20 after the low speed driving has been executed by utilizing the respective advantages of the square wave voltage driving and the vector control driving.
[0044] In step S20, it is determined whether the power supply for operating the motor control device 10 is off. If the voltage value of the power supply input to the motor control device 10 is lower than a predetermined value (step S20: YES), the motor control device 10 determines that the power supply is off and ends operation. On the other hand, if the voltage value of the power supply input to the motor control device 10 is equal to or higher than the predetermined value (step S20: NO), the motor control device 10 determines that the power supply is not off and returns to the processing of step S11.
[0045] [Motor control device operation timing] Fig. 4 is a timing chart showing an example of the operation timing of the motor control device 10. In Fig. 4, the passage of time is represented from left to right.
[0046] During a period P1 shown in FIG. 4, the motor control device 10 controls the torque of the motor 20 based on a torque command value τ * In order to make the motor 20 follow the rotational speed ω of the motor 20, the motor 20 is driven by vector control drive by the drive unit 11. For this reason, as shown in Fig. 4, the rotational speed ω of the motor 20 decreases over time. As the rotational speed ω of the motor 20 decreases, the periods of the Hall detection signals Hu, Hv, and Hw detected by the Hall sensors 22u, 22v, and 22w (see Fig. 1) provided on the motor 20 also become longer over time. Period P1 corresponds to the flow of "YES in step S11 → YES in step S12 → NO in step S13 → NO in step S17 → step S19" shown in Fig. 3.
[0047] Here, the vector control drive in the drive unit 11 and the position detection in the detection unit 12 (see FIG. 1) will be described with reference to FIG. 5 and FIG. 6. FIG. 5 is a diagram showing an example of the voltage waveforms of the U-phase AC voltage Vu, the V-phase AC voltage Vv, and the W-phase AC voltage Vw output to the motor 20 by the drive unit 11 in which the drive of the motor 20 is switched to the vector control drive by the switching unit 14, and an example of the voltage waveforms of the Hall detection signals Hu, Hv, and Hw output from the Hall sensors 22u, 22v, and 22w. FIG. 6 is a diagram showing an example of the voltage waveforms of the Hall detection signals Hu, Hv, and Hw shown in FIG. 5, and a diagram showing an example of the relationship between the combination of the Hall detection signals Hu, Hv, and Hw in position detection using 6-step angle calculation and the rotation angle θ of the motor 20.
[0048] A vector control driving unit 112 (see FIG. 1) that executes vector control driving is a unit that converts a U-phase current Iu, a V-phase current Iv, and a W-phase current Iw input from an inverter unit 113 (see FIG. 1) into a d-axis current command value Id * and q-axis current command value Iq * The d-axis current command value Id is output to the inverter unit 113. * and q-axis current command value Iq * is the torque command value τ *Therefore, the vector control driver 112 generates the U-phase current Iu, the V-phase current Iv, and the W-phase current Iw based on the d-axis current command value Id * and q-axis current command value Iq * By making it follow the torque command value τ * The motor 20 operates so that the torque follows the rotational speed.
[0049] In the vector control drive, the pulse signals Pbu-Pbz input from the vector control drive unit 112 control switching of six semiconductor elements Qu-Qz (see FIG. 2) provided in the inverter unit 113 in a control pattern in which the high side of one phase is turned on, the low side of the other phase is turned on, and both sides of the remaining phases are turned off. As a result, as shown in FIG. 5, the U-phase AC voltage Vu, the V-phase AC voltage Vv, and the W-phase AC voltage Vw become sinusoidal signals whose one cycle coincides with the period in which the electrical angle θe rotates 360° (i.e., one cycle of the electrical angle θe). The U-phase AC voltage Vu, the V-phase AC voltage Vv, and the W-phase AC voltage Vw become signals whose electrical angles θe are shifted from each other by 120°.
[0050] The U-phase current Iu, the V-phase current Iv, and the W-phase current Iw input from the inverter unit 113 are converted into the d-axis current command value Id * and q-axis current command value Iq * By the drive unit 11 repeatedly executing vector control drive so as to follow the rotational speed ω and torque of the motor 20, the rotational speed ω and torque of the motor 20 approach the desired values.
[0051] 5, the Hall detection signal Hu output from the Hall sensor 22u has a period that matches the period of the U-phase AC voltage Vu, and is a square wave signal that is positive when the U-phase AC voltage Vu is positive and is 0 V when the U-phase AC voltage Vu is negative. The Hall detection signal Hv output from the Hall sensor 22v has a period that matches the period of the V-phase AC voltage Vv, and is a square wave signal that is positive when the V-phase AC voltage Vv is positive and is 0 V when the V-phase AC voltage Vv is negative. The Hall detection signal Hw output from the Hall sensor 22w has a period that matches the period of the W-phase AC voltage Vw, and is a square wave signal that is positive when the W-phase AC voltage Vw is positive and is 0 V when the W-phase AC voltage Vw is negative.
[0052] The Hall sensors 22u, 22v, and 22w provided in the motor 20 are arranged at intervals of 120°, shifted by 60° from the U-phase winding 21u, the V-phase winding 21v, and the W-phase winding 21w (see FIG. 1). Therefore, as shown in FIG. 5 and FIG. 6, the Hall detection signal Hu output from the Hall sensor 22u, the Hall detection signal Hv output from the Hall sensor 22v, and the Hall detection signal Hw output from the Hall sensor 22w have signal waveforms whose phases are shifted by 120° from each other. Also, one period of the Hall detection signals Hu, Hv, and Hw coincides with one period of the electrical angle θe of the motor 20.
[0053] As shown in Fig. 6, the detection unit 12 determines the electrical angle θe in a stepped manner, for example, as stages E1, E2, E3, E4, E5, and E6, depending on the combination of the voltage levels of the Hall detection signals Hu, Hv, and Hw. For example, when the voltage level of the Hall detection signal Hu is high, the voltage level of the Hall detection signal Hv is low, and the voltage level of the Hall detection signal Hw is high, the detection unit 12 determines the electrical angle θe to be 0° (360°) as stage E1. For example, when the voltage level of the Hall detection signal Hu is high, the voltage level of the Hall detection signal Hv is low, and the voltage level of the Hall detection signal Hw is low, the detection unit 12 determines the electrical angle θe to be 60° as stage E2. Note that in Fig. 4, symbols "E1 to E6" indicating the stages of the electrical angle θe are shown in the period P1 and a part of the period P3 described later.
[0054] The detection unit 12 detects the rotation angle θ of the rotor 23 in a stepped manner from 0° to 360° (0°) based on the electrical angle θe determined in this manner. The detection unit 12 detects the rotation angle θ of the motor 20 by using the above-mentioned equation (1).
[0055] Returning to Figure 4, at time t1 after a predetermined period has elapsed in period P1, the torque command value τ* input to the switching unit 14 changes to increase, and the switching unit 14 causes the drive unit 11 to switch the operation of the motor 20 to rectangular wave voltage drive.
[0056] Here, the square wave voltage drive in the drive unit 11 will be described with reference to Fig. 7. Fig. 7 is a diagram showing an example of voltage waveforms of the U-phase AC voltage Vu, the V-phase AC voltage Vv, and the W-phase AC voltage Vw output to the motor 20 by the drive unit 11 after the drive of the motor 20 has been switched to square wave voltage drive by the switching unit 14, and an example of voltage waveforms of the Hall detection signals Hu, Hv, and Hw output from the Hall sensors 22u, 22v, and 22w.
[0057] A square wave voltage driver 111 (see FIG. 1) that performs square wave voltage driving generates pulse signals Pau-Paz (see FIG. 1) that are input as pulse signals Pu-Pz to an inverter unit 113. The pulse signals Pau-Paz are signals for outputting, from the inverter unit 113 to the motor 20, a U-phase AC voltage Vu, a V-phase AC voltage Vv, and a W-phase AC voltage Vw that correspond to the excitation patterns of the U-phase winding 21u, the V-phase winding 21v, and the W-phase winding 21w that correspond to the rotation angle θ of the motor 20. In the square wave voltage driving, the switching of six semiconductor elements Qu-Qz provided in the inverter unit 113 is controlled by the pulse signals Pau-Paz input as pulse signals Pu-Pz from the square wave voltage driver 111 in the same manner as in the vector control driving. 7, the U-phase AC voltage Vu, the V-phase AC voltage Vv, and the W-phase AC voltage Vw become positive pulse signals for a 120° period during which the electrical angle θe rotates 360°, become constant 0 V signals for the next 60° period, become negative pulse signals for the next 120° period, and become constant 0 V signals for the final 60° period. The U-phase AC voltage Vu, the V-phase AC voltage Vv, and the W-phase AC voltage Vw become signals whose electrical angles θe are shifted by 120° from each other.
[0058] The pulse signals Pau to Paz generated by the rectangular wave voltage driver 111 are converted into a U-phase current Iu, a V-phase current Iv, and a W-phase current Iw input from the inverter 113 by a q-axis current command value Iq * It is also a signal to make the q-axis current command value Iq * is the torque command value τ * Therefore, the square wave voltage driver 111 generates the U-phase current Iu, the V-phase current Iv, and the W-phase current Iw based on the q-axis current command value Iq * By making it follow the torque command value τ * The motor 20 operates so that the torque follows the pulse signals Pau to Paz. The inverter unit 113 repeatedly operates by these pulse signals Pau to Paz, thereby changing the duty ratios of the rectangular pulse-shaped U-phase AC voltage Vu, V-phase AC voltage Vv, and W-phase AC voltage Vw. As a result, the rotation speed ω and torque of the motor 20 approach desired values.
[0059] 6 and 7, the Hall detection signals Hu, Hv, and Hw in the square wave voltage drive have the same signal waveforms as the Hall detection signals Hu, Hv, and Hw in the vector control drive. Therefore, even if the motor 20 is driven by the square wave voltage drive, the detection unit 12 can detect the rotational position (i.e., the rotational angle) of the rotor 23 in the same manner as in the vector control drive.
[0060] Returning to Fig. 4, a period P2 from time t1 to time t2 when the Hall detection signal Hu rises for the first time after time t1 corresponds to the flow of "YES in step S11 → YES in step S12 → YES in step S13 → step S14 → step S15" shown in Fig. 3. At time t2, the Hall detection signal Hu rises and the signal level changes, so that the switching unit 14 causes the drive unit 11 to end the operation of the motor 20 driven by the square wave voltage.
[0061] In a period P3 after time t2, the motor control device 10 controls the motor 20 by switching the drive of the motor 20 between square wave voltage drive and vector control drive depending on the magnitude relationship between the rotation speed ω of the motor 20 and the threshold value ωth and the drive switching threshold value ωthc. In other words, when the rotation speed ω of the motor 20 is smaller than the drive switching threshold value ωthc, the period P3 corresponds to the flow of "NO in step S11 → YES in step S17 → step S18 → step S20". On the other hand, when the rotation speed ω of the motor 20 is equal to or larger than the drive switching threshold value ωthc, the period P3 corresponds to the flow of "NO in step S11 → NO in step S17 → step S19 → step S20".
[0062] When the motor 20 is driven by vector control drive, the motor control device 10 controls the torque command value τ *When the torque command value τ * Therefore, the motor 20 can be controlled so that the rotation speed ω of the motor 20 follows the rotation speed corresponding to the change in
[0063] Assume that a power control unit (not shown) provided in a vehicle 1 (see FIG. 1) and controlling a motor control device 10 recognizes the control of the motor 20 in a processing order such as "sudden deceleration → stop → acceleration." In this case, even if the rotation speed (in other words, the number of rotations) of the motor 20 in the processing order recognized by the power control unit deviates from the actual rotation speed of the motor 20, the motor control device 10 drives the motor 20 with square wave control drive in period P2, thereby preventing the motor 20 from locking or rotation failure of the motor 20. Furthermore, by driving the motor 20 with square wave control drive in period P2, the motor control device 10 can control the motor 20 in a direction that reduces the deviation between the rotation speed in the processing order and the actual rotation speed.
[0064] [4. Other embodiments] The drive unit 11 may be configured to stop the operation of the non-selected one of the square wave voltage drive unit 111 and the vector control drive unit 112. This allows the motor control device 10 to reduce the processing load.
[0065] In step S13 shown in FIG. 3, the switching unit 14 switches the torque command value τ * The criterion for judgment is whether the torque command value τ * The amount of change in the torque command value τ may be used as the judgment criterion. * For example, the torque command value τ * (i.e., the torque command value τ * Specifically, the switching unit 14 may use the torque command value τ *When the change in the Hall detection signal Hu is equal to or greater than a predetermined value (predetermined threshold value), the drive of the motor 20 may be switched from the vector control drive to the rectangular wave voltage drive (flow from step S13 to step S14 shown in FIG. 3). * Even if the torque command value τ * Therefore, the motor control device 10 can stabilize the driving of the motor 20 at low speed.
[0066] 3, the switching unit 14 uses the first change in the Hall detection signal after the start of low speed drive as the judgment criterion, but it is not necessary to judge the change in the Hall detection signal until a predetermined period has elapsed after the start of low speed drive. This allows the motor control device 10 to reliably secure the period during which the motor 20 is driven in low speed drive, thereby preventing the motor 20 from locking or malfunctioning.
[0067] In the motor control device 10, the same Hall detection signal is used to calculate the rotation speed ω of the motor 20 and to detect the change in signal level during low-speed driving, but different Hall detection signals may be used.
[0068] [4. Configuration supported by the above embodiment] The above embodiment is a specific example of the following configuration.
[0069] (Configuration 1) A motor control device comprising: a drive unit capable of selectively driving a motor by rectangular wave voltage drive, which applies a rectangular wave voltage to a stator winding provided in the motor to drive the motor, and vector control drive, which applies a sinusoidal wave voltage to the stator winding to drive the motor; a command unit that commands a torque command value that tracks the torque of the motor; and a switching unit that causes the drive unit to switch the drive of the motor to the rectangular wave voltage drive or the vector control drive, wherein the switching unit switches the drive of the motor from the vector control drive to the rectangular wave voltage drive when the torque command value input from the command unit changes while the motor is being driven by the vector control drive at a rotational speed equal to or lower than a threshold value. According to the motor control device of configuration 1, even if the rotation speed of the motor suddenly drops, the motor can be forcibly rotated by driving it with a square wave voltage, thereby suppressing vibration of the motor. As a result, according to the motor control device of configuration 1, it is possible to stabilize the motor output at low rotation speeds, which in turn contributes to improving energy efficiency.
[0070] (Configuration 2) The motor control device according to Configuration 1, wherein the switching unit drives the motor by low-speed drive, which is the rectangular wave voltage drive switched based on a change in the torque command value, and then terminates the driving of the motor by the low-speed drive on condition that a signal level of a position signal indicating a rotational position of a rotor provided in the motor has changed, and switches the driving of the motor to the rectangular wave voltage drive or the vector control drive depending on the rotational speed at the time when the low-speed drive is terminated. According to the motor control device of configuration 2, an appropriate motor drive method is selected according to the motor rotation speed even after low-speed drive has been performed, so that the motor can be driven efficiently even after it is rotated again.
[0071] (Configuration 3) The motor control device according to configuration 1 or 2, wherein the switching unit switches the driving of the motor from the vector control driving to the rectangular wave voltage driving when an amount of change in the torque command value is equal to or greater than a predetermined value. According to the motor control device of configuration 3, slight changes in the torque command value caused by erroneous detection of the position signal due to noise or the like are not determined to be changes in the torque command value, so that the drive of the motor at low rotation speeds can be stabilized.
[0072] (Configuration 4) The motor control device according to any one of configurations 1 to 3, wherein the switching unit switches the drive of the motor from the vector control drive to the rectangular wave voltage drive when the torque command value changes from a value that reduces or maintains the torque at a constant value to a value that increases the torque. According to the motor control device of configuration 4, when the motor is rotating at a low speed, it is possible to prevent the motor from being locked by forcibly rotating the motor through square wave control drive.
[0073] (Configuration 5) A vehicle comprising: the motor control device according to any one of configurations 1 to 4; the motor; and a position detection unit that outputs a position signal indicating a rotational position of a rotor provided in the motor. According to the vehicle of configuration 5, the same effects as those of the motor control device of configurations 1 to 4 can be obtained. [Explanation of symbols]
[0074] 1...vehicle, 10...motor control device, 11...drive unit, 12...detection unit, 13...rotational speed calculation unit, 14...switching unit, 15...command unit, 20...motor, 21u...U-phase winding, 21v...V-phase winding, 21w...W-phase winding, 22u, 22v, 22w...Hall sensor, 23...rotor, 111...rectangular wave voltage drive unit, 112...vector control drive unit, 113...inverter unit, 113u...U-phase arm, 113v...V-phase arm, 113w...W-phase arm, E1 to E6...stage, Hu, Hv, Hw...Hall detection signal, Id * …d-axis current command value, Iq *...q-axis current command value, Iu...U-phase current, Iv...V-phase current, Iw...W-phase current, Ln...positive line, Lp...negative line, P1, P2, P3...period, Pau~Paz, Pbu~Pbz, Pu~Pz...pulse signals, Qu~Qz...semiconductor elements, Scd1, Scd2...drive switching signals, Sθ...rotation angle signal, Sω...rotation speed signal, Vu...U-phase AC voltage, Vv...V-phase AC voltage, Vw...W-phase AC voltage, θ...rotation angle, τ * …Torque command value, ω…Rotational speed
Claims
1. a drive unit (11) capable of selectively driving the motor (20) by a rectangular wave voltage drive that applies a rectangular wave voltage to stator windings (21u, 21v, 21w) provided in the motor (20) to drive the motor (20) and a vector control drive that applies a sinusoidal wave voltage to the stator windings (21u, 21v, 21w) to drive the motor (20); A torque command value (τ * A command unit (15) for commanding A switching unit (14) that switches the drive of the motor (20) to the rectangular wave voltage drive or the vector control drive by the drive unit (11); Equipped with The switching unit (14) switches the torque command value (τ) input from the command unit (15) in a state where the motor (20) is driven at a rotation speed (ω) equal to or less than a threshold value (ωth) by the vector control drive. * ) is changed, the drive of the motor (20) is switched from the vector control drive to the rectangular wave voltage drive. A motor control device (10).
2. The switching unit (14) selects the torque command value (τ * After driving the motor (20) by the low-speed drive, which is the square wave voltage drive switched based on a change in the rotation speed (ω), the driving of the motor (20) by the low-speed drive is terminated on the condition that a signal level of a position signal indicating a rotation position of a rotor (23) provided in the motor (20) has changed, and the driving of the motor (20) is switched to the square wave voltage drive or the vector control drive according to the rotation speed (ω) at the time when the low-speed drive is terminated. The motor control device (10) of claim 1.
3. The switching unit (14) selects the torque command value (τ * When the change in the voltage Vout is equal to or greater than a predetermined value, the drive of the motor (20) is switched from the vector control drive to the rectangular wave voltage drive. The motor control device (10) of claim 1.
4. The switching unit (14) selects the torque command value (τ * ) changes from a value for decreasing or maintaining the torque at a constant value to a value for increasing the torque, the drive of the motor (20) is switched from the vector control drive to the rectangular wave voltage drive. The motor control device (10) of claim 1.
5. A motor control device (10) according to any one of claims 1 to 4, The motor (20); a position detection unit (22u, 22v, 22w) that outputs position signals (Hu, Hv, Hw) indicating a rotational position of a rotor (23) provided in the motor (20); A vehicle equipped with.
Citation Information
Patent Citations
Control device for rotary electric machine
JP2016220466A
Method for calculating rotational speed of brushless motor
JP2003264990A
Direct-current motor drive
JP2004242432A
