MOTOR CONTROL DEVICE AND ELECTRIC POWER STEERING DEVICE

The motor control device addresses torque fluctuations and noise in polyphase motors by adjusting duty ratios and phase current measurement periods, enhancing stability in electric power steering systems.

JP7588451B1Active Publication Date: 2024-11-22NSK STEERING & CONTROL CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2024530040
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2023-02-15
Filing Date
2023-12-05
Publication Date
2024-11-22
Estimated Expiration
2043-12-05

AI Technical Summary

Technical Problem

Conventional motor control devices experience fluctuations in output torque of polyphase motors due to phase current measurement periods, leading to operating noise and vibration, particularly when switching between different measurement periods.

Method used

A motor control device that controls a polyphase motor with three or more phases, using a bridge circuit with shunt resistors and PWM signals to measure phase current during specific periods, adjusting duty ratios to minimize torque fluctuations and noise.

Benefits of technology

The solution effectively suppresses output torque fluctuations and reduces operating noise and vibration in electric power steering devices by optimizing phase current measurement timing and duty ratios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007588451000001
    Figure 0007588451000001
  • Figure 0007588451000002
    Figure 0007588451000002
  • Figure 0007588451000003
    Figure 0007588451000003
Patent Text Reader

Abstract

To provide a motor control device capable of suppressing fluctuations in the output torque of a polyphase motor. Specifically, when the target duty ratio amplitude value (A1 + 50%), which is a value obtained by adding 50% points to the amplitude (A1) of the target duty ratio, is smaller than the first threshold value (TH1) (A1 + 50% < TH1), or when the target duty ratio amplitude value (A1 + 50%) is greater than or equal to the first threshold value (TH1) (A1 + 50% ≧ TH1) and the intermediate duty ratio (D2), which is the second largest target duty ratio among the target duty ratios, is greater than the second threshold value (TH2) (D2 > TH2), the measurement of the phase current is performed during the first measurement period (Ts1). Also, when the target duty ratio amplitude value (A1 + 50%) is greater than or equal to the first threshold value (TH1) (A1 + 50% ≧ TH1) and the intermediate duty ratio (D2) is less than or equal to the second threshold value (TH2) (D2 ≦ TH2), the measurement of the phase current is performed during the second measurement period (Ts2).
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a motor control device and an electric power steering device. [Background technology]

[0002] Conventionally, a motor control device has been proposed that measures the phase current of each phase of a bridge circuit that rotates a multi-phase motor in a first measurement period or a second measurement period that is slower than the first measurement period (see, for example, Patent Document 1). The motor control device described in Patent Document 1 is configured to measure the phase current in the first measurement period when the maximum target duty ratio of the target duty ratio of the PWM signal for driving each switching element of the bridge circuit is equal to or less than the first threshold, or when the maximum target duty ratio>the first threshold and the second largest target duty ratio>the second threshold. Also, when the maximum target duty ratio>the first threshold and the second largest target duty ratio<the second threshold, the phase current is measured in the second measurement period. This allows the first measurement period and the second measurement period to be alternately switched. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Patent No. 6725450 Summary of the Invention [Problem to be solved by the invention]

[0004] Here, when the phase currents are measured in the second measurement period, a phase shift occurs in the measured phase currents compared to when the phase currents are measured in the first measurement period, and the detection result of the q-axis current becomes smaller. Therefore, by feeding back such a detection result, the q-axis current flows more, and the output torque of the polyphase motor increases. Therefore, in the motor control device described in Patent Document 1, the output torque of the polyphase motor fluctuates when switching between the first measurement period and the second measurement period, and there is a possibility that operating noise and vibrations are generated in the device equipped with the polyphase motor.

[0005] An object of the present invention is to provide a motor control device and an electric power steering device that are capable of suppressing fluctuations in output torque of a polyphase motor. [Means for solving the problem]

[0006] In order to achieve the above object, a motor control device according to one aspect of the present invention includes: (a) a motor control device for controlling a multi-phase motor having three or more phases, (b) a bridge circuit formed corresponding to each phase of the multi-phase motor and configured by connecting in parallel each of phase circuits having a high potential side switching element, a low potential side switching element, and a shunt resistor arranged in series on a lower potential side than the low potential side switching element; (c) a phase current measurement unit that measures a phase current flowing through the shunt resistor in a first measurement period or a second measurement period that starts later than the first measurement period; (d) a PWM signal generation unit that calculates, for each phase of the multi-phase motor, a target duty ratio of a PWM signal for driving the high potential side switching element and the low potential side switching element based on the phase current, the target duty ratio having a predetermined amplitude and fluctuating within a maximum range of 0% to 100% with 50% as an oscillation center value, and outputs a PWM signal having the calculated target duty ratio to each gate of the high potential side switching element and the low potential side switching element; and (e) a maximum target duty ratio of a PWM signal generation unit that generates a PWM signal having the calculated target duty ratio to each gate of the high potential side switching element and the low potential side switching element. a first threshold value set to a predetermined value smaller than a smaller duty ratio among a duty ratio at which switching noise due to a high potential side switching element and a low potential side switching element, the gate of which receives a PWM signal having a target duty ratio of a second point, which is the second largest among the target duty ratios, starts to be superimposed on the first measurement period and a duty ratio corresponding to a timing at which the first measurement period is completed, and a timing at which a low potential side switching element, the gate of which receives a PWM signal having a target duty ratio of a second point, which is the second largest among the target duty ratios, switches from on to off, the first threshold value set to a predetermined value smaller than a smaller duty ratio among a duty ratio at which switching noise due to a high potential side switching element and a low potential side switching element, the gate of which receives a PWM signal having a target duty ratio of a second point, which is the second largest among the target duty ratios, starts to be superimposed on the first measurement period and a duty ratio corresponding to a timing at which the first measurement period is completed, the second threshold value set to a predetermined value smaller than a smaller duty ratio among a duty ratio at which switching noise due to a high potential side switching element and a low potential side switching element, the gate of which receives a PWM signal having a target duty ratio of a second point, which is the second largest among the target duty ratios, starts to be superimposed on the first measurement period and a memory unit storing a second threshold value, which is the next most recent duty ratio; (f) the phase current measuring unit detects the phase current in the first measurement period when a target duty ratio amplitude value, which is the amplitude of the target duty ratio plus a 50% point, is smaller than the first threshold value, or when the target duty ratio amplitude value is equal to or greater than the first threshold value and the next-point duty ratio is greater than the second threshold value, and (g) measures the phase current in the second measurement period when the target duty ratio amplitude value is equal to or greater than the first threshold value and the next-point duty ratio is equal to or less than the second threshold value.

[0007] Another aspect of the present invention provides an electric power steering device comprising: (a) the above-mentioned motor control device; and (b) a polyphase motor controlled by the motor control device, and (c) a steering assist force is applied to a steering system of a vehicle by the polyphase motor. Effect of the Invention

[0008] According to one aspect of the present invention, it is possible to provide a motor control device and an electric power steering device capable of suppressing fluctuations in the output torque of a polyphase motor. [Brief description of the drawings]

