The present invention claims priority under 35 U.S.C. § 119 to Japanese Application No. 2018-174938 filed on Sep. 19, 2018 the entire content of which is incorporated herein by reference.
The present invention relates to, an inverter control method for an inverter circuit included in a motor control circuitry of an electric power steering apparatus, for example.
In a motor control device, in the case of driving a motor through pulse width modulation (PWM) by an inverter circuit configured of a pair of switching elements (a high side (HiSide) switching element and a low side (LoSide) potential switching element) provided corresponding to the motor phase between positive and negative electrodes of a DC power supply, when the two switching elements forming a pair are turned on simultaneously due to an operation delay time or the like of the switching element, a short circuit occurs between the positive and negative electrodes of the DC power supply. Therefore, conventionally, in inverter control, a period (dead time) in which the two switching elements forming the pair are simultaneously turned off is set, in order to prevent a short circuit of the switching elements.
For example, a conventional motor control device discloses a configuration of, in order to mitigate an effect of the dead time in which the motor control device cannot control output voltage during the dead time, calculating a dead time compensation amount based on the polarity and the magnitude of a current command value, adding the dead time compensation amount to a voltage command value to obtain a corrected voltage command value, generating a pulse width modulation signal based on the corrected voltage command value, thereby controlling the motor by turning on/off the switching element via the inverter circuit.
A conventional inverter discloses a configuration of, in a PWM type voltage source inverter that calculates a PWM switching pattern of three phases (U, V, W) according to a voltage command of two axes of d-q, compensating a voltage error between the PWM voltage command and the output voltage due to a dead band.
As described above, in the PWM control for an inverter bridge circuit of a motor control device, when a dead time is provided so as to prevent a short circuit between the high side (HiSide) FET and the low side (LoSide) FET forming the bridge circuit, there is a problem that a torque ripple caused by a step is generated due to an error between the command current (target current) and the actual current in the PWM control when the current path between the high side FET and the low side FET is switched.
In particular, when a flow of low current (for example, around 50% duty) is desired as a motor driving current, the effect of adding a dead time becomes large, and there is a problem that it is difficult to flow a target current. When such a motor control device is incorporated in electric power steering control, for example, since control of a low current is performed near the middle of the steering wheel, the current is insufficient or excess near the middle of the steering wheel. Thereby, torque ripple is noticeably generated.
In conventional inverter, the time in which an error between a voltage command and an output voltage caused by the dead time occurs is counted by a timer, the time output from the timer is converted into a voltage error, and voltage correction is made by subtracting or adding the voltage error from or to the voltage command. Therefore, there is a problem that it is difficult to cope with an increase or a decrease in the duty ratio of the PWM signal due to addition of the dead time.
Further, although the phase current of a motor is detected in a conventional motor control device or inverter, when an error occurs in the current detection circuit, it is difficult to determine whether or not the actual current and the assumed current match. Therefore, there is a problem that it is difficult to correct the dead time according to the direction of the current.
Preferred embodiments of the present invention are able to solve the problems described above. That is, a first example embodiment of the present disclosure provides an inverter control method that controls an inverter circuit that drives a motor. The method includes detecting a terminal voltage of the motor driven by a predetermined pulse width modulation signal, generating an actual duty ratio at a time of driving the motor based on the terminal voltage, calculating a difference between a command duty ratio corresponding to target motor drive and the actual duty ratio as a differential duty ratio, correcting the command duty ratio based on the differential duty ratio, and generating a pulse width modulation signal used in controlling the inverter circuit based on a post-correction command duty ratio obtained by the correction.
A second example embodiment of the present disclosure provides a motor control device including an inverter circuit that drives a motor. The device includes circuitry configured to detect a terminal voltage of the motor driven by a predetermined pulse width modulation signal, circuitry configured to generate a pulse width modulation signal that controls the inverter circuit according to the inverter control method according to the first example embodiment based on the terminal voltage, and circuitry configured to control the motor by the pulse width modulation signal generated.
A third example embodiment of the present disclosure provides a motor control device of an electric power steering that assists a steering wheel operation by an operator of a vehicle or the like. The device includes circuitry configured to detect a terminal voltage of a motor driven by a predetermined pulse width modulation signal, circuitry configured to generate a pulse width modulation signal that controls the inverter circuit according to the inverter control method according to the first example embodiment based on the terminal voltage, and circuitry configured to control the motor based on the pulse width modulation signal generated.
A fourth example embodiment of the present disclosure provides an electric power steering system including the motor control device of the electric power steering according to the third example embodiment.
The above and other elements, features, steps, characteristics and advantages of the present disclosure will become more apparent from the following detailed description of the example embodiments with reference to the attached drawings.
An example embodiment of the present disclosure will be described in detail below with reference to the accompanying drawings.
A motor control device 1 shown in
To the motor drive circuitry 50, a power supply for driving the motor is supplied from an external battery BT via a power supply relay 27. The power supply relay 27 can be formed so as to be able to cut off the power from the battery BT, and may be formed of a semiconductor relay. The motor drive circuitry 50 is an FET bridge circuit configured of a plurality of semiconductor switching elements (FET1 to FET6). In
The electric motor 15 is, for example, a three-phase brushless DC motor, and the above-described FET bridge circuit is an inverter circuit having three phases (U phase, V phase, W phase) The semiconductor switching elements (FET1 to FET6) constituting the inverter circuit correspond to the respective phases of the electric motor 15. Specifically, the FETs 1 and 2 correspond to the U-phase, the FETs 3 and 4 correspond to the V-phase, and the FETs 5 and 6 correspond to the W-phase, respectively.
The FETs 1, 3, and 5 are upper-arm (also referred to as high-side (HiSide)) switching elements in the U-phase, the V-phase, and the W-phase, respectively, and the FETs 2, 4, and 6 are lower-arm (also referred to as low-side (LoSide)) switching elements in the U-phase, the V-phase, and the W-phase, respectively. A switching element is also referred to as a power element. For example, a switching element such as a metal-oxide semiconductor field-effect transistor (MOSFET) or an insulated gate bipolar transistor (IGBT) is used.
The drain terminals of the FETs 1, 3, and 5 constituting the bridge circuit are connected to the power supply side, and the source terminals thereof are connected to the drain terminals of the FETs 2, 4, and 6, respectively. The source terminals of the FETs 2, 4, and 6 are connected to the ground (GND) side.
The pre-driver circuitry 40 includes a motor terminal voltage input circuitry 41 to which voltages of motor terminals (MU terminal, MV terminal, MW terminal) corresponding to the respective phases of the electric motor 15 are input, and a duty converter 43 that converts the duty of the input voltage waveform input to the motor terminal voltage input circuitry 41.
The pre-driver circuitry 40 further includes command duty generators 11, 21, and 31 each of which generates duty of a PWM signal in response to a command from the controller 30, and command duty correction circuitries 13, 23, and 33 each of which performs correction, to be described below, in response to command duty generated by the command duty generators 11, 21, and 31, corresponding to the respective phases of U, V, and W.
In
The PWM signal generator 17 generates an ON/OFF control signal (PWM signal) of the semiconductor switching element of the motor drive circuitry 50 in accordance with post-correction command duty. At the output side of the PWM signal generator 17, drivers (pre-drivers) 20a to 20f that drive the switching elements (FET1 to FET6) are arranged.
Specifically, the drivers 20a, 20c, and 20e drive the high-side (HiSide) FETs 1, 3, and 5 of the motor drive circuitry (inverter circuit) 50, respectively, and the drivers 20b, 20d, and 20f drive the low-side (LoSide) FETs 2, 4, and 6 of the motor drive circuitry 50, respectively.
Note that in the motor control device 1, for example, a motor control integrated circuit (pre-driver IC) integrated with the pre-driver circuitry 40 including the PWM signal generator 17, the drivers 20a to 20f, the motor terminal voltage input circuitry 41, the duty converter 43, and the like, may be configured.
Next, an inverter control method according to the present example embodiment will be specifically described.
On the other hand,
Note that whether the phase current flows in the positive direction or in the negative direction does not depend on the duty ratio of the drive pulse of that phase, but on the potential difference with another phase (difference from the duty ratio of a drive pulse of another phase).
First, the case where a positive current flows to the U phase will be described. In the motor control device 1 of
At timing t3 in
As described above, in the inverter control, a short circuit state in which the HiSide-FET and the LoSide-FET are simultaneously turned on is prevented. Therefore, as shown in
The MU signal waveform in
Next, the case where a negative current flows in the U phase will be described. In this case, the command duty (duty T1) shown in
At timings t1 and t5, the FET 2 is controlled to be ON and the FET 1 is controlled to be OFF, whereby a negative current denoted by a symbol D in
In the inverter control, even when a phase current in the negative direction flows, dead times (timings t2 and t4) at which both the FETs 1 and 2 are turned off are provided as shown in
At this time, since the MU terminal in
The MU signal in
That is, the MU signal in
In the inverter control method according to the present example embodiment, since the dead time is provided to the drive signal of the FET 2, a process of correcting the command duty in which the duty is in short or in excess is performed as described above. Hereinafter, a method of correcting the duty will be described.
As shown in
Differential duty (ΔD)=command duty (DA)−detected duty (DB) (1)
Furthermore, in the command duty correction circuitry 13, the differential duty (ΔD) obtained by the subtractor 36 and the command duty (DA) are added in the adder 13a. The addition result is input to the PWM signal generator 17 as post-correction command duty (referred to as DC). This is represented by Expression (2) provided below.
Post-correction command duty (DC)=command duty (DA)+differential duty (ΔD) (2)
The PWM signal generator 17 generates a PWM signal according to the post-correction command duty (DC). For example, for the U phase, the HiSide FET 1 and the LoSide FET 2 are driven via the drivers 20a and 20b, respectively.
In the case of the phase current in the positive direction, the detected duty is smaller than the command duty. Therefore, the differential duty is added to the command duty in the duty correction represented by Expression (2) described above. Further, when the phase current flows in the negative direction, the detected duty exceeds the command duty. Therefore, the differential duty that takes a negative value is added to the command duty in the duty correction represented by Expression (2) described above. In other words, the differential duty is subtracted from the command duty.
When the carrier frequency of the PWM drive signal in the inverter control is 20 kHz, one cycle in
As can be seen from a pre-correction characteristic L2 in
As shown in
The detected duty described above is correlated with the direction of the current flowing in each phase, and the direction of the current can be known from the magnitude of the detected duty and the command duty. That is, when the detected duty is smaller than the command duty, the current in the positive direction flows in the phase, while when the detected duty is larger than the command duty, the current in the negative direction flows in the phase.
Therefore, in the inverter control method according to the present example embodiment, the direction of correction is switched according to the timing at which the direction of the phase current changes, and the duty correction process is performed by using the solid line L1 of
Specifically, in the range denoted by the reference numeral 61 of the pre-correction switching characteristic L2, a process of adding a deficient duty (differential duty) to the command duty is performed. As a result, correction is performed to add the phase current (duty) as indicated by the upward arrow in the range 61 of the characteristic L2. This allows the pre-correction switching characteristic L2 to match the post-correction switching characteristic L1.
Further, in the range denoted by the reference numeral 63 of the pre-correction switching characteristic L2, a process to subtract the excess duty (differential duty) from the command duty is performed. As a result, correction is performed by subtracting the phase current (duty) as indicated by the downward arrow in the range 63 of the pre-correction switching characteristic L2. This allows the pre-correction switching characteristic L2 to match the post-correction switching characteristic L1.
In the range denoted by the symbol E in
The inverter control method according to the present example embodiment has a configuration of performing duty control by providing the command duty generator 11 and the command duty correction circuitry 13 to the motor control device 1 of
Based on the determination result of the current direction, the controller 30 determines in step S13 which of the duty correction corresponding to the positive direction and the duty correction corresponding to the negative direction is to be performed. When the direction of the phase current is the positive direction, the controller 30 obtains the difference between the command duty and the detected duty (the above-mentioned differential duty: ΔD) in step S15. Then, in the subsequent step S17, the differential duty (ΔD) is added to the command duty to calculate a post-correction command duty.
On the other hand, when the direction of the phase current is the negative direction, the controller 30 obtains the difference (differential duty: ΔD) between the command duty and the detected duty in step S21. In the subsequent step S23, the differential duty (ΔD) is subtracted from the command duty to calculate a post-correction corrected command duty.
The controller 30 continuously performs the duty correction process on each of the U phase, the V phase, and the W phase, whereby the difference between the command duty output from the controller 30 and the actual duty is fed back to the controller 30. Therefore, even when the current path is switched during the ON/OFF driving of the FET, the phase current changes linearly by the duty correction, so that it is possible to avoid generation of a torque ripple due to a step.
The duty correction by the software processing shown in
The rotating shaft 3 is engaged with the pinion gear 6 provided at a distal end thereof. By the pinion gear 6, a rotational motion of the rotating shaft 3 is converted to a linear motion of the rack shaft 7 and a pair of wheels 5a and 5b provided at both ends of the rack shaft 7 is steered at an angle in accordance with the amount of displacement of the rack shaft 7.
A torque sensor 9 that detects a steering torque when the steering wheel 2 is operated is provided to the rotating shaft 3, and the detected steering torque is transmitted to the motor control device 1. The motor control device 1 generates a motor driving signal based on signals of the steering torque acquired by the torque sensor 9, a vehicle speed from a vehicle speed sensor (not shown), and the like, and outputs the signal to the electric motor 15.
An auxiliary torque for assisting the steering of the steering wheel 2 is output from the electric motor 15 to which the motor driving signal is input, and the auxiliary torque is transmitted to the rotating shaft 3 via a speed reduction gear 4. As a result, since the rotation of the rotating shaft 3 is assisted by the torque generated in the electric motor 15, the steering wheel operation of the driver is assisted.
As described above, the inverter control method according to the present example embodiment corrects the duty of the motor driving signal (pulse width modulation signal) based on the terminal voltage of the motor. Therefore, detection of the motor current and correction according to the sign of the current are unnecessary. Therefore, duty correction that matches the target motor drive can be realized with a simple configuration.
That is, by feeding back, to the controller, a differential duty value calculated from the duty value that the controller desires to output in the motor driving and the duty value that is actually output, it is possible to perform PWM control on the FETs of the inverter circuit by a signal in which the duty that is in short or in excess due to the dead time provided to the pulse width signal is corrected. In this case, when the motor is a three-phase motor, duty correction of the pulse width modulation signal can be performed for each phase of the inverter circuit that drives the three-phase motor.
In addition, since an increase or decrease fluctuation of the duty ratio corresponding to the target motor drive due to the dead time provided to the motor driving signal is compensated, it is possible to prevent shortage or excess of the motor driving current that is a problem in low current control such as around 50% duty particularly, to thereby suppress generation of a torque ripple.
Furthermore, by correcting the duty according to the current direction (direction of the phase current) of the motor determined based on the terminal voltage of the motor, it is possible to suppress occurrence of torque ripple at the switching timing of the motor current.
Further, in the motor control device for the electric power steering, by controlling the inverter circuit while correcting the duty of the motor driving signal (pulse width modulation signal) according to the actual operation based on the terminal voltage of the motor by the above-described inverter control method, it is possible to realize smooth steering assist by suppressing generation of a torque ripple in the motor for the electric power steering with a simple configuration.
The example embodiment of the present disclosure is not limited to the example embodiment described above, and various modifications are possible. For example, the configurations of the controller 30 and the pre-driver circuitry 40 of the motor control device 1 according to the above-described example embodiment are not limited to the examples shown in
By doing this, the CPU 60 of the controller 30 realizes duty calculation, PWM generation, and the like by a software program stored in the memory 25. In addition, it is possible to respond flexibly and quickly to the changes in the specification of the inverter control and the like.
On the other hand, the controller 30 includes the PWM signal generator 17, the duty converter 43, the command duty generators 11, 21, and 31, command duty correction circuitries 13, 23, and 33, the CPU 60 that controls the entire controller, and the like. Thereby, it is possible to implement duty calculation, PWM generation, and the like according to the software stored in the memory 25 by the CPU 60 of the controller 30 while simplifying the configuration of the pre-driver circuitry 40, and to flexibly respond to the changes in the specification of the inverter control and the like.
That is, the controller 30 includes the PWM signal generator 17, the motor terminal voltage input circuitry 41, the duty converter 43, the command duty generators 11, 21 and 31, the command duty correction circuitries 13, 23 and 33, the CPU 60 that controls the entire controller, and the like.
As described above, in the third modification, by integrating the functions other than the pre-driver function into the controller 30, it is possible to provide a flexible configuration in which inverter control can be completed by the controller 30 by the software stored in the memory 25 of the CPU 60.
Features of the above-described example embodiments and the modifications thereof may be combined appropriately as long as no conflict arises.
While example embodiments of the present disclosure have been described above, it is to be understood that variations and modifications will be apparent to those skilled in the art without departing from the scope and spirit of the present disclosure. The scope of the present disclosure, therefore, is to be determined solely by the following claims.
Number | Date | Country | Kind |
---|---|---|---|
2018-174938 | Sep 2018 | JP | national |