The present invention relates to the control of electrical machines. The invention is primarily targeted at salient permanent magnet sinusoidal motors (PMSMs) with low per-unit mutual inductance. However, it is applicable to any type of sinusoidal machine (including induction motors and synchronous reluctance motors) that have self and mutual inductances that vary with rotor position.
Various methods are known for determining the rotational position of an electrical machine without using a dedicated position sensor. These are known as sensorless techniques. Many known methods use current sensors arranged to measure the current in the coils of the machine together with algorithms that can determine the position of the motor from the current measurements. Examples of such systems are described, for example in WO2004/023639A and WO2006/037966.
The present invention provides a control system for an AC electric machine, such as a motor, which comprises a rotor and a stator and a plurality of phase windings connected in a star formation, each winding having one end connected to a common neutral point and another end arranged to have a terminal voltage applied to it. The control system comprises switching means which may be arranged to control the terminal voltages applied to the windings, and control means, which may be arranged to control the switching means, for example so as to switch it between a plurality of states in each of a sequence of PWM periods. The control means may be further arranged to measure the voltage at the neutral point at sample times, which may for example be within the PWM periods, and to generate from the measured voltages an estimation of the rotational position of the rotor.
The neutral point voltage may include a component that varies with the inductance of the windings, and therefore with the position of the rotor. It may also include other components, such as a DC component and harmonics. In some cases, for example where this component that varies with position is small, the control means may be arranged to perform one or more steps to extract this component from the measured neutral point voltage and use this extracted component of the measured voltage to estimate the motor position.
The control means may be further arranged to measure a DC link voltage and to further use the DC link measurement to generate the position estimation.
The control means may be arranged to measure the neutral point voltage when all of the phases are connected to the DC link voltage thereby by to generate an estimation of the DC link voltage, and to use that estimation to generate the position estimation.
The control means may be arranged to compare the measured DC link voltage with the estimated DC link voltage and if they fail to meet a consistency condition, to generate a fault indication.
The sample times may be within the PWM periods. However in some cases they may be outside the normal torque-generating PWM periods during times when voltages are applied to the windings specifically for the purpose of position estimation.
The control means may be arranged to measure the neutral point voltage during two complementary states within one PWM period, during two pairs of two complementary states within one PWM period, or during each of a number of non-complementary states equal to the number of phases of the motor, within one PWM period. Where the machine is a three-phase machine this will be three active states.
The control means may be arranged to define a minimum state time for neutral point voltage measurement and a minimum number of active states within a PWM period in which the neutral point voltage needs to be measured. It may be arranged to determine a demanded net voltage for the PWM period, and to control the switching means so as to provide at least the minimum number of active states, each for at least the minimum state time. It may also be arranged to control the switching pattern so as to provide the demanded net voltage.
The present invention further provides a method of sensing the position of a sinusoidal machine comprising measuring a neutral-point voltage in at least two inverter states and determining motor position from the measured voltages.
The present invention is best suited to motors with low per-unit mutual inductance, but may also be suitable for motors with higher mutual inductance. It is therefore particularly well suited for motors with concentrated windings as these tend to have lower mutual inductance than distributed windings. It is equally applicable to systems with a single current sensor in the DC link and with multiple phase current sensors. It is suitable for any drive application but is particularly attractive for sensorless electric drive applications where low acoustic noise is required. Some embodiments are in particular suitable for use with PWM injection sensorless control.
The original target application for the present invention is a salient PMSM with concentrated windings and low per-unit mutual inductance with a single current-sensor drive for an automotive application.
Some embodiments of the present invention differ from other techniques that attempt to derive the electrical position from the neutral point voltage in that the resolution is far greater, resolving position down to levels associated with carrier frequency injection techniques, and is only limited by the resolution of the measurement hardware.
An example of an existing technique which uses the neutral point voltage is the ELMOS VirtuHall product which produces an electrical position signal with a resolution of 30° (electrical).
The present invention further provides a control system for an AC electric motor which comprises a rotor and a stator and a plurality of phase windings connected in a star formation, each winding having one end connected to a common neutral point and another end arranged to have a terminal voltage applied to it, the control system comprising switching means arranged to control the terminal voltages applied to the windings and conirol means arranged to control the switching means so as to switch it between a plurality of states in each of a sequence of PWM periods, wherein the control means is further arranged to measure the voltage at the neutral point when all of the phases are connected to the DC link voltage thereby by to generate an estimation of the DC link voltage.
The control means may be further arranged to compare a measured DC link voltage with the estimated DC link voltage and if they fail to meet a consistency condition, to generate a fault indication.
Preferred embodiments of the present invention will now be described by way of example only with reference to the accompanying drawings.
Referring to
Referring to
A voltage sensor 26 is arranged to measure the voltage at the neutral point 16 and provide a voltage signal as an input to the controller 24 which varies with that neutral point voltage. Also voltage sensor 28 is connected in a DC link between the two rails 21, 23 to measure the voltage of the top rail 21 relative to the bottom rail 23, and hence the total voltage applied across the drive circuit 18. The controller 24 also receives an input indicative of the drive that is required from the motor, for example in the form of a current demand, or a torque demand. The controller 24 is arranged to control the drive circuit using pulse width modulated PWM control in which, for each of a series of PWM periods of equal length, the net voltage required is determined, and then the combination of states and their duration required to produce the required net voltage are calculated and applied to the windings.
In a star-point connected motor such as that of
i
u
+i
v
+i
w=0 (1)
Furthermore, for a motor with perfect sinusoidal three-phase rotor back-EMFs, the sum of the rotor back-EMFs is also zero:
e
u
+e
v
+e
w=0 (2)
From
Where L represents self-inductance and M represents mutual inductance such that Luu, Lvv and Lww are the self inductances of phases u, v and w respectively; Muv is the mutual inductance between phase u phase v and so on. (Note that the coupling from phase u to v is the same as from phase v to u, i.e. Muv=Mvu)
Summing equations (3a), (3b) and (3c) and substituting equations (1) and (2) to eliminate the ohmic and rotor back-EMF voltage drops, the neutral point voltage is then:
In general for an ideal non-salient motor with three-phase sinusoidally distributed windings the mutual inductance is minus half the self-inductance, that is:
In which case the mutual and self-inductances in equation (4) sum up to zero and the neutral point voltage simplifies to:
In reality mutual inductance is always slightly less than 50% of the self inductance due to practical effects such as flux leakage, although for most conditions the ideal conditions stated above can be assumed.
However, for motors with concentrated windings it is possible to achieve mutual inductances significantly lower than 50% of that self inductance. For example, for some motors it is possible to design a salient PMSM with a mutual inductance that is less than 10% of the self-inductance, such as a 12 slot 10 pole motor. In which case the mutual inductance terms can be eliminated and equation (4) approximates to:
Hence with low mutual inductance motors extra terms appear in the neutral point voltage that depend on the incremental inductance of the motor phases. Assuming an unsaturated salient motor with sinusoidal inductance distribution, these inductances will be of the form:
Where for a PMSM
Where Ld is the direct-axis inductance and Lq is the quadrature-axis inductance. In a salient PMSM Lq>Ld.
Combining equations (7) and (8) and eliminating the mean component of the inductances using equation (1), it can be seen that the neutral point voltage contains position-dependent information that could be used for sensorless control:
This position dependent component of the neutral point voltage will be relatively large for motors with low mutual inductance. For motors with high mutual inductance it is still present, but is relatively small, and may need to be extracted from the total signal and amplified if it is to be used for position sensing.
Techniques for Deriving Motor Position from Neutral-Point Voltage
The neutral point voltage can be sampled in specific inverter states to obtain Motor position information from a salient PMSM with low mutual inductance.
The neutral point voltage in equation (10) contains position-dependent components that are proportional to the rate of change of current in the motor windings. The rate of change of current for each winding will in turn depend on the inverter state.
Full closed-form analysis of this effect is not straightforward because of the complexity of the interactions caused by the position-dependent nature of the inductances. However, a good understanding of the behaviour can be gained by considering the rate of change of current in a non-salient motor with inductance equal to the mean phase inductance, L. This gives an approximation to the behaviour of the rates of change of current that is sufficient to gain an understanding of the sensorless technique. Numerical simulation that does not make use of these simplifying assumptions shows that this approximation is sufficient.
These rates of change of current in a non-salient machine are given by:
During inverter state +U, where phase U is high and phase V and W are low, the terminal voltages of the motor are uu=uDC and uv=uw=0, where uDC is the DC link voltage. The rate of change of current for each phase in inverter state +U is approximately:
Likewise, the rates of change of current during the −U inverter state are:
It can be seen that these terms are dependent on speed (rotor back-EMF magnitude) and load (phase current magnitude). For optimum sensorless position estimation these speed and load terms need to be removed. This can be achieved either by applying model-based corrections in real-time or by eliminating them by combining more than one measurement. For ease of analysis the zero speed/zero current condition can be considered because this removes the terms based on current i and EMF e from the analysis. For the specific inverter state +U equations 12a to 12c can be substituted into equation (10) and the neutral point voltage can be shown to be:
Similarly for the −U state the neutral point voltage can be approximated by substituting equations 13a to 13c into equation 10 to give:
This approach can be extended to the remaining phases V and W.
For conditions where the motor speed and current are not zero the electrical position information is still present, it is just that additional terms are present which introduce additional harmonics. These additional harmonics can be removed by the use of feedforward compensation terms, a technique that is common practice and well known to the skilled man.
For motors where the mutual inductance is approaching 50%, for example a 9 slot 6 pole motor, it is possible to boost the differential part of the neutral point voltage which gives the position information, by removing the DC component of the signal. Even though the variation due to position is very small the amplification and subsequent filtering of the position-dependent component of the neutral point voltage signal is enough to obtain the electrical position.
PWM Modulation Strategies that Facilitate Sensorless Position Estimation
Equations 14 and 15 show how rotor position information may be obtained by sampling the neutral-point voltage during different inverter states.
One way to create the required inverter states would be to interrupt the PWM sequence and inject known inverter states for one or more PWM periods in order to allow the required measurements to be taken. This is equivalent to the basic INFORM technique, except that the INFORM technique measures rate of change of current rather than neutral point voltage (and optionally the DC link voltage) during the applied inverter states. The major disadvantage of the INFORM-style approach is that interrupting the PWM pattern for one or more PWM periods usually results in sub-harmonics of the switching pattern that lead to considerable levels of acoustic noise.
A preferable approach is to measure the neutral point voltage within the inverter states within a normal PWM period. This can be achieved without reducing the effective switching frequency of the transistors, and so therefore results in little or no extra acoustic noise which is a major benefit for numerous applications. This makes it possible to achieve silent low-speed sensorless control. There are many different PWM modulation strategies that would facilitate such an approach. Some examples of these are described below. This technique is similar in this respect to the low-acoustic noise low-speed sensorless control described in WO2004/023639A, except that the technique described in that document measures the rate of change of phase current (di/dt) during particular inverter states, whereas some embodiments of the present invention take measurements of the neutral-point voltage (and optionally the DC link voltage) during particular inverter states.
Sampling Un in Four Inverter States The electrical motor position θe may be fully determined by combining measurement of the DC link voltage (UDC) with measurements of the neutral point voltage (un) taken during two pairs of complementary non-zero inverter states. Here two states are referred to as complementary when the phase voltages are reversed between them, such as +U and −U. Using equations 14 and 15 it can be shown that:
There are two equations and seven independent variables. By measuring un(+U), un(−U), un(+W), un(−W) and UDC five of the variables are known and the two equations may be rearranged to yield 2θe.
A convenient method for making this calculation is as follows:
Where {circumflex over (θ)} is the position estimate and ‘arg’ is the argument or angle of a complex number.
Conventional centre-aligned PWM techniques produce a maximum of two non-zero inverter states within a single PWM period, and are therefore not suitable for use with this technique. However, the required inverter states can be achieved by judicious shifting of the PWM patterns as shown in
Note, the states which are normally represented as numbers 1-6 are represented instead with letters and signs described above that show which phase they affect.
As with most low-speed sensorless techniques, the shifting of the patterns results in a reduction in the maximum realisable voltage. This is demonstrated in terms of space vectors in
The resulting maximum modulation index (defined in terms of the ratio of peak phase voltage to half the DC link voltage) for the case where the minimum time required in each inverter state to measure the neutral point voltage is Tmin, is
where TPWM is the PWM period. For a typical example where TPWM=50 μs and Tmin=3 μs, this results in a maximum modulation index of 1.01. Since this technique is only used at low speeds where full modulation index is not required, this should be acceptable.
One advantage of the neutral-voltage sensing technique over di/dt sensing techniques such as that descried in WO 2004/023639 A1 is that less time is required for the signal to settle, which means that Tmin will be smaller and a higher maximum modulation index may be achieved.
In certain applications where single current sensing is used it may be necessary to have a larger minimum inverter state time for two of the inverter states (e.g. +V & −W) to allow time for current measurements to be taken for standard current control. In this case equation (19) would have to be modified accordingly.
The above embodiment requires a measurement of the DC link voltage as part of the position calculation. This can be determined in a number of ways. One method is to filter the DC link voltage in the analogue domain with a filter time-constant that is significantly (e.g. many times) longer than the PWM period. This enables the link voltage to be sampled at any point in the PWM period. Alternatively an unfiltered DC link voltage (or a filtered version of the link voltage with a very low filter time constant) can be sampled during each if the inverter states. The latter technique may be necessary in systems where the DC link resistance is relatively high, causing the link voltage at the sample point to vary with phase current.
Both of these approaches could potentially suffer from the fact that two different sensors are used to calculate position (neutral-point voltage and DC link voltage). If there are difficulties matching the performance of these two sensors (e.g. gain and offset) then errors could result. An alternative way to determine DC link voltage that can overcome this issue is to sample the neutral point voltage during the inverter state 7 (see
The advantages of measuring the neutral point using two pairs of inverter state measurements are that the first order harmonic can be cancelled out. The disadvantage is that the additional measurement states can limit the maximum voltage that can be applied.
Another disadvantage is that to compensate for the fact that no measurements are made for one of the three phases, the mean inductance at the point of measurement should be known. This can only be measured at the point where the two phases being measured change—at that point all three phases have just been measured. As the mean inductance is only updated periodically any change in the mean between updates will introduce an error into the position measurement.
Ideally measurement of the DC link voltage should remove this error by removing the DC link voltage component to leave just the harmonic component but due to measurement errors this may not be the case.
Sampling un in Two Inverter States
Although ideally the neutral point voltage should be measured in two complementary pairs of inverter states, there are situations where it would be desirable to derive position from measurements carried out during just two non-complementary inverter states (for example state +U and −W) as shown in
When only two non-complementary inverter states are used, the ohmic and rotor back-EMF voltage contributions are no longer cancelled out. For example, the neutral point voltage in a low mutual-inductance PMSM during inverter state +U becomes (assuming the d axis current, id, is zero):
Where iq is the q axis current, ke is the rotor back-EMF constant and ωm, is the rotor mechanical frequency.
The ohmic and back-EMF voltage drops introduce voltage distortion on the neutral-point voltage signal at a frequency three times the electrical frequency of the rotor. The extent of this distortion will depend on the machine design and operating conditions. For some applications (particularly high voltage applications where the effect of phase resistance can be neglected) the distortion effect will be small and may be ignored. In these circumstances the two neutral point voltages measurements approximate to:
And the position estimate, {circumflex over (θ)}, may be calculated from:
where ‘arg’ is the argument or angle of a complex number.
For other applications it may be necessary to compensate for the ohmic and back-EMF voltage drops. The ohmic voltage drop may be calculated using phase current measurements and knowledge of the phase resistance; the rotor back-EMF may be calculated using rotor speed and knowledge of the rotor back-EMF constant. These terms can then be used to compensate equation (19) to remove load- and speed-dependency. Alternatively feedforward compensation terms may be used to remove the unwanted harmonic components.
Note that the linear description of the ohmic and rotor back-EMF terms is a simplification and in reality a more complicated non-linear model may be required that accounts for effects such as inverter and magnetic non-linearities in order to achieve good compensation. Ideally, a single model would be sufficient to cover all of the part-to-part variations within a product. However, if necessary the model could be calibrated on each part at the end of the production line. Alternatively, a self-adaption algorithm could be used that learns and eliminates the ohmic and back-EMF terms on-line whilst the drive is operating. Such an algorithm would take advantage of the fact that the ohmic and back-EMF voltage terms in the neutral-point voltage vary at three times the electrical frequency, and would use techniques such as synchronous rectification and filtering to isolate the undesired components and eliminate them.
In order to guarantee that the two required inverter states are always present it is possible to shift the PWM signals in the same way as described above. However, because only two inverter states are required a higher maximum modulation index may be achieved.
Although any two inverter states from different phases could be used, the optimal solution is to use the two inverter states adjacent to the SVM sector where the voltage demand lies as shown in
Thus very high modulation indices are possible with this technique.
This PWM shifting technique is the same as is used to measure the stator currents in many single current sensor techniques. This makes this technique particularly well suited to single current sensor systems as no further modifications are required to the PWM algorithm. However, it should be noted that this technique is equally applicable to systems with multiple phase current sensors.
Although it is preferable to shift the PWM patterns as described above, it is possible to achieve two non-zero inverter states using conventional PWM patterns (e.g. centre-aligned or edge-aligned) without any further modification since these patterns will contain the two required states under many conditions. However, an example is shown in Figure of a net voltage where it is not possible to produce two active states of sufficient length. In the example shown the −W state is too short to enable the neutral-point voltage to be sampled.
One of the ways that this problem is overcome in certain di/dt sensorless schemes, and which can also be used in embodiments of this invention, is to modify the PWM patterns over two consecutive PWM periods. In one of those periods the duty cycle demands are modified so that there is sufficient time to measure the neutral point voltage in both inverter states; in the other period the duty cycle demands are modified by an equal and opposite amount so that the total voltage demand over the two PWM cycles is equal to the original demand. The problem with this technique is that it will introduce high-frequency phase current components that are sub-harmonics of the PWM frequency, which is likely to lead to acoustic noise. However, if the time required to sample the neutral-point voltage, Tmin is sufficiently small, the magnitude of the acoustic noise may be negligible. Again this is an advantage of the neutral-point technique over di/dt techniques since it will generally be the case that the time required for the neutral-point measurement to settle will be less than the equivalent di/dt measurement.
An alternative solution for the regions where only one non-zero inverter state of sufficient length can be realised is to track the position information from just one inverter state. Although a unique position cannot be determined from a single state, it is possible to estimate or track the position based on knowledge of the last known position where two inverter states were measurable and the change in the voltage for the one measurable state. However, this technique would not work at very low modulation index demands where there are no non-zero inverter states of sufficient length to measure the neutral point voltage (see Figure). In this situation an alternative technique would be required.
If edge-aligned modulation is used instead of centre-aligned modulation, the size of the operating region that cannot realise two inverter states of sufficient length is halved. In this case the magnitude of the effects described above is also halved which gives edge-aligned modulation an advantage over centre-aligned modulation in this instance.
It will be appreciated that by reducing the number of measurements to only two inverter states the maximum voltage can be realised is increased, but without the removal of the resistance term additional compensation is required.
By measuring the inverter in two states the sensorless algorithm can operate across the full speed/load range of the motor and therefore a single sensorless algorithm can be used. Traditionally two algorithms are required—a low speed technique (which is where this algorithm is intended to operate) and a high speed technique which uses the back EMF to determine electrical position. This embodiment can remove the need for a separate high speed technique.
As with the embodiment using four inverter state measurement knowledge of the correct mean inductance is important and any error in this will result in position error.
Sampling un in Six Inverter States
It is possible to create PWM waveforms with six non-zero inverter states.
With neutral-point voltage measurements in all six non-zero voltage states the position is defined by equations (16a), (16b) and (16c):
This makes it possible to determine position solely from the neutral point voltage signals without needing to measure the DC link voltage. This means that only one voltage sensor is needed to determine motor position. This could be important if the variation in performance between the DC link voltage sensor and the neutral-point voltage sensor are sufficiently high to cause problems with the position estimate. It also reduces the required number and accuracy of the voltage sensors which could help to reduce the cost and complexity of the final system.
Another advantage of only requiring a single voltage sensor is that this provides redundancy. If the motor position can be entirely determined using neutral point voltage measurements, then the DC link voltage measurement could be used as a diagnostic cross check. If the controller determines that the DC link voltage measurement does not agree with the neutral point voltage measurements in equations (16a)-(16c) sufficiently to meet a consistency condition which is defined within the controller, then the controller can be arranged to generate an output indicating that there must be a fault in the system.
Sampling un in Three Inverter States
The main disadvantage with measuring six inverter states is that it gives the smallest available modulation index. This can be avoided by taking measurements in only three non-zero inverter states, one from each phase, for example using the combination of states shown in
The neutral point voltage (for the +U inverter state) is defined by equation (19), which assuming zero speed/zero current conditions allows the three positive vector states +UVW to be defined by:
Measuring the neutral point in three inverter states (one from each pair of complementary states) is advantageous as, for a motor with balanced phase resistances, there are no first order harmonics to cancel out (unlike the di/dt technique). Also, since it is a three phase system, the DC component and 3rd order harmonics are naturally removed. This means that the three inverter state technique is not affected by changes in the back EMF, and therefore it is speed independent.
This allows the position to be calculated directly from the three neutral point voltage measurements using:
In reality there may be a requirement to improve the position by removing the 1st and 4th order terms as, as the current increases and the inductance saturates, the harmonic content of the motor will change.
An example of a control system using a sensorless position algorithm incorporating feedforward compensation as described above is shown in
It will be appreciated that while this system is described in terms of functional blocks which can correspond to separate processing steps, the processing which performs the functional steps may be combined together and can be performed in software or hardware.
As the transformation from UVW to alpha-beta frame does not require the position the compensation could also be applied in the alpha-beta frame. Similarly while the position is shown as computed from arc-tangent; a PLL can be used just as easily.
Number | Date | Country | Kind |
---|---|---|---|
0808342.0 | May 2008 | GB | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/IB2009/051914 | 5/8/2009 | WO | 00 | 11/16/2010 |