[0009] [Figure 1] 1 is a diagram showing an overall configuration of an electric power steering device according to a first embodiment. [Diagram 2] FIG. 2 is a diagram showing a configuration of an electronic control unit. [Diagram 3] FIG. 13 is a diagram showing a third harmonic of a SIN wave type. [Figure 4] FIG. 2 is a diagram showing a configuration of an inverter. [Diagram 5] 4 is a diagram showing the relationship between a carrier wave of a PWM signal, a gate voltage, and the PWM signal. [Figure 6] FIG. 11 is a flowchart showing a timing generation process. [Figure 7] FIG. 11 is a flowchart of a timing generation process of a comparative example. [Figure 8] 1 is a diagram showing the relationship between a target duty ratio of a PWM signal, measurement timing of a phase current, and an output torque of a motor in a motor control device. [Figure 9] 11A to 11C are diagrams illustrating simulation results of a target duty ratio of a PWM signal, measurement timing of a phase current, and an output torque of a motor. [Figure 10] FIG. 13 is a diagram showing a third harmonic of a triangular wave type according to the modification (1). [Figure 11] 1 is a diagram showing the relationship between a target duty ratio of a PWM signal, measurement timing of a phase current, and an output torque of a motor in a motor control device. [Figure 12] 11A to 11C are diagrams illustrating simulation results of a target duty ratio of a PWM signal, measurement timing of a phase current, and an output torque of a motor. [Figure 13] 13A and 13B are diagrams illustrating simulation results of a target duty ratio of a PWM signal, measurement timing of a phase current, and an output torque of a motor according to a second modification. [Figure 14] 13A and 13B are diagrams illustrating simulation results of a target duty ratio of a PWM signal, measurement timing of a phase current, and an output torque of a motor according to a modification (3). [Figure 15] FIG. 13 is a diagram showing the configuration of an electronic control unit according to a fourth modified example. [Figure 16] 11A to 11C are diagrams illustrating simulation results of a target duty ratio of a PWM signal, measurement timing of a phase current, and an output torque of a motor. [Figure 17] FIG. 1 is a diagram showing an overall configuration of a linear motion table device to which a motor control device is applied. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] An example of a motor control device and an electric power steering device according to an embodiment of the present invention will be described below with reference to the drawings. Note that the embodiments shown below are examples of devices and methods for embodying the technical idea of ​​the present invention, and the technical idea of ​​the present invention is not limited to the configuration and arrangement of components described below. The technical idea of ​​the present invention can be modified in various ways within the technical scope defined by the claims. In the following description, the present invention is applied to a motor control device that is used in an electric power steering device of a vehicle and controls a multi-phase motor (e.g., a three-phase motor) that applies a steering assist force, but the present invention is not limited to application to electric power steering devices and can be widely applied to various uses. For example, as shown in Fig. 17, the present invention may be applied to a motor control device that controls a motor that drives a linear motion table device.

[0011] The embodiments of the present invention will be described in the following order. 1. First embodiment 1-1 Overall configuration of electric power steering device 1-2 Timing generation process 1-3 Variations

[0012] 1. First embodiment [1-1 Overall configuration of electric power steering device] Fig. 1 is a diagram showing the overall configuration of an electric power steering device 100 according to the first embodiment. As shown in Fig. 1, a steering shaft 2 of a steering wheel 1 is connected to steered wheels 8L, 8R via hub units 7a, 7b through a reduction gear 3, universal joints 4a, 4b, a pinion rack mechanism 5, and tie rods 6a, 6b that constitute a reduction mechanism. 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 the pinion 5a, and converts the rotational motion transmitted to the pinion 5a into linear motion in the vehicle width direction by the rack 5b.

[0013] Further, the steering shaft 2 is provided with a torque sensor 9 for detecting a steering torque Th of the driver, and a steering angle sensor 10 for detecting a steering angle θh of the steering wheel 1. In addition, the motor 20 that applies the steering assist force is connected to the steering shaft 2 via the reduction gear 3. For example, a multi-phase motor having three or more phases can be used as the motor 20. In the following explanation, a case where a three-phase motor is used will be exemplified. The number of motors 20 may be two or more. In addition, the motor 20 may be configured to have multiple sets of windings having three or more phases.

[0014] Further, an electronic control unit 30 (broadly speaking, a "motor control device") that controls the electric power steering device 100 is supplied with power from a battery 11 and receives an ignition key signal via an ignition switch 12. The electronic control unit 30 calculates a current command value of an assist control command based on the steering torque Th detected by the torque sensor 9, the steering angle θh detected by the steering angle sensor 10, and the vehicle speed Vh detected by the vehicle speed sensor 13, and controls the current (for example, the phase currents ia, ib, ic of the phases A, B, C) to be supplied to the motor 20 based on a voltage command value obtained by performing compensation or the like on the current command value. That is, it can be said that the motor 20 is controlled by the electronic control unit 30 and applies a steering assist force to the steering system of the vehicle.

[0015] The steering angle sensor 10 is not essential, and the steering angle θh may be calculated by dividing the motor angle θm obtained from the rotation angle sensor 14, which detects the rotation angle of the rotating shaft of the motor 20, by the gear ratio of the reduction gear 3 and adding the torsion angle of the torsion bar of the torque sensor 9. As the rotation angle sensor 14, for example, a resolver that detects the rotation position of the motor 20, or a magnetic sensor that detects the magnetic field of a magnet attached to the rotating shaft of the motor 20 may be used. Also, instead of the steering angle θh, the turning angle of the steered wheels 8L, 8R may be used. As a method for detecting the turning angle of the steered wheels 8L, 8R, for example, a method of detecting based on the displacement amount of the rack 5b may be used. The motor angle θm is measured during a first measurement period Ts, which is a measurement period for the phase currents ia, ib, and ic. 1 To do so.

[0016] The electronic control unit 30 includes a computer having, for example, a processor 31 and peripheral components such as a memory unit 32. For example, a CPU (Central Processing Unit) or an MPU (Micro-Processing Unit) can be used as the processor 31. For example, a semiconductor memory unit, a magnetic memory unit, or an optical memory unit can be used as the memory unit 32. Examples of such memories include a register, a cache memory, and a ROM or RAM used as a main memory unit. Each function of the electronic control unit 30 described below is realized, for example, by the processor 31 of the electronic control unit 30 executing a computer program stored in the memory unit 32. For example, the memory unit 32 stores a first threshold value TH 1 , the second threshold TH 2 It stores various data necessary for executing computer programs, such as:

[0017] The computer may be formed of dedicated hardware for executing each information processing described below. For example, a functional logic circuit set in a general-purpose semiconductor integrated circuit can be used as the dedicated hardware. For example, a programmable logic device (PLD) such as a field programmable gate array (FPGA) can be used.

[0018] As shown in FIG. 2, the electronic control unit 30 includes a PWM signal generating unit 33, an inverter 34, and a phase current measuring unit 35. The PWM signal generating unit 33 calculates target duty ratios Da, Db, Dc of the PWM signal based on the phase currents ia, ib, ic for each of the phases A, B, C of the motor 20, and outputs PWM signals having the calculated target duty ratios Da, Db, Dc to the gates of the high potential side switching elements Qah, Qbh, Qch and the low potential side switching elements Qal, Qbl, Qcl. Specifically, the PWM signal generating unit 33 has an angular velocity converting unit 36, a current command value calculating unit 37, a three-phase / two-phase converting unit 38, subtractors 39, 40, a PI control unit 41, a two-phase / three-phase converting unit 42, a command value correcting unit 43, and a PWM control unit 44. The current command value calculation unit 37, the three-phase / two-phase conversion unit 38, the subtractors 39 and 40, the PI control unit 41, and the two-phase / three-phase conversion unit 42 constitute a voltage command value calculation unit 45 that generates voltage command values ​​va0, vb0, and vc0 for each of the phases A, B, and C based on the phase currents ia, ib, and ic. The angular velocity conversion unit 36 ​​to the PWM control unit 44 are realized by the processor 31 executing a computer program stored in the storage unit 32.

