Motor drive control device and motor drive control method
The motor drive control device simplifies vector control calculations by detecting the q-axis current in a two-phase system, reducing computational load and microcontroller requirements, thus lowering costs.
Patent Information
- Application Number
- JP2023008274
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2023-01-23
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2043-01-23
AI Technical Summary
The high computational load in motor drive control methods for permanent magnet synchronous motors (PMSMs) using vector control necessitates the use of high-performance microcontrollers with large-capacity memory, increasing the cost of the motor drive control device due to complex calculations like coordinate conversion and division.
A motor drive control device that includes a control circuit with a q-axis current calculation unit to detect the phase current closest to the q-axis current in a two-phase rotating coordinate system when the d-axis current is zero, reducing computational load through simplified vector control calculations.
This approach reduces the computational load in motor drive control, thereby lowering the required performance and cost of the microcontroller, while maintaining effective motor operation.
Smart Images

Figure 0007957264000006 
Figure 0007957264000007 
Figure 0007957264000008
Abstract
Description
Technical Field
[0001] The present invention relates to a motor drive control device and a motor drive control method.
Background Art
[0002] In general, permanent magnet synchronous motors (PMSMs) as brushless DC motors are broadly classified into surface permanent magnet synchronous motors (SPMSMs) in which permanent magnets are attached to the surface of a rotor and interior permanent magnet synchronous motors (IPMSMs) in which permanent magnets are embedded inside a rotor.
[0003] Conventionally, a motor drive control method using vector control is known as a drive control technology for permanent magnet synchronous motors (PMSMs) (for example, see Patent Document 1).
Prior Art Documents
Patent Documents
[0004]
Patent Document 1
Summary of the Invention
Problems to be Solved by the Invention
[0005] However, in the motor drive control method using vector control, it is necessary to perform complex calculations such as coordinate conversion between a fixed coordinate system and a rotating coordinate system, and division, and the calculation load on a program processing device such as a microcontroller serving as a motor drive control device increases. Therefore, a high-performance microcontroller or the like that is equipped with a large-capacity memory and can process complex calculations at high speed is required, leading to an increase in the cost of the motor drive control device.
[0006] The present invention aims to solve the above-mentioned problems and to reduce the computational load in motor drive control. [Means for solving the problem]
[0007] A motor drive control device according to a typical embodiment of the present invention comprises a control circuit that outputs a drive control signal for driving a motor having multiple phase coils, and a drive circuit that drives the motor based on the drive control signal output from the control circuit, wherein the drive circuit includes an inverter circuit that drives the multiple phase coils based on the drive control signal, and a current detection circuit that detects the current flowing through the multiple phase coils and outputs a current detection signal corresponding to the detected current, wherein the control circuit includes a drive command acquisition unit that acquires a drive command signal including a value that indicates the target state of operation of the motor, and the current detection signal and the rotation of the motor rotor The device is characterized by including a q-axis current calculation unit that, based on the angle, detects as a peak value the phase current closest to the q-axis current of the two-phase rotating coordinate system when the d-axis current of the two-phase rotating coordinate system is set to zero, among the phase currents flowing through the coils of each phase and the phase currents obtained by inverting the phase of the phase currents flowing through the coils of each phase, and calculates the q-axis current when the d-axis current is set to zero, based on the envelope of the peak value; and a calculation unit that generates the drive control signal by performing a vector control calculation using the q-axis current calculated by the q-axis current calculation unit, the drive command signal, the rotation speed of the rotor of the motor, and the rotation angle of the rotor. [Effects of the Invention]
[0008] According to one aspect of the present invention, it is possible to reduce the computational load in motor drive control. [Brief explanation of the drawing]
[0009] [Figure 1] This figure shows the configuration of a motor unit equipped with a motor drive control device according to Embodiment 1. [Figure 2]This figure shows the functional block configuration of the control circuit in the motor drive control device according to Embodiment 1. [Figure 3] This diagram shows the relationship between a three-phase fixed coordinate system and a two-phase rotating coordinate system. [Figure 4] This figure shows the current vectors in a two-phase rotating coordinate system. [Figure 5] This diagram shows the relationship between the phase current of each phase of the motor and the q-axis current. [Figure 6] This figure shows an example of positive q-axis current and phase current. [Figure 7] This figure shows an example of negative q-axis current and phase current. [Figure 8] This figure shows the correspondence between sectors and candidate phase currents for peak values. [Figure 9] This figure shows an example configuration of the peak value detection unit according to Embodiment 1. [Figure 10] This diagram illustrates the current lag between the applied voltage and the current in a motor's coil. [Figure 11] This is a diagram illustrating the method for calculating the advance angle value. [Figure 12] This figure shows an example of a table that associates advance angle values with each combination of rotational speed and q-axis current, serving as correspondence information. [Figure 13] This flowchart shows an example of the process flow for generating a drive control signal by the motor drive control device according to Embodiment 1. [Figure 14] This flowchart shows an example of the flow of the q-axis current calculation process (step S5) according to Embodiment 1. [Figure 15] This figure shows the functional block configuration of the control circuit in the motor drive control device according to Embodiment 2. [Figure 16] This diagram illustrates the discrepancy in the current vector caused by the difference between the estimated value and the true value of the rotor's rotation angle. [Figure 17] This figure illustrates the outline of the method for estimating the q-axis current according to Embodiment 2. [Figure 18A]FIG. 10 is a diagram showing an example of a correspondence relationship between a sector and a phase current serving as a candidate for a peak value in a second embodiment. [Figure 18B] FIG. 11 is a diagram showing an example of the correspondence relationship between the sector and the phase current serving as the candidate for the peak value in the second embodiment. [Figure 19] FIG. 12 is a diagram showing a configuration example of a peak value detection unit according to the second embodiment. [Figure 20] FIG. 13 is a flowchart showing an example of a flow of a calculation process (step S5) of a q-axis current in the second embodiment. [Figure 21] FIG. 14 is a diagram showing a functional block configuration of a control circuit in a motor drive control device according to a third embodiment. [Figure 22] FIG. 15 is a diagram showing a relationship between a current vector and a voltage vector in a two-phase rotational coordinate system. [Figure 23] FIG. 16 is a diagram showing a configuration example of a peak value detection unit according to the third embodiment. [Figure 24] FIG. 17 is a diagram for explaining an outline of an estimation method of a q-axis current according to the third embodiment. [Figure 25A] FIG. 18 is a diagram showing an example of a correspondence relationship between a sector and a phase current serving as a candidate for a peak value in the third embodiment. [Figure 25B] FIG. 19 is a diagram showing an example of the correspondence relationship between the sector and the phase current serving as the candidate for the peak value in the third embodiment. [Mode for Carrying Out the Invention]
[0010] 1. Outline of Embodiment First, an outline of a representative embodiment of the invention disclosed in the present application will be described. In the following description, as an example, reference numerals in the drawings corresponding to components of the invention are described in parentheses.
[0011] [1] A motor drive control device (10, 10A, 10B) according to a typical embodiment of the present invention comprises a control circuit (1, 1A, 1B) that outputs a drive control signal (Sd) for driving a motor (3) having multiple phase coils (Lu, Lv, Lw), and a drive circuit (2) that drives the motor based on the drive control signal output from the control circuit, wherein the drive circuit includes an inverter circuit (2a) that drives the multiple phase coils based on the drive control signal, and a current detection circuit (2c) that detects the current flowing through the multiple phase coils and outputs a current detection signal (Vm) corresponding to the detected current, wherein the control circuit includes a drive command acquisition unit (11) that acquires a drive command signal (Sc, Sc1) that includes a value indicating the target state of operation of the motor, and the current detection signal and the motor The motor is characterized by including a q-axis current calculation unit (12, 12A, 12B) that, based on the rotation angle of the rotor (31), detects the phase current (iu, iv, iw) flowing through each phase coil and the phase current (-iu, -iv, -iw) obtained by inverting the phase of the phase currents flowing through each phase coil by 180°, and the phase current closest to the q-axis current of the two-phase rotating coordinate system when the d-axis current of the two-phase rotating coordinate system is set to zero, as a peak value (ip), and calculates the q-axis current (iq) when the d-axis current is set to zero, based on the envelope of the peak value; and a calculation unit (13) that generates the drive control signal by performing a vector control calculation using the q-axis current calculated by the q-axis current calculation unit, the drive command signal, the rotation speed of the rotor of the motor, and the rotation angle of the rotor.
[0012] [2] In the motor drive control device described in [1] above, correspondence information (128, 128A_1, 128A_2, 128B_1, 128B_2) is stored in the control circuit, with each sector (I-VI) obtained by dividing the range of electrical angles corresponding to the rotation of the rotor into multiple sectors, and a candidate phase current for the peak value is associated with each sector. The q-axis current calculation unit detects the phase of the current vector in the two-phase rotation coordinate system based on the rotation angle of the rotor and the current detection signal, identifies the sector to which the phase of the current vector belongs, selects a candidate phase current associated with the identified sector based on the correspondence information, and sets the selected phase current as the peak value.
[0013] [3] In the motor drive control device (10A, 10B) described in [2] above, the q-axis current calculation unit (12A, 12B) may, when multiple candidate phase currents for the peak value are associated with the sector, compare the absolute values of the magnitudes of the multiple candidate phase currents and set the phase current with the largest absolute value as the peak value.
[0014] [4] In the motor drive control device (10, 10A) described in [2] or [3] above, the q-axis current calculation unit (12, 12A) may use the rotation angle obtained by adding π / 2 to the rotation angle (θ) of the rotor as the phase of the current vector.
[0015] [5] In the motor drive control device (10B) described in [2] or [3] above, the q-axis current calculation unit (12B) may detect the phase of the current vector based on the phase (σ) of the voltage vector in the two-phase rotating coordinate system calculated based on the rotation angle of the rotor.
[0016] [6] In the motor drive control device described in any of [1] to [5] above, the q-axis current calculation unit (12, 12A, 12B) may include: a peak value detection unit (121, 121A, 121B) that detects the peak value based on the rotation angle of the rotor and the current detection signal; a low-pass filter (122) to which the peak value detected by the peak value detection unit is input; and a multiplication unit (123) that multiplies the value output from the low-pass filter by a predetermined value and outputs it as the q-axis current.
[0017] [7] In the motor drive control device described in [6] above, the predetermined value may be π / 3.
[0018] [8] In the motor drive control device described in [2] above, the sector may be a range obtained by dividing the range of electrical angles from 0° to 360° into 60° intervals.
[0019] [9] A motor drive control method according to a typical embodiment of the present invention includes: a first step (S1) of acquiring a drive command signal including a value that indicates a target state of operation for a motor having multiple phase coils; a second step (S4) of detecting the current flowing through the multiple phase coils; a third step (S5) of detecting, based on the current detected in the second step and the rotation angle of the motor rotor, the phase current that is closest to the q-axis current of the two-phase rotating coordinate system when the d-axis current of the two-phase rotating coordinate system is set to zero, among the phase currents flowing through each phase coil and the phase currents obtained by inverting the phase of the phase currents flowing through each phase coil by 180°, as a peak value, and calculating the q-axis current when the d-axis current is set to zero based on the envelope of the peak value; and a fourth step (S6-S9) of generating a drive control signal for driving the motor by performing a vector control calculation using the drive command signal acquired in the first step, the q-axis current calculated in the third step, the rotation speed of the motor rotor, and the rotation angle of the rotor.
[0020] 2. Specific Examples of Embodiments Hereinafter, specific examples of embodiments of the present invention will be described with reference to the figures. In the following description, common components in each embodiment will be denoted by the same reference numerals, and repeated descriptions will be omitted.
[0021] <Embodiment 1> Figure 1 shows the configuration of a motor unit 100 equipped with a motor drive control device 10 according to Embodiment 1.
[0022] As shown in Figure 1, the motor unit 100 comprises a motor 3 and a motor drive control device 10 that controls the rotation of the motor 3. The motor unit 100 can be applied to various devices that use a motor as a drive source, such as a fan.
[0023] Motor 3 is, for example, a permanent magnet synchronous motor (PMSM). In this embodiment, motor 3 is, for example, a surface magnet synchronous motor (SPMSM) having three phase coils Lu, Lv, and Lw. The coils Lu, Lv, and Lw are, for example, Y-connected to each other.
[0024] The motor drive control device 10 rotates the rotor 31 of the motor 3 by periodically supplying a sinusoidal drive signal to the motor 3, thereby supplying a sinusoidal phase current to the three-phase coils Lu, Lv, and Lw of the motor 3 (see Figure 3).
[0025] The motor drive control device 10 includes a control circuit 1 and a drive circuit 2. Note that the components of the motor drive control device 10 shown in Figure 1 are only a part of the whole, and the motor drive control device 10 may have other components in addition to those shown in Figure 1.
[0026] The drive circuit 2 drives the motor 3 based on the drive control signal Sd output from the control circuit 1, which will be described later. The drive circuit 2 includes, for example, an inverter circuit 2a, a pre-drive circuit 2b, and a current detection circuit 2c.
[0027] The inverter circuit 2a is positioned between the DC power supply Vcc and ground potential and drives the multi-phase coils Lu, Lv, and Lw of the motor 3, which is the load, based on the input drive control signal Sd. Specifically, in Embodiment 1, the inverter circuit 2a has three switching legs, each containing two drive transistors connected in series, and drives the motor 3, which is the load, by having the two drive transistors alternately turn on and off (switching operation) based on the input drive control signal Sd.
[0028] More specifically, the inverter circuit 2a has switching legs corresponding to the U-phase, V-phase, and W-phase of the motor 3, respectively. As shown in Figure 1, each switching leg corresponding to a phase has two drive transistors Q1 and Q2, Q3 and Q4, Q5 and Q6 connected in series between the DC power supply Vcc and ground potential via a current detection circuit 2c.
[0029] Here, the drive transistors Q1, Q3, and Q5 are, for example, N-channel MOSFETs, and the drive transistors Q2, Q4, and Q6 are, for example, N-channel MOSFETs. Note that the drive transistors Q1 to Q6 may be other types of transistors such as IGBTs (Insulated Gate Bipolar Transistors).
[0030] For example, the switching leg corresponding to the U phase has drive transistors Q1 and Q2 connected in series with each other. The point where drive transistors Q1 and Q2 are connected in common is connected to one end of the coil Lu, which is the load. The switching leg corresponding to the V phase has drive transistors Q3 and Q4 connected in series with each other. The point where drive transistors Q3 and Q4 are connected in common is connected to one end of the coil Lv, which is the load. The switching leg corresponding to the W phase has drive transistors Q5 and Q6 connected in series with each other. The point where drive transistors Q5 and Q6 are connected in common is connected to one end of the coil Lw, which is the load.
[0031] The pre-drive circuit 2b generates a drive signal to drive the inverter circuit 2a based on the drive control signal Sd output from the control circuit 1.
[0032] The drive control signal Sd is a signal for controlling the drive of motor 3, and is, for example, a PWM (Pulse Width Modulation) signal. Specifically, the drive control signal Sd is a signal for switching the energization pattern of the motor 3's coils Lu, Lv, and Lw, which is determined by the on / off state of each drive transistor constituting the inverter circuit 2a. More specifically, the drive control signal Sd includes six types of PWM signals corresponding to each drive transistor Q1 to Q6 of the inverter circuit 2a.
[0033] The pre-drive circuit 2b generates six types of drive signals Vuh, Vul, Vvh, Vvl, Vwh, and Vwl, which are capable of supplying sufficient power to drive the control electrodes (gate electrodes) of each drive transistor Q1 to Q6 of the inverter circuit 2a, based on six types of PWM signals Sd supplied from the control circuit 1 as drive control signals.
[0034] These drive signals Vuh, Vul, Vvh, Vvl, Vwh, and Vwl are input to the control electrodes (gate electrodes) of the drive transistors Q1 to Q6 in the inverter circuit 2a, causing each drive transistor Q1 to Q6 to perform an on / off operation (switching operation). For example, the drive transistors Q1, Q3, and Q5 of the upper arm and Q2, Q4, and Q6 of the lower arm of the switching leg corresponding to each phase alternately perform on / off operations. As a result, power is supplied to each phase of the motor 3 from the DC power supply Vcc, causing the motor 3 to rotate.
[0035] Furthermore, if control circuit 1 can generate drive signals Vuh, Vul, Vvh, Vvl, Vwh, and Vwl, then drive circuit 2 does not need to have a pre-drive circuit 2b.
[0036] The current detection circuit 2c is a circuit for detecting the current flowing through the multi-phase coils Lu, Lv, and Lw of the motor 3. The current detection circuit 2c detects the currents (phase currents) iu, iv, and iw flowing through the coils Lu, Lv, and Lw of each phase, and outputs a current detection signal Vm corresponding to the detected current.
[0037] The current detection circuit 2c is connected in series with, for example, the inverter circuit 2a, and outputs a signal Vm that indicates the phase currents iu, iv, and iw of the coils Lu, Lv, and Lw.
[0038] Specifically, the current detection circuit 2c includes, for example, at least one resistor (shunt resistor) as a current detection element. The shunt resistor is connected in series with the inverter circuit 2a between the DC power supply Vcc and the ground potential (single shunt configuration). In Embodiment 1, the shunt resistor as the current detection circuit 2c is connected, for example, to the negative side (ground side) of the inverter circuit 2a. The current detection circuit 2c converts the phase currents iu, iv, and iw of the coils Lu, Lv, and Lw of the motor 3 into voltages using the resistor, and inputs these voltages to the control circuit 1 as a current detection signal Vm. As a result, the current detection signal Vm becomes a signal indicating the phase currents iu, iv, and iw of the coils Lu, Lv, and Lw.
[0039] The position sensor 4 is a device for detecting the rotational position of the rotor 31 of the motor 3. The position sensor 4 outputs a signal corresponding to the rotational position of the rotor 31. The position sensor 4 is, for example, a Hall element. Figure 1 shows, as an example, a case in which Hall elements as position sensors 4u, 4v, and 4w are provided for each of the U, V, and W phases of the motor 3. Hereinafter, the position sensors 4u, 4v, and 4w will also be referred to as "Hall elements 4u, 4v, and 4w".
[0040] The Hall elements 4u, 4v, and 4w are arranged around the rotor 31 of the motor 3 at approximately equal intervals from each other (for example, 120 degrees apart from adjacent elements). Each Hall element 4u, 4v, and 4w detects the magnetic poles of the rotor 31 and outputs Hall signals, whose voltage changes according to the rotation of the rotor 31, as rotational position detection signals Hu, Hv, and Hw. These rotational position detection signals Hu, Hv, and Hw are input to the control circuit 1.
[0041] The control circuit 1 may also be configured to receive another signal corresponding to the rotational position of the rotor 31 of the motor 3 as a rotational position detection signal, instead of such a Hall signal. For example, an encoder or resolver may be provided, and its detection signal may be input to the control circuit 1.
[0042] The control circuit 1 controls the driving of the motor 3 by generating a drive control signal Sd to drive the motor 3 based on a drive command signal Sc, which is input from an external source and specifies the target operating state of the motor 3. Specifically, the control circuit 1 monitors the rotational state of the motor 3 by obtaining information such as the rotational speed and torque of the rotor 31 of the motor 3 based on the current detection signal Vm from the current detection circuit 2c and the rotational position detection signals Hu, Hv, Hw from the position sensors 4u, 4v, 4w, and generates a drive control signal Sd so that the motor 3 enters the operating state specified by the drive command signal Sc, and provides it to the drive circuit 2.
[0043] In Embodiment 1, the control circuit 1 is a program processing unit (e.g., a microcontroller) having a configuration in which a processor such as a CPU, various storage devices such as RAM and ROM, and peripheral circuits such as a counter (timer), A / D conversion circuit, D / A conversion circuit, clock generation circuit, and input / output I / F circuit are connected to each other via a bus or dedicated line.
[0044] In the motor drive control device 10, the control circuit 1 and the drive circuit 2 may each be packaged as separate integrated circuit devices, or at least a part of the control circuit 1 and at least a part of the drive circuit 2 may be packaged as a single integrated circuit device (IC).
[0045] Figure 2 is a diagram showing the functional block configuration of the control circuit 1 in the motor drive control device 10 according to Embodiment 1.
[0046] As shown in Figure 2, the control circuit 1 includes a drive command acquisition unit 11, a q-axis current calculation unit 12, and a calculation unit 13 as functional blocks for generating the drive control signal Sd.
[0047] These functional blocks are realized, for example, in a program processing unit as a control circuit 1, by the processor executing various arithmetic operations according to a program stored in memory, and controlling peripheral circuits such as counters and A / D conversion circuits. At least some of these functional blocks may be realized by dedicated hardware logic circuits.
[0048] The drive command acquisition unit 11 receives a drive command signal Sc from an external source and analyzes the received drive command signal Sc to obtain a value that specifies the target operating state of the motor 3 specified by the drive command signal Sc.
[0049] The drive command signal Sc includes a value that indicates the target state of operation for the motor 3. The drive command signal Sc is, for example, a signal output from a higher-level device for controlling the motor unit 100, which is located outside the motor drive control device 10.
[0050] In Embodiment 1, the drive command signal Sc is, for example, a speed command signal Sc1 that specifies the rotational speed of the rotor of the motor 3. The drive command signal Sc includes the value ωref of the target rotational speed (target rotational speed) of the rotor of the motor 3. Hereinafter, Embodiment 1 will be described assuming that the drive command signal Sc is the speed command signal Sc1.
[0051] The speed command signal Sc1 is, for example, a PWM signal having a duty cycle corresponding to a specified target rotational speed ωref. The drive command acquisition unit 11 measures, for example, the duty cycle of the PWM signal as the speed command signal Sc1, and outputs the rotational speed corresponding to the measured duty cycle as the target rotational speed ωref.
[0052] The q-axis current calculation unit 12 is a functional unit that calculates the q-axis current of a two-phase rotating coordinate system based on the phase currents iu, iv, and iw of the coils Lu, Lv, and Lw of the motor 3.
[0053] The q-axis current calculation unit 12 calculates the q-axis current using a simplified method to reduce the computational load in conventional motor vector control and generates a drive control signal Sd. The method for calculating the q-axis current will be described below.
[0054] First, the coordinate system in vector control by the motor drive control device 10 according to Embodiment 1 will be described.
[0055] Figure 3 shows the relationship between a fixed coordinate system of three phases (U,V,W) and a rotating coordinate system of two phases (d,q).
[0056] As shown in Figure 3, the UVW axes represent a three-phase fixed coordinate system, and the dq axis represents a two-phase rotating coordinate system. Generally, in motor vector control, the d axis in the two-phase (d,q) rotating coordinate system is defined as the magnetic flux direction (north pole direction) of the permanent magnet acting as the rotor, and the q axis is defined as the direction advanced 90 degrees (π / 2) in the positive direction from the d axis. When the directions of the q-axis and d-axis are set in this manner, as shown in Figure 3, the rotation angle θ of the rotor 31 measured by the rotation angle acquisition unit 14 becomes the rotation angle of the d-axis, which is, for example, the angle between the U-axis and the d-axis in a fixed coordinate system of three phases (U, V, W).
[0057] It is generally known that the torque of a permanent magnet synchronous motor (PMSM) can be expressed by the following formula:
[0058]
number
[0059] In equation (1) above, Te is the generated torque, P is the number of pole pairs, Ψ is the magnetic flux of the permanent magnet (rotor), Ld is the d-axis inductance, Lq is the q-axis inductance, id is the d-axis current, iq is the q-axis current, ΨIq is the magnet torque, and "(Ld-Lq)idiq" is the reluctance torque.
[0060] Here, if motor 3 is a surface magnet synchronous motor (SPMSM), the d-axis inductance Ld and the q-axis inductance Lq are equal (Ld=Lq), so no reluctance torque is generated. Therefore, as can be understood from equation (1), the efficiency of motor 3 can be maximized when the d-axis current id is set to zero.
[0061] Next, we will explain the relationship between the phase currents of each phase of motor 3 and the q-axis current of the two-phase rotating coordinate system.
[0062] Figure 4 shows the current vector i in a two-phase (d,q) rotating coordinate system.
[0063] The current vector i in a two-phase (d,q) rotating coordinate system is composed of a d-axis current component and a q-axis current component. When the d-axis current is zero, the current vector i coincides with the q-axis current vector. As shown in Figure 3, when the rotor 31 rotates in the forward direction, the q-axis current is positive.
[0064] On the other hand, when the rotor 31 rotates in reverse, the q-axis current becomes negative. That is, the phase of the current vector during reverse rotation is shifted by 180° (π) relative to the current vector during forward rotation. In other words, when rotating the rotor 31 in reverse, the q-axis current must be negative. Furthermore, even when controlling the q-axis current to zero or a small amount, the q-axis current may become negative due to the influence of noise caused by voltage fluctuations, load fluctuations, etc.
[0065] Here, cases where the q-axis current is controlled to zero or a small amount include, for example, starting a motor that is idling without applying the brakes (windmill start) or rotating a motor at a very low speed.
[0066] Figure 5 shows the relationship between the phase currents iu, iv, and iw of each phase of the motor 3 and the q-axis current. In Figure 5, the horizontal axis represents time, and the vertical axis represents electric current.
[0067] As shown in Figure 5, when the motor 3 is driven by a sinusoidal wave, the phase currents iu, iv, and iw of the coils of each phase of the motor 3 will have sinusoidal waveforms, for example, with a phase difference of 120 degrees from each other.
[0068] As mentioned above, in order to maximize the motor's efficiency, the d-axis current id should be set to zero. When the d-axis current id is zero, as shown in Figure 5, the q-axis current iq is approximately equal to the amplitudes of the phase currents iu, iv, and iw of the coils Lu, Lv, and Lw of each phase of the motor 3.
[0069] Here, when the rotor 31 is rotating in the forward direction, the q-axis current is positive. In this case, as shown in Figure 5, the q-axis current approximately matches the positive amplitude of the phase currents iu, iv, and iw of the coils Lu, Lv, and Lw of each phase of the motor 3. On the other hand, when the rotor 31 is rotating in the reverse direction, the q-axis current is negative. In this case, as shown in Figure 5, the q-axis current approximately matches the negative amplitude, not the positive amplitude, of the phase currents iu, iv, and iw of the coils Lu, Lv, and Lw of each phase of the motor 3.
[0070] Therefore, the motor drive control device 10 according to Embodiment 1 estimates the q-axis current when the d-axis current id is zero, based on the phase currents iu, iv, iw flowing through the coils Lu, Lv, Lw of each phase and the phase currents -iu, -iv, -iw obtained by reversing the polarity of the phase currents iu, iv, iw (multiplying by -1).
[0071] Figure 6 shows an example of positive q-axis current and phase current.
[0072] The upper part of FIG. 2 shows “sectors” which are ranges obtained by dividing the range of electrical angles from 0° to 360° into a plurality of sections. The middle part of FIG. 2 shows phase currents iu, iv, iw of the respective phases, and phase currents -iu, -iv, -iw obtained by inverting the phases of the phase currents iu, iv, iw by 180° (by multiplying by -1). The lower part of FIG. 2 shows an envelope curve representing temporal changes in a peak value ip, where the peak value ip is defined as the phase current closest to the q-axis current when the d-axis current is set to zero, among the positive q-axis current iq and the phase currents flowing through the multi-phase coils Lu, Lv, Lw. In FIG. 2, the horizontal axis represents the electrical angle, and the vertical axis represents the current.
[0073] As shown in FIG. 2, when the three-phase currents iu, iv, iw and the phase currents -iu, -iv, -iw obtained by inverting the polarities of the respective phase currents iu, iv, iw are superimposed, the phase current closest to the q-axis current when the d-axis current is set to zero switches every 60° electrical angle.
[0074] For example, as shown in FIG. 2, when the electrical angle X is in the range of -30°<X≦30°, the phase current iu is closest to the q-axis current iq. When the electrical angle X is in the range of 30°<X≦90°, the phase current -iw is closest to the q-axis current iq. When the electrical angle X is in the range of 90°<X≦150°, the phase current iv is closest to the q-axis current iq. When the electrical angle X is in the range of 150°<X≦210°, the phase current -iu is closest to the q-axis current iq. When the electrical angle X is in the range of 210°<X≦270°, the phase current iw is closest to the q-axis current iq. When the electrical angle X is in the range of 270°<X≦330°, the phase current -iv is closest to the q-axis current iq.
[0075] In this way, one of the phase currents iu, iv, iw, -iu, -iv, -iw is closest to the q-axis current (positive) when the d-axis current is zero.
[0076] FIG. 7 is a diagram illustrating an example of a negative q-axis current and phase currents.
[0077] The upper part of the sheet of FIG. 7 shows "sectors" which are ranges obtained by dividing the range of electrical angle from 0° to 360° into a plurality of parts. The middle part of the sheet of FIG. 7 shows phase currents iu, iv, iw. The lower part of the sheet of FIG. 7 shows the phase currents iu, iv, iw, phase currents -iu, -iv, -iw obtained by inverting the polarities of the respective phase currents, and the q-axis current iq. In FIG. 7, the horizontal axis represents the electrical angle, and the vertical axis represents the current.
[0078] As described above, the phase of the current vector i when the q-axis current is negative is inverted by 180° with respect to the phase of the current vector i when the q-axis current is positive. Similarly, as shown in FIG. 7, the phase of each phase current when the q-axis current is negative is inverted by 180° with respect to the phase of each phase current when the q-axis current is positive. Therefore, as shown in FIG. 7, in each of the sectors I to VI, the phase current that serves as a candidate for the negative q-axis current is the same as the phase current that serves as a candidate for the positive q-axis current.
[0079] For example, as shown in FIG. 7, when the electrical angle X is in the range of -30°<X≦30°, the phase current iu is closest to the q-axis current iq. When the electrical angle X is in the range of 30°<X≦90°, the phase current -iw is closest to the q-axis current iq. When the electrical angle X is in the range of 90°<X≦150°, the phase current iv is closest to the q-axis current iq. When the electrical angle X is in the range of 150°<X≦210°, the phase current -iu is closest to the q-axis current iq. When the electrical angle X is in the range of 210°<X≦270°, the phase current iw is closest to the q-axis current iq. When the electrical angle X is in the range of 270°<X≦330°, the phase current -iv is closest to the q-axis current iq.
[0080] In this way, similarly when the q-axis current is negative, one of the phase currents iu, iv, iw, -iu, -iv, -iw is closest to the q-axis current (negative) when the d-axis current is zero.
[0081] Therefore, the q-axis current calculation unit 12 according to Embodiment 1 detects the phase current iu, iv, iw and phase currents -iu, -iv, -iw obtained by inverting the phases of the phase currents iu, iv, iw flowing through the coils Lu, Lv, Lw of each phase as the peak value ip, which is closest to the q-axis current when the d-axis current is set to zero, from among the phase currents iu, iv, iw and phase currents -iu, -iv, -iw obtained by inverting the phases of the phase currents iu, iv, iw by 180°, flowing through the coils Lu, Lv, Lw of each phase, and calculates the q-axis current of the two-phase rotating coordinate system when the d-axis current of the two-phase rotating coordinate system is set to zero, based on the envelope of the peak value ip.
[0082] For example, as shown in Figure 2, the q-axis current calculation unit 12 may include a peak value detection unit 121, a low-pass filter (LPF) 122, and a multiplication unit 123.
[0083] The peak value detection unit 121, the low-pass filter 122, and the multiplication unit 123 may be implemented by program processing by a program processing unit as the control circuit 1, or by dedicated hardware circuits.
[0084] The peak value detection unit 121 detects the phase current iu, iv, iw, -iu, -iv, -iw, which is closest to the q-axis current when the d-axis current is set to zero, as the peak value ip, based on the current detection signal Vm and the rotation angle of the rotor 31 of the motor 3.
[0085] As described above, the phase current that is a candidate for the q-axis current, that is, the phase current that is closest to the q-axis current when the d-axis current is set to zero, switches every 60° of electrical angle (see Figures 6 and 7). Therefore, in Embodiment 1, the range of electrical angles corresponding to the rotation of the rotor 31 (0° to 360°) is divided into multiple parts, and each of these divided sub-ranges is designated as a "sector," and a candidate phase current for the peak value ip (q-axis current) is pre-associated with each sector.
[0086] Figure 8 shows the correspondence between sectors and phase currents that are candidates for peak value ip.
[0087] In each sector, one of the phase currents iu, iv, iw, -iu, -iv, and -iw is associated as a phase current that is a candidate for the peak value ip. For example, as shown in FIG. 6, FIG. 7, and FIG. 8, a range in which the electrical angle X satisfies -30°<X≦30° is defined as sector I, and the phase current iu that is closest to the q-axis current in sector I is set as a candidate for the peak value ip in sector I. A range in which the electrical angle X satisfies 30°<X≦90° is defined as sector II, and the phase current -iw that is closest to the q-axis current in sector II is set as a candidate for the peak value ip in sector II. A range in which the electrical angle X satisfies 90°<X≦150° is defined as sector III, and the phase current iv that is closest to the q-axis current in sector III is set as a candidate for the peak value ip in sector III. A range in which the electrical angle X satisfies 150°<X≦210° is defined as sector IV, and the phase current -iu that is closest to the q-axis current in sector IV is set as a candidate for the peak value ip in sector IV. A range in which the electrical angle X satisfies 210°<X≦270° is defined as sector V, and the phase current iw that is closest to the q-axis current in sector V is set as a candidate for the peak value ip in sector V. A range in which the electrical angle X satisfies 270°<X≦330° is defined as sector VI, and the phase current -iv that is closest to the q-axis current in sector VI is set as a candidate for the peak value ip in sector VI.
[0088] The peak value detection unit 121 detects the phase of the current vector i in the two-phase (d, q) rotating coordinate system based on the rotation angle of the rotor 31 and the current detection signal Vm, identifies the sector to which the phase of the current vector i belongs, and performs processing of outputting the phase current associated with the identified sector as the peak value ip. The peak value detection unit 121 includes, as functional blocks for realizing the above processing, for example, a current phase detection unit 124, a sector identification unit 125, a phase current calculation unit 126, and a phase current selection unit 127.
[0089] FIG. 9 is a diagram illustrating a configuration example of the peak value detection unit 121 according to the first embodiment.
[0090] The current phase detection unit 124 detects the phase of the current vector i in the two-phase rotating coordinate system. For example, the current phase detection unit 124 detects the phase of the current vector i based on the rotation angle θ of the rotor 31.
[0091] As shown in Figure 3, the q-axis direction is shifted by +90° (π / 2) relative to the rotation angle θ of the rotor 31 (d-axis direction = N-pole direction). Also, the current vector i when the d-axis current is zero coincides with the q-axis current.
[0092] Therefore, the current phase detection unit 124 calculates the rotation angle (θ+π / 2) obtained by adding "π / 2" to the rotation angle θ of the rotor 31 acquired by the rotation angle acquisition unit 14 (described later) as the phase of the current vector i. For example, the current phase detection unit 124 calculates the phase of the current vector i for each motor control cycle (PWM cycle).
[0093] The phase current calculation unit 126 calculates the phase current based on the current detection signal Vm. For example, in the one-shunt method described above, where a single shunt resistor is connected in series with the inverter circuit to detect the current of motor 3, the path through which the current flows changes depending on which drive transistors Q1 to Q6 are turned on during the motor's control cycle (PWM cycle), and the phase current indicated by the current detection signal Vm changes as a result of this switching of the path.
[0094] Therefore, the phase current calculation unit 126 calculates the phase currents iu, iv, and iw from the current detection signal Vm in accordance with the on / off timing of the drive transistors Q1 to Q6 of the inverter circuit, for each control cycle of the motor 3, using, for example, a known current detection method of the single-shunt type. Furthermore, the phase current calculation unit 126 calculates the phase currents -iu, -iv, and -iw by multiplying the phase currents iu, iv, and iw by "-1".
[0095] The sector identification unit 125 identifies the sector to which the phase of the current vector i in the two-phase rotating coordinate system, as detected by the current phase detection unit 124, belongs. For example, as shown in Figures 6 and 7, if the range of electrical angles from 0 to 360° is divided into six sectors I to VI, the sector identification unit 125 identifies which sector I to VI the phase of the current vector i belongs to. For example, for each control cycle of the motor 3, the sector identification unit 125 identifies the sector to which the phase (θ+π / 2) of the current vector i belongs and outputs the information of the identified sector.
[0096] The phase current selection unit 127 selects one phase current from multiple phase currents based on information about the sector to which the phase of the current vector i belongs, and outputs it as a peak value ip. The phase current selection unit 127 selects a candidate phase current for the peak value ip (q-axis current) using correspondence relationship information 128, which shows the correspondence relationship between a sector and a candidate phase current for the peak value ip, as shown in Figure 8.
[0097] As shown in Figure 8, the correspondence information 128 is, for example, a table that associates sectors with candidate phase currents for peak value ip. The correspondence information 128 is pre-stored in a memory device (for example, a non-volatile memory device) within the control circuit 1. For example, after the motor drive control device 10 is started up, the phase current selection unit 127 reads the correspondence information 128 from the memory device.
[0098] The phase current selection unit 127 takes the sector to which the phase of the current vector i identified by the sector identification unit 125 belongs as an argument, and reads the phase current corresponding to that argument from the correspondence relationship information 128. The phase current selection unit 127 outputs the read phase current as the peak value ip.
[0099] For example, in the case of the correspondence information 128 shown in Figure 8, when the sector to which the phase of the current vector i belongs is "Sector II", the phase current selection unit 127 selects the phase current -iw and outputs the phase current -iw as the peak value ip. The phase current selection unit 127 outputs the peak value ip for each motor control cycle. As a result, the envelope of the peak value ip, whose magnitude changes over time, is output from the phase current selection unit 127.
[0100] The envelope of the peak value ip (hereinafter also referred to as the "peak value ip signal") changes in magnitude (oscillates) based on the amplitude of the three-phase AC. Therefore, the low-pass filter 122 removes the high-frequency components contained in the peak value ip signal.
[0101] The low-pass filter 122 receives the peak value ip (signal of peak value ip) output from the peak value detection unit 121 (phase current selection unit 127). The low-pass filter 122 removes high-frequency components from the input peak value ip signal and outputs a signal that is a smoothed version of the peak value ip signal (hereinafter also referred to as the "average value of peak value ip").
[0102] The average of the peak values ip output from the low-pass filter 122 is smaller than the q-axis current. Therefore, the multiplier 123 multiplies the signal output from the low-pass filter 122 (the average of the peak values ip) by a predetermined value. For example, the average of the peak values ip is 3 / π times smaller than the q-axis current. Therefore, the multiplier 123 multiplies the value output from the low-pass filter 122 by "π / 3". This allows obtaining an approximate value (estimated value) of the q-axis current when the d-axis current id is set to zero. The multiplier 123 outputs the approximate value of the q-axis current calculated as described above as "q-axis current iq".
[0103] Furthermore, the predetermined value mentioned above is not limited to "π / 3" as described above; it should be set appropriately so that an appropriate approximate value of the q-axis current can be calculated from the value output from the low-pass filter 122.
[0104] Next, the calculation unit 13 will be described. The calculation unit 13 generates a drive control signal Sd by performing a vector control calculation using the q-axis current iq calculated by the q-axis current calculation unit 12, the drive command signal Sc (speed command signal Sc1) acquired by the drive command acquisition unit 11, the rotational speed ω of the rotor 31 of the motor 3, and the rotational angle θ of the rotor 31.
[0105] For example, as shown in Figure 2, the calculation unit 13 includes a rotation angle acquisition unit 14, a rotation speed acquisition unit 15, error calculation units 16 and 18, a q-axis current command value calculation unit 17, a voltage command value calculation unit 19, an advance angle control unit 20, an addition unit 21, and a drive control signal generation unit 22.
[0106] The rotation angle acquisition unit 14 is a functional unit that acquires the measured value of the rotation angle of the rotor 31 of the motor 3. For example, the rotation angle acquisition unit 14 calculates the rotation angle (rotation position) θ of the rotor 31 of the motor 3 using a known calculation method based on the rotation position detection signals Hu, Hv, Hw output from the position sensors 4u, 4v, 4w.
[0107] The rotational speed acquisition unit 15 is a functional unit that acquires the measured value of the rotational speed of the rotor 31 of the motor 3. Based on the rotational position detection signals Hu, Hv, and Hw output from the position sensors 4u, 4v, and 4w, the rotational speed acquisition unit 15 calculates the rotational speed ω of the rotor 31 of the motor 3 using a known calculation method. In this embodiment, for example, the rotational speed acquisition unit 15 calculates the rotational speed ω of the rotor 31 of the motor 3 based on the rotation angle θ calculated by the rotation angle acquisition unit 14.
[0108] The error calculation unit 16 is a functional unit that calculates the difference (ωref - ω) between the target rotational speed ωref output from the drive command acquisition unit 11 and the actual rotational speed ω of the motor 3 acquired by the rotational speed acquisition unit 15.
[0109] The q-axis current command value calculation unit 17 is a functional unit that calculates the command value iqref of the q-axis current so that the difference between the target rotational speed ωref and the rotational speed ω of the motor 3 is small. For example, the q-axis current command value calculation unit 17 calculates the command value iqref of the q-axis current as a control variable of the motor 3 by performing PI control calculations so that the error (ωref - ω) calculated by the error calculation unit 16 becomes zero.
[0110] The error calculation unit 18 is a functional unit that calculates the difference (iqref - iq) between the command value iqref of the q-axis current calculated by the q-axis current command value calculation unit 17 and the q-axis current iq calculated by the q-axis current calculation unit 12.
[0111] The voltage command value calculation unit 19 is a functional unit that calculates the voltage command value vref of the two-phase (d,q) rotating coordinate system such that the difference between the command value iqref of the q-axis current calculated by the q-axis current command value calculation unit 17 and the q-axis current iq calculated by the q-axis current calculation unit 12 is small. For example, the voltage command value calculation unit 19 calculates the voltage command value vref as a control variable of the motor 3 by performing a PI control calculation such that the error (iqref - iq) calculated by the error calculation unit 18 becomes zero.
[0112] The advance angle control unit 20 is a functional unit that controls the advance angle of the motor 3. The advance angle control unit 20 calculates the phase advance angle (advance angle value φ) of the applied voltage (phase applied voltage) to each coil Lu, Lv, and Lw based on the q-axis current iq calculated by the q-axis current calculation unit 12 and the rotational speed ω of the rotor 31 acquired by the rotational speed acquisition unit 15. Specifically, the advance angle control unit 20 calculates the advance angle value δ at which the d-axis current id of the two-phase (d,q) rotational coordinate system becomes zero. The method for calculating the advance angle value δ will be explained in detail below.
[0113] Figure 10 is a diagram illustrating the current lag with respect to the applied voltage in the motor coil. Generally, when a voltage is applied to a motor coil, the coil current lags behind the applied voltage due to the coil's inductance. Therefore, in typical advance angle control, the phase of the applied voltage is advanced by φ, the amount by which the coil current lags behind the applied voltage, so that the current reaches the desired phase. The angle by which the applied voltage phase advances in this case is called the advance angle value φ.
[0114] As mentioned above, in a surface magnet synchronous motor (SPMSM), the d-axis inductance and the q-axis inductance are equal, so the motor efficiency is maximized when the d-axis current id is set to zero. To make the d-axis current id zero, that is, to make the current consist only of the q-axis component, the phase of the applied voltage should be advanced relative to the q-axis by an angle value φ.
[0115] Therefore, the motor drive control device 10 according to Embodiment 1 calculates the advance angle value φ at which the d-axis current id of the rotating coordinate system becomes zero, and generates a drive control signal Sd by performing a spatial vector transformation based on the polar coordinate information represented by the advance angle value φ and the voltage command value vref of the rotating coordinate system.
[0116] Figure 11 is a diagram illustrating the method for calculating the advance angle value. The figure shows the voltage command value vref (vector) with the horizontal axis being the d-axis and the vertical axis being the q-axis.
[0117] Generally, the d-axis voltage value vd in the rotating coordinate system of a two-phase (d,q) permanent magnet synchronous motor (PMSM) is expressed by the following equation (2).
[0118]
number
[0119] Here, the d-axis voltage value vd when the d-axis current id = 0 can be expressed by equation (3) below, from equation (2) above.
[0120]
number
[0121] Therefore, by performing advance angle control to determine the advance angle value φ such that the d-axis component of the voltage command value vref vector becomes "-ωLqiq", the drive of motor 3 can be controlled so that the d-axis current id becomes zero.
[0122] As shown in Figure 11, when the angle between the voltage command value vref vector and the q-axis is φ, then from equation (3), the following equation (4) holds.
[0123]
number
[0124] From equation (4) above, the advance angle φ when the d-axis current id is set to zero is expressed by the following equation (5).
[0125]
number
[0126] In the motor drive control device 10 according to this embodiment, the advance angle control unit 20 calculates an advance angle value φ at which the d-axis current id of the two-phase (d,q) rotation coordinate system becomes zero, based on the q-axis current iq calculated by the q-axis current calculation unit 12 and the rotation speed ω of the rotor 31 acquired by the rotation speed acquisition unit 15.
[0127] Specifically, the advance angle control unit 20 calculates the angle (advance angle value) φ of the voltage command value vref vector with respect to the q axis when the d-axis component of the voltage command value vref vector matches the d-axis voltage value vd when the d-axis current id is zero.
[0128] Here, the rotation angle θ of the rotor 31 of motor 3 is the rotation angle of the d-axis. On the other hand, as shown in Figure 11, the advance angle value φ is the angle of the voltage command value vref vector with respect to the q-axis. Therefore, the advance angle value δ with respect to the d-axis is "φ + π / 2". The advance angle control unit 20 calculates and outputs the advance angle value δ (=φ + π / 2).
[0129] Specifically, the advance angle control unit 20 calculates the advance angle value δ using correspondence information 201 that shows the correspondence between the rotational speed ω of the rotor 31, the q-axis current iq, and the advance angle value δ(φ). The following methods can be exemplified as methods for calculating the advance angle value δ using the correspondence information 201.
[0130] As a first method, the advance angle control unit 20 may have a function of the advance angle value φ represented by equation (5) as correspondence relationship information 201, and calculate the advance angle value φ based on equation (5). For example, the function of the angle φ represented by equation (5) is stored in the memory of the control circuit 1 as correspondence relationship information 201. The advance angle control unit 20 reads equation (5) as correspondence relationship information 201 from the memory and calculates the angle φ at which the d-axis current id becomes zero by substituting the q-axis current iq calculated by the q-axis current calculation unit 12 and the rotational speed ω of the rotor 31 acquired by the rotational speed acquisition unit 15 into equation (5). Then, the advance angle control unit 20 outputs the value obtained by adding π / 2 to the calculated angle φ as the advance angle value δ with respect to the d-axis.
[0131] In equation (5), the q-axis inductance Lq is a fixed value. Therefore, in calculations using equation (5), the advance angle control unit 20 can use a value that has been pre-stored in the memory of the control circuit 1 as the q-axis inductance Lq. Also, in calculations using (5), the advance angle control unit 20 can use a value calculated by the voltage command value calculation unit 19 as the voltage command value vref.
[0132] Since the voltage command value vref can be calculated from the q-axis current iq and the rotational speed ω, the advance angle control unit 20 may calculate the value of the voltage command value vref using the q-axis current iq and the rotational speed ω without obtaining the value of the voltage command value vref from the voltage command value calculation unit 19.
[0133] As a second method, the advance angle control unit 20 may have a table as correspondence relationship information 201, which associates the advance angle value δ with each combination of rotational speed ω and q-axis current iq, and calculate the advance angle value φ based on that table.
[0134] Figure 12 shows an example of a table that associates the advance angle value δ with each combination of rotational speed ω and q-axis current iq, as correspondence information 201.
[0135] As described above, the q-axis inductance Lq is a fixed value, and the voltage command value vref can be calculated from the q-axis current iq and the rotational speed ω. Therefore, the optimal advance angle value δ is measured in advance, using the rotational speed ω and q-axis current iq of the rotor 31 as variables. Alternatively, the advance angle value δ is calculated in advance using the above equation (5). Then, a table is created that associates the advance angle value δ with each combination of rotational speed ω and q-axis current iq as variables, and this correspondence information 201 is stored in the memory of the control circuit 1 in advance.
[0136] The advance angle control unit 20 takes the q-axis current iq calculated by the q-axis current calculation unit 12 and the rotational speed ω of the rotor 31 acquired by the rotational speed acquisition unit 15 as arguments, refers to a table as correspondence relationship information 201, reads the advance angle value δ corresponding to those arguments from the table and outputs it.
[0137] The advance angle value δ calculated by the method described above is input to the addition unit 21. The addition unit 21 adds the advance angle value δ output from the advance angle control unit 20 and the rotation angle θ of the rotor 31 obtained by the rotation angle acquisition unit 14, and outputs the added value as information of the angle σ (=θ+δ) of the voltage command value vref vector (voltage vector v).
[0138] The drive control signal generation unit 22 is a functional unit that generates a drive control signal Sd based on the angle σ, which is the sum of the advance angle value δ and the rotation angle θ of the rotor 31, and the voltage command value vref. For example, the drive control signal generation unit 22 performs a spatial vector transformation based on polar coordinate information represented by the voltage command value vref output from the voltage command value calculation unit 19 and the angle σ (=θ+δ) output from the addition unit 21. That is, the drive control signal generation unit 22 converts the voltage vector v, represented by the voltage command value vref and the polar coordinate value of angle σ (=θ+δ), into a voltage signal (PWM signal) in a three-phase (U,V,W) fixed coordinate system using a known spatial vector transformation calculation method, and outputs it as a drive control signal Sd.
[0139] Next, the process flow for generating the drive control signal Sd by the motor drive control device 10 according to Embodiment 1 will be described.
[0140] Figure 13 is a flowchart showing an example of the process flow for generating the drive control signal Sd by the motor drive control device 10 according to Embodiment 1.
[0141] First, when the control circuit 1 receives a speed command signal Sc1 from a higher-level device, for example, it analyzes the speed command signal Sc1 to obtain information about the target rotational speed ωref of the motor 3 specified by the speed command signal Sc1 (step S1).
[0142] Next, the control circuit 1 acquires the rotation angle θ of the rotor 31 of the motor 3 (step S2). Specifically, as described above, the rotation angle acquisition unit 14 calculates the rotation angle θ of the rotor 31 of the motor 3 based on the rotation position detection signals Hu, Hv, and Hw output from the Hall elements 4u, 4v, and 4w, which act as position sensors.
[0143] The control circuit 1 obtains the rotational speed ω of the motor 3 (step S3). Specifically, as described above, the rotational speed acquisition unit 15 calculates the rotational speed ω of the rotor 31 of the motor 3 based on the rotation angle θ of the rotor 31 calculated in step S2.
[0144] The control circuit 1 detects the phase currents iu, iv, and iw of the coils of each phase of the motor 3 (step S4). Specifically, the current detection circuit 2c outputs a current detection signal Vm corresponding to the phase currents iu, iv, and iw of each coil using the method described above, and the q-axis current calculation unit 12 acquires the current detection signal Vm.
[0145] Next, the control circuit 1 calculates the q-axis current iq (step S5).
[0146] Figure 14 is a flowchart showing an example of the flow of the calculation process for the q-axis current iq (step S5) according to Embodiment 1.
[0147] In step S5, first, the current phase detection unit 124 detects the phase of the current vector i based on the rotation angle θ of the rotor 31 (step S51). As described above, the current phase detection unit 124 calculates the rotation angle (θ+π / 2) obtained by adding "π / 2" to the rotation angle θ of the rotor 31 obtained by the rotation angle acquisition unit 14 as the phase of the current vector i.
[0148] Next, the sector identification unit 125 identifies the sector to which the phase (θ+π / 2) of the current vector i belongs (step S52). The sector identification unit 125 identifies which of the six sectors I to VI shown in Figures 6 and 7 the phase of the current vector i belongs to.
[0149] Next, the phase current selection unit 127 selects one phase current from among multiple phase currents that is a candidate for the peak value ip (step S53). Specifically, as described above, the phase current selection unit 127 reads the candidate phase current from the correspondence information 128, using the sector to which the phase of the current vector i identified in step S52 belongs as an argument.
[0150] Next, the phase current selection unit 127 outputs the candidate phase current selected in step S53 as the peak value ip (step S54). Specifically, the phase current selection unit 127 outputs the candidate phase current from among the multiple phase currents output from the phase current calculation unit 126 as the peak value ip.
[0151] Next, the low-pass filter 122 smooths the signal (envelope) of the peak value ip output from the phase current selection unit 127 (step S55). Then, the multiplier unit 123 multiplies the signal (average value of peak value ip) smoothed by the low-pass filter 122 by a predetermined value (step S56). Specifically, as described above, the multiplier unit 123 multiplies the average value of peak value ip output from the low-pass filter 122 by "π / 3". Then, the multiplier unit 123 outputs the value obtained by multiplying the average value of peak value ip by the predetermined value as the q-axis current iq (step S57).
[0152] In Figure 13, after the completion of step S5, or in parallel with step S5, the control circuit 1 calculates the command value iqref for the q-axis current (step S6). Specifically, as described above, the error calculation unit 16 calculates the difference between the target rotational speed ωref and the actual rotational speed ω of the motor 3, and the q-axis current command value calculation unit 17 calculates the command value iqref for the q-axis current by performing PI control calculations so that the difference calculated by the error calculation unit 16 becomes zero.
[0153] Next, the control circuit 1 calculates a voltage command value vref for the two-phase (d,q) rotating coordinate system such that the difference between the command value iqref for the q-axis current calculated in step S6 and the q-axis current iq calculated in step S5 is minimized (step S7). Specifically, as described above, the error calculation unit 18 calculates the difference between the command value iqref for the q-axis current and the actual q-axis current iq of the motor 3, and the voltage command value calculation unit 19 calculates the voltage command value vref by performing PI control calculations so that the difference calculated by the error calculation unit 18 becomes zero.
[0154] Next, the control circuit 1 calculates the advance angle value δ at which the d-axis current id becomes zero, based on the q-axis current iq calculated in step S5 and the rotational speed ω of the rotor 31 obtained in step S3 (step S8). Specifically, the advance angle control unit 20 calculates the advance angle value δ using the method described above with the correspondence information 201.
[0155] Next, the control circuit 1 generates a drive control signal Sd based on the angle σ obtained by adding the advance angle value δ calculated in step S8 and the rotation angle θ of the rotor 31, and the voltage command value vref calculated in step S7 (step S9). Specifically, as described above, the drive control signal generation unit 22 converts the voltage vector, which is represented by the voltage command value vref and the polar coordinate value of the angle σ (=θ+δ), into a voltage signal (PWM signal) in a three-phase (U,V,W) fixed coordinate system using a known spatial vector transformation calculation method, and outputs it as a drive control signal Sd.
[0156] The drive control signal Sd generated by the above processing procedure is supplied to the drive circuit 2. Based on the input drive control signal Sd, the drive circuit 2 controls the energization of the motor 3's coils using the method described above. As a result, the motor 3 is controlled to rotate at the target rotational speed ωref specified by the speed command signal Sc1.
[0157] In the motor drive control device 10 according to Embodiment 1, the control circuit 1 detects one of the phase currents iu, iv, iw flowing through the coils Lu, Lv, Lw of each phase, and the phase currents -iu, -iv, -iw obtained by inverting the phases of the phase currents iu, iv, iw by 180°, as a peak value ip. Based on the envelope of the peak value ip, it calculates the q-axis current when the d-axis current in the two-phase rotating coordinate system is set to zero, and generates a drive control signal Sd by performing a vector control calculation.
[0158] According to this, since there is no need to perform conventional coordinate transformations to calculate the q-axis current, the computational load in motor drive control can be reduced. As a result, the processing power required for the program processing unit such as a microcontroller as the control circuit 1 can be kept low, making it possible to provide a motor drive control device 10 at a lower cost.
[0159] Furthermore, by detecting the phase current closest to the q-axis current among the phase currents iu, iv, iw, -iu, -iv, -iw as the peak value ip, the q-axis current can be appropriately estimated even when the q-axis current is negative or zero or a very small value. This makes it possible to stably perform, for example, control to reverse the rotation of the rotor 31 of motor 3, control to start a motor that is spinning freely without applying the brake (windmill start), and control to rotate the motor at a very low speed.
[0160] Furthermore, the control circuit 1 stores correspondence relationship information 128, in which candidate phase currents for the peak value ip are associated with each sector obtained by dividing the range of the electrical angle corresponding to the rotation of the rotor 31 into multiple sectors. The q-axis current calculation unit 12 detects the phase of the current vector i in the two-phase (d,q) rotation coordinate system based on the rotation angle of the rotor 31 and the current detection signal Vm, and identifies the sector to which the phase of the current vector i belongs. Based on the correspondence relationship information 128, the q-axis current calculation unit 12 selects a candidate phase current associated with the identified sector, and sets the selected phase current as the peak value ip.
[0161] As described above, the phase current that is closest to the q-axis current is determined according to the electrical angle. Therefore, by preparing correspondence information 128 in advance, which associates candidate phase currents for the peak value ip (q-axis current) for each sector, and reading the candidate phase current associated with the sector to which the phase of the current vector i belongs from the correspondence information 128, the phase current that is closest to the q-axis current can be easily determined. This makes it possible to further reduce the computational load on the control circuit 1.
[0162] As described above, the motor drive control device 10 according to Embodiment 1 can appropriately calculate the q-axis current while suppressing the computational load.
[0163] Furthermore, the control circuit 1 drives the motor 3 by performing advance angle control so that the d-axis current id becomes zero, in order to maximize the efficiency of the motor 3. This reduces the computational load compared to the conventional method of calculating the d-axis current id by coordinate transformation and performing vector control calculations so that the calculated d-axis current id becomes zero. As a result, the processing power required for the program processing unit as the control circuit 1 can be further reduced, making it possible to provide a motor drive control device 10 at a lower cost.
[0164] Furthermore, when the control circuit 1 calculates the advance angle value δ(φ) to set the d-axis current id to zero, it uses correspondence information 201 that shows the correspondence between the rotor 31 rotation speed ω, the q-axis current iq, and the advance angle value δ. This makes it possible to further reduce the computational load on the control circuit 1. For example, as described above, a table that associates the advance angle value δ with each combination of the rotor 31 rotation speed ω and the q-axis current iq is stored in the memory of the control circuit 1 as correspondence information 201. With this, the advance angle value δ can be calculated without performing complex calculations, thus further reducing the computational load on the control circuit 1.
[0165] <Embodiment 2> Figure 15 is a diagram showing the functional block configuration of the control circuit 1A in the motor drive control device 10A according to Embodiment 2.
[0166] Similar to the motor drive control device 10 according to Embodiment 1, the motor drive control device 10A, together with the motor 3, constitutes a motor unit 100A.
[0167] The control circuit 1A according to Embodiment 2 differs from the control circuit 1 according to Embodiment 1 in terms of the method for detecting the peak value. As described above, the phase of the current vector i can be calculated with reference to the rotation angle θ of the rotor 31 of the motor 3. However, the estimated value of the rotation angle of the rotor 31 calculated by the rotation position detection signals Hu, Hv, Hw output from the Hall elements 4u, 4v, 4w as position sensors, or by calculations of known position sensorless control, may deviate from the true value of the actual rotation angle of the rotor 31.
[0168] Figure 16 is a diagram illustrating the deviation in the current vector caused by the discrepancy between the estimated value and the true value of the rotation angle of the rotor 31.
[0169] In Figure 16, the true value of the rotation angle of the rotor 31 is denoted as "θtr", the estimated value of the rotation angle of the rotor 31 is denoted as "θ", and the deviation of the estimated value from the true value of the rotation angle of the rotor 31 is denoted as "Δ".
[0170] As shown in Figure 16, if the estimated value θ of the rotation angle of the rotor 31 deviates by "Δ" from the true value θtr, the estimated value (θ+π / 2) of the phase of the current vector i also deviates by "Δ" from the true value (θtr+π / 2) of the phase of the current vector i. The larger this deviation (error) Δ becomes, the greater the possibility that the candidate phase current based on the estimated value of the phase of the current vector i will differ from the phase current closest to the q-axis current. Therefore, the peak value detection unit 121A according to Embodiment 2 sets multiple candidate phase currents for the q-axis current for each sector.
[0171] Figure 17 is a diagram illustrating the outline of the q-axis current estimation method according to Embodiment 2. The upper part of Figure 17 shows "sectors," which are ranges obtained by dividing the electrical angle range from 0° to 360° into multiple parts. The middle part of Figure 17 shows the phase currents iu, iv, and iw. The lower part of Figure 17 shows the phase currents iu, iv, and iw, as well as the phase currents -iu, -iv, and -iw obtained by reversing the polarity of the phase currents iu, iv, and iw, and the q-axis current iq. In Figure 17, the horizontal axis represents the electrical angle and the vertical axis represents the current.
[0172] In the second embodiment, the range of electrical angles from 0° to 360° is divided into six sectors I to VI with 0° as a reference. For example, as shown in FIG. 17, the range where the electrical angle X satisfies 0°<X≦60° is defined as sector I, the range where the electrical angle X satisfies 60°<X≦120° is defined as sector II, the range where the electrical angle X satisfies 120°<X≦180° is defined as sector III, the range where the electrical angle X satisfies 180°<X≦240° is defined as sector IV, the range where the electrical angle X satisfies 240°<X≦300° is defined as sector V, and the range where the electrical angle X satisfies 300°<X≦360° is defined as sector VI.
[0173] As shown in FIG. 17, an error Δ may occur between the estimated value (θ+π / 2) of the phase of the current vector i and the true value (θtr+π / 2) of the phase of the current vector i. The phase current closest to the q-axis current in each sector varies depending on the magnitude of the error Δ. For example, when the error Δ is in the range of -30°≦Δ≦+30°, two phase currents can be candidates for the peak value ip (q-axis current) in each sector. When the error Δ is in the range of -30°≦Δ≦+60°, three phase currents can be candidates for the peak value ip (q-axis current) in each sector.
[0174] FIG. 18A and FIG. 18B are diagrams illustrating an example of a correspondence relationship between sectors and phase currents that are candidates for the peak value ip in the second embodiment.
[0175] FIG. 18A shows correspondence relationship information 128A_1 between sectors and phase currents that are candidates for the peak value ip when the error Δ is in the range of -30°≦Δ≦+30°. FIG. 18B shows correspondence relationship information 128A_2 between sectors and phase currents that are candidates for the peak value ip when the error Δ is in the range of -30°≦Δ≦+60°.
[0176] For example, when the error Δ falls within the range of -30° ≤ Δ ≤ +30°, as shown in FIG. 17 and FIG. 18A, in sector I (0° < X ≤ 60°), the phase current iu and the phase current -iw are candidates for the peak value ip. In sector II (60° < X ≤ 120°), the phase current iv and the phase current -iw are candidates for the peak value ip. In sector III (120° < X ≤ 180°), the phase current -iu and the phase current iv are candidates for the peak value ip. In sector IV (180° < X ≤ 240°), the phase current -iu and the phase current iw are candidates for the peak value ip. In sector V (240° < X ≤ 300°), the phase current -iv and the phase current iw are candidates for the peak value ip. In sector VI (300° < X ≤ 360°), the phase current iu and the phase current -iv are candidates for the peak value ip.
[0177] Further, for example, when the error Δ falls within the range of -30° ≤ Δ ≤ +60°, as shown in FIG. 17 and FIG. 18B, in sector I (0° < X ≤ 60°), the phase current iu, the phase current -iw, and the phase current -iv are candidates for the peak value ip. In sector II (60° < X ≤ 120°), the phase current iv, the phase current -iw, and the phase current iu are candidates for the peak value ip. In sector III (120° < X ≤ 180°), the phase current -iu, the phase current iv, and the phase current -iw are candidates for the peak value ip. In sector IV (180° < X ≤ 240°), the phase current -iu, the phase current iw, and the phase current iv are candidates for the peak value ip. In sector V (240° < X ≤ 300°), the phase current -iv, the phase current iw, and the phase current -iu are candidates for the peak value ip. In sector VI (300° < X ≤ 360°), the phase current iu, the phase current -iv, and the phase current iw are candidates for the peak value ip.
[0178] As described above, when the error Δ is taken into consideration, there are multiple phase currents that can be candidates for the peak value ip. Therefore, in the motor drive control device 10A according to the second embodiment, a plurality of phase currents serving as peak value candidates are associated with each sector. The q-axis current calculation unit 12A compares the absolute values of the magnitudes of the plurality of candidate phase currents in each sector, and sets the phase current with the largest absolute value as the peak value.
[0179] FIG. 19 is a diagram illustrating a configuration example of the peak value detection unit 121A according to the second embodiment.
[0180] The sector identification unit 125A identifies the sector to which the phase of the current vector i in the two-phase rotating coordinate system, as detected by the current phase detection unit 124, belongs. For example, as shown in Figure 17, if the range of electrical angles from 0 to 360° is divided into six sectors I to VI, the sector identification unit 125A identifies the sector to which the phase (θ+π / 2) of the current vector i belongs for each control cycle of the motor 3, and outputs the information of the identified sector.
[0181] In the motor drive control device 10A, at least one of the correspondence information 128A_1 shown in Figure 18A and the correspondence information 128A_2 shown in Figure 18B is pre-stored in a memory device (for example, a non-volatile memory device) within the control circuit 1A.
[0182] For example, after the motor drive control device 10A is started, the phase current selection unit 127A reads either correspondence information 128A_1 or correspondence information 128A_2 from the storage device. The phase current selection unit 127A refers to either correspondence information 128A_1 or correspondence information 128A_2 and selects a candidate phase current associated with the sector to which the phase of the current vector i identified by the sector identification unit 125A belongs.
[0183] Specifically, the phase current selection unit 127A takes the sector to which the phase of the current vector i identified by the sector identification unit 125 belongs as an argument, selects multiple phase currents corresponding to the argument from the correspondence relationship information 128A_1 or correspondence relationship information 128A_2, compares the absolute values of the selected multiple phase currents, and outputs the phase current with the largest absolute value as the peak value ip.
[0184] For example, when the correspondence information 128A_1 shown in Figure 18A is stored in the control circuit 1A, and the sector to which the phase of the current vector i belongs is "Sector II", the phase current selection unit 127A selects phase current iv and phase current -iw, and compares the absolute value of phase current iv with the absolute value of phase current -iw. If the absolute value of phase current iv is greater than the absolute value of phase current -iw, the phase current selection unit 127A outputs phase current iv as the peak value ip. If the absolute value of phase current -iw is greater than the absolute value of phase current iv, the phase current selection unit 127A outputs phase current -iw as the peak value ip.
[0185] Furthermore, for example, when the correspondence information 128A_2 shown in Figure 18B is stored in the control circuit 1A, and the sector to which the phase of the current vector i belongs is "Sector II", the phase current selection unit 127A selects phase current iv, phase current -iw, and phase current iu, and compares the absolute values of phase current iv, phase current -iw, and phase current iu. The phase current selection unit 127A selects the phase current with the largest absolute value and outputs the selected phase current as the peak value ip. For example, if the absolute value of phase current iv is greater than the absolute values of phase current -iw and phase current -iu, the phase current selection unit 127A outputs phase current iv as the peak value ip.
[0186] Since the magnitude of the error Δ varies depending on the load on motor 3 and the expected range of motor 3 rotational speeds, it is sufficient to pre-store at least one of the correspondence information 128A_1 and correspondence information 128A_2 in the control circuit 1A, taking into account the application in which motor unit 100A is actually applied.
[0187] For example, if the error Δ is expected to be relatively small, the correspondence information 128A_1 can be stored in the memory device of the control circuit 1A, and if the error Δ is expected to be relatively large, the correspondence information 128A_2 can be stored in the memory device of the control circuit 1A. Alternatively, both the correspondence information 128A_1 and 128A_2 can be stored in the memory device of the control circuit 1A, and the phase current selection unit 127A can read either of the correspondence information from the memory device to detect the peak value ip.
[0188] In Embodiment 2, the motor drive control device 10A drives the motor 3 according to the flowchart shown in Figure 13, similar to Embodiment 1. In Embodiment 2, the processing of step S5 differs from the processing of step S5 in Embodiment 1 (Figure 14). The calculation process of the q-axis current iq in Embodiment 2 (step S5) will be described below.
[0189] Figure 20 is a flowchart showing an example of the flow of the calculation process for the q-axis current iq (step S5) in Embodiment 2.
[0190] In step S5, first, the current phase detection unit 124 detects the phase of the current vector i based on the rotation angle θ of the rotor 31 (step S51). For example, as described above, the current phase detection unit 124 calculates the rotation angle (θ+π / 2) obtained by adding "π / 2" to the rotation angle θ of the rotor 31 obtained by the rotation angle acquisition unit 14 as the phase of the current vector i.
[0191] Next, the sector identification unit 125A identifies the sector to which the phase of the current vector i belongs (step S52). For example, the sector identification unit 125A identifies which of the six sectors I to VI shown in Figure 18 the phase of the current vector i belongs to.
[0192] Next, the phase current selection unit 127A selects a candidate phase current for the peak value ip from among the multiple phase currents (step S61). Specifically, as described above, the phase current selection unit 127A reads out a number of candidate phase currents from the correspondence relationship information 128A_1 or correspondence relationship information 128A_2, using the sector to which the phase of the current vector i identified in step S52 belongs as an argument.
[0193] Next, the phase current selection unit 127A compares the absolute values of the multiple candidate phase currents selected in step S61 using the method described above (step S62). Then, the phase current selection unit 127A selects the phase current with the largest absolute value among the multiple candidate phase currents and outputs the selected phase current as the peak value ip (step S63).
[0194] The processing from step S63 onward is the same as the processing according to Embodiment 1. That is, the low-pass filter 122 smooths the signal of the peak value ip output from the phase current selection unit 127A (step S55). Next, the multiplier unit 123 multiplies the peak value ip smoothed by the low-pass filter 122 by a predetermined value (π / 3) (step S56). Then, the multiplier unit 123 outputs the value obtained by multiplying the smoothed peak value ip by the predetermined value as the q-axis current iq (step S57).
[0195] As described above, the motor drive control device 10A according to Embodiment 2 can appropriately calculate the q-axis current while suppressing the computational load, similar to the motor drive control device 10 according to Embodiment 1.
[0196] Specifically, when multiple candidate phase currents for the peak value are associated with sectors I to VI, the q-axis current calculation unit 12A compares the absolute values of the multiple candidate phase currents and sets the phase current with the largest absolute value as the peak value ip.
[0197] According to this method, even if an error Δ occurs between the estimated phase of the current vector i (θ+π / 2) and the true phase of the current vector i (θtr+π / 2), it is possible to select the phase current closest to the q-axis current for each sector, thereby enabling the calculation of the q-axis current with higher accuracy.
[0198] <Embodiment 3> Figure 21 is a diagram showing the functional block configuration of the control circuit 1B in the motor drive control device 10B according to Embodiment 3.
[0199] Similar to the motor drive control device 10 according to Embodiment 1, the motor drive control device 10B, together with the motor 3, constitutes a motor unit 100B. The control circuit 1B according to Embodiment 3 differs from the control circuits 1 and 1A according to Embodiments 1 and 2 in terms of the method for detecting the phase of the current vector i. In Embodiments 1 and 2, the phase of the current vector i was estimated based on the rotation angle of the rotor 31, but in Embodiment 3, the phase of the current vector i is estimated based on the phase of the voltage vector.
[0200] Figure 22 shows the relationship between the current vector i and the voltage vector v in a two-phase rotating coordinate system. In Figure 22, "φ" represents the phase difference between the current vector i and the phase of the voltage vector v.
[0201] As shown in Figure 22, in general, in motor drive control, the phase of the current vector i in a two-phase (d,q) rotating coordinate system lags behind the phase of the voltage vector. Therefore, the phase of the current vector i can be estimated using the phase of the voltage vector v as a reference.
[0202] The peak value detection unit 121B according to Embodiment 3 estimates the phase of the current vector i based on the phase of the voltage vector v, and detects the peak value ip using appropriate correspondence information 128B_1, 128B_2 corresponding to the phase difference φ of the current vector i relative to the phase of the voltage vector v.
[0203] FIG. 23 is a diagram illustrating a configuration example of a peak value detection unit 121B according to the third embodiment. FIG. 24 is a diagram for explaining an outline of a method of estimating a q-axis current according to the third embodiment.
[0204] The upper part of the page of FIG. 24 shows "sectors" which are ranges obtained by dividing the range of electrical angles from 0° to 360° into a plurality of sections. The middle part of the page of FIG. 24 shows values UV, VV, WV obtained by converting a voltage vector v represented by polar coordinate values of a voltage command value vref and an angle σ (=θ+δ) into a three-phase (U, V, W) fixed coordinate system. The lower part of the page of FIG. 24 shows phase currents iu, iv, iw, phase currents -iu, -iv, -iw obtained by inverting the polarities of the respective phase currents, and a q-axis current iq. In FIG. 24, the horizontal axis represents electrical angle.
[0205] In the third embodiment, as in the second embodiment, the range of electrical angles from 0° to 360° is divided into six sectors I to VI with 0° as a reference. For example, as shown in FIG. 24, a range where the electrical angle X satisfies 0°<X≦60° is defined as sector I, a range where the electrical angle X satisfies 60°<X≦120° is defined as sector II, a range where the electrical angle X satisfies 120°<X≦180° is defined as sector III, a range where the electrical angle X satisfies 180°<X≦240° is defined as sector IV, a range where the electrical angle X satisfies 240°<X≦300° is defined as sector V, and a range where the electrical angle X satisfies 300°<X≦360° is defined as sector VI.
[0206] In a q-axis current calculation unit 12B, the peak value detection unit 121B detects a phase of a current vector i based on a phase of a voltage vector v in a two-phase rotational coordinate system, which is calculated based on a rotational angle θ of a rotor 31.
[0207] Specifically, first, a current phase detection unit 124B of the peak value detection unit 121B acquires the phase of the voltage vector v in the two-phase rotational coordinate system. As described above, the drive control signal generation unit 22 converts the voltage vector v, which is represented by a voltage command value vref and a polar coordinate value of angle σ (=θ+δ), into a voltage signal (PWM signal) in a fixed coordinate system of three phases (U,V,W) using a known spatial vector transformation calculation method, and outputs it as a drive control signal Sd. That is, the phase of the voltage vector v is represented by σ (=θ+δ).
[0208] Therefore, the current phase detection unit 124B acquires the angle σ (=θ+δ) output from the summing unit 21 as the phase of the voltage vector v.
[0209] Furthermore, the current phase detection unit 124B outputs the phase σ of the voltage vector v as the phase of the current vector i.
[0210] The sector identification unit 125B identifies the sector to which the phase σ of the current vector i detected by the current phase detection unit 124B belongs. For example, as shown in Figure 24, if the range of electrical angles from 0 to 360° is divided into six sectors I to VI, the sector identification unit 125B identifies which sector I to VI the phase σ of the current vector i belongs to and outputs the information of the identified sector.
[0211] The phase current selection unit 127B selects one phase current from multiple phase currents based on the sector information to which the phase of the current vector i belongs, and outputs it as a peak value ip.
[0212] As shown in Figure 24, the phase current closest to the q-axis current within each sector changes depending on the phase difference φ between the phase of the current vector i and the phase of the voltage vector v. For example, if the phase difference φ is in the range of -30° ≤ φ ≤ +30°, two phase currents can be candidates for the peak value ip (q-axis current) in each sector. Also, if the phase difference φ is in the range of -30° ≤ φ ≤ +60°, three phase currents can be candidates for the peak value ip (q-axis current) in each sector.
[0213] Therefore, in Embodiment 3, similar to Embodiment 2, multiple candidate phase currents for the peak value are associated with each sector in advance, taking into account the phase difference φ between the phase of the current vector i and the phase of the voltage vector v. Then, the q-axis current calculation unit 12B compares the absolute values of the multiple candidate phase currents in each sector and sets the phase current with the largest absolute value as the peak value ip.
[0214] Figures 25A and 25B show an example of the correspondence between sectors and phase currents that are candidates for peak value ip in Embodiment 3.
[0215] Figure 25A shows correspondence information 128B_1 between sectors and candidate phase currents for peak value ip (q-axis current) when the misalignment φ is in the range of -30° ≤ φ ≤ +30°. Figure 25B shows correspondence information 128B_2 between sectors and candidate phase currents for peak value ip when the misalignment φ is in the range of -30° ≤ φ ≤ +60°.
[0216] Here, the correspondence between each sector shown in Figures 25A and 25B and the phase current that is a candidate for the peak value ip is the same as the correspondence between each sector and the phase current that is a candidate for the peak value ip in Embodiment 2 shown in Figures 18A and 18B.
[0217] In the motor drive control device 10B, at least one of the correspondence information 128B_1 shown in Figure 25A and the correspondence information 128B_2 shown in Figure 25B is pre-stored in a memory device (for example, a non-volatile memory device) within the control circuit 1B.
[0218] For example, after the motor drive control device 10B is started, the phase current selection unit 127B reads correspondence information 128B_1 or correspondence information 128B_2 from the storage device. The phase current selection unit 127B, using the same method as the phase current selection unit 127A in Embodiment 2, takes the sector to which the phase of the current vector i identified by the sector identification unit 125B belongs as an argument, and selects a number of phase currents corresponding to the argument from the correspondence information 128B_1 or correspondence information 128B_2. The phase current selection unit 127B compares the absolute values of the selected number of phase currents and inputs the phase current with the largest absolute value as the peak value ip to the low-pass filter 122. The processing after the low-pass filter 122 in the q-axis current calculation unit 12B is the same as in Embodiments 1 and 2.
[0219] In general, the phase difference φ between the current vector i and the phase of the voltage vector v increases as the motor rotation speed increases and as the load (coil current) increases. Therefore, considering the application to which the motor unit 100B is actually applied, it is sufficient to pre-store at least one of the correspondence information 128B_1 and correspondence information 128B_2 in the control circuit 1B.
[0220] For example, if the deviation φ is expected to be relatively small, the correspondence information 128B_1 can be stored in the memory device of the control circuit 1B, and if the deviation φ is expected to be relatively large, the correspondence information 128B_2 can be stored in the memory device of the control circuit 1B. Alternatively, both the correspondence information 128B_1 and 128B_2 can be stored in the memory device of the control circuit 1B, and the phase current selection unit 127B can read either of the correspondence information from the memory device to detect the peak value ip.
[0221] As described above, the motor drive control device 10B according to Embodiment 3 can appropriately calculate the q-axis current while suppressing the computational load, similar to the motor drive control devices 10 and 10A according to Embodiments 1 and 2. In particular, the peak value detection unit 121B estimates the phase of the current vector using the phase σ of the voltage vector v calculated in the vector control calculation process, thereby further reducing the computational load.
[0222] <<Extension of the Embodiment>> Although the present invention has been specifically described above based on embodiments, it goes without saying that the present invention is not limited thereto and can be modified in various ways without departing from its essence.
[0223] For example, in embodiments 1 to 3, the rotation angle θ and rotation speed ω of the rotor 31 are calculated based on position detection signals from position sensors 4u, 4v, and 4w. However, the invention is not limited to this, and the rotation angle θ and rotation speed ω may also be calculated by known calculations based on sensorless control of the motor. In this case, position sensors 4u, 4v, and 4w are not required.
[0224] Furthermore, in embodiments 1 to 3, a method for detecting phase currents iu, iv, and iw using a shunt resistor connected in series with the inverter circuit 2a as the current detection circuit 2c was illustrated, but phase currents iu, iv, and iw may also be detected by other known current detection techniques. For example, phase currents iu, iv, and iw may be detected by a shunt resistor provided between the coils of each phase and the point where each driving transistor of the inverter circuit 2a connected to them is commonly connected (3-shunt method). In other words, the method for detecting phase currents iu, iv, and iw is not limited to the above example, and various known current detection techniques capable of detecting the current flowing through the coils of each phase can be employed.
[0225] Further, in Embodiments 1 to 3, the case where the range of the electrical angle (0° to 360°) is divided into six sectors has been illustrated, but the number of sectors only needs to be two or more, and is not limited to six. In addition, the range of each sector (-30° < X ≤ 30°, 0° < X ≤ 60°, etc.) is not limited to the above example, and a desired range can be set as the range of each sector.
[0226] Further, the method of calculating the voltage vector v(vref, σ) in Embodiments 1 to 3 is not limited to the above example. That is, the voltage vector v(vref, σ) may be calculated by a known vector control calculation.
[0227] Further, in Embodiments 1 to 3, the case where the drive command signal Sc is the speed command signal Sc1 including the target value (target rotation speed) of the rotation speed of the motor 3 has been illustrated, but the present invention is not limited thereto. For example, the drive command signal Sc may be a torque command signal that specifies the torque of the motor 3.
[0228] Further, in Embodiments 1 to 3, the case where the motor 3 is a surface permanent magnet synchronous motor (SPMSM) has been described, but the present invention is not limited thereto. For example, even when the motor 3 is not a surface permanent magnet synchronous motor (SPMSM) (for example, when the motor 3 is an IPMSM), when vector control is performed in which the command value of the d-axis current is always set to zero without using the reluctance torque, the motor drive control devices 10, 10A, 10B according to the present embodiment can be used.
[0229] Further, in Embodiments 1 to 3, the control circuits 1, 1A, 1B are not limited to the circuit configurations described above. Various circuit configurations configured to meet the object of the present invention can be applied to the control circuits 1, 1A, 1B.
[0230] In Embodiments 1 to 3, the number of phases of the motor 3 driven by the motor drive control devices 10, 10A, 10B is not limited to three phases.
[0231] The flowchart described above is just a specific example and is not limited to this flowchart. For example, other processes may be inserted between each step, or the processes may be parallelized. [Explanation of Symbols]
[0232] 1,1A,1B...Control circuit, 2...Drive circuit, 2a...Inverter circuit, 2b...Pre-drive circuit, 2c...Current detection circuit, 3...Motor, 10,10A,10B...Motor drive control device, 11...Drive command acquisition unit, 12,12A,12B...q-axis current calculation unit, 13...Calculation unit, 14...Rotation angle acquisition unit, 15...Rotation speed acquisition unit, 16,18...Error calculation unit, 17...q-axis current command value calculation unit, 19...Voltage command value calculation unit, 20...Advance angle control unit, 21...Addition unit, 22...Drive control signal generation unit, 100,100A,100B...Motor unit, 121,121A,121B...Peak value detection unit, 122...Low-pass filter, 123...Multiplication unit, 124,12 4B...Current phase detection unit, 125, 125A, 125B...Sector identification unit, 126...Phase current calculation unit, 127, 127A, 127B...Phase current selection unit, 128, 128A_1, 128A_2, 128B_1, 128B_2...Correspondence relationship information (sector-phase current), 201...Correspondence relationship information, Q1~Q6...Drive transistors, Sc...Drive command signal, Sc1...Speed command signal, Sd...Drive control signal, θ...Rotation angle, ω...Rotation speed, iq...q-axis current, iqref...Command value of q-axis current, vref...Voltage command value, Vcc...DC power supply, Vuu, Vul, Vvu, Vvl, Vwu, Vwl...Drive signal, Vm...Current detection signal, ωref...Target rotation speed.
Claims
1. A control circuit that outputs a drive control signal for driving a motor having multiple phase coils, The system includes a drive circuit that drives the motor based on the drive control signal output from the control circuit, The aforementioned drive circuit is An inverter circuit that drives the multiple phase coils based on the drive control signal, The circuit includes a current detection circuit that detects the current flowing through the multi-phase coils and outputs a current detection signal corresponding to the detected current, The aforementioned control circuit is A drive command acquisition unit acquires a drive command signal that includes a value indicating the target state of operation of the motor, A q-axis current calculation unit, based on the current detection signal and the rotation angle of the motor rotor, detects the phase current closest to the q-axis current of the two-phase rotating coordinate system when the d-axis current of the two-phase rotating coordinate system is set to zero, among the phase currents flowing through the coils of each phase and the phase currents obtained by inverting the phase of the phase currents flowing through the coils of each phase by 180°, as the peak value, and calculates the q-axis current when the d-axis current is set to zero based on the envelope of the peak value. The system includes a calculation unit that generates the drive control signal by performing a vector control calculation using the q-axis current calculated by the q-axis current calculation unit, the drive command signal, the rotational speed of the motor rotor, and the rotational angle of the rotor. Motor drive control device.
2. In the motor drive control device according to claim 1, Correspondence information is stored in the control circuit, in which the phase currents that are candidates for the peak value are associated with each sector obtained by dividing the range of the electrical angle corresponding to the rotation of the rotor into multiple sectors. The q-axis current calculation unit detects the phase of the current vector in the two-phase rotation coordinate system based on the rotation angle of the rotor and the current detection signal, identifies the sector to which the phase of the current vector belongs, selects a candidate phase current associated with the identified sector based on the correspondence information, and sets the selected phase current as the peak value. Motor drive control device.
3. In the motor drive control device according to claim 2, The q-axis current calculation unit, when multiple candidate phase currents for the peak value are associated with the sector, compares the absolute values of the multiple candidate phase currents and sets the phase current with the largest absolute value as the peak value. Motor drive control device.
4. In the motor drive control device according to claim 2, The q-axis current calculation unit uses the rotation angle obtained by adding π / 2 to the rotation angle of the rotor as the phase of the current vector. Motor drive control device.
5. In the motor drive control device according to claim 2, The q-axis current calculation unit detects the phase of the current vector based on the phase of the voltage vector in the two-phase rotating coordinate system, which is calculated based on the rotation angle of the rotor. Motor drive control device.
6. In the motor drive control device according to claim 1, The q-axis current calculation unit is, A peak value detection unit that detects the peak value based on the rotation angle of the rotor and the current detection signal, A low-pass filter to which the peak value detected by the peak value detection unit is input, The multiplication unit includes a multiplication unit that multiplies the value output from the low-pass filter by a predetermined value and outputs it as the q-axis current. Motor drive control device.
7. In the motor drive control device according to claim 6, The predetermined value is π / 3. Motor drive control device.
8. In the motor drive control device according to claim 2, The sector is a range obtained by dividing the electrical angle range from 0° to 360° into 60° intervals. Motor drive control device.
9. A first step is to acquire a drive command signal that includes a value indicating the target operating state of a motor having multiple phase coils, A second step involves detecting the current flowing through the multi-phase coils, A third step in which, based on the current detected in the second step and the rotation angle of the motor rotor, the phase current flowing through each phase coil and the phase current obtained by inverting the phase of the phase current flowing through each phase coil by 180° are detected as the peak value of the phase current that is closest to the q-axis current of the two-phase rotating coordinate system when the d-axis current of the two-phase rotating coordinate system is set to zero, and the q-axis current when the d-axis current is set to zero is calculated based on the envelope of the peak value, The process includes a fourth step of generating a drive control signal for driving the motor by performing a vector control calculation using the drive command signal acquired in the first step, the q-axis current calculated in the third step, the rotational speed of the motor rotor, and the rotational angle of the rotor. Motor drive control method.
Citation Information
Patent Citations
Inverter control apparatus and motor drive system
JP2010068653A
Motor controller and motor control method
JP2012130100A
Control device of ac rotary machine
JP2021044955A
Motor drive control device and motor drive control method
JP2022066913A
