Application No. PCT/GB2013/053325 filed Dec. 17, 2013, the disclosures of which are incorporated herein by reference in entirety, and which claimed priority to Great Britain Patent Application No. 1223174.2 filed December. This application is a national stage of International 21, 2012, the disclosures of which are incorporated herein by reference in entirety.
The present invention relates to the control of electric motors, and in particular to pulse width modulation (PWM) control of multiple phase brushless motors.
In order to control a brushless electric motor it is necessary to determine the position of the rotor of the motor so that the current through the motor phase windings can be controlled to produce the desired torque. The position can be measured using a dedicated position sensor or by estimating the position from other parameters using a position sensorless control scheme.
PWM control is typically implemented using a closed loop current controller of the kind shown in
Typically for a 3 phase motor the driver comprises a 6 FET bridge arranged to apply the desired voltages to the motor phase terminals in a PWM pattern to achieve the desired phase currents. Using six switches, each of which can be opened or closed, there are eight possible states for the switches of the bridge, two so called zero voltage states and six active states. The PWM pattern is constructed using Space Vector Modulation by combining, within each modulation period one or more active states with one or more of the zero states in a defined PWM pattern. Other non-SVM techniques are also taught in the literature.
A wide discussion of different motor control schemes is provided in the applicants earlier application, PCT/GB2003/0023639A1. That document teaches the use of specific PWM patterns that include one or more test periods where the current flowing in the motor can be measured. Using two appropriate test periods it is possible to estimate the current in all three phases. The document also teaches a refinement in which the inductance of the motor can be determined from the current measurements, again requiring the provision of appropriate test periods. It is known that inductance varies with motor position, and so by determining the inductance the position of the motor can be estimated. The teaching of that document is incorporated herein by reference in entirety.
A number of suitable “types” of PWM pattern exist, each type of pattern being defined by one or more characteristic features of the PWM waveforms applied to each phase of the motor. Generally PWM modulation patterns fall into three main types: centre aligned PWM in which the centre of each pulse is aligned with the centre of the modulation period and both leading and trailing edges are modulated, trailing edge PWM in which the leading edges of the pulses are all aligned with the start of the period and the trailing edges are modulated, and leading edge PWM in which the trailing edges are aligned with the end of the period and the leading edges are modulated.
As already mentioned, in order to enable the appropriate current measurements to be made each of the three basic types of PWM pattern of the PWM strategy may be modified by shifting the fixed edges or centre of the pulses to ensure that within each PWM period there exists states suitable test periods of time.
The need to allow for the time for the current sensor to settle dictates how far the fixed leading edges must be shifted in this PWM type from a simple PWM type where all leading edges are aligned with the start of the PWM period. This shifting reduces the maximum modulation that can be achieved whilst retaining the pattern. In a typical control scheme, one of the patterns from the set will be used all the time, with a different pattern only being chosen if the preferred pattern cannot be used to assemble the SVM vectors. This simplifies the algorithm used to allocate the vectors to the pattern.
According to a first aspect the invention provides a control system for a multiphase electric motor comprising processing means arranged to monitor electrical currents in the motor and the rotational position of the motor and to determine therefrom a duty cycle for PWM voltage waveforms to be applied to each phase of the motor, the PWM voltage waveforms being arranged in a PWM pattern, characterised in that:
The processing means may be arranged to use a vector control strategy to determine a number of vector states for use in each phase within a PWM period and to determine if the assigned PWM pattern for that position can be used to assemble the determined vector states, and in the event that it determines that the assigned PWM pattern can be used, the processing means may allocate the PWM pattern assigned to the rotor position unless the PWM pattern currently used is different in which case it will continue to use that different pattern until the rotor reaches a different position or range of positions.
The processing means may be arranged so that it does not switch back to the assigned PWM pattern, when it is currently using a different PWM pattern it has previously been forced to switch to, unless it is forced to switch to the assigned PWM pattern because the demanded voltage waveforms require such as change of pattern. Thus, changes of pattern may only occur when forced due to the demanded voltages or on the rotor moving into a new range of positions. Any other unnecessary changes of pattern will be restricted.
The control system of the invention allocates PWM patterns which are assigned according to rotor position unless it is unable to do so and a different pattern must be chosen, yet when the voltages again return to ones where the assigned PWM pattern could be allocated it does not force a change of pattern but retains the current pattern until the rotor has moved to a position to which a different pattern has been assigned. In this way an unnecessary change in PWM pattern which would occur if the processing means always used the assigned PWM pattern whenever possible is avoided. Changes will then only occur when they are forced, either by increasing demanded motor current or when the rotor position has changed.
The applicant has appreciated that for any given rotor position, the choice of which PWM pattern from a set of patterns to use is arbitrary when only low motor torques are required. This is because any given PWM pattern can be used to assemble the SVM states that are demanded using space vector modulation (SVM).
However, at higher demanded motor torques it may not be possible to use all of the PWM patterns to provide the required waveforms for each phase. If the pattern cannot accommodate the required pulse widths, a move to a different PWM is forced.
The applicant has appreciated that in certain applications, such as electric power steering where the motor is used to apply an assistance torque to a steering apparatus, it is beneficial to continue to use a given PWM pattern for as long as possible. This is because a change to a different PWM pattern can produce unwanted noise, Also, using a different pattern can sometimes lead to slightly different currents and torques which can be felt by the driver through the steering wheel.
The invention therefore does not force a change of PWM pattern if it is not needed to allow for large torques or due to change of position.
The processing means may be arranged to assign a predefined PWM pattern for use when the rotor position lies within a range of absolute motor rotational position angles. This may be measured relative to a fixed datum on the stator of the motor.
The assigned PWM patterns of the set of patterns may be stored in a memory in a look up table together with the corresponding position or range of positions to which each pattern is assigned.
In a preferred arrangement, the processing means divides a complete motor electrical rotation into six equal angle ranges, and assigns a unique PWM pattern to each of the six ranges, normally selecting the assigned pattern whenever the rotor position moves into a range. For a three phase motor, six patterns cover all possible patterns within a given PWM type. Thus, each of the six patterns of the type is used once per full rotation.
In an alternative, the pattern may be changed every 30 degrees, so that each of the six PWM patterns is used twice in a full rotation.
Of course, if desired less than the full six patterns could be used, perhaps as few as two patterns, or three patterns out of the six patterns.
In an alternative the processing means may assign a PWM pattern to a relative range of rotor positions. It may, for example, assign a different pattern every time the rotor moves through a given angle which may not be an integer divisor of a full rotation, such as a 50 degree rotation. It may store a sequence of PWM patterns and move through the sequence as the rotor rotates. A change will be forced whenever the rotor has moved through the given range. A counter may be provided for counting the rotation of the rotor.
A large variety of different patterns of PWM can be used whilst retaining the advantages of the present invention.
The processing means may be adapted to assign patterns in a set sequence, the sequence repeating each time the rotor has rotated through a predetermined angle. For instance, the sequence may repeat once per revolution of the motor or part revolution. In an alternative, a set of patterns may be provided and the processing means may assign a pattern using a random or pseudo random sequence from the set of patterns. Thus, whenever a forced change is made the next one in the sequence, whether set, or random, or pseudo-random, will be selected.
In one preferred arrangement, the processing means may allocate a trailing edge modulated pattern for a given position of range of positions in which a single pulse is applied to each phase in a given PWM period, the duty ratio being defined by the duration of the pulse relative to the PWM period, and in which the leading edges of each pulse are fixed at respective positions within the period, all three leading edges occurring prior to any trailing edges of the pulses and defining between the leading edges test period within which current measurements are taken, the processing means modulating the trailing edge of each pulse. The processing means may vary the duty ratio to control the current flowing in the phase of the motor.
The assigned PWM pattern may provide at least one test period of time within each PWM period within which the current flowing into one phase can be measured. Preferably where the motor is a three phase motor two such periods of time are provided, the processing means being arranged to measure in a first period current that flows into one phases and to measure in a second period the current flowing out of the a second one of the phases, the processing means estimating the current in the remaining phase from the two current measurements.
Providing such a pattern or patterns enables test regions suitable for use in measuring the current flowing through each of the three phases to be made.
The control system may perform a sensorless position determining algorithm which determines the position of the rotor from the currents measured in the test periods. Such an algorithm is known, for example, for PCT/GB2003/0023639A1.
The control system may only allocate PWM patterns which include more than one test period within each PWM period. This allows a test to be made in each period, giving a high resolution for the position measurement that may be made. Alternatively it may assign a mixture of PWM patterns that do not have test periods and PWM patterns that do. The assigned PWM pattern may provide two or more test periods of time within each PWM period within which the current flowing into one phase can be measured.
The control system may include a switching means comprising a plurality of switches arranged in pairs, each pair defining a first switch connecting a phase of the motor to a first voltage, and a second switch connecting the phase to a second, different, voltage, the demanded PWM waveforms being applied to the switches to control the voltages applied to each phase.
According to a further aspect the invention provides in combination an electric motor, a switching means connecting the phases of the motor to an electrical supply and a control system according to the first aspect of the invention, the control system controlling current flowing in the phases of the motor by applying the PWM waveforms to the switches of the switching means.
Other advantages of this invention will become apparent to those skilled in the art from the following detailed description of the preferred embodiments, when read in light of the accompanying drawings.
The following example relates to position sensorless control of motors. The present invention is especially suited to such a control strategy but it should be understood that the invention can be used in a system in which a position sensor is provided for measuring position.
Referring to
A stator 6 comprises a nine slot copper wound element having three groups of three teeth 8A, 8B, 8C each group of teeth having a common winding forming a respective phase. There are therefore three electrical cycles in each full rotation of the rotor, and the three teeth 8A, 8B, 8C in any phase are always in the same electrical position as each other.
Referring to
A current measuring device in the form of a resistor 34 is provided in the ground line 32 between the motor 1 and ground so that the controller 33 can measure the total current flowing though all of the windings 12, 14, 16. In order to measure the current in each of the windings the total current has to be sampled at precise instants 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. A further, optional, sensor 36 which is a di/dt sensor arranged to measure rate of change of current is provided in the ground line 32 in series with the current sensor 34. The di/dt sensor 36 is used to measure the inductance of the phases, and hence the position of the rotor as will be described below. In an alternative, not shown, dedicated positions sensor may be provided which produces an output signal indicative of the relative position of the rotor and stator. This may comprise a rotary encoder.
To determine the current in all three phases it is sufficient to take just two current measurements, as long as the measurements are made at appropriate test periods of time as follows:
1. In a first test period apply a positive voltage, +V, to one phase for sufficient time to determine the current;
2. In a second test period apply a negative voltage, −V, to a different phase for sufficient time to determine the current. The current in the third phase can then be estimated from because the sum of all the three phase currents has to be zero.
The controller 33 is arranged to control the voltages applied to the phases A, B, C using pulse width modulation (PWM) to control the output torque of the motor as will now be described.
Referring to
States 1, 2, 3, 4, 5 and 6 are herein also referred to as states +A, −C, +B, −A, +C and −B respectively, because they each represent the states in which the voltage applied across the windings is in a positive or negative direction for a respective one of the phases. For example in the +A state the A phase is connected to the supply rail and the other two phases are connected to the ground link, and in the -A state the connections are reversed.
When the circuit is being controlled to produce pulse width modulation, each of the phases 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. These lengths of time can be calculated by various modulation algorithms but in this embodiment a space vector modulation technique is used.
PWM patterns that incorporate the positive and negative current measurement voltages, or “test periods” across each of the phases are incorporated into the three-phase PWM waveform by inserting extra non-zero states into the applied PWM voltage pattern. This technique is conveniently described here using Space Vector Modulation (SVM), although any PWM modulation scheme could be adapted to implement the technique. It is notable that each of the six patterns of
Referring to
This means that any desired voltage in the windings can be represented as a point on the diagram which corresponds to a voltage vector which represents the magnitude and direction of the voltage, and can be produced by a combination of state vectors s1, s2, etc. the length of which represent the time in each PWM period spent in that state.
An example of test vectors, which represent the test voltages applied to the windings, is shown in
To measure the current, a finite time is required for the sensors and associated circuitry to settle, and the reading to be taken. The minimum time required to measure the current is herein defined as Tsd Therefore each of the vectors must be of minimum length Tsd as illustrated in
It can be seen that the test vectors shown in
Rather than using one PWM pattern all the time, all six of the PWM patterns shown in
At low torques, each of the six possible PWM patterns can be used to realise the state vectors of
Each pattern in the set of six PWM patterns therefore has certain characteristics in common with the others of the same type. In particular, in this example, a single pulse is applied to each phase within a PWM period, and the leading edges of the three pulses are spaced apart by a set time test, starting with the first pulse aligned with the start of the PWM period. The order of the leading edges varies between the six PWM patterns. The duty ratio for each phase is then varied to apply the demanded phase voltages, keeping the location of the leading edges fixed.
Each of the six possible PWM is assigned by the processing means to a different 60 degree range of motor rotor positions. For example, for rotor positions 0-60 degrees the first sector could be used, for 60-119 the second could be used, and so on. This is shown in
The choice of pattern for each range of motor rotor positions is largely arbitrary at low demanded voltages. The main benefit to changing PWM pattern with angle is that it helps reduce specific harmonics while also helping disguise changes in feel that occur when the sector change. Keeping the same pattern when the motor is held at a given rotor position eliminates the possible risk of the subtle variation in torque and current that can occur when different patterns are used and which may be noticeable. Changing the pattern as the motor rotates removes unwanted harmonics that may otherwise occur.
The applicant has appreciated that the use of an assigned PWM pattern for a given position and forcing a change of pattern only when the rotor has moved to a new range can be rigidly enforced at low torques but that at higher torques the pattern can no longer be chosen arbitrarily. This is because there will be times where the voltages that must be applied to one or more of the phases are either too low or too high for the required sequence of leading edges and trailing edges to be retained. The permitted range of duty ratios is shown in cross hatching in
To illustrate this point,
In this case the processing means will force a change to the alternative pattern which will allow the voltage pulse to fit and which retains the required testing periods. The requested voltage requires it to be in the second pattern of
Following a forced change of pattern, either to accommodate high torques or due to a change in position, the processing means will continue to generate PWM signals using SVM, and to assign those to the most recently used PWM pattern. Therefore it will not revert back to the assigned pattern for the given rotor position even when the demand torque drops to a level that would permit it, only changing when the position moves into the adjacent range of positions. This ensures that the PWM pattern is not constantly changing as torque increases and decreases, which may otherwise produce an unusual feel.
It will be understood that various modifications are possible. In an alternative embodiment that processing means may define a sequence of PWM patterns, and may force a change in pattern to the next one in a sequence whenever the motor rotor has moved though a defined range of angles from a start position. For instance it may force a change in pattern whenever the rotor has moved through 100 degrees, or 50 degrees, or even more than one rotation, e.g. 400 degrees.
The sequence may step through all six PWM patterns shown in
The choice of patterns may also differ from those shown in
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.
Number | Date | Country | Kind |
---|---|---|---|
1223174 | Dec 2012 | GB | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/GB2013/053325 | 12/17/2013 | WO |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2014/096807 | 6/26/2014 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
4989128 | Ohyama | Jan 1991 | A |
6281656 | Masaki | Aug 2001 | B1 |
7015664 | Coles et al. | Mar 2006 | B2 |
7461832 | Zhang | Dec 2008 | B2 |
7688018 | Goto et al. | Mar 2010 | B2 |
8421394 | Schmitt et al. | Apr 2013 | B2 |
8981703 | Bosch | Mar 2015 | B2 |
20050269982 | Coles | Dec 2005 | A1 |
20070069676 | MacKay | Mar 2007 | A1 |
20090167223 | Goto | Jul 2009 | A1 |
20090277343 | Ghimire | Nov 2009 | A1 |
20100072980 | Schmitt | Mar 2010 | A1 |
20110012544 | Schulz | Jan 2011 | A1 |
20120074888 | Maekawa | Mar 2012 | A1 |
20130043821 | Bosch | Feb 2013 | A1 |
Number | Date | Country |
---|---|---|
1689220 | Oct 2005 | CN |
101326707 | Dec 2008 | CN |
101573862 | Nov 2009 | CN |
102783010 | Nov 2012 | CN |
2490848 | Nov 2012 | GB |
1020070007279 | Jan 2007 | KR |
2004023639 | Mar 2004 | WO |
Entry |
---|
Patent Act 1977: Search Report under Section 17(5), Application No. GB1223174.2 dated May 4, 2013. |
PCT International Search Report and the Written Opinion, Application No. PCT/GB/2013/053325 filed Dec. 17, 2013, dated Nov. 24, 2014. |
Notification of the Third Chinese Office Action, Application No. CN201380066791.1, dated May 21, 2018. |
Number | Date | Country | |
---|---|---|---|
20150349682 A1 | Dec 2015 | US |