[0019] The angular velocity conversion unit 36 ​​calculates the rotational angular velocity ω of the motor 20 based on the motor angle θm obtained from the rotational angle sensor 14. The rotational angular velocity ω is input to a current command value calculation unit 37. The current command value calculation unit 37 calculates a q-axis current command value Iq0 and a d-axis current command value Id0 to be passed through the motor 20 based on the steering torque Th obtained from the torque sensor 9, the vehicle speed Vh, the motor angle θm, and the rotational angular velocity ω of the motor 20. The q-axis current command value Iq0 is input to a subtractor 39. The d-axis current command value Id0 is input to a subtractor 40. The three-phase / two-phase conversion unit 38 converts the phase currents i a , ib , and ic of the phases A, B, and C obtained from the phase current measurement unit 35 into d-q two-axis currents id and iq. The q-axis current iq is input to a subtractor 39. The d-axis current id is input to a subtractor 40. A subtractor 39 calculates a q-axis deviation current Δq by subtracting the q-axis current iq from the q-axis current command value Iq0. A subtractor 40 calculates a d-axis deviation current Δd by subtracting the d-axis current id from the d-axis current command value Id0. The q-axis deviation current Δq and the d-axis deviation current Δd are input to a PI control unit 41.

[0020] The PI control unit 41 calculates a q-axis voltage command value vq and a d-axis voltage command value vd for setting the q-axis deviation current Δq and the d-axis deviation current Δd to "0", respectively. The q-axis voltage command value vq and the d-axis voltage command value vd are calculated as duty ratios in the range of -50% to 50%. The q-axis voltage command value vq and the d-axis voltage command value vd are input to a two-phase / three-phase conversion unit 42. The two-phase / three-phase converter 42 converts the d-axis voltage command value vd and the q-axis voltage command value vq into a voltage command value Vd having a predetermined amplitude A 0 The voltage command values ​​va0, vb0, vc0 of the phases A, B, and C are converted into voltage command values ​​va0, vb0, and vc0 of the phases A, B, and C, which have an amplitude A and fluctuate in the range of -50% to 50% with 0% as the oscillation center value. Hereinafter, the voltage command values ​​va0, vb0, and vc0 of the phases A, B, and C are also referred to as "three-phase voltage command values ​​va0, vb0, and vc0." The three-phase voltage command values ​​va0, vb0, and vc0 are converted into voltage command values ​​va0, vb0, and vc0 of the phases A, B, and C, which have an amplitude A and fluctuate in the range of -50% to 50% with 0% as the oscillation center value. 0 The amplitude A is a sine wave or cosine wave with the same amplitude and a phase difference of 120°. The following formula (1) shows an example in which a sine wave is used. 0 The magnitude of varies depending on, for example, the voltage of the battery 11 and the target output torque of the motor 20. va0=A 0 ·sinθ, vb0=A 0 ·sin(θ-2 / 3·π), vc0=A 0 ·sin(θ+2 / 3·π) ………(1)

