The present disclosure generally relates to electrical machines and in particular to a method of controlling an electrical machine.
Injection methods for estimating the electric position of an electrical machine may be used instead of employing sensors for detecting the electrical position. One example of such a method is disclosed in EP1334552B1. According to the method disclosed in EP1334552B1 a first signal is injected into the d-axis, and an observer controller for measuring current feedback response to the injected first signal to determine an estimated position of the motor.
One drawback with the method disclosed in EP1334552B1 is that it will result in poor precision when determining the estimated position in certain types of electrical machines because the method does not take the presence of the cross-coupling inductance/flux into account.
In view of the above, an object of the present disclosure is to provide a method of controlling an electrical machine which solves, or at least mitigates, the problems of the prior art.
There is hence according to a first aspect of the present disclosure provided a method of controlling an electrical machine, wherein the method comprises: a) injecting a first voltage waveform having a first fundamental frequency into the electrical machine in a first axis of a rotor reference frame, combined with a voltage signal for controlling the electrical machine, b) determining a second axis current component of a second axis of the rotor reference frame, having the first fundamental frequency, generated in response to the injection of the first voltage waveform, c) controlling based on the second axis current component a second axis voltage component of the second axis, having the first fundamental frequency, to obtain an adjusted second axis voltage component for controlling the second axis current component towards zero, d) feeding back the adjusted second axis voltage component to combine the adjusted second axis voltage component with the voltage signal and the injected first voltage waveform, and repeating steps b)-d) until the second axis current component is smaller than a threshold value, e) determining a differential cross-coupling parameter of the electrical machine based on the second axis voltage component and a first axis current component having the first fundamental frequency, when the second axis current component is smaller than the threshold value, and g) controlling the electrical machine based on the differential cross-coupling parameter.
The effect of the differential cross-coupling parameter on the electrical position of the electrical machine may hence be compensated. The electrical position of the electrical machine may thereby be determined more precisely. As a result, more precise electrical machine control may be obtained.
One embodiment comprises f) determining an electric angle error based on the differential cross-coupling parameter, wherein the electric angle error is used for error compensation in step g) of controlling.
One embodiment comprises h) injecting a second voltage waveform with a second fundamental frequency into the electrical machine in the first axis of the rotor reference frame, combined with the voltage signal for controlling the electrical machine, and i) determining an observed electric angle based on the second voltage waveform, wherein the method comprises j) determining an actual electric angle based on the observed electric angle and the electric angle error, and wherein the controlling in step g) is based on the actual electric angle.
According to one embodiment step i) comprises i1) determining a second axis current component of the second axis of the rotor reference frame, having the second fundamental frequency, generated in response to the injection of the second voltage waveform, i2) demodulating the second axis current component, i3) low-pass filtering the demodulated second axis current component, and i4) controlling the low-pass filtered second axis current component to zero to thereby obtain an actual mechanical speed times the number of pole pairs, and i5) determining the observed electric angle by integration of the actual mechanical speed times the number of pole pairs.
One embodiment comprises performing steps a)-e) only when the electrical machine is operated at a speed which is at least 10% of a nominal speed of the electrical machine and not higher than a nominal speed.
One embodiment comprises interpolating the differential cross-coupling parameter or an electric angle error determined based on the differential cross-coupling parameter for a specific torque at a speed which is at least 10% above the nominal speed of the electrical machine and not higher than a nominal speed to the same torque for a speed which is lower than 10% of the nominal speed of the electrical machine, and storing the interpolated differential cross-coupling parameter or electric angle error in a look-up table.
One embodiment comprises performing steps h)-j) and g) only when the electrical machine is operated at a speed which is lower than 10% of the nominal speed of the electrical machine.
According to an embodiment in which steps h)-j) and g) are performed only when the electrical machine is operated at a speed which is lower than 10% of the nominal speed of the electrical machine, and steps h)-j) and g) are performed only when the electrical machine is operated at a speed which is lower than 10% of the nominal speed of the electrical machine, the first fundamental frequency and the second fundamental frequency may be the same frequency. Alternatively, the first fundamental frequency and the second fundamental frequency may differ.
According to one embodiment steps a) and h) are performed simultaneously, wherein the first fundamental frequency is a non-integer multiple of the second fundamental frequency.
According to one embodiment the first fundamental frequency is a first prime number and the second fundamental frequency is a second prime number.
According to one embodiment the differential cross-coupling parameter is a differential cross-coupling inductance or a differential cross-coupling flux.
The differential cross-coupling inductance is defined by
where Δψd or more precisely Δψd(Δid, iq) is the d-axis differential flux in the rotor reference frame, i.e. the difference between two fluxes, and Δiq is the difference between the two q-axis currents which correspond to the two fluxes used in the differential flux Δψd. Due to the cross-coupling, a change in the q-axis current results in a change in the d-axis flux. Δψq or more precisely Δψq(id, Δiq) is the q-axis differential flux, and Δid is the difference between corresponding two d-axis differential currents. Generally, Ldq=Lqd.
The differential cross-coupling flux Δψd, cc is a function of the d-axis current id and a difference Δiq between q-axis currents, i.e. ΔΨd, cc=ΔΨd(id, Δiq). The differential cross-coupling flux ΔΨq, cc is a function of a difference Δid between d-axis currents, i.e. Δψq, cc=Δψq(Δid, iq) and the q-axis current iq.
According to one embodiment the differential cross-coupling parameter is a differential cross-coupling inductance, and wherein step e) involves integrating the second axis voltage component and multiplying the integrated second axis voltage component with the inverse of the first axis current component having the frequency of the first fundamental frequency to obtain the differential cross-coupling parameter.
According to one embodiment step a) of determining the second axis current component involves filtering a non-filtered second axis current component with a filter that has a center frequency at the first fundamental frequency, to obtain the second axis current component.
The filter may for example be a band stop filter or a band pass filter. In case the filter is a band stop filter, the non-filtered second axis current component is added to the band stop filtered second axis current component to obtain the second axis current component having the first fundamental frequency.
According to one embodiment step i1) of determining the second axis current component involves filtering a non-filtered second axis current component with a filter that has a center frequency at the second fundamental frequency, to obtain the second axis current component.
The filter may for example be a band stop filter or a band pass filter. In case the filter is a band stop filter, the non-filtered second axis current component is added to the band stop filtered second axis current component to obtain the second axis current component having the first fundamental frequency.
There is according to a second aspect of the present disclosure provided a computer program comprising computer executable components which when executed by processing circuitry of a control system causes the control system to perform the steps of the method of the first aspect.
There is according to a third aspect of the present disclosure provided a control system for controlling an electrical machine, wherein the control system comprises: processing circuitry, and a storage medium comprising a computer program which when executed by the processing circuitry causes the control system to perform the steps of the method according to the first aspect.
There is according to a fourth aspect of the present disclosure provided an electrical power system comprising: an electrical machine, a power converter configured to control the electrical machine, and a control system according to the fourth aspect, configured to control the power converter.
Generally, all terms used in the claims are to be interpreted according to their ordinary meaning in the technical field, unless explicitly defined otherwise herein. All references to “a/an/the element, apparatus, component, means, etc.”, are to be interpreted openly as referring to at least one instance of the “element, apparatus, component, means, etc.”, unless explicitly stated otherwise.
The specific embodiments of the inventive concept will now be described, by way of example, with reference to the accompanying drawings, in which:
The inventive concept will now be described more fully hereinafter with reference to the accompanying drawings, in which exemplifying embodiments are shown. The inventive concept may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided by way of example so that this disclosure will be thorough and complete, and will fully convey the scope of the inventive concept to those skilled in the art. Like numbers refer to like elements throughout the description.
The control system 1 comprises a storage medium 3 and processing circuitry 5. The storage medium comprises computer code which when executed by the processing circuitry 5 causes the control system 1 to perform the steps of the methods described herein.
The storage medium 3 may for example be embodied as a memory, such as a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), or an electrically erasable programmable read-only memory (EEPROM) and more particularly as a non-volatile storage medium of a device in an external memory such as a USB (Universal Serial Bus) memory or a Flash memory, such as a compact Flash memory.
The processing circuitry 5 may use any combination of one or more of a suitable central processing unit (CPU), multiprocessor, microcontroller, digital signal processor (DSP), application specific integrated circuit (ASIC), field programmable gate arrays (FPGA) etc., capable of executing any herein disclosed operations concerning control of a power converter and an electrical machine.
In the following, a part of the exemplified method which involves the injection of what is herein referred to as the second voltage waveform will first be described, in order to illustrate the error obtained in the observed electric angle. This error may be compensated for by means of the part of the method which involves the injection of a first voltage waveform.
A second voltage waveform block 13 is configured to inject a second voltage waveform uh
where ωh
The second voltage waveform uh
An unfiltered second axis current component iq of a second axis of the rotor reference frame is determined, preferably by measurement. The second axis is in this case the q-axis. The unfiltered second axis current component iq is filtered in an observer filter module 17 to obtain a second axis current component iqh
and θobserver is an observer electric angle, θme is the actual electric angle, and {tilde over (θ)} is an electric angle error. Ld and Lq are the differential inductances of the d-axis and the q-axis, respectively, and hence
is a first axis voltage component at the second fundamental frequency i.e. in this case the d-axis voltage component at the second fundamental frequency, which may be obtained by filtering as explained above.
The second axis current component iqh
The low-pass filtering may be efficiently performed because the second fundamental frequency ωhy is typically several orders higher compared to e.g. the speed dynamics of the electrical machine. The low-pass filtered second axis current component iqh
The electric angle is in general the integral of the mechanical speed of the electrical machine times the number of pole pairs, which leads to the expression
iqh
To keep the low-pass filtered second axis current component iqh
Since Ldq in reality is non-zero, the electric angle error {tilde over (θ)} is in reality
as derived from equation (4). The injection method described below provides compensation for this error as will be explained in the following, to obtain more precise control.
The second voltage waveform is preferably only injected when the electrical machine 9 is operated at a speed which is lower than 10% of a nominal speed of the electrical machine 9. At higher speeds, other methods may preferably be employed to determine the electric angle, such as the voltage model method or the model adaptive reference observer method.
A first voltage waveform block 25 is configured to inject a first voltage waveform uh
where ωh
The first voltage waveform uh
An unfiltered second axis current component iq is determined preferably by measurement. This current is first measured in the a,b,c-frame or the αβ frame before being transformed to the rotor reference frame by means of a vector rotator 24 to obtain the unfiltered second axis current component iq. The second axis is in this case the q-axis. The unfiltered second axis current component iq is filtered in a filter module 29 to obtain a second axis current component iqh
Alternatively, the filter module 29 may be a bandpass filter with the center frequency at the first fundamental frequency, and thus the second axis current component ih
A second axis voltage component uqh
The second axis current component iqh
where idh
The second voltage waveform uh
By controlling the second axis current component iqh
i.e. by integrating the second axis voltage component uqh
In an example in which the first voltage waveform uh
The electric angle error {tilde over (θ)} may in both cases shown in equations (8) and (10) be determined based on the differential cross-coupling inductance Ldq in an electric angle error estimating block 39 using equation (6).
The differential inductances Ld and Lq used equation (6) may be obtained by the electrical angle error estimating block 39 using a current reference idqref and a look-up table 38 containing the differential inductances Ld and Lq for the specific operating point of the electrical machine 9 and thus the current reference idqref.
When the electric angle error {tilde over (θ)} has been determined, it may be stored in the storage medium 3, to be used for example once the injection of the second voltage waveform uh
The electric angle error {tilde over (θ)} may be combined with the observer electric angle θobserver to obtain the actual electric angle θme. The electric angle error d is preferably depending on machine type added to or subtracted from the observer electric angle θobserver to obtain the actual electric angle θme. The actual electric angle θme may then be used for controlling the power converter 7 and the electrical machine 9. The actual electric angle θme may be used in the vector rotator blocks 15, 26 and 27, for example, to obtain a correct transformation between the αβ-frame and the d-q frame.
The first voltage waveform could instead of being injected in the first axis be injected in the second axis, i.e. the q-axis. In this case, the processing of the electrical parameters would be performed on the other axis compared to the example above, e.g. equation (8) would instead be for the d-axis current.
The inventive concept has mainly been described above with reference to a few examples. However, as is readily appreciated by a person skilled in the art, other embodiments than the ones disclosed above are equally possible within the scope of the inventive concept, as defined by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
18204969 | Nov 2018 | EP | regional |
Number | Name | Date | Kind |
---|---|---|---|
9948224 | Huh et al. | Apr 2018 | B1 |
20130021011 | Okuda | Jan 2013 | A1 |
20180145621 | Aliprantis | May 2018 | A1 |
Number | Date | Country |
---|---|---|
102015117912 | Apr 2019 | DE |
1334552 | Aug 2003 | EP |
Entry |
---|
European Search Report Application No. 18204969.2 Completed: Apr. 12, 2019; dated May 3, 2019 9 Pages. |
Seilmeier, Markus et al: “HF Test Current Injection-Based Self-Sensing Control of PMSM for Low-and Zero-Speed Range Using Two-Degree-of-Freedom Current Control”, IEEE Transactions of Industry Applications, IEEE Service Center, Piscataway, NJ, US, vol. 51, No. 3, published May 1, 2015, pp. 2268-2278, XP011581597, ISSN:0093-9994, DOI:10.1109/TIA.2014.2369828 11 Pages. |
Ebersberger, Sebastian et al: “Identification of Differential Inductances of Permanent Magnet Synchronous Machines Using Test Current Signal Injection”, Power Electronics, Electrical Drives, Automation and Motion (Speedam), 2012 International Symposium on, IEEE, published Jun. 20, 2012, pp. 1342-1347, XP032221714, DOI: 10.1109/SPEEDAM.2012.6264392, ISBN: 978-1-4673-1299-8 6 Pages. |
Cizmic, Mirza et al: “Improved Identification of High Frequency Parameters for Self-Sensing Control of PMSM Using Test Current Signal Injection”, 2018 IEEE 9th International Symposium of Sensorless Control for Electrical Drives (SLED), IEEE, published Sep. 13, 2018, pp. 18-23, XP033417511, DOI: 10.1109/SLED.2018.8486134 6 Pages. |
Number | Date | Country | |
---|---|---|---|
20200144947 A1 | May 2020 | US |