Motor control circuit
10666183 ยท 2020-05-26
Assignee
Inventors
Cpc classification
H02P6/10
ELECTRICITY
B62D5/0484
PERFORMING OPERATIONS; TRANSPORTING
B62D5/0463
PERFORMING OPERATIONS; TRANSPORTING
International classification
H02P29/024
ELECTRICITY
H02P6/10
ELECTRICITY
B62D5/04
PERFORMING OPERATIONS; TRANSPORTING
Abstract
A motor control circuit for an electric motor of an electric power assisted steering system comprises a switching circuit comprising a plurality of electrical switches, a current demand signal generator which converts the torque demand signal into a current demands signal; and a fault mode motor current controller that is responsive to an error signal that represents the difference between the current demand signal and the actual current flowing in the motor and is operable in the event of a fault where one phase is open-circuit to drive the remaining two phases as a single combined phase by generating a single voltage demand signal that is representative of the voltage to be applied across the combined phases, the voltage signal being in turn fed into a drive circuit for the switches that generates pulse width modulated switching signals for the switching circuit required to apply the voltage across the combined phases.
Claims
1. A motor control circuit for an electric motor of an electric power assisted steering system in which a measurement of torque carried by a part of the electric power assisted steering system is used to produce a torque demand signal indicative of a torque to be applied to the electric power assisted steering system by the electric motor, the circuit comprising: a switching circuit comprising a plurality of electrical switches; a current demand signal generator which converts the torque demand signal into a current demand signal; and a fault mode motor current controller that is responsive to an error signal that represents a difference between the current demand signal and an actual current flowing in the electric motor and is operable in the event of a fault where one phase is open-circuit to drive the remaining two phases as a single combined phase by generating a single voltage demand signal that is representative of a voltage to be applied across the combined phases, the voltage demand signal being in turn fed into a drive circuit for the electric switches that generates pulse width modulated switching signals for the switching circuit required to apply the voltage across the combined phases; further including at least one normal mode current controller which is used during normal operation of the motor when there are no open circuit faulted phases and in which the current control circuit is adapted to switch between the at least one normal mode current controller and fault mode current controller in the event that a phase has faulted as an open circuit.
2. The motor control circuit according to claim 1 in which the drive circuit for the switches is arranged to apply a voltage across the single combined phases so that a polarity of the voltage is reversed each time the electric motor has rotated through 180 degrees and in which a start and end of the 180 degree rotation is aligned with a position of the faulted phase.
3. The motor control circuit according to claim 1 in which the switching circuit is driven in a first mode to apply the voltage demanded by the controller across the single combined phase by clamping a first end of the combined phase to a positive supply and applying a pulse width modulated signal to a second end of the combined phase over one half of an electrical rotation of the electric motor, and during the other half of an electrical rotation of the electric motor the switching circuit is driven in a second mode by clamping the second end to ground and applying a pulse width modulated signal to the first end, a changeover between the two modes corresponding to a position of the failed open circuit phase.
4. The motor control circuit according to claim 3 where the switching circuit comprises a bridge with each end of a phase connected to a supply voltage through a top switch and to a ground voltage through a bottom switch, and in which the first end of the combined phase is clamped to the supply voltage by turning on the top switch during a whole pulse width modulated cycle and the bottom switch off, whilst modulating the electrical switches connected to the first end of the combined phase.
5. The motor control circuit according to claim 4 in which the second end of the combined phase is clamped to the ground by turning on the bottom switch during the whole pulse width modulated cycle and the top switch off, whilst modulating the switches connected to the first end of the combined phase.
6. The motor control circuit according to claim 1 which is arranged to generate the error signal fed to the fault mode motor current controller by comparing the current demand signal with an actual current flowing in any one of the two unfaulted phases.
7. The motor control circuit according to claim 6 which is arranged to supply a different current error signal to the normal mode motor current controller compared with that fed to the fault mode motor current controller, the error signal fed to the normal mode motor current controller comprises a vector defined in a frame of reference that is fixed relative to a position of the electric motor produced by comparing a d-q axis current demand signal with a d-q axis actual current signal.
8. The motor control circuit according to claim 7 which comprises two normal mode current controllers, one controlling a d-axis component of the current and the other a q-axis component of the current and in which both are disabled in the event of an open circuit fault of a phase.
9. The motor control circuit according to claim 1 which is adapted so that each of the currents demanded for two non-faulted phases are waveshaped to reduce a torque ripple as the electric motor rotates, the waveshaping comprising varying a magnitude of the current demand signal as a function of motor position.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
DETAILED DESCRIPTION OF THE INVENTION
(13) Referring to
(14) The switching circuit comprises a three phase bridge 8, one for each phase of the motor. Each arm 10, 12, 14 of the bridge comprises a pair of switches in the form of a top switch (transistor 16) and a bottom switch (transistor 18) connected in series between a DC voltage supply rail 20 and a ground line 22. The motor windings 2, 4, 6 are each tapped off from between a respective complementary pair of transistors 16, 18. The switches can be open (OFF) or closed (ON).
(15) The transistors 16, 18 are turned on and off in a controlled manner by a motor controller 21, which is shown in detail in
(16) A current measuring device in the form of a resistor 24 is provided in the ground line 22 between the motor 1 and ground so that the controller 21 can measure the total current flowing through all of the windings 2, 4, 6. In order to measure the current in each of the windings the total current has to be sampled at precise instances within the PWM period where the voltage applied to each terminal of the winding (and hence the conduction state of a particular phase) is known. If preferred a separate current sensor could be provided for each phase.
(17) The controller in this example uses a Space Vector Modulation (SVM) algorithm although any modulation technique can equally be used within the scope of the present invention and this should not be construed as limiting.
(18) Each winding 2, 4, 6 in a three phase system can only be connected to either the supply rail 20 or the ground line 22 and there are therefore eight possible states of the switches of the control circuit. Using 1 to represent one of the phases being at positive voltage and 0 to represent a phase connected to ground, state 1 can be represented as [100] indicating phase U at 1, phase V at 0 and phase W at 0, State 2 is represented as [110], state 3 as [010], state 4 as [011], state 5 as [001], state 6 as [101], state 0 as [000] and state 7 as [111]. Each of states 1 to 6 is a conducting state in which current flows through all of the windings 2, 4, 6, flowing in one direction through one of them and in the other direction through the other two. State 0 is a zero volt state in which all of the windings are connected to ground and state 7 is a zero volt state in which all the windings are connected to the supply rail.
(19) During normal operation when the switching circuit is being controlled by the controller 21 to produce pulse width modulation, each of the phases 2, 4, 6 will normally be turned on and off once in each PWM period. The relative lengths of time that are taken up in each state will determine the magnitude and direction of the magnetic field produced in each winding, and hence the magnitude and direction of the total torque applied to the rotor.
(20) The motor control circuit of
(21) The torque demand signal is fed into the current controller, which converts the torque demand into a current demand according to known characteristics of the motor. The current demand signal is set as a d-q axis current value, which comprises a vector in a frame of reference that is fixed relative to the motor rotor.
(22) The current controller compares the current demand signal with the actual current flowing in the motor, also in the dq frame of reference, to produce an error signal. The current controller then produces voltages to be applied to each phase that will drive the error to a minimum, thereby ensuring that the actual current matches the demanded current.
(23) The current in the motor causes the motor to generate the demanded assistance torque, and this torque makes it easier for a driver to turn the steering wheel. The system therefore has two closed loopsthe torque controller loop which sets the assistance torque, and the current controller loop which drives the current error to zero and so sets the current in the motor.
(24) As shown in
(25) The d-q frame voltage is then converted into the three voltages needed for the three phases by first converting it into two voltages in the alpha beta frame using a Park transform as follows:
Alpha axis voltage demand=d axis voltage demandCOS(motor position)q axis voltage demandSIN(motor position)
Beta axis voltage demand=d axis voltage demandSIN(motor position)+q axis voltage demandSIN(motor position)
(26) where the motor position is a value indicative of the position of the rotor or some other position within the motor.
(27) The two voltages are the converted into the three voltages using the following equations:
Phase U voltage demand=Alpha axis voltage demand
Phase V voltage demand=(Alpha axis voltage demandBeta axis voltage demand3)
Phase W voltage demand=(Alpha axis voltage demandBeta axis voltage demand3)
(28) These three voltages are then applied to the respective phases using any known PWM strategy by a PWM converter 38. The controller constantly attempts to drive the error signal to zero, which ensures that the current in the motor phases matches the demanded current.
(29) To apply the Park transform, the current controller block requires a measured or estimated motor position signal as an input parameter. This is provided by the position calculator block shown in
(30) In normal use, the position calculator outputs a position signal that is representative of the actual position of the motor rotor. This can be derived from the output of a position sensor. Alternatively, in a position sensorless system this may be derived from an estimate of position obtained from observing the currents flowing in the motor.
(31) In a fault mode where one phase is faulted as an open circuit, the calculator block does not output a position signal indicative of the motor rotor position. Instead, it outputs a signal indicative of the position of the faulted open circuit. This may take one of three discrete values, each 120 degrees apart, for a typical three phase motor. The position calculator switches between normal and fault modes in response to an output from a fault indication block (give example of how this block functions).
(32) By fixing the angle when a fault occurs, the same converter and equations used in the normal mode can be used in order to produce two voltage signals, one for each of the unfaulted phases, as shown in
(33) In practice, the circuit of
(34) The embodiment of
(35) In a modification, shown in
(36) The fault mode controller is simpler than the normal current controller in that it drives the two unfaulted phases as a single combined phase. The applicant has appreciated that in the fault mode the current flowing into one of the unfaulted phases can only be equal to the current flowing out of the other phase. As such the end of one phase can be fixed to the DC supply rail or ground and the other phases PWM modulated, which means that the controller only needs to calculate a single voltage demand signal from the error signal. This single voltage demands signal can then be applied across the combined phases using any known PWM technique.
(37) To determine the single voltage demand signal, the torque demand is first converted into a current demand value that is not in the d-q frame, but is simply a current that is proportion to the torque (or related in some other manner according to the motor characteristics). The controller then compares the current flowing in any of the two unfaulted phases with the current demand signal to produce an error signal, and this is fed into a PI controller with appropriate gains. The output of the PI controller is then converted into a single voltage, or may be used directly as the single voltage. Finally this single voltage is applied across the combined phases using a PWM strategy.
(38) In one advantageous PWM strategy, shown in
(39) The switch means may be driven in a first mode to apply the voltage demanded by the controller across the single combined phase by clamping a first end of the combined phase to the positive supply and applying a PWM signal to the second end of the combined phase over one half of an electrical rotation of the motor rotor. For example, with the U phase faulted, the V phase may be clamped to the positive supply by closing the top switch and opening the bottom switch and modulating the W phase switches.
(40) During the other half of the electrical rotation of the rotor the switch means are driven in a second mode by clamping the second end to ground and applying a PWM signal to the first end, the changeover between the two modes corresponding to the position of the failed open circuit phase. In the example of the preceding paragraph, this will comprise turning on the bottom switch of the W phase and turning off the top switch of the W phase, then modulating the switches of the V phase.
(41) The PWM modulation is therefore only applied to one phase of the combined phases, but is set to control the overall voltage applied across the combined phases.
(42) The signals applied to each of the switches of the bridge are shown in
(43) In both embodiments there will still be some ripple present in the motor torque when operating in the fault mode. This is because there are two points in each full rotation of the rotor where the torque generated by the motor will be zero. Also, if the demanded current is held constant the torque will still vary with rotor position.
(44) To reduce this, the current demand signal may be waveshaped so that it varies with angular position of the rotor. A suitable waveshape may comprise applying a linear or non-linear ramp gain to the current demands signal as a function of rotor position. For example a non linear function such as a cosine of cosecant curve could be applied. An example of a shaped waveform is shown in
(45) Note that the waveform in
(46) In accordance with the provisions of the patent statutes, the principle and mode of operation of this invention have been explained and illustrated in its preferred embodiments. However, it must be understood that this invention may be practiced otherwise than as specifically explained and illustrated without departing from its spirit or scope.