[0021] The command value correction unit 43 performs correction on the three-phase voltage command values ​​va0, vb0, vc0 to improve the voltage utilization rate, etc. In the following description, as shown in Fig. 3, a case will be exemplified in which correction is performed to subtract a tertiary harmonic thw1 of a sine wave type from each of the three-phase voltage command values ​​va0, vb0, vc0 to generate corrected three-phase voltage command values ​​va1, vb1, vc1. As the tertiary harmonic thw1 of the sine wave type, for example, the amplitude A 0 √3 / 2 times the value of (A 0 In FIG. 3, the amplitude A of the three-phase voltage command values ​​va0, vb0, and vc0 can be used. 0√3 / 2 times the value of (A 0 The amount by which the three-phase voltage command values ​​va0, vb0, and vc0 exceed (A ·√3 / 2) is indicated by hatching. By subtracting the third harmonic thw1 from the three-phase voltage command values ​​va0, vb0, and vc0, 0 That is, the command value correction unit 43 can flatten the waveforms in a range exceeding the amplitude A of the three-phase voltage command values ​​va0, vb0, and vc0 from the three-phase voltage command values ​​va0, vb0, and vc0, respectively, as expressed by the following formula (2). 0 The excess amount exceeding the value multiplied by √3 / 2 is subtracted to generate corrected three-phase voltage command values ​​va1, vb1, and vc1. va1=va0-thw1, vb1=vb0-thw1, vc1=vc0-thw1 ………(2)

[0022] The PWM control unit 44 generates gate signals (hereinafter also referred to as "PWM signals") for driving the high potential side switching elements Qah, Qbh, Qch and the low potential side switching elements Qal, Qbl, Qcl based on the corrected three-phase voltage command values ​​va1, vb1, vc1. Specifically, first, as expressed by the following formula (3), a 50% point is added to the corrected three-phase voltage command values ​​va1, vb1, vc1 to generate a predetermined amplitude A 1 The target duty ratios Da, Db, and Dc are calculated, which vary in the range of 0% to 100% with 50% as the vibration center value. 1 As expressed by the following equation (4), the amplitude A of the three-phase voltage command values ​​va0, vb0, and vc0 0 The value is multiplied by √3 / 2. Da=va1+50%, Db=vb1+50%, Dc=vc1+50% ………(3) A 1 =A 0 √3 / 2 ………(4) The target duty ratios Da, Db, and Dc with the third harmonic superimposed are not sine wave signals, but the difference between the vibration center value of 50% and the maximum value (≧50%) is the amplitude (A 1 ) is defined as follows. The same applies to the modified examples shown below.

[0023] Next, the PWM control unit 44 compares the target duty ratios Da, Db, and Dc with the PWM carrier wave P of the triangular wave signal as shown in FIG. 5(a), and generates a PWM signal that turns off the high potential side switching elements Qah, Qbh, and Qch and turns on the corresponding low potential side switching elements Qal, Qbl, and Qcl as shown in FIG. 5(b), FIG. 5(c), FIG. 5(d), and FIG. 5(e) in the section where the PWM carrier wave P exceeds each target duty ratio Da, Db, and Dc. Conversely, the PWM control unit 44 generates a PWM signal that turns on the high potential side switching elements Quh, Qvh, and Qwh and turns off the corresponding low potential side switching elements Qa1, Qbl, and Qcl in the section where the PWM carrier wave P falls below each target duty ratio Da, Db, and Dc as shown in FIG. 5(a) to FIG. 5(e). The PWM signal is input to the inverter 34.

[0024] In addition, the target duty ratio Dc and the PWM signal for the C phase are omitted in FIG. In an actual circuit, a transient response (including rising and falling delays) occurs when the pulse is turned on and off. In order to prevent the high-potential side switching element and the low-potential side switching element from being turned on simultaneously due to the transient response, a dead time is provided in the PWM signal. For simplicity's sake, Figure 5 does not show the dead time or delays, but shows an ideal waveform.

[0025] The inverter 34 is driven by a gate signal (PWM signal) input from the PWM control unit 44, and supplies a current to the motor 20 for making the q-axis deviation current Δq and the d-axis deviation current Δd "0". Specifically, as shown in Fig. 4, the inverter 34 includes a bridge circuit 21 configured by connecting in parallel phase circuits Ca, Cb, and Cc formed corresponding to the phases A, B, and C of the motor 20. The bridge circuit 21 is connected between a power supply line 22 connected to a DC power supply VR (e.g., the positive electrode side of the battery 11) and supplied with DC power, and a ground line 23. Each phase circuit Ca, Cb, Cc of the bridge circuit 21 has in series high potential side switching elements Qah, Qbh, Qch arranged on the power supply line 22 side (high potential side), low potential side switching elements Qal, Qbl, Qcl arranged on the ground line 23 side (low potential side) of the high potential side switching elements Qah, Qbh, Qch, and shunt resistors Ra, Rb, Rc arranged on the ground line 23 side (low potential side) of the low potential side switching elements Qal, Qbl, Qcl. For example, MOSFETs can be used as the high potential side switching elements Qah, Qbh, Qch and the low potential side switching elements Qal, Qbl, Qcl.

[0026] The drains of the high potential side switching elements Qah, Qbh, and Qch are connected to the power supply line 22. The sources of the high potential side switching elements Qah, Qbh, and Qch are connected to the drains of the low potential side switching elements Qal, Qbl, and Qcl. The sources of the low potential side switching elements Qal, Qbl, and Qcl are connected to the ground line 23 via shunt resistors Ra, Rb, and Rc. A gate signal (PWM signal) generated by the PWM control unit 44 is input to the gates of the high potential side switching elements Qah, Qbh, and Qch and the low potential side switching elements Qal, Qbl, and Qcl, and the source-drain is turned on and off. The connection points between the high potential side switching elements Qah, Qbh, and Qch and the low potential side switching elements Qal, Qbl, and Qcl are connected to the coils of phases A, B, and C of the motor 20, respectively.

[0027] The shunt resistors Ra, Rb, Rc are arranged on the lower potential side than the low potential side switching elements Qal, Qbl, Qcl, and currents (phase currents ia, ib, ic) supplied from the bridge circuit 21 to the phases A, B, C of the motor 20 flow through them. The connection points between the low potential side switching elements Qal, Qbl, Qcl and the shunt resistors Ra, Rb, Rc are connected to a phase current measurement unit 35. The voltage drops va, vb, vc of the shunt resistors Ra, Rb, Rc are input to the phase current measurement unit 35.

[0028] The phase current measurement unit 35 measures the currents (phase currents ia, ib, ic) flowing through the shunt resistors Ra, Rb, and Rc during a first measurement period Ts 1 , or the first measurement period Ts 1 The second measurement period Ts 2 The first measurement period Ts 1 is a period during which the high-side switching element Qah, Qbh or Qch (hereinafter also referred to as the "first switching element Q1h"), to whose gate a PWM signal of the maximum target duty ratio (hereinafter also referred to as the "maximum duty D1") among the target duty ratios Da, Db, Dc is input, is off, as shown in FIG. 5(b), and is a period for measuring the phase currents ia, ib, ic, which is set between the timing at which the noise (the noise on the left side of FIG. 5(f)) generated when the first switching element Q1h switches from on to off converges and the timing at which the low-side switching element Qal, Qbl or Qcl (hereinafter also referred to as the "first switching element Q1l") corresponding to the first switching element Q1h switches from on to off, as shown in FIG. 5(f). Alternatively, it is a period during which the first switching element Q1l is on, and is set between the timing at which the noise generated when the first switching element Q1l switches from off to on has converged and the timing at which the first switching element Q1l switches from on to off. For example, it is a period set between the center C of the PWM signal (i.e., the timing at which the PWM carrier wave P reaches its peak value) and a predetermined delay time Td 1 A period beginning later than the end of the period may be adopted.

[0029] In addition, the second measurement period Ts 2As shown in FIG. 5(g), this is a period for measuring the phase currents of at least two phases among the phase currents ia, ib, and ic, which is set between the timing when the noise generated in conjunction with the noise on the right side of FIG. 5(f) (the noise generated when the first switching element Q1h switches from off to on and the noise generated when the first switching element Q1l switches from on to off) converges and the timing when the low-potential side switching element Qal, Qbl, or Qcl (hereinafter also referred to as the "second switching element Q2l"), to whose gate a PWM signal of the second largest target duty ratio Da, Db, or Dc (hereinafter also referred to as the "middle duty D2") among the target duty ratios Da, Db, and Dc is input, switches from on to off. For example, the period from the center C of the PWM signal to a predetermined delay time Td 2 (>Td 1 5 illustrates a case where the high potential side switching element Qah of the phase circuit Ca is the first switching element Q1h, the low potential side switching element Qal of the phase circuit Ca is the first switching element Q1l, and the low potential side switching element Qbl of the phase circuit Cb is the second switching element Q2l.

[0030] Here, FIG. 5 is a diagram showing the relationship between the carrier wave, gate voltage, and PWM signal of the PWM signal. FIG. 5(a) is a diagram showing the PWM carrier wave P, FIG. 5(b) is a diagram showing the PWM signal supplied to the high potential side switching element Qah (first switching element Q1h), and FIG. 5(c) is a diagram showing the PWM signal supplied to the low potential side switching element Qal. FIG. 5(d) is a diagram showing the PWM signal supplied to the high potential side switching element Qbh, and FIG. 5(e) is a diagram showing the PWM signal supplied to the low potential side switching element Qbl (second switching element Q2l). FIG. 5(f) is a diagram showing the phase current ia flowing in the phase circuit Ca, and FIG. 5(g) is a diagram showing the phase current ib flowing in the phase circuit Cb.

[0031] The phase current measuring unit 35 includes a measurement timing generating unit 46 and a measurement executing unit 47 . The measurement timing generation unit 46 executes the timing generation process shown in FIG. 6 and generates a first measurement period Ts as a measurement period for measuring the phase currents ia, ib, and ic. 1 and the second measurement period Ts 2 and continuously outputs a sampling signal S to the measurement execution section 47 from the start to the end of the selected measurement period. Fig. 6 is a diagram showing a flowchart of the timing generation process. The measurement execution unit 47 measures the phase currents ia, ib, and ic based on the voltage drops va, vb, and vc of the shunt resistors Ra, Rb, and Rc. The measurement of the phase currents ia, ib, and ic is performed while the measurement timing generation unit 46 is outputting the sampling signal S. As a result, the first measurement period Ts 1 or the second measurement period Ts 2 Phase currents i a , ib , and ic are measured. If one of the phase currents i a , ib , and ic cannot be measured, the unmeasured phase current is estimated based on the remaining two phase currents. As a method for estimating the phase currents, for example, a method based on Kirchhoff's law can be used. The phase currents i a , ib , and ic are input to a three-phase / two-phase conversion unit 38. As the measurement execution unit 47, for example, an AD (Analog-to-Digital) converter can be used.

[0032] [1-2 Timing generation process] Next, the timing generation process executed by the measurement timing generating unit 46 will be described. The timing generation process is executed, for example, every period (for example, 50 μs) of the PWM signal. Note that the timing generation process may be executed every two or more periods. When the timing generation process is executed, as shown in FIG. 6, first, in step S101, the measurement timing generation unit 46 calculates the amplitude A of the three-phase voltage command values ​​va0, vb0, vc0 according to the following equation (5) based on the three-phase voltage command values ​​va0, vb0, vc0 generated by the two-phase / three-phase conversion unit 42: 0 Calculate the amplitude A 0may be calculated based on the q-axis voltage command value vq and the d-axis voltage command value vd calculated by the PI control unit 41, according to the following equation (6). A 0 =(2 / 3) 1 / 2 ·(va0 2 +vb0 2 +vc0 2 ) 1 / 2 ………(5) A 0 =(vq 2 +vd 2 ) 1 / 2 ………(6)

[0033] Next, the measurement timing generation unit 46 calculates the amplitude A 0 Based on this, the amplitude A of the target duty ratios Da, Db, and Dc is calculated according to the above formula (4). 1 Next, calculate the calculated amplitude A 1 + 50% point (hereinafter referred to as "target duty ratio amplitude value (A 1 +50%) is the first threshold TH 1 It is determined whether the first threshold value TH 1 For example, the switching noise due to the high potential side switching element Qah, Qbh or Qch (first switching element Q1h) and the low potential side switching element Qal, Qbl or Qcl (first switching element Q1l) to whose gate a PWM signal of maximum duty D1 is input is measured during the first measurement period Ts 1 Duty ratio that starts to overlap with the first measurement period Ts 1 For example, when Da>Db>Dc, as shown in FIG. 5(b), FIG. 5(c), and FIG. 5(f), the first period Ts 1 However, the duty ratio and the first measurement period Ts 1The duty ratio corresponding to the timing at which the first threshold TH is completed is smaller than the smallest duty ratio by a predetermined value. 1 Then, the measurement timing generation unit 46 calculates the target duty ratio amplitude value (A 1 +50%) is the first threshold TH 1 On the other hand, if the measurement timing generating unit 46 determines that the target duty ratio amplitude value (A 1 +50%) is the first threshold TH 1 If it is determined that it is equal to or greater than that (No), the process proceeds to step S102.

[0034] Next, in step S102, the measurement timing generation unit 46 determines whether the intermediate duty D2 (broadly speaking, the "next-point duty ratio") is greater than or equal to the second threshold TH 2 It is determined whether the second threshold value TH 2 For example, the timing at which the low potential side switching element Qal, Qbl or Qcl (second switching element Q2l) to whose gate the PWM signal of the medium duty D2 is input is switched from on to off is set to the second measurement period Ts 2 For example, when Da>Db>Dc, as shown in FIG. 5(e) and FIG. 5(g), the duty ratio that is set after the end of the second measurement period Ts 2 The duty ratio corresponding to the limit value at which the low potential side switching element Qbl, which is the second switching element Q2l, ends before turning off from on, is defined as a second threshold value TH 2 In addition, a value smaller than the duty ratio corresponding to the limit value by a predetermined value can be adopted as the second threshold value TH 2 In the first embodiment, as shown in FIG. 2 is the maximum duty D1>first threshold TH 1 When the above condition is satisfied, the intermediate duty D2<the second threshold TH 2 The second threshold value TH is set to a large value so that the relationship is satisfied. 26, when step S101 is "No", a value that always results in "No" in step S102 is adopted. 2 On the other hand, if the measurement timing generating unit 46 determines that the intermediate duty D2 is greater than the second threshold TH 2 If it is determined that the difference is less than or equal to the threshold (No), the process proceeds to step S104.

[0035] In step S103, the measurement timing generation unit 46 sets a first measurement period Ts as a measurement period for measuring the phase currents ia, ib, and ic. 1 Specifically, the measurement execution unit 47 is instructed to select the first measurement period Ts 1 In response to this, the measurement execution unit 47 outputs a sampling signal S during the first measurement period Ts 1 Next, the phase currents ia, ib, and ic are measured based on the sampling signal S, and the measured phase currents ia, ib, and ic are fed back to the three-phase / two-phase conversion unit 38 . On the other hand, in step S104, the measurement timing generation unit 46 sets a second measurement period Ts as a measurement period for measuring the phase currents ia, ib, and ic. 2 Specifically, the measurement execution unit 47 selects the second measurement period Ts 2 In this way, the measurement execution unit 47 outputs the sampling signal S during the second measurement period Ts 2 Next, the phase currents ia, ib, and ic are measured based on the sampling signal S, and the measured phase currents ia, ib, and ic are fed back to the three-phase / two-phase conversion unit 38 .

[0036] Here, as an example of the electronic control unit 30 (ECU 30) of the comparative example, as shown in step S201 of FIG. 7, step S101 of the timing generation process shown in FIG. 6 is performed when the maximum duty D1 is greater than or equal to the first threshold TH 1 Consider a case where a configuration is used to determine whether D1 is less than the first threshold value TH. In this configuration, as shown in FIG. 1 If so, the first measurement period Ts 1 is selected, and D1 ≧ the first threshold TH1 If so, the second measurement period Ts 2 However, for example, the measurement of the phase currents ia, ib, and ic is performed during the second measurement period Ts 2 If the measurement is performed in the first measurement period Ts 1 Compared to when the first measurement period Ts is performed, a phase shift occurs in the measured phase currents ia, ib, and ic, and the detection result of the q-axis current iq becomes smaller. Therefore, by feeding back such a q-axis current iq, the q-axis deviation current Δq increases, more q-axis current flows in the motor 20, and the output torque of the motor 20 increases. Therefore, as shown in FIG. 8(c), 1 and the second measurement period Ts 2 When the motor 20 is switched to the q-axis current value, the output torque of the motor 20 fluctuates, and there is a possibility that operating noise or vibration will occur in the electric power steering device 100 equipped with the motor 20. Fig. 8 is a diagram showing the relationship between the target duty ratios Da, Db, Dc of the PWM signal, the measurement timing of the phase currents ia, ib, ic, and the output torque of the motor 20 in the electronic control unit 30. Since the output torque varies depending on the target q-axis current value, the magnitude of the phase shift, and the like, in Fig. 8(c), the output torque of the motor 20 is normalized, and the torque when a phase shift occurs in the measured phase currents ia, ib, ic is set to 1, and the torque when there is no phase shift in the measured phase currents ia, ib, ic is set to 0.

[0037] For example, when the period during which switching noise is superimposed is taken into consideration, the first measurement period Ts 1 and the second measurement period Ts 2The deviation from the normal is considered to be about 3μs. This deviation of 3μs will cause an angle difference of 0.216° in the motor electrical angle when the motor pole pair number is 4 and the motor rotation speed is 3000rpm. In addition, this angle difference of 0.216° will cause a deviation of 0.27A in the q-axis current (q-axis deviation current Δq) and a torque difference of 0.26Nm in the steering shaft 2 when the q-axis current is 70A, the d-axis current is 71.4A, the torque constant is 0.046Nm / A, and the gear ratio is 20.5. This torque fluctuation of 0.26Nm will excite the motor housing and the mechanism, and the driver will feel it as a differential sound. Note that the offset of 0.26Nm is high, as the steering speed is 878deg / s (value when the motor rotation speed is 3000rpm and the gear ratio is 20.5), so the driver will not feel the weight or lightness of the steering force. In addition, since the control system according to the steering torque Th outputs a command value that corrects whether the steering force is heavy or light, it is believed that the steering force will be reduced to a level that does not cause any problems.

[0038] In contrast, in the electronic control unit 30 according to the first embodiment, the amplitude A of the target duty ratios Da, Db, and Dc shown in equation (4) is 1 The target duty ratio amplitude value (A 1 +50%) is the first threshold TH 1 If A is smaller than 1 +50% <TH 1 ), or the target duty ratio amplitude value (A 1 +50%) is the first threshold TH 1 Above (A 1 +50%≧TH 1 ) and the intermediate duty D2 (next-point duty ratio) which is the second largest target duty ratio Da, Db, or Dc among the target duty ratios Da, Db, and Dc is a second threshold value TH 2 If D2>TH 2 ) the phase currents ia, ib, and ic are measured during the first measurement period Ts 1 In addition, the target duty ratio amplitude value (A 1 +50%) is the first threshold TH 1 Above (A 1 +50%≧TH 1 ) and the intermediate duty D2 is equal to or lower than the second threshold TH 2If D2≦TH 2 ) the phase currents ia, ib, and ic are measured during the second measurement period Ts 2 The structure was such that the following was carried out.

[0039] As a result, as shown in FIG. 8(b), the target duty ratio amplitude value (A 1 +50%) is the first threshold TH 1 If it is greater than or equal to (A 1 +50%≧TH 1 ), the intermediate duty D2 is equal to or lower than the second threshold TH 2 If D2>TH 2 ) during the first measurement period Ts 1 is selected, and the intermediate duty D2 is set to the second threshold value TH 2 If D2≦TH 2 ) during the second measurement period Ts 2 Here, as shown in FIG. 8(a), D1 <TH 1 From the range of electrical angles where D2>TH 2 Therefore, the range of electrical angles in which the first measurement period Ts 1 Therefore, the period during which the first measurement period Ts 1 The period during which the output torque of the motor 20 is reduced is shortened by shortening the period during which the second measurement period Ts is selected. 2 From the first measurement period Ts 1 , the second measurement period Ts 2 Since the motor 20 can be switched to the on-off state, the fluctuation range of the output torque of the motor 20 becomes smaller, and the operating noise and vibration of the electric power steering device 100 can be suppressed.

