Motor control device and electric power steering device
The motor control device addresses duty ratio saturation and overcurrent issues by implementing torque control, current limiting, and voltage management, ensuring stable motor operation in electric power steering systems.
Patent Information
- Application Number
- JP2024554240
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2023-05-26
- Filing Date
- 2024-05-10
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2044-05-10
AI Technical Summary
The motor control device in electric power steering systems experiences duty ratio saturation in high load states and a decrease in duty ratio in high rotational speed ranges, leading to inefficiencies and potential overcurrent issues.
The motor control device incorporates a torque control unit, d-axis current command value calculation, current limiting sections, and voltage command value calculation to manage current and voltage limits, preventing duty saturation and overcurrent through a structured layout of functional configurations, including torque control, current limiting, and voltage limiting sections.
The solution effectively suppresses duty saturation in high load states and maintains duty ratio in high rotational speed ranges, ensuring stable motor operation and preventing overcurrent, thereby enhancing the performance and reliability of electric power steering systems.
Smart Images

Figure 0007588452000009 
Figure 0007588452000010 
Figure 0007588452000011
Abstract
Description
[Technical field]
[0001] The present invention relates to a motor control device and an electric power steering device. [Background technology]
[0002] A motor control device that controls an electric motor may need to correct its control output. For example, a motor control device installed in an electric power steering system corrects its control output based on system requirements and customer requests. The following Patent Document 1 proposes a motor control device that limits the d-axis current to an arbitrary value while avoiding duty saturation of the motor's PWM control (i.e., a state in which the voltage command value exceeds the maximum voltage that can be applied to the drive circuit). [Prior art documents] [Patent documents]
[0003] [Patent Document 1] International Publication No. 2020 / 095479 Brochure Summary of the Invention [Problem to be solved by the invention]
[0004] The motor control device of Patent Document 1 above has problems such as the duty ratio being saturated under high load conditions and the duty ratio decreasing in the high rotation speed range. The present invention has been made in consideration of the above circumstances, and has an object to suppress saturation of the duty ratio under high load conditions and reduction in the duty ratio in the high rotation speed range that are associated with correction of the control output of a motor control device. [Means for solving the problem]
[0005] In order to achieve the above object, a motor control device according to one aspect of the present invention includes a torque control unit that sets a basic q-axis current command value for controlling torque generated by a motor, a d-axis current command value calculation unit that sets a first d-axis current command value for field weakening based on the basic q-axis current command value and the rotational speed of the motor, a first current limiting unit that is provided downstream of the d-axis current command value calculation unit and calculates a first q-axis current command value by limiting the basic q-axis current command value in accordance with the first d-axis current command value so that the drive current of the motor does not exceed a rated current of the motor, and a first d-axis current limiting unit that is provided downstream of the first current limiting unit and limits the basic q-axis current command value in accordance with the first d-axis current command value so that the output current of the battery does not exceed a predetermined allowable upper limit. a second current limiting unit that calculates a second d-axis current command value and a second q-axis current command value by limiting the first current command value and the first q-axis current command value, respectively; a voltage command value calculation unit that calculates a first d-axis voltage command value and a first q-axis voltage command value based on the second d-axis current command value and the second q-axis current command value; a voltage limiting unit that calculates the second d-axis voltage command value and a second q-axis voltage command value by limiting the first d-axis voltage command value and the first q-axis voltage command value, respectively, so as to suppress saturation of a duty ratio of PWM control based on the first d-axis voltage command value and the first q-axis voltage command value; and a drive circuit that drives the motor based on the second d-axis voltage command value and the second q-axis voltage command value.
[0006] An electric power steering device according to another aspect of the present invention applies a steering assist force to a steering system of a vehicle by a motor controlled by the above motor control device. Effect of the Invention
[0007] According to the present invention, it is possible to suppress duty saturation under high load conditions and a decrease in the duty ratio in the high rotation speed range that are caused by correction of the control output of a motor control device. [Brief description of the drawings]
[0008] [Figure 1] 1 is a configuration diagram showing an overview of an example of an electric power steering device according to an embodiment; [Diagram 2] 2 is a block diagram showing an example of a functional configuration of a controller shown in FIG. 1. [Diagram 3] 4 is a block diagram showing an example of a functional configuration of a d-axis current command value calculation unit. FIG. [Figure 4] 1A is a diagram showing an example of setting an upper limit value of a d-axis current set by a field current limiting unit, and FIG. 1B is a time chart showing an example of limiting a d-axis current command value. [Diagram 5] FIG. 2 is a block diagram showing an example of a functional configuration of a feedback (FB) control unit. [Figure 6] 4 is a block diagram showing an example of a functional configuration of a voltage limiting unit; FIG. [Figure 7] 4 is a block diagram showing an example of a functional configuration of a voltage upper limit setting unit; FIG. [Figure 8] 13A and 13B are schematic diagrams of a first and second example of a setting example of the first judgment gain, and 13C and 13D are schematic diagrams of a first and second example of a setting example of the second judgment gain. [Figure 9] 4 is a flowchart of an example of a motor control method according to an embodiment. [Figure 10] 1 is a configuration diagram showing an overview of an example of a linear motion table device using a motor control device of the present invention; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] The embodiments of the present invention will be described in detail with reference to the drawings. Note that the embodiments of the present invention shown below are merely examples of devices and methods for embodying the technical idea of the present invention, and the technical idea of the present invention does not limit the configuration, arrangement, etc. of the components to those described below. The technical idea of the present invention can be modified in various ways within the technical scope defined by the claims.
[0010] (composition) 1 is a schematic diagram showing an example of an electric power steering device according to an embodiment. A steering shaft (steering shaft, handle shaft) 2 of a steering wheel (steering handle) 1 is connected to steered wheels 8L, 8R via reduction gears (worm gears) 3 constituting a reduction mechanism, universal joints 4a and 4b, a pinion rack mechanism 5, and tie rods 6a and 6b, and further via hub units 7a and 7b.
[0011] The pinion rack mechanism 5 has a pinion 5a connected to a pinion shaft to which steering force is transmitted from the universal joint 4b, and a rack 5b that meshes with this pinion 5a. The rotational motion transmitted to the pinion 5a is converted into linear motion in the vehicle width direction by the rack 5b. The steering shaft 2 is provided with a torque sensor 10 for detecting a steering torque Th. The steering shaft 2 is also provided with a steering angle sensor 14 for detecting a steering angle θh of the steering wheel 1.
[0012] In addition, a motor 20 that assists the steering force of the steering wheel 1 is connected to the steering shaft 2 via a reduction gear 3. A controller 30 that controls an electric power steering (EPS) device is supplied with power from a battery 13 and receives an ignition key signal via an ignition (IGN) key 11. The motor 20 is a polyphase AC motor and is driven by vector control by the controller 30. In this embodiment, the motor 20 is a three-phase AC motor.
[0013] The controller 30 is an electronic control unit (ECU: Electronic Control Unit) that calculates a current command value of an assist control command based on the steering torque Th detected by the torque sensor 10, the vehicle speed Vh detected by the vehicle speed sensor 12, and the steering angle θh detected by the steering angle sensor 14, and controls the current supplied to the motor 20 using a voltage command value Vref that has been subjected to compensation, etc., for the current command value. Incidentally, the steering angle sensor 14 is not essential, and the steering angle θh may be calculated by adding the torsion angle of the torsion bar of the torque sensor 10 to the rotation angle obtained from a rotation angle sensor that detects the rotation angle of the rotating shaft of the motor 20. Also, instead of the steering angle θh, the turning angle of the steered wheels 8L, 8R may be used. For example, the turning angle may be detected by detecting the displacement amount of the rack 5b.
[0014] The controller 30 may be, for example, a computer including a processor and peripheral components such as a storage device, etc. The processor may be, for example, a CPU (Central Processing Unit) or an MPU (Micro-Processing Unit). The storage device may include any one of a semiconductor storage device, a magnetic storage device, and an optical storage device. The storage device may include a register, a cache memory, a memory such as a ROM (Read Only Memory) and a RAM (Random Access Memory) used as a main memory device. The functions of the controller 30 described below are realized, for example, by the processor of the controller 30 executing a computer program stored in a storage device.
[0015] The controller 30 may be formed of dedicated hardware for executing each of the information processes described below. For example, the controller 30 may include a functional logic circuit configured in a general-purpose semiconductor integrated circuit. For example, the controller 30 may include a programmable logic device (PLD) such as a field programmable gate array (FPGA).
[0016] Next, we will explain the issues with the function of limiting the control output of the motor 20 executed by the controller 30. The function of limiting the control output of the motor 20 has been developed for the purposes of (1) calculating the amount of field weakening current to satisfy the requirement of the tracking performance of the turning angle of the steered wheels in response to the steering of the steering wheel, (2) satisfying the upper limit of the system current and the upper limit of the battery current, and (3) preventing duty saturation.
[0017] However, the motor control device of Patent Document 1 above still has the following problems 1 and 2. (Problem 1) Duty saturation may not be prevented under high load conditions. (Issue 2) A decrease in the duty ratio may occur in the high rotation speed range. Therefore, the motor control device of the embodiment aims to solve these problems 1 and 2.
[0018] Furthermore, in addition to the problems 1 and 2, the motor control device of the embodiment has an object to solve the following problems 3 and 4. (Problem 3) As described below, the motor control device of the embodiment uses an integrator in the feedback control of the motor current, so there is a risk that an excessive integral value will accumulate. (Issue 4) Due to the recent demand for higher output, the use of motors with low inductance and inertia is becoming widespread. This requires measures to prevent overcurrent caused by back electromotive force during high-speed rotation.
[0019] In the present invention, the above problems 1 to 4 are solved based on the following principles. Duty saturation under high load conditions (issue 1) is thought to be caused by errors due to the steady-state deviation and transient characteristics of the motor current feedback control, an inappropriate position for current limiting, an attempt to limit the duty dimension in the current dimension, etc. For this reason, duty saturation is prevented by limiting the voltage command value.
[0020] The decrease in the duty ratio in the high rotation speed range (issue 2) is thought to be caused by excessive restriction of the q-axis current command value. For this reason, the method of limiting the q-axis current command value will be reviewed and the q-axis current command value will be given priority in limiting it. To address issue 3 (excessive accumulation of integral value in feedback control of motor current), a new anti-windup function will be added. As a countermeasure against overcurrent (issue 4), the back electromotive force is reduced by field weakening by passing the d-axis current command value as large as possible during high speed rotation. In order to pass the d-axis current command value as much as possible, the q-axis current command value is given priority and limited.
[0021] In order to realize these measures, the inventors of the present invention reconstructed and rearranged the functional configuration of the controller 30. Fig. 2 is a block diagram showing an example of the functional configuration of the controller 30. The controller 30 includes a torque control unit 40, a d-axis current command value calculation unit 41, an angular acceleration regulator 42, a first current limiting unit 43, a second current limiting unit 44, a feedforward (FF) control unit 45, a three-phase / two-phase conversion unit 46, a feedback (FB) control unit 47, a voltage limiting unit 48, a two-phase / three-phase conversion unit 49, a PWM (Pulse Width Modulation) control unit 50, and an inverter (INV) 51.
[0022] The torque control unit 40 calculates a basic q-axis current command value Iqr0, which is a current command value for controlling the torque generated by the motor 20, based on at least the steering torque Th and the vehicle speed Vh. The d-axis current command value calculation unit 41 sets a first d-axis current command value Idr1 for field weakening based on the basic q-axis current command value Iqr0, the rotation speed ω of the motor 20, and the power supply voltage VR supplied by the battery 13.
[0023] 3 is a block diagram showing an example of a functional configuration of the d-axis current command value calculation unit 41. The d-axis current command value calculation unit 41 includes a current command value setting unit 41a, a field current command value calculation unit 41b, and a field current limiting unit 41c. The current command value setting unit 41a sets a q-axis current command value Iqt used to calculate a basic d-axis current command value Idr0 in the subsequent field current command value calculation unit 41b, based on a basic q-axis current command value Iqr0, the rotation speed ω, the power supply voltage VR, and a past value Idz of the d-axis current command value. Here, a q-axis current command value Iqt suitable for the basic d-axis current command value Idr0 to satisfy the conditions of the rated current of the motor 20 and the allowable upper limit current of the battery 13 is set.
[0024] As the past value Idz of the d-axis current command value, a past value of the second d-axis current command value Idr2 calculated by the second current limiting unit 44 as described below (for example, the second d-axis current command value Idr2 calculated in the previous control cycle) may be used. In the following description, the condition of the rated current of the motor 20 may be referred to as the "system current limit," and the condition of the allowable upper limit current of the battery 13 may be referred to as the "battery current limit."
[0025] Regarding the system current limit, the current command value setting unit 41a sets a limit gain Gq1 for the q-axis current command value according to the following equation (1) so that the d-axis current command value and the q-axis current command value are equal to or less than the system maximum current Imax (e.g., the rated current of the motor). In the calculation process of formula (1), a process to prevent division by "0" is performed. Also, a limiter process (0 to 1) is applied so that the calculation result does not exceed 1.
[0026]
number
[0027] Regarding battery current limiting, the current command value setting unit 41a sets a limiting gain Gq2 for the q-axis current command value so that the battery current Ibat output from the battery 13 is equal to or less than a predetermined allowable upper limit Ibatmax. The current command value setting unit 41a sets a limiting gain Gd1 for the d-axis current command value according to the following equation (2) so that the d-axis current command value alone does not exceed the allowable upper limit Ibatmax. Note that the equation (2) also undergoes a process to prevent division by "0" and a limiter process.
[0028]
number
[0029] Here, constant R indicates the resistance value of each phase winding of motor 20, and Ploss indicates losses due to iron loss, friction, etc. The current command value setting unit 41a sets a limiting gain Gq2 for the q-axis current command value by the following equation (3) based on the limiting gain Gd1 set by equation (2) above. Here, constant Kt indicates the torque constant of motor 20. Note that in equation (3), anti-division-by-zero processing and limiter processing are also performed.
[0030]
number
[0031] The current command value setting unit 41a multiplies the basic q-axis current command value Iqr0 by the smaller one of the limit gains Gq1 and Gq2 to calculate the q-axis current command value Iqt=min(Gq1, Gq2)×Iqr0. The field current command value calculation unit 41b calculates a basic d-axis current command value Idr0, which is a field current command value for field weakening, according to the following equation (4) based on the q-axis current command value Iqt set by the current command value setting unit 41a, the rotation speed ω, and the power supply voltage VR. Note that the constant L indicates the inductance per motor phase, and the constant Ψ indicates the magnetic flux linkage number determined by the motor.
[0032]
number
[0033] The field current limiting unit 41c calculates the first d-axis current command value Idr1 by limiting the basic d-axis current command value Idr0 to only the direction of the weakening field current. The limit value of the d-axis current command value is determined by taking into account the balance between the requirement for the ability to track the steering angle in response to steering of the steering wheel and the operating noise. However, in this embodiment, in order to address issue 4 (countermeasures against overcurrent) above, it is necessary to pass as large a d-axis current command value as possible.
[0034] Therefore, the field current limiting unit 41c calculates the first d-axis current command value Idr1 by limiting the basic d-axis current command value Idr0 to be equal to or lower than the d-axis current upper limit value IdUL, and changes the d-axis current upper limit value IdUL in accordance with the rotation speed ω. 4(a) is a diagram showing an example of the d-axis current upper limit value IdUL set by the field current limiting unit 41c. When the rotation speed ω is in a range below a threshold value ωth, the d-axis current upper limit value IdUL is set to a relatively small first limit value Id1, and when the rotation speed ω is in a range above the threshold value ωth, the d-axis current upper limit value IdUL is set to a second limit value Id2 larger than the first limit value Id1.
[0035] For example, the threshold value ωth may be set by converting the maximum steering angular velocity that is assumed to occur in an emergency avoidance or the like into the rotation speed of the motor 20. This makes it possible to achieve a balance between the quietness of the operating sound during normal steering and the ability of the steering angle to follow the steering of the steering wheel in an emergency avoidance or the like. The field current limiting unit 41c may include a rate limiter that limits the time change of the first d-axis current command value Idr1.
[0036] 4B is a time chart showing an example of limiting the first d-axis current command value Idr1. When the basic d-axis current command value Idr0 is input at time t1, the first d-axis current command value Idr1 gradually increases with its increasing speed limited by the rate limiter, and reaches the first limit value Id1 at time t2. Thereafter, when the rotation speed ω of the motor 20 increases and exceeds the threshold value ωth at time t3, the d-axis current upper limit value IdUL increases to the second limit value Id2. As a result, the first d-axis current command value Idr1 increases gradually with the increase speed limited by the rate limiter, and reaches the second limit value Id2 at time t4.
[0037] Please refer to Fig. 2. The angular acceleration regulator 42 sets a compensation value Δq of the q-axis current command value for suppressing torque fluctuations based on the rotation speed ω of the motor 20. The first current limiting unit 43 calculates the first q-axis current command value Iqr1 by compensating the basic q-axis current command value Iqr0 with a compensation value Δq and limiting the compensated basic q-axis current command value (Iqr0+Δq) so that the drive current of the motor 20 does not exceed the system current limit. Specifically, the limit gain Gq3 is set according to the following equation (5): Note that the equation (5) also includes a division-by-zero prevention process and a limiter process.
[0038]
number
[0039] The first current limiting unit 43 multiplies the basic q-axis current command value (Iqr0+Δq) by a limiting gain Gq3 to calculate a first q-axis current command value Iqr1=Gq3×(Iqr0+Δq). The second current limiting unit 44 calculates a second d-axis current command value Idr2 and a second q-axis current command value Iqr2 by limiting the first d-axis current command value Idr1 and the first q-axis current command value Iqr1, respectively, so that the battery current Ibat does not exceed the battery current limit. Specifically, a limiting gain Gd2 for the d-axis current command value and a limiting gain Gq4 for the q-axis current command value are set according to the following equations (6) and (7). Note that the equations (6) and (7) also have "zero" prevention processing and limiter processing.
[0040]
number
[0041] The second current limiting unit 44 calculates a second d-axis current command value Idr2 = Gd2 × Idr1 by multiplying the first d-axis current command value Idr1 by a limiting gain Gd2, and calculates a second q-axis current command value Iqr2 = Gq4 × Iqr1 by multiplying the first q-axis current command value Iqr1 by a limiting gain Gq4. The FF control unit 45 calculates a FFd-axis voltage command value Vdff and a FFq-axis voltage command value Vqff, which are voltage command values for the motor 20, by feedforward control based on the second d-axis current command value Idr2 and the second q-axis current command value Iqr2, respectively.
[0042] For example, the FF control unit 45 may calculate, as the FF d-axis voltage command value Vdff and the FF q-axis voltage command value Vqff, dq-axis non-interference voltage command values that cancel out the interference voltages that interfere with each other between the d-axis and the q-axis. Also, for example, the FF control unit 45 may calculate the feedforward output by the two-degree-of-freedom control configuration as the FFd-axis voltage command value Vdff and the FFq-axis voltage command value Vqffd-axis. The FFd-axis voltage command value Vdff and the FFq-axis voltage command value Vqff are examples of the "first d-axis voltage command value" and the "first q-axis voltage command value" recited in the claims, respectively.
[0043] The three-phase / two-phase converter 46 converts the detection values of the three-phase currents of the motor 20 detected by the motor current detector 21 into a d-axis current id and a q-axis current iq. The FB control unit 47 calculates an FB d-axis voltage command value Vdfb, which is a d-axis voltage command value for the motor 20, by feedback control based on the current deviation ΔId of the detected value id of the d-axis current of the drive current of the motor 20 relative to the second d-axis current command value Idr2.
[0044] In addition, the FB control unit 47 calculates an FB q-axis voltage command value Vqfb, which is a q-axis voltage command value for the motor 20, by feedback control based on the current deviation ΔIq of the detected value iq of the q-axis current of the drive current of the motor 20 relative to the second q-axis current command value Iqr2. The FBd-axis voltage command value Vdfb and the FBq-axis voltage command value Vqfb are examples of the "first d-axis voltage command value" and the "first q-axis voltage command value" recited in the claims, respectively.
[0045] The FB control unit 47 calculates an FBd axis voltage command value Vdfb and an FBq axis voltage command value Vqfb by at least one of proportional control (P control), integral control (I control) and differential control (D control) based on the current deviations ΔId and ΔIq, or a combination of these. FIG. 5 is a block diagram showing an example of a functional configuration of the FB control unit 47 when the FBd axis voltage command value Vdfb and the FBq axis voltage command value Vqfb are calculated by proportional-integral-derivative (PID) control.
[0046] The FB control unit 47 includes a subtractor 47a, gain multiplication units 47b, 47d, and 47f, an approximate differentiation unit 47c, an integrator 47e, and an adder 47g. The subtractor 47a calculates a current deviation ΔId=(Idr2-id) of the d-axis current detection value id from the second d-axis current command value Idr2 and a current deviation ΔIq=(Iqr2-iq) of the q-axis current detection value iq from the second q-axis current command value Iqr2. The gain multiplication unit 47b outputs the multiplication result of the current deviation ΔId and the proportional gain Kp and the multiplication result of the current deviation ΔIq and the proportional gain Kp to the adder 47g.
[0047] The approximate differentiation unit 47c calculates the differential values of the current deviations ΔId and ΔIq. For example, the approximate differentiation unit 47c may calculate the differential values by multiplying the current deviations ΔId and ΔIq by a transfer function s / (Ts+1) that combines a differentiation operation and a low-pass filter. The gain multiplication unit 47d outputs the multiplication result of the differential value of the current deviation ΔId and the differential gain Kd and the multiplication result of the differential value of the current deviation ΔIq and the differential gain Kd to the adder 47g.
[0048] The integrator 47e calculates the integrals of the current deviations ΔId and ΔIq. The gain multiplication unit 47f outputs the multiplication result of the integral of the current deviation ΔId and the integral gain Ki and the multiplication result of the integral of the current deviation ΔIq and the integral gain Ki to the adder 47g. The adder 47g outputs the sum of the multiplication result of the current deviation ΔId and the proportional gain Kp, the multiplication result of the derivative of the current deviation ΔId and the derivative gain Kd, and the multiplication result of the integral value of the current deviation ΔId and the integral gain Ki as the FBd axis voltage command value Vdfb. In addition, the adder 47g outputs the sum of the multiplication result of the current deviation ΔIq and the proportional gain Kp, the multiplication result of the differential value of the current deviation ΔIq and the differential gain Kd, and the multiplication result of the integral value of the current deviation ΔIq and the integral gain Ki as the FBq axis voltage command value Vqfb.
[0049] The integrator 47e includes a delay element 47e1, an adder 47e2, and a gain multiplier 47e3. The delay element 47e1 delays the integral component of the current deviation ΔId and the integral component of the current deviation ΔIq, which are the outputs of the integrator 47e, and then inputs them to the adder 47e2. That is, the delay element 47e1 inputs the past value (previous value) of the output of the integrator 47e to the adder 47e2.
[0050] The adder 47e2 outputs the sum of the current deviation ΔId and the output of the delay element 47e1, and the sum of ΔIq and the output of the delay element 47e1. Specifically, it outputs the sum obtained by adding the current deviation ΔId to the past value of the integral component of the current deviation ΔId. It also outputs the sum obtained by adding the current deviation ΔIq to the past value of the integral component of the current deviation ΔIq. The gain multiplication unit 47e3 multiplies each output of the adder 47e2 by a voltage limiting gain Gv, which is described below and is set by the voltage limiting unit 48, to calculate the multiplication result as the output of the integrator 47e (i.e., the integral components of the current deviations ΔId and ΔIq), and outputs the result to the gain multiplication unit 47f and also inputs it to the delay element 47e1.
[0051] By multiplying the output of the adder 47e2 by the voltage limiting gain Gv, the integral value in the integrator 47e can be reduced, thereby realizing an anti-windup function of the integral value. For example, as described below, accumulation of the integral value by the integrator 47e can be suppressed by setting the voltage limiting gain Gv to a value smaller than the value "1." Also, for example, by setting the voltage limiting gain Gv to the value "0," the integral value by the integrator 47e can be reset to "0."
[0052] Refer to Fig. 2. The voltage limiting unit 48 calculates a second d-axis voltage command value Vd and a second q-axis voltage command value Vq by limiting the voltage command values Vdff, Vdfb, Vqff, and Vqfb so as to suppress saturation of the duty ratio of the PWM control based on the FFd-axis voltage command value Vdff, the FBd-axis voltage command value Vdfb, the FFq-axis voltage command value Vqff, and the FBq-axis voltage command value Vqfb.
[0053] 6 is a block diagram showing an example of a functional configuration of the voltage limiting unit 48. The voltage limiting unit 48 includes a voltage upper limit value setting unit 48a, a disturbance voltage suppression unit 48b, a voltage limiting gain setting unit 48c, a limiter 48d, a multiplier 48e, and an adder 48f. Voltage upper limit setting unit 48a sets voltage upper limit value VDutyMax, which is the upper limit of the voltage command value that does not cause duty saturation. Because the direction in which the dead time of inverter 51 acts on the upper limit value differs between powering and regenerating of motor 20, voltage upper limit setting unit 48a sets voltage upper limit value VDutyMax during powering according to the following equation (8), and sets voltage upper limit value VDutyMax during regenerating according to the following equation (9).
[0054]
number
[0055] Since the efficiency of voltage utilization is improved by superimposing the third harmonic on the three-phase voltage command value of the motor 20, the upper limit of the voltage command value can be increased to (2 / √3) times the power supply voltage VR. The duty ratio range of PWM control, 0 to 100%, corresponds to the range from the lower limit of the negative side voltage to the upper limit of the positive side voltage of the applied voltage. For this reason, in the above equations (8) and (9), the power supply voltage VR is multiplied by a coefficient (1 / √3) equivalent to the upper limit of each of the positive and negative sides.
[0056] Also, the decrease due to the dead time DeadTime of the inverter 51 (2×DeadTime / PWMTime) is subtracted or added depending on whether the motor 20 is in a powering state or a regenerative state. Note that PWMTime indicates the PWM period of the PWM control unit 50. Since there is often a discrepancy between the design value and the actual value of the dead time DeadTime, an appropriately set dead time compensation value may be subtracted or added depending on whether the motor is in a powering state or a regenerative state.
[0057] Furthermore, the rate (slope) of change in the terminal voltage of the motor 20 relative to the change in the duty ratio decreases due to the dead time compensation. To compensate for this, the inverse of the conversion coefficient VRDutyConvFactor is multiplied by the above equations (8) and (9). Since the conversion coefficient VRDutyConvFactor acts in the direction of decreasing the voltage command value when converting it to a duty ratio, the decrease is compensated for by increasing the voltage upper limit value VDutyMax. Furthermore, the constant DutyMaxRate is set by subtracting a margin for ensuring the quantization error due to subsequent calculations and current detection accuracy from the value "1" (that is, DutyMaxRate=100[%]-quantization error-margin).
[0058] 7 is a block diagram showing an example of a functional configuration of upper voltage limit setting unit 48a. Upper voltage limit setting unit 48a includes a first gain setting unit 48a1, a second gain setting unit 48a2, a selector 48a3, multipliers 48a4, 48a6, and 48a7, and a subtractor 48a5. The first gain setting unit 48a1 determines whether the motor 20 is in a powering state or a regenerative state based on the battery current Ibat, and outputs a first determination gain G1 indicating the determination result. When the motor 20 is in a powering state, the first determination gain G1 has a value of "1", and when the motor 20 is in a regenerative state, the first determination gain G1 has a value of "-1".
[0059] 8(a) is a schematic diagram of a first example of setting the first judgment gain G1. For example, the first judgment gain G1 is set to a value of "-1" when the battery current Ibat is equal to or less than a value I1 which is smaller than the value "0", and is set to a value of "1" when the battery current Ibat is equal to or greater than the value "0". When the battery current Ibat is in the range from the value I1 to the value "0", the first judgment gain G1 may increase linearly or nonlinearly from the value "-1" to the value "1" as the battery current Ibat increases.
[0060] The battery current Ibat at which the first judgment gain G1 is set to the value "1" may be set to a value I2 smaller than "0" by providing a margin. Fig. 8(b) is a schematic diagram of a second example of a setting example of the first judgment gain G1. This is because an incorrect setting of the sign of the first judgment gain G1 may result in duty saturation. For example, a value I2 greater than the value I1 and less than the value "0" is set, and when the battery current Ibat is greater than or equal to the value I2, the first judgment gain G1 is set to the value "1", and when the battery current Ibat is in the range from the value I1 to the value I2, the first judgment gain G1 may be gradually increased linearly or nonlinearly from the value "-1" to the value "1" as the battery current Ibat increases.
[0061] 7. The second gain setting unit 48a2 determines whether the duty ratio is near the upper limit based on the voltage limiting gain Gv described below, and outputs a second judgment gain G2 indicating the judgment result. If the duty ratio is near the upper limit, the second judgment gain G2 has a value of "1", and if the duty ratio is not near the upper limit, the second judgment gain G2 has a value of "-1".
[0062] 8(c) is a schematic diagram of a first example of setting the second judgment gain G2. For example, the second judgment gain G2 is set to a value of "-1" when the voltage limiting gain Gv is equal to or less than a value Gv1 which is smaller than the value "1", and is set to a value of "1" when the voltage limiting gain Gv is equal to or greater than the value "1". When the voltage limiting gain Gv is in the range from the value Gv1 to the value "1", the second judgment gain G2 may increase linearly or nonlinearly from the value "-1" to the value "1" as the voltage limiting gain Gv increases.
[0063] The second decision gain G2 may be set to a value Gv2 smaller than 1 by providing a margin to the voltage limiting gain Gv at which the second decision gain G2 is set to the value "1." Fig. 8(d) is a schematic diagram of a second example of setting the second decision gain G2. This is because an incorrect setting of the sign of the second decision gain G2 may result in duty saturation. For example, a value Gv2 greater than the value Gv1 and less than the value "1" may be set, and when the voltage limiting gain Gv is greater than or equal to the value Gv2, the second judgment gain G2 may be set to the value "1". When the voltage limiting gain Gv is in the range from the value Gv1 to the value Gv2, the second judgment gain G2 may be gradually increased linearly or non-linearly from the value "-1" to the value "1" as the voltage limiting gain Gv increases.
[0064] 7, selector 48a3 outputs the larger of first decision gain G1 and second decision gain G2 to multiplier 48a4. Multipliers 48a4, 48a6, and 48a7 and subtractor 48a5 calculate upper voltage limit value VDutyMax according to the above equations (8) and (9).
[0065] See Fig. 6. The disturbance voltage suppression unit 48b is provided after the FB control unit 47, and functions as a voltage disturbance observer that suppresses the influence of the back electromotive force and other disturbance voltages on the FBd axis voltage command value Vdfb and the FBq axis voltage command value Vqfb. The disturbance voltage suppression unit 48b includes a delay element 48b1, an adder 48b2, a filter 48b3, and a multiplier 48b4. The delay element 48b1 is an example of a "first delay element" and a "second delay element" as defined in the claims.
[0066] The delay element 48b1 delays the d-axis voltage command value (Gv×Vdobs) and the q-axis voltage command value (Gv×Vqobs) output from the disturbance voltage suppression unit 48b and then inputs them to the adder 48b2. That is, the delay element 48b1 inputs the past values (previous values) of the d-axis voltage command value (Gv×Vdobs) and the q-axis voltage command value (Gv×Vqobs) to the adder 48b2. The adder 48b2 outputs the sum of the past value of the d-axis voltage command value (Gv×Vdobs) and the FBd-axis voltage command value Vdfb, and also outputs the sum of the past value of the q-axis voltage command value (Gv×Vqobs) and the FBq-axis voltage command value Vqfb.
[0067] The filter 48b3 performs filtering for noise reduction on the output of the adder 48b2 to obtain the d-axis voltage command value Vdobs and the q-axis voltage command value Vqobs, which are then calculated as outputs of the voltage disturbance observer. Specifically, the d-axis voltage command value Vdobs is calculated by filtering the sum of the past value of the d-axis voltage command value (Gv×Vdobs) and the FBd-axis voltage command value Vdfb. Also, the q-axis voltage command value Vqobs is calculated by filtering the sum of the past value of the q-axis voltage command value (Gv×Vqobs) and the FBq-axis voltage command value Vqfb. For example, the filter 48b3 may be a low-pass filter.
[0068] The voltage limiting gain setting unit 48c sets a voltage limiting gain Gv for limiting the voltage command value to less than or equal to the voltage upper limit value VDutyMax based on the outputs Vdobs and Vqobs of the voltage disturbance observer, the FFd axis voltage command value Vdff, the FFq axis voltage command value Vqff, and the voltage upper limit value VDutyMax. Specifically, the voltage limiting gain setting unit 48c calculates the voltage limiting gain Gv based on the ratio between the resultant vector of the d-axis voltage command value and the q-axis voltage command value and the voltage upper limit value VDutyMax (the following equation (10)). The limiter 48d limits the upper limit value of the voltage limiting gain Gv to "1" and the lower limit value to "0".
[0069]
number
[0070] A multiplier 48b4 of the disturbance voltage suppression unit 48b multiplies the outputs Vdobs and Vqobs of the voltage disturbance observer by a voltage limiting gain Gv, and inputs the multiplication results (Gv×Vdobs) and (Gv×Vqobs) to a delay element 48b1 and also outputs them to an adder 48f. The multiplier 48e multiplies the FFd axis voltage command value Vdff and the FFq axis voltage command value Vqff by the voltage limiting gain Gv, respectively, and outputs the multiplication results (Gv×Vdff) and (Gv×Vqff) to the adder 48f.
[0071] The adder 48f calculates the sum of the multiplication results (Gv×Vdobs) and (Gv×Vdff) as the second d-axis voltage command value Vd=Gv×(Vdobs+Vdff), and calculates the sum of the multiplication results (Gv×Vqobs) and (Gv×Vqff) as the second q-axis voltage command value Vq=Gv×(Vqobs+Vqff). In this way, by limiting the voltage command value by multiplying it by the voltage limiting gain Gv, it is possible to prevent the duty ratio from saturating at 100% in the PWM control based on the second d-axis voltage command value Vd and the second q-axis voltage command value Vq.
[0072] Please refer to Fig. 2. A two-phase / three-phase converter 49 converts the second d-axis voltage command value Vd and the second q-axis voltage command value Vq into three-phase voltage command values. The three-phase voltage command values are input to a PWM control unit 50, and the motor 20 is PWM-driven via an inverter 51. The drive current of the motor 20 is detected by a motor current detector 21, and converted to a d-axis current id and a q-axis current iq by a three-phase / two-phase conversion unit 46. The current is fed back to a subtractor 47a of the FB control unit 47.
[0073] (action) The d-axis current command value calculation unit 41 calculates the basic d-axis current command value Idr0 based on the above formula (4). Since nominal values are set for the constants R and L in the formula, errors occur due to variations in physical parameters, temperature changes, and the like. In addition, errors also occur in the detection value of the rotation speed ω of the motor 20 due to delays, noise, and the like. For this reason, it is difficult to completely prevent duty saturation by limiting the d-axis current command value. Therefore, in this embodiment, the suppression of duty saturation is performed in the downstream voltage limiting section 48, and the d-axis current command value calculation section 41 attempts to calculate an optimal d-axis current command value.
[0074] In this embodiment, the d-axis current command value calculation unit 41 does not take duty saturation into consideration, but if the d-axis current command value obtained by the above formula (4) is used as is, there is a risk that the d-axis current command value will be calculated excessively. For this reason, the influence of each input parameter on the d-axis current command value is considered based on the above formula (4). It can be seen from the above formula (4) that in order for the d-axis current command value to increase in the negative direction (strengthen the field weakening control), the motor rotation speed ω should be increased, the power supply voltage VR should be decreased, or the q-axis current command value Iqt should be increased.
[0075] Next, the influence of a deviation between the q-axis current command value Iqt used to calculate the basic d-axis current command value Idr0 and the second q-axis current command value Iqr2 actually used to calculate the voltage command value will be considered. When the second q-axis current command value Iqr2 deviates to the larger side, the d-axis current command value becomes insufficient, causing duty saturation. A possible cause of this phenomenon is when the output Δq of the angular acceleration regulator 42 is added to the basic q-axis current command value Iqr0. However, while the output Δq of the angular acceleration regulator changes abruptly, the d-axis current command value is limited by a rate limiter or the like, and it is presumed that it cannot follow the abrupt change. Therefore, the time during which the second q-axis current command value Iqr2 deviates to the larger side is short, and the impact is limited. For this reason, the case where the second q-axis current command value Iqr2 deviates to the larger side is not taken into consideration.
[0076] When the second q-axis current command value Iqr2 deviates to the smaller side, the basic d-axis current command value Idr0 becomes excessive, and the duty ratio cannot be used to its upper limit. One possible cause of this is that the q-axis current command value is limited in the latter stage. The limit on the q-axis current command value in the latter stage is the system current limit by the limit gain Gq3 in the above equation (5) and the battery current limit by the limit gain Gq4 in the above equation (7). Therefore, the current command value setting unit 41a calculates the q-axis current command value Iqt when these restrictions are imposed using the above equations (1) and (3), and uses this to calculate the basic d-axis current command value Idr0 to calculate the optimal q-axis current command value.
[0077] Furthermore, the voltage limiting unit 48 calculates a voltage limiting gain Gv for applying voltage limiting and multiplies the voltage command value. When the voltage limiting gain Gv is multiplied by the voltage command value in the disturbance voltage suppression unit 48b functioning as a voltage disturbance observer, the upper limit value of the integrator constituting the voltage disturbance observer can be limited, so that the voltage limiting unit 48b essentially functions as an anti-windup function.
[0078] In the voltage limiting unit 48, the d-axis voltage command value and the q-axis voltage command value are multiplied by the same gain (voltage limiting gain Gv) to limit them. This is because, since the voltage disturbance observer is composed of an integrator, if the q-axis is given priority for limiting, even if the resultant vector of the d-axis voltage command value and the q-axis voltage command value is limited to the upper limit value, the d-axis voltage command value continues to rise up to the upper limit value, and accordingly the q-axis voltage command value is suddenly limited, which may cause a sudden change in output.
[0079] Regarding the setting of the voltage upper limit value VDutyMax by the voltage upper limit value setting unit 48a, the dead time acts to reduce the duty during power running and to increase the duty during regeneration. The above formula (8) is a formula for calculating the voltage upper limit value VDutyMax during powering, and if the switching of the action direction during regeneration is not taken into consideration, there is a risk of deviation occurring in the upper limit of the duty ratio. For this reason, in this embodiment, powering and regeneration are determined, and the sign of the decrease due to the dead time is switched.
[0080] However, simply switching the sign would cause a sudden change in the duty ratio, which could result in overcurrent or operating noise. Therefore, the battery current Ibat is used to determine the condition for regeneration, and the voltage limit gain Gv is used to determine the condition for duty, and the determination gains G1 and G2 are calculated based on these. However, since it is not known which of these condition determinations will be satisfied, the sign is switched based on the maximum value of the determination gains G1 and G2, thereby achieving fade switching between these two determination gains G1 and G2.
[0081] The FB control unit 47 also has an anti-windup function for the integral value in the integrator 47e. In general, the purpose of the anti-windup function is to prevent an excessive accumulation of the integral value when the output of a controller including an integrator is limited for some reason. A typical configuration of an anti-windup function applies some processing to the difference between the output before and after the limit and feeds it back to limit the upper limit of the integral value.
[0082] In this embodiment, the output of the FB control unit 47 rarely exceeds the voltage upper limit, and in most cases the output of the disturbance voltage suppression unit (voltage disturbance observer) 48b provided in the subsequent stage exceeds the voltage upper limit. Therefore, a general anti-windup configuration cannot be used as is. Furthermore, even when the voltage command value is limited by the upper voltage value, it is preferable that the ratio between the output of the FB control unit 47 and the output of the disturbance voltage suppression unit 48b can be changed (for example, in a situation where the rotational speed ω of the motor 20 decreases and the torque increases, the back electromotive force decreases and the q-axis current increases, so it is preferable that the ratio of the output of the FB control unit 47 increases and the ratio of the output of the disturbance voltage suppression unit 48b decreases). For this reason, in this embodiment, the integral value of the integrator 47e of the FB control unit 47 and the outputs Vdobs and Vqob of the voltage disturbance observer of the disturbance voltage suppression unit 48b are multiplied by the same gain (voltage limiting gain Gv) to limit the load, and the load is equally shared between the FB control unit 47 and the disturbance voltage suppression unit 48b.
[0083] (operation) FIG. 9 is a flowchart of an example of a motor control method according to an embodiment. In step S1, the torque sensor 10, the vehicle speed sensor 12, and the motor current detector 21 respectively detect the steering torque Th, the vehicle speed Vh, and the drive current of the motor 20. In addition, the voltage sensor and the current sensor detect the power supply voltage VR supplied by the battery 13 and the battery current Ibat.
[0084] In step S2, the torque control unit 40 calculates a basic q-axis current command value Iqr0 based on at least the steering torque Th and the vehicle speed Vh. In step S3, the d-axis current command value calculation unit 41 sets a first d-axis current command value Idr1 based on the basic q-axis current command value Iqr0, the power supply voltage VR, and the rotation speed ω of the motor 20. In step S4, the first current limiting unit 43 limits the basic q-axis current command value Iqr0 based on the rated current of the motor 20 to calculate the first q-axis current command value Iqr1.
[0085] In step S5, the second current limiting unit 44 calculates a second d-axis current command value Idr2 and a second q-axis current command value Iqr2 by limiting the first d-axis current command value Idr1 and the first q-axis current command value Iqr1, respectively, based on the battery upper limit current Ibatmax. In step S6, the FF control unit 45 calculates a FFd axis voltage command value Vdff and a FFq axis voltage command value Vqff. The FB control unit 47 calculates a FBd axis voltage command value Vdfb and a FBq axis voltage command value Vqfb. In step S7, upper voltage limit setting unit 48a sets upper voltage limit VDutyMax.
[0086] In step S8, the voltage limiting gain setting unit 48c sets the voltage limiting gain Gv based on the voltage upper limit value VDutyMax. In step S9, the voltage limiting unit 48 calculates the second d-axis voltage command value Vd and the second q-axis voltage command value Vq by limiting the FFd-axis voltage command value Vdff, the FFq-axis voltage command value Vqff, the FBd-axis voltage command value Vdfb, and the FBq-axis voltage command value Vqfb using the voltage limiting gain Gv. In step S10, the PWM control unit 50 and the inverter 51 drive the motor 20 based on the second d-axis voltage command value Vd and the second q-axis voltage command value Vq, after which the process ends.
[0087] (Modification) The motor control device according to the present invention is not limited to the above-described embodiment, and various modifications are possible without departing from the spirit and scope of the present invention. For example, in the above embodiment, an electric power steering device equipped with the motor control device according to the present invention has been described as an example of an application of the motor control device according to the present invention, but the scope of application of the motor control device according to the present invention is not limited to this, and the motor control device can be applied to various mechanical devices that use a motor control device.
[0088] FIG. 10 is a schematic diagram showing an example of a linear motion table device using a motor control device of the present invention. The linear motion table device includes a feed screw device, a table 71, two linear guides (linear motion guide devices), and a base 74. The feed screw device has a screw shaft 70, a nut 76, and a motor 77, and the screw shaft 70 is inserted into the nut 76. The feed screw mechanism of the feed screw device is a ball screw in which the helical groove of the screw shaft 70 and the helical groove of the nut 76 are in point contact via balls (rolling elements). The motor 77 is coupled to one axial end of the screw shaft 70.
[0089] Each of the two linear guides has a guide rail 72, two sliders (moving bodies) 73, and multiple rolling bodies. In the linear guide, the guide rail 72 and the slider 73 each have a raceway surface that forms a rolling passage for the rolling bodies at a position opposite to each other. Both raceway surfaces extend in the longitudinal direction of the guide rail 72, and the slider 73 moves linearly along the guide rail 72 via the rolling bodies that roll under load in the rolling passage. Linear guides are arranged at both ends of a base 74 in a direction perpendicular to the moving direction Y of a table 71, and a feed screw device is disposed between the two linear guides. A guide rail 72 and a screw shaft 70 are arranged parallel to the moving direction Y of the table 71.
[0090] In this arrangement, the guide rail 72 is fixed to a base 74. The screw shaft 70 has rolling bearings attached to both axial ends thereof, and a housing 75 is fixed to the outer ring of the rolling bearing, and each housing 75 is fixed to the base 74. In this way, the screw shaft 70 is supported rotatably relative to the base 74. The table 71 is disposed above the two sliders 73 of each linear guide and the nuts 76 of the feed screw devices, and is fixed directly to the sliders 73 and via a bracket to the nuts 76. In other words, the two sliders 73 of each linear guide and the feed screw devices 76 are fixed to one surface of the table 71.
[0091] In this linear motion table, when the motor 77 is driven to operate the feed screw device, the screw shaft 70 rotates and the nut 76 is linearly moved by the ball screw mechanism. Accordingly, the table 71 is linearly moved while being guided by the linear guide. The controller 78 sets a current command value for driving the motor 77, calculates a voltage control command value Vref from the current command value by the same process as the controller 30 in the above embodiment, and controls the current supplied to the motor 20.
[0092] (Effects of the embodiment) (1) A motor control device includes a torque control unit that sets a basic q-axis current command value for controlling the torque generated by the motor, a d-axis current command value calculation unit that sets a first d-axis current command value for field weakening based on the basic q-axis current command value and a rotational speed of the motor, a first current limiting unit that is provided downstream of the d-axis current command value calculation unit and calculates a first q-axis current command value by limiting the basic q-axis current command value in accordance with the first d-axis current command value so that the drive current of the motor does not exceed a rated current of the motor, and a second current limiting unit that is provided downstream of the first current limiting unit and limits the first d-axis current command value and the first q-axis current command value so that the output current of the battery does not exceed a predetermined allowable upper limit. a second current limiting unit that calculates a second d-axis current command value and a second q-axis current command value by limiting each of the first d-axis current command value and the second q-axis current command value; a voltage command value calculation unit that calculates a first d-axis voltage command value and a first q-axis voltage command value based on the second d-axis current command value and the second q-axis current command value; a voltage limiting unit that calculates the second d-axis voltage command value and a second q-axis voltage command value by limiting the first d-axis voltage command value and the first q-axis voltage command value so as to suppress saturation of a duty ratio of PWM control based on the first d-axis voltage command value and the first q-axis voltage command value; and a drive circuit that drives the motor based on the second d-axis voltage command value and the second q-axis voltage command value. As a result, the motor control device of the embodiment can suppress saturation of the duty ratio under high load conditions and a decrease in the duty ratio in the high rotation speed range.
[0093] (2) The d-axis current command value calculation unit may calculate the first d-axis current command value in accordance with a q-axis current command value obtained by limiting a basic q-axis current command value based on a past value of the second d-axis current command value so that the drive current of the motor does not exceed a rated current of the motor. This makes it possible to reduce the difference between the q-axis current command value used to calculate the first d-axis current command value and the q-axis current command value used to calculate the voltage command value, even if the q-axis current command value used to calculate the voltage command value is limited based on the rated current of the motor. As a result, it is possible to prevent the duty ratio from being limited below the upper limit due to an excessively large first d-axis current command value being calculated.
[0094] (3) The d-axis current command value calculation unit may calculate the first d-axis current command value in accordance with a q-axis current command value obtained by limiting a basic q-axis current command value based on a past value of the second d-axis current command value so that the output current of the battery does not exceed an allowable upper limit. This makes it possible to reduce the difference between the q-axis current command value used to calculate the first d-axis current command value and the q-axis current command value used to calculate the voltage command value, even if the q-axis current command value used to calculate the voltage command value is limited based on the upper limit current of the battery. As a result, it is possible to prevent an excessively large first d-axis current command value from being calculated, thereby preventing the duty ratio from being limited below the upper limit.
[0095] (4) The d-axis current command value calculation unit may limit an upper limit of the first d-axis current command value based on the rotation speed of the motor. This makes it possible to achieve a balance between operating noise and measures against overcurrent.
[0096] (5) The voltage limiting unit may include a voltage upper limit setting unit that sets a voltage upper limit value that is an upper limit value of the voltage applied to the motor, and a voltage limiting gain setting unit that sets a voltage limiting gain according to the voltage upper limit value, and may calculate the second d-axis voltage command value and the second q-axis voltage command value by limiting the first d-axis voltage command value and the first q-axis voltage command value, respectively, according to the voltage limiting gain. This makes it possible to suppress saturation of the duty ratio under high load conditions.
[0097] (6) The voltage upper limit setting unit may set the voltage upper limit based on at least one of an improvement in voltage utilization efficiency due to superimposing a third harmonic on a multi-phase voltage command value of a motor that is a multi-phase motor, a voltage drop due to dead time, and a decrease in the duty ratio vs. motor terminal voltage ratio due to dead time compensation. This makes it possible to appropriately set the voltage upper limit value for limiting the voltage command value.
[0098] (7) The voltage limiting unit may output a first multiplication result obtained by multiplying the sum of the first d-axis voltage command value and the output of the first delay element by a voltage limiting gain, and a second multiplication result obtained by multiplying the sum of the first q-axis voltage command value and the output of the second delay element by the voltage limiting gain, and may include a disturbance voltage suppression unit that inputs the first multiplication result and the second multiplication result to the first delay element and the second delay element, respectively, and output a second d-axis voltage command value including the first multiplication result and a second q-axis voltage command value including the second multiplication result. This makes it possible to limit the voltage command value based on the voltage limiting gain, and also to suppress the influence of the disturbance voltage on the first d-axis voltage command value and the first q-axis voltage command value.
[0099] (8) The voltage limit gain setting unit may set the voltage limit gain based on the voltage upper limit value, the sum of the first d-axis voltage command value and the output of the first delay element, and the sum of the first q-axis voltage command value and the output of the second delay element. This makes it possible to calculate the voltage limit gain based on the ratio between the resultant vector of the d-axis voltage command value and the q-axis voltage command value and the voltage upper limit value.
[0100] (9) The voltage command value calculation unit may output a first d-axis voltage command value and a first q-axis voltage command value, each of which includes a d-axis integral component which is an integral component of the deviation of a detected value of a d-axis current of the motor drive current from a second d-axis current command value and a q-axis integral component which is an integral component of the deviation of a detected value of a q-axis current of the motor drive current from a second q-axis current command value, and may suppress the d-axis integral component and the q-axis integral component based on a voltage limit gain. This makes it possible to realize an anti-windup function of the integral value in the voltage command value calculation unit that calculates the voltage command value by integral control.
[0101] (10) The first d-axis voltage command value may include a feedforward d-axis voltage command value calculated by feedforward control based on the second d-axis current command value, and a feedback d-axis voltage command value calculated by feedback control based on a deviation of a detection value of a d-axis current of a drive current of the motor from the second d-axis current command value. The first q-axis voltage command value may include a feedforward q-axis voltage command value calculated by feedforward control based on the second q-axis current command value, and a feedback q-axis voltage command value calculated by feedback control based on a deviation of a detection value of a q-axis current of a drive current of the motor from the second q-axis current command value.
[0102] The disturbance voltage suppression unit may output a first multiplication result obtained by multiplying the sum of the feedback d-axis voltage command value and the output of the first delay element by a voltage limiting gain, and a second multiplication result obtained by multiplying the sum of the feedback q-axis voltage command value and the output of the second delay element by a voltage limiting gain, and may input the first multiplication result and the second multiplication result to the first delay element and the second delay element, respectively.
[0103] The voltage limiting gain setting unit may set the voltage limiting gain based on a voltage upper limit value, a sum of a feedback d-axis voltage command value, an output of the first delay element, and a feedforward d-axis voltage command value, and a sum of a feedback q-axis voltage command value, an output of the second delay element, and a feedforward q-axis voltage command value.
[0104] The voltage limiting unit may output a second d-axis voltage command value including a third multiplication result obtained by multiplying the feedforward d-axis voltage command value by the voltage limiting gain and the first multiplication result, and may output a second q-axis voltage command value including a fourth multiplication result obtained by multiplying the feedforward q-axis voltage command value by the voltage limiting gain and the second multiplication result.
[0105] This makes it possible to improve responsiveness through feedforward control and suppress the effects of disturbances through feedback control. Also, the voltage command value can be limited based on the voltage limit gain. Also, the effects of disturbance voltages on the feedback d-axis voltage command value and the feedback q-axis voltage command value can be suppressed. Also, the voltage limit gain can be calculated based on the ratio of the resultant vector of the d-axis voltage command value and the q-axis voltage command value to the voltage upper limit value. [Explanation of symbols]
[0106] 1...steering wheel, 2...steering shaft, 3...reduction gear, 4a, 4b...universal joint, 5...pinion rack mechanism, 5a...pinion, 5b...rack, 6a, 6b...tie rod, 7a, 7b...hub unit, 8L, 8R...steered wheels, 10...torque sensor, 11...ignition key, 12...vehicle speed sensor, 13...battery, 14...steering angle sensor, 20, 77...motor, 21...motor current detector, 30...controller, 40...torque control unit, 41...d-axis current command value calculation unit, 41a...current command value setting unit, 41b...field current command value calculation unit, 41c...field current limiting unit, 42...angular acceleration regulator, 43...first current limiting unit, 44...second current limiting unit, 45...feedforward control unit, 46...three-phase / two-phase conversion unit, 47... Feedback control section, 47a, 48a5... subtractor, 47b, 47d, 47e3, 47f... gain multiplication section, 47c... approximate differentiation section, 47e... integrator, 47e1, 48b1... delay element, 47e2, 47g, 48b2, 48f... adder, 48... voltage limiting section, 48a... voltage upper limit value setting section, 48a1... first gain setting section, 48a2... second gain setting section, 48a3... selection device, 48a4, 48a6, 48a7, 48b4, 48e...multiplier, 48b...disturbance voltage suppression section, 48b3...filter, 48c...voltage limiting gain setting section, 48d...limiter, 49...two-phase / three-phase conversion section, 50...PWM control section, 51...inverter, 70...screw shaft, 71...table, 72...guide rail, 73...slider, 74...base, 75...housing, 76...nut
Claims
1. a torque control unit that sets a basic q-axis current command value for controlling the torque generated by the motor; a d-axis current command value calculation unit that sets a first d-axis current command value for field weakening based on the basic q-axis current command value and a rotation speed of the motor; a first current limiting unit that is provided at a subsequent stage of the d-axis current command value calculation unit and that calculates a first q-axis current command value by limiting the basic q-axis current command value in response to the first d-axis current command value so that the drive current of the motor does not exceed a rated current of the motor; a second current limiting unit provided after the first current limiting unit, the second current limiting unit calculating a second d-axis current command value and a second q-axis current command value by limiting the first d-axis current command value and the first q-axis current command value, respectively, so that the output current of the battery does not exceed a predetermined allowable upper limit; a voltage command value calculation unit that calculates a first d-axis voltage command value and a first q-axis voltage command value based on the second d-axis current command value and the second q-axis current command value; a voltage limiting unit that calculates a second d-axis voltage command value and a second q-axis voltage command value by limiting the first d-axis voltage command value and the first q-axis voltage command value, respectively, so as to suppress saturation of a duty ratio of PWM control based on the first d-axis voltage command value and the first q-axis voltage command value; a drive circuit that drives the motor based on the second d-axis voltage command value and the second q-axis voltage command value; A motor control device comprising:
2. 2. The motor control device according to claim 1, wherein the d-axis current command value calculation unit calculates the first d-axis current command value in response to a q-axis current command value obtained by limiting the basic q-axis current command value based on a past value of the second d-axis current command value so that the drive current of the motor does not exceed a rated current of the motor.
3. 2. The motor control device according to claim 1, wherein the d-axis current command value calculation unit calculates the first d-axis current command value according to a q-axis current command value obtained by limiting the basic q-axis current command value based on a past value of the second d-axis current command value so that the output current of the battery does not exceed the allowable upper limit.
4. 2. The motor control device according to claim 1, wherein the d-axis current command value calculation unit limits an upper limit of the first d-axis current command value based on a rotation speed of the motor.
5. The voltage limiting unit is a voltage upper limit setting unit that sets a voltage upper limit that is an upper limit of a voltage applied to the motor; a voltage limiting gain setting unit that sets a voltage limiting gain according to the voltage upper limit value; and calculating a second d-axis voltage command value and a second q-axis voltage command value by limiting the first d-axis voltage command value and the first q-axis voltage command value in accordance with the voltage limit gain.
6. 6. The motor control device according to claim 5, wherein the voltage upper limit setting unit sets a voltage upper limit based on at least one of an improvement in voltage utilization efficiency resulting from superimposing a third harmonic on a multi-phase voltage command value of the motor, which is a multi-phase motor, a voltage drop due to dead time, and a decrease in a duty ratio vs. motor terminal voltage ratio resulting from dead time compensation.
7. The voltage limiting unit is 6. The motor control device according to claim 5, further comprising a disturbance voltage suppression unit that outputs a first multiplication result obtained by multiplying a sum of the first d-axis voltage command value and an output of a first delay element by the voltage limit gain and a second multiplication result obtained by multiplying a sum of the first q-axis voltage command value and an output of a second delay element by the voltage limit gain, and inputs the first multiplication result and the second multiplication result to the first delay element and the second delay element, respectively, and outputs the second d-axis voltage command value including the first multiplication result and the second q-axis voltage command value including the second multiplication result.
8. the voltage limiting gain setting unit sets the voltage limiting gain based on the voltage upper limit value, the sum of the first d-axis voltage command value and an output of the first delay element, and the sum of the first q-axis voltage command value and an output of the second delay element.
8. The motor control device according to claim 7.
9. 9. The motor control device according to claim 7 or 8, wherein the voltage command value calculation unit outputs the first d-axis voltage command value and the first q-axis voltage command value, each including a d-axis integral component which is an integral component of a deviation of a detected value of a d-axis current of the drive current of the motor from the second d-axis current command value, and a q-axis integral component which is an integral component of a deviation of a detected value of a q-axis current of the drive current of the motor from the second q-axis current command value, and suppresses the d-axis integral component and the q-axis integral component based on the voltage limit gain.
10. the first d-axis voltage command value includes a feedforward d-axis voltage command value calculated by feedforward control based on the second d-axis current command value, and a feedback d-axis voltage command value calculated by feedback control based on a deviation of a detection value of a d-axis current of a drive current of the motor from the second d-axis current command value, the first q-axis voltage command value includes a feedforward q-axis voltage command value calculated by feedforward control based on the second q-axis current command value, and a feedback q-axis voltage command value calculated by feedback control based on a deviation of a detection value of a q-axis current of a drive current of the motor from the second q-axis current command value, The disturbance voltage suppression unit includes: outputting a first multiplication result obtained by multiplying a sum of the feedback d-axis voltage command value and an output of the first delay element by the voltage limiting gain and a second multiplication result obtained by multiplying a sum of the feedback q-axis voltage command value and an output of the second delay element by the voltage limiting gain, and inputting the first multiplication result and the second multiplication result to the first delay element and the second delay element, respectively; the voltage limit gain setting unit sets the voltage limit gain based on the voltage upper limit value, a sum of the feedback d-axis voltage command value, an output of the first delay element, and the feedforward d-axis voltage command value, and a sum of the feedback q-axis voltage command value, an output of the second delay element, and the feedforward q-axis voltage command value; the voltage limiting unit outputs the second d-axis voltage command value including a third multiplication result obtained by multiplying the feedforward d-axis voltage command value by the voltage limiting gain and the first multiplication result, and outputs the second q-axis voltage command value including a fourth multiplication result obtained by multiplying the feedforward q-axis voltage command value by the voltage limiting gain and the second multiplication result.
9. The motor control device according to claim 7 or 8.
11. The motor control device according to claim 1 ; a motor controlled by the motor control device; An electric power steering device, characterized in that the motor applies a steering assist force to a steering system of a vehicle.
Citation Information
Patent Citations
Electric power steering device
JP2010064544A
Motor control device
JP2014017924A
Motor control device, and electric power steering device provided with the same
JP2022135662A
Electric power steering device control method and apparatus
WO2006098516A1
Motor control device, electric actuator product and electric power steering device
WO2020095479A1
Cited By
Motor control device and electric power steering device
US12415564B2