[0040] Here, as an example, a simulation of the output torque of the motor 20 was performed, and the simulation results shown in Fig. 9 were obtained. Fig. 9 shows the results of the simulation performed during the first measurement period Ts 1Start time = 1 μs, noise convergence period = 2 μs, second measurement period Ts from center C of PWM signal 2 Start time = 3.75 μs, first threshold TH 1 = 95%, second threshold TH 2 9 shows the simulation results when the amplitude A of the target duty ratio is set to 84%. It can be seen from Fig. 9 that the electronic control unit 30 according to the first embodiment sufficiently reduces the fluctuation range of the output torque of the motor 20. 1 This illustrates a case where gradually increases.

[0041] [1-3 Modifications] (1) In the first embodiment, the command value corrector 43 performs correction by subtracting the tertiary harmonic thw1 of the SIN wave type from each of the three-phase voltage command values ​​va0, vb0, and vc0, but other configurations may be used. For example, as shown in FIG. 10, a configuration may be used in which a correction is performed by subtracting the tertiary harmonic thw2 of the triangular wave type from each of the three-phase voltage command values ​​va0, vb0, and vc0 to generate corrected three-phase voltage command values ​​va1, vb1, and vc1. As the tertiary harmonic thw2 of the triangular wave type, for example, a tertiary harmonic having a waveform equal to the average value of the voltage command value va0, vb0, or vc0 of the maximum phase in which the voltage command value is the maximum among the three phases A, B, and C, and the voltage command value va0, vb0, or vc0 of the minimum phase in which the voltage command value is the minimum, as represented by the following formula (7). That is, the command value corrector 43 subtracts the average value of the maximum phase voltage command value va0, vb0 or vc0, which has the maximum voltage command value among the three phases A, B, C, and the minimum phase voltage command value va0, vb0 or vc0, which has the minimum voltage command value, from each of the three-phase voltage command values ​​va0, vb0, vc0 to generate corrected three-phase voltage command values ​​va1, vb1, vc1. By subtracting the triangular wave type third harmonic thw2 from the three-phase voltage command values ​​va0, vb0, vc0, the peaks of the waveforms of the three-phase voltage command values ​​va0, vb0, vc0 can be depressed.

[0042] va1=va0-thw2, vb1=vb0-thw2, vc1=vc0-thw2 thw2=(MAX(va0, vb0, vc0)+MIN(va0, vb0, vc0)) / 2 …(7) In this case, the PWM control unit 44 calculates the target duty ratios Da, Db, and Dc by adding a 50% point to the corrected three-phase voltage command values ​​va1, vb1, and vc1 as expressed by the following formula (8). 1 The target duty ratio amplitude value (A 1 +50%), the amplitude A of the three-phase voltage command values ​​va0, vb0, and vc0 0 The value obtained by multiplying this by √3 / 2 and adding a 50% point is used. Da=va1+50%, Db=vb1+50%, Dc=vc1+50% ………(8) A 1 +50%=A 0 ·√3 / 2+50% ………(9)

[0043] Here, as an example of the electronic control unit 30 (ECU 30) of the comparative example, as shown in step S201 of FIG. 7, step S101 of the timing generation process shown in FIG. 6 is performed when the maximum duty D1 is greater than or equal to the first threshold TH 1 In this case, when a triangular wave type third harmonic thw2 is used, as shown in FIG. 11(b), even in the concave portion (concave portion E in FIG. 11(a)) where the peak of the waveform is concave, D1<the first threshold value TH 1 Then, the first measurement period Ts 1 There is a possibility that the first measurement period Ts 1 and the second measurement period Ts 2 There is a possibility that the number of switching 11(c), the output torque of the motor 20 vibrates at a sixth electrical angle. The sixth electrical angle vibration may cause a malfunction in the electric power steering device 100. In particular, the malfunction may occur when the vibration is superimposed on a mechanical vibration.

[0044] In contrast, in the electronic control unit 30 according to this modification, the phase current measurement unit 35 measures the target duty ratio amplitude value (A 1 +50%) and the first threshold TH 1 In order to compare the first measurement period Ts with the first measurement period Ts, a concave portion (concave portion E in FIG. 11(a)) formed by the peak of the waveform is shown in FIG. 11(b). 1 Therefore, in one electrical angle period, the first measurement period Ts 1 and the second measurement period Ts 2 The number of times the motor 20 is switched between the center and the output torque is halved as compared to the comparative example, and the number of times the output torque of the motor 20 fluctuates is halved, making it possible to suppress the operating noise and vibration of the electric power steering device 100. Here, as an example, a simulation of the output torque of the motor 20 was performed, and the simulation results shown in Fig. 12 were obtained. Fig. 12 shows the results of the simulation performed during the first measurement period Ts from the center C of the PWM signal. 1 Start time = 1 μs, noise convergence period = 2 μs, second measurement period Ts from center C of PWM signal 2 Start time = 3.75 μs, first threshold TH 1 = 95%, second threshold TH 2 12 shows that the electronic control unit 30 according to this modified example reduces the number of fluctuations in the output torque of the motor 20 to 1 / 2. In addition, in the electronic control unit 30 according to this modification, the number of fluctuations in the output torque of the motor 20 is halved, so that vibration of the sixth electrical angle does not occur as shown in FIG. 1 This illustrates a case where gradually increases.

[0045] (2) For example, as shown in Fig. 13, the command value correction unit 43 may perform a correction of the minimum duty value 0% fixed type on the three-phase voltage command values ​​va0, vb0, and vc0 to generate corrected three-phase voltage command values ​​va1, vb1, and vc1. 1 Start time = 1 μs, noise convergence period = 2 μs, second measurement period Ts from center C of PWM signal 2 Start time = 3.75 μs, first threshold TH 1= 95%, second threshold TH 2 = 84%. In the correction type where the minimum duty value is fixed at 0%, the command value correction unit 43 subtracts the voltage command value va0, vb0 or vc0 of the minimum phase, which has the smallest voltage command value va0, vb0, vc0 among the three phases A, B, C, from the three-phase voltage command values ​​va0, vb0, vc0, respectively, as expressed by the following formula (10), to generate corrected three-phase voltage command values ​​va1, vb1, vc1. This makes it possible to prevent the target duty ratios Da, Db, Dc from becoming so large that the phase currents ia, ib, ic cannot be measured, and makes it possible to detect the phase currents ia, ib, ic with higher accuracy.

[0046] va1=va0-MIN(va0, vb0, vc0), vb1=vb0-MIN(va0, vb0, vc0), vc1=vc0-MIN(va0, vb0, vc0) ………(10) In this case, the PWM control unit 44 calculates the corrected three-phase voltage command values ​​va1, vb1, and vc1 as the target duty ratios Da, Db, and Dc, as expressed by the following formula (11). Also, the measurement timing generation unit 46 calculates the first threshold value TH 1 The target duty ratio amplitude value (A 1 +50%), the amplitude A of the three-phase voltage command values ​​va0, vb0, and vc0 0 Use a value that is twice as large as the above. Da=va1, Db=vb1, Dc=vc1 ………(11) A 1 +50%=A 0 2 ………(12)

[0047] (3) For example, as shown in Fig. 14, the command value correction unit 43 may perform correction to offset only the excess of the range for the three-phase voltage command values ​​va0, vb0, and vc0 to generate corrected three-phase voltage command values ​​va1, vb1, and vc1. 1 Start time = 1 μs, noise convergence period = 2 μs, second measurement period Ts from center C of PWM signal 2 Start time = 3.75 μs, first threshold TH1 = 95%, second threshold TH 2 = 84%. In the correction to offset only the range excess, the command value correction unit 43 generates a third harmonic thw3 by synthesizing the excess over a predetermined value B from each of the three-phase voltage command values ​​va0, vb0, vc0 as expressed in the following formula (13). Corrected three-phase voltage command values ​​va1, vb1, vc1 are generated by subtracting thw3 from each of the three-phase voltage command values ​​va0, vb0, vc0. This makes it possible to prevent the target duty ratios Da, Db, Dc from becoming so large that the phase currents ia, ib, ic cannot be measured, and allows the phase currents ia, ib, ic to be detected with higher accuracy.

[0048] va1=va0-thw3, vb1=vb0-thw3, vc1=vc0-thw3 ………(13) In this case, the PWM control unit 44 calculates the target duty ratios Da, Db, and Dc by adding a 50% point to the corrected three-phase voltage command values ​​va1, vb1, and vc1 as expressed in the following formula (14). 1 The target duty ratio amplitude value (A 1 +50%), the amplitude A of the three-phase voltage command values ​​va0, vb0, and vc0 0 and a given value B, whichever is smaller, MIN(A 0 , B) plus 50% points is used. Da=va1+50%, Db=vb1+50%, Dc=vc1+50% ………(14) A 1 +50%=MIN(A 0 , B) +50% ………(15)

[0049] (4) For example, as shown in FIG. 15, the command value correction unit 43 may be omitted. In this case, the PWM control unit 44 calculates the target duty ratios Da, Db, and Dc by adding a 50% point to the three-phase voltage command values ​​va0, vb0, and vc0 as expressed in the following formula (16). The measurement timing generation unit 46 calculates the first threshold value TH1 The target duty ratio amplitude value (A 1 +50%), the amplitude A of the three-phase voltage command values ​​va0, vb0, and vc0 0 Use a value that is 50% higher than the above.

[0050] Da=va0+50%, Db=vb0+50%, Dc=vc0+50% ………(16) A 1 +50%=A 0 +50% ………(17) Here, a simulation was performed on the output torque of the motor 20 in a configuration in which the command value correction unit 43 was omitted, and the simulation results shown in Fig. 16 were obtained. Fig. 16 shows the output torque of the motor 20 during the first measurement period Ts from the center C of the PWM signal. 1 Start time = 1 μs, noise convergence period = 2 μs, second measurement period Ts from center C of PWM signal 2 Start time = 3.75 μs, first threshold TH 1 = 95%, second threshold TH 2 This is the simulation result when = 84%.

[0051] (5) For example, when the second largest voltage command value va1, vb1 or vc1 (hereinafter also referred to as "intermediate command value vm") among the corrected three-phase voltage command values ​​va1, vb1, vc1 is equal to or larger than the threshold value TH, the command value corrector 43 may subtract the difference (vm-TH) between the intermediate command value vm and the threshold value TH from each of the three-phase voltage command values ​​va1, vb1, vc1 to generate the corrected three-phase voltage command values ​​va1, vb1, vc1 again. This can prevent the target duty ratios Da, Db, Dc from becoming so large that the phase currents ia, ib, ic cannot be measured simultaneously for two phases, and the phase currents ia, ib, ic can be detected more accurately. First threshold value TH 1 The target duty ratio amplitude value to be compared with is the value (A 1 -(vm-TH)+50%) may be used.

[0052] (6) In the first embodiment, for the sake of simplicity, an example is shown in which no dead time is provided in which both the high potential side switching elements Qah, Qbh, Qch and the low potential side switching elements Qal, Qbl, Qcl are turned off, but the present invention is not limited to this. For example, a dead time may be provided in order to prevent both the high potential side switching elements Qah, Qbh, Qch and the low potential side switching elements Qal, Qbl, Qcl from being turned on simultaneously and causing a short circuit. When a dead time is provided, a dead time compensation may be performed. In this case, for example, after the calculation of the corrected three-phase voltage command values ​​va1, vb1, vc1, a three-phase dead time compensation value having an amplitude equal to the dead time compensation amount α is added to calculate the target duty ratios Da, Db, Dc. Therefore, the first threshold value TH 1 The target duty ratio amplitude value to be compared with is the value (A 1 +α+50%) will be adopted.

[0053] (7) Furthermore, 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 first embodiment, an electric power steering device 100 is 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. 17 is a diagram showing the overall configuration of a linear motion table device 200 to which the motor control device of the present invention is applied. As shown in Fig. 17, the linear motion table device 200 includes two linear guides 70 (linear motion guide devices), a feed screw device 71, a table 72, and a base 73.

[0054] Each of the two linear guides 70 has a guide rail 74, two sliders 75 (moving bodies), and a plurality of rolling bodies (not shown). The guide rail 74 is fixed to a base 73. The guide rail 74 and the slider 75 each have a track surface that forms a rolling path for the rolling bodies at a position opposite to each other. Both track surfaces extend along the longitudinal direction of the guide rail 74. This allows the slider 75 to move linearly along the longitudinal direction of the guide rail 74 via the rolling bodies that roll under load in the rolling path. Each linear guide 70 is disposed at both ends of the table 72 on the base 73 in a direction perpendicular to the moving direction Y. The guide rail 74 is disposed parallel to the moving direction Y of the table 72.

[0055] The feed screw device 71 has a screw shaft 76, a nut 77, and a multi-phase motor 78. The screw shaft 76 has rolling bearings attached to both axial ends, housings 79 are fixed to the outer rings of the rolling bearings, and each housing 79 is fixed to the base 73. This allows the screw shaft 76 to be rotatably supported relative to the base 73. The screw shaft 76 and the nut 77 each have a helical groove at a position opposite to each other, and form a ball screw mechanism in which the helical groove of the screw shaft 76 and the helical groove of the nut 77 are in point contact via a ball. The feed screw device 71 is disposed between two linear guides 70. The screw shaft 76 is disposed parallel to the moving direction Y of the table 72. The multi-phase motor 78 is coupled to one axial end of the screw shaft 76.

[0056] The table 72 is disposed above the two sliders 75 of each linear guide 70 and the nuts 77 of the feed screw device 71, and is fixed directly to the sliders 75 and fixed via a bracket to the nuts 77. That is, the two sliders 75 of each linear guide 70 and 76 of the feed screw device 71 are fixed to one surface of the table 72. In this linear motion table apparatus 200, when the multi-phase motor 78 is driven to operate the feed screw device 71, the screw shaft 76 rotates and the nut 77 is linearly moved by the ball screw mechanism. Then, the table 72 is linearly moved in a direction parallel to the moving direction Y while being guided by the linear guide 70. Also, an electronic control unit 80 (broadly speaking, a "motor control device") sets a current command value for driving the multi-phase motor 78, and, similar to the electronic control unit 30 of the first embodiment, calculates a voltage control command value Vref from the current command value to control the current supplied to the multi-phase motor 78.

[0057] (8) In the first embodiment, for the sake of simplicity, the calculation of the q-axis voltage command value vq and the d-axis voltage command value vd to the calculation of the corrected three-phase voltage command values ​​va1, vb1, vc1 are expressed in terms of duty ratio [%], but the present invention is not limited to this. For example, the corrected three-phase voltage command values ​​va1, vb1, vc1 may be calculated in terms of voltage [V] from the q-axis voltage command value vq and the d-axis voltage command value vd, and the corrected three-phase voltage command values ​​va1, vb1, vc1 may be converted to the target duty ratios Da, Db, Dc by a conversion coefficient calculated from the power supply voltage supplied to the inverter 34 and the amount of dead time. In this case, the amplitude A 0 is converted in the same way to calculate the target duty ratio amplitude value. [Explanation of symbols]

[0058] 1...steering wheel, 2...steering shaft, 3...reduction gear, 4a...universal joint, 4b...universal joint, 5...pinion rack mechanism, 5a...pinion, 5b...rack, 6a...tie rod, 6b...tie rod, 7a...hub unit, 7b...hub unit, 8L, 8R...steered wheels, 9...torque sensor, 10...steering angle sensor, 11...battery, 12...ignition switch, 13...vehicle speed sensor, 14...rotation angle sensor, 20...motor, 21...bridge circuit, 22...power supply line, 23...ground line, 30...electronic control unit, 31...processor, 32...storage unit, 33...PWM signal generation unit, 34... inverter, 35... phase current measuring unit, 36... angular velocity conversion unit, 37... current command value calculation unit, 38... three-phase / two-phase conversion unit, 39, 40... subtractor, 41... PI control unit, 42... two-phase / three-phase conversion unit, 43... command value correction unit, 44... PWM control unit, 45... voltage command value calculation unit, 46... measurement timing generation unit, 47... measurement execution unit, 70... linear guide, 71... feed screw device, 72... table, 73... base, 74... guide rail, 75... slider, 76... screw shaft, 77... nut, 78... multi-phase motor, 79... housing, 80... electronic control unit, 100... electric power steering device, 200... linear motion table device

Claims

1. A motor control device for controlling a multi-phase motor having three or more phases, a bridge circuit formed by connecting in parallel phase circuits each having a high potential side switching element, a low potential side switching element, and a shunt resistor arranged in series on a lower potential side than the low potential side switching element, the bridge circuit being formed corresponding to each phase of the multi-phase motor; a phase current measuring unit that measures a phase current flowing through the shunt resistor during a first measurement period or a second measurement period that starts later than the first measurement period; a PWM signal generating unit that calculates a target duty ratio of a PWM signal for driving the high potential side switching element and the low potential side switching element based on the phase current for each phase of the multi-phase motor, the target duty ratio having a predetermined amplitude and fluctuating within a maximum range of 0% to 100% with 50% as an oscillation center value, and outputs the PWM signal having the calculated target duty ratio to the gates of the high potential side switching element and the low potential side switching element; a storage unit that stores a first threshold value set to a predetermined value smaller than a smaller duty ratio among the duty ratios at which switching noises due to the high potential side switching element and the low potential side switching element, the gate of which receives the PWM signal having the maximum target duty ratio among the target duty ratios, start to be superimposed on the first measurement period and the duty ratios corresponding to a timing at which the first measurement period is completed, and a second threshold value that is a duty ratio at which the timing at which the low potential side switching element, the gate of which receives the PWM signal having a second-point duty ratio that is the second largest target duty ratio among the target duty ratios, switches from on to off occurs after the end of the second measurement period, The phase current measuring unit is When a target duty ratio amplitude value, which is a value obtained by adding a 50% point to the amplitude of the target duty ratio, is smaller than the first threshold value, or when the target duty ratio amplitude value is equal to or larger than the first threshold value and the second point duty ratio is larger than the second threshold value, detection of the phase current is performed during the first measurement period; When the target duty ratio amplitude value is equal to or greater than the first threshold value and the second duty ratio is equal to or less than the second threshold value, the phase current is measured during the second measurement period. Motor control device.

2. The first measurement period is a period that starts with a predetermined delay time from the timing when a triangular wave signal, which is a PWM carrier wave of the PWM signal, reaches a peak value. The motor control device according to claim 1 .

3. the multi-phase motor is a three-phase motor; The PWM signal generating unit is A voltage command value calculation unit is further provided for generating a voltage command value for each phase, the voltage command value having a predetermined amplitude and fluctuating within a maximum range of −50% to 50% with 0% as a center value of oscillation, based on the phase current; The target duty ratio is calculated by adding a 50% point to the voltage command value of each phase. The motor control device according to claim 1 .

4. the multi-phase motor is a three-phase motor; The PWM signal generating unit is a voltage command value calculation unit that generates a voltage command value for each phase, the voltage command value having a predetermined amplitude and fluctuating within a maximum range of −50% to 50% with 0% as a center value of oscillation, based on the phase current; a command value correction unit that subtracts an average value of a maximum phase voltage command value having a maximum voltage command value among the three phases and a minimum phase voltage command value having a minimum voltage command value from each of the voltage command values ​​of the phases to generate corrected three-phase voltage command values, calculating the target duty ratio by adding a 50% point to the corrected three-phase voltage command value; The phase current measuring unit is As the target duty ratio amplitude value to be compared with the first threshold value, a value obtained by multiplying the amplitude of the voltage command value of each phase by √3 / 2 and adding a 50% point to the value is used. The motor control device according to claim 1 .

5. the multi-phase motor is a three-phase motor; The PWM signal generating unit is a voltage command value calculation unit that generates a voltage command value for each phase, the voltage command value having a predetermined amplitude and fluctuating within a maximum range of −50% to 50% with 0% as a center value of oscillation, based on the phase current; a command value correction unit that subtracts an excess amount exceeding a value that is √3 / 2 times the amplitude of the voltage command value of each phase from each of the voltage command values ​​of each phase to generate corrected three-phase voltage command values, calculating the target duty ratio by adding a 50% point to the corrected three-phase voltage command value; The phase current measuring unit is As the target duty ratio amplitude value to be compared with the first threshold value, a value obtained by multiplying the amplitude of the voltage command value of each phase by √3 / 2 and adding a 50% point to the value is used. The motor control device according to claim 1 .

6. the multi-phase motor is a three-phase motor; The PWM signal generating unit is a voltage command value calculation unit that generates a voltage command value for each phase, the voltage command value having a predetermined amplitude and fluctuating within a maximum range of −50% to 50% with 0% as a center value of oscillation, based on the phase current; a command value correction unit that generates corrected three-phase voltage command values ​​by subtracting a voltage command value of a minimum phase having a minimum voltage command value among the three phases from each of the voltage command values ​​of the phases, Calculating the corrected three-phase voltage command value as the target duty ratio; The phase current measuring unit is A value obtained by multiplying the amplitude of the voltage command value of each phase by two is used as the target duty ratio amplitude value to be compared with the first threshold value. The motor control device according to claim 1 .

7. the multi-phase motor is a three-phase motor; The PWM signal generating unit is a voltage command value calculation unit that generates a voltage command value for each phase, the voltage command value having a predetermined amplitude and fluctuating within a maximum range of −50% to 50% with 0% as a center value of oscillation, based on the phase current; a command value correction unit that subtracts an excess amount exceeding a second predetermined value from each of the voltage command values ​​of the respective phases to generate corrected three-phase voltage command values, calculating the target duty ratio by adding a 50% point to the corrected three-phase voltage command value; The phase current measuring unit is A value obtained by adding 50% point to the smaller of the amplitude of the voltage command value of each phase and the second predetermined value is used as the target duty ratio amplitude value. The motor control device according to claim 1 .

8. The PWM signal generating unit is When calculating the target duty ratio amplitude value, a dead time compensation amount is further added to the target duty ratio amplitude value. The motor control device according to claim 1 .

9. A motor control device according to any one of claims 1 to 8; a polyphase motor controlled by the motor control device; The multi-phase motor provides a steering assist force to the steering system of the vehicle. Electric power steering device.

Citation Information

Patent Citations

  • Multi-phase electric motor control device

    JP2017093240A

  • Multi-phase electric motor control device

    JP2018182889A

  • Power conversion device

    WO2013084289A1

  • Multiphase electric motor control device

    JP6725450B2