Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
A CONTROL DEVICE AND A METHOD FOR CONTROLLING MAGNETIC LEVITATION AND TORQUE GENERATION
Document Type and Number:
WIPO Patent Application WO/2016/207481
Kind Code:
A1
Abstract:
An electrical drive comprises an electrical machine (103), a first converter stage (106) connected to terminals (107-109) of stator phase-windings of the electrical machine, and a second converter stage (113) connected to intermediate points (114-116) of the stator phase-windings. A control device (101) determines first component currents and second component currents so that torque is generated in accordance with electrical machine control and magnetic levitation force is di- rected to a rotor (105) of the electrical machine in accordance with levitation con- trol when portions of the phase-windings between the terminals and the intermedi- ate points carry both the first and second component currents and the other por- tions of the phase-windings carry the first component currents. The reference cur- rents for the first converter stage are determined based on the first and second component currents, and the reference currents for the second converter stage are determined based on the second component currents.

Inventors:
JASTRZEBSKI RAFAL (FI)
JAATINEN PEKKO (FI)
Application Number:
PCT/FI2016/050311
Publication Date:
December 29, 2016
Filing Date:
May 11, 2016
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
LAPPEENRANNAN TEKNILLINEN YLIOPISTO (FI)
International Classes:
H02K7/09; F16C32/04; H02P4/00
Foreign References:
US20050077793A12005-04-14
EP2589827A12013-05-08
US20050077793A12005-04-14
EP2589827A12013-05-08
Other References:
A. CHIBA ET AL.: "A Novel middle-point-current-injection-type bearingless PM synchronous motor for vibration", IEEE TRANSACTIONS ON INDUSTRY APPLICATIONS, vol. 47, no. 4, 1 July 2011 (2011-07-01), pages 1700 - 1706, XP011329995
SEVERSON ET AL.: "Practical implementation of dual purpose no voltage drives for bearingless motors", PROCEEDINGS OF APPLIED POWER ELECTRONICS CONFERENCE AND EXPOSITION (APEC), 15 March 2015 (2015-03-15), CHARLOTTE, NC, UNITED STATES, pages 819 - 826, XP032775014
A. CHIBA ET AL.: "A Novel middle-point-current-injection-type bearingless PM synchronous motor for vibration", IEEE TRANSACTIONS ON INDUSTRY APPLICATIONS, vol. 47, no. 4, 1 July 2011 (2011-07-01), pages 1700 - 1706, XP011329995
SEVERSON ET AL.: "Practical implementation of dual purpose no voltage drives for bearingless motors", PROCEEDINGS OF APPLIED POWER ELECTRONICS CONFERENCE AND EXPOSITION (APEC), 15 March 2015 (2015-03-15), Charlotte, NC, United States, pages 819 - 826, XP032775014
Attorney, Agent or Firm:
BERGGREN OY (Helsinki, FI)
Download PDF:
Claims:
What is claimed is:

1 . A control device (101 ) for controlling an electrical drive that comprises:

- an electrical machine comprising a stator and a rotor,

- a first converter stage connected to terminals of phase-windings of the sta- tor, and

- a second converter stage connected to intermediate points of the phase- windings of the stator, each of the phase-windings comprising a first portion between the terminal and the intermediate point of the phase-winding under consideration, and each of the phase-windings comprising a second portion in addition to the first portion of the phase-winding under consideration, characterized in that the control device comprises a computing system (102) configured to:

- determine first component currents (i-icu, i-icv, i-icw) and second component currents (i2cu, i2Cv, i2Cw) so that torque is generated in accordance with elec- trical machine control and magnetic levitation force is directed to the rotor in accordance with levitation control when the first portions of the phase- windings carry both the first and second component currents and the second portions of the phase-windings carry at least the first component currents, - determine reference currents (irefi u, irefiv, irefiw) for the first converter stage on the basis of the first and second component currents, and

- determine reference currents (iref2u, iref2v, iref2w) for the second converter stage on the basis of at least the second component currents.

2. A control device according to claim 1 , wherein the computing system is con- figured to determine the first and second component currents on the basis of a computational model of the electrical machine, the computational model being modelling the electrical machine so that flux-linkages of the phase-windings are dependent on a rotational position of a permanent magnet rotor and inductances are assumed to be so small that the flux-linkages of the phase-windings are assumed to be substantially independent of the first and second component currents.

3. A control device according to claim 1 , wherein the computing system is configured to determine changes to be made to the first component currents and changes to be made to the second component currents on the basis of a linearized computational model of the electrical machine so that, at each linearization point, products of the changes are approximated with zeros.

4. A control device according to any of claims 1 -3, wherein the computing system is configured to determine third component currents (i3cu, i3Cv, i3Cw) so that the torque is generated in accordance with the electrical machine control and the magnetic levitation force is directed to the rotor in accordance with the levitation control when the first portions of the phase-windings carry both the first and second component currents and the second portions of the phase-windings carry both the first and third component currents, and to determine the reference currents of the second converter stage on the basis of the second and third component currents.

5. An electrical drive comprising:

- an electrical machine (103) comprising a stator (104) and a rotor (105),

- a first converter stage (106) connected to terminals (107-109) of phase- windings (1 10-1 12) of the stator,

- a second converter stage (1 13) connected to intermediate points (1 14-1 16) of the phase-windings of the stator, each of the phase-windings comprising a first portion (1 10a, 1 1 1 a, 1 12a) between the terminal and the intermediate point of the phase-winding under consideration, and each of the phase- windings comprising a second portion (1 10b, 1 1 1 b, 1 12b) in addition to the first portion of the phase-winding under consideration, and

- a control device (101 ) according to any of claims 1 -4 for determining reference currents (irefi u, irefi v, irefiw) for the first converter stage and for determining reference currents (iref2u, iref2v, iref2w) for the second converter stage.

6. An electrical drive according to claim 5, wherein the electrical machine is a permanent magnet electrical machine, the rotor of the electrical machine comprising permanent magnet material (1 17).

7. An electrical drive according to claim 5 or 6, wherein the electrical drive com- prises at least one of the following so as to provide input data to the electrical machine control and to the levitation control: means for measuring currents, means for measuring magnetic fluxes, means for measuring temperatures, means for measuring a rotational position of a rotor, means for measuring a position of the rotor in directions perpendicular to an rotational axis of the rotor. 8. An electrical drive according to claim 8, wherein the control device is configured to estimate at least one of the following on the basis of measured quantities so as to provide input data to the electrical machine control and to the levitation control: the currents, the magnetic fluxes, the rotational position of the rotor, the position of the rotor in the directions perpendicular to the rotational axis of the ro- tor.

9. A method for controlling an electrical drive that comprises:

- an electrical machine comprising a stator and a rotor,

- a first converter stage connected to terminals of phase-windings of the stator, and - a second converter stage connected to intermediate points of the phase- windings of the stator, each of the phase-windings comprising a first portion between the terminal and the intermediate point of the phase-winding under consideration, and each of the phase-windings comprising a second portion in addition to the first portion of the phase-winding under consideration, characterized in that the method comprises:

- determining (201 ) first component currents and second component currents so that torque is generated in accordance with electrical machine control and magnetic levitation force is directed to the rotor in accordance with levi- tation control when the first portions of the phase-windings carry both the first and second component currents and the second portions of the phase- windings carry at least the first component currents,

- determining (202) reference currents for the first converter stage on the ba- sis of the first and second component currents, and

- determining (203) reference currents for the second converter stage on the basis of at least the second component currents.

10. A method according to claim 9, wherein the method comprises determining the first and second component currents on the basis of a computational model of the electrical machine, the computational model being modelling the electrical machine so that flux-linkages of the phase-windings are dependent on a rotational position of a permanent magnet rotor and inductances are assumed to be so small that the flux-linkages of the phase-windings are assumed to be substantially independent of the first and second component currents. 1 1 . A method according to claim 9, wherein the method comprises determining changes to be made to the first component currents and changes to be made to the second component currents on the basis of a linearized computational model of the electrical machine so that, at each linearization point, products of the changes are approximated with zeros. 12. A method according to any of claims 9-1 1 , wherein the method comprises determining third component currents so that the torque is generated in accordance with the electrical machine control and the magnetic levitation force is directed to the rotor in accordance with the levitation control when the first portions of the phase-windings carry both the first and second component currents and the second portions of the phase-windings carry both the first and third component currents, and determining the reference currents of the second converter stage on the basis of the second and third component currents.

13. A computer program for controlling an electrical drive that comprises:

- an electrical machine comprising a stator and a rotor, - a first converter stage connected to terminals of phase-windings of the sta- tor, and

- a second converter stage connected to intermediate points of the phase- windings of the stator, each of the phase-windings comprising a first portion between the terminal and the intermediate point of the phase-winding under consideration, and each of the phase-windings comprising a second portion in addition to the first portion of the phase-winding under consideration, characterized in that the computer program comprises computer executable instructions for controlling a programmable processing system of the electrical drive to:

- determine first component currents and second component currents so that torque is generated in accordance with electrical machine control and magnetic levitation force is directed to the rotor in accordance with levitation control when the first portions of the phase-windings carry both the first and second component currents and the second portions of the phase-windings carry at least the first component currents,

- determine reference currents for the first converter stage on the basis of the first and second component currents, and

- determine reference currents for the second converter stage on the basis of at least the second component currents.

14. A computer program product for controlling an electrical drive, the computer program product comprising a non-volatile computer readable medium encoded with a computer program according to claim 13.

Description:
A control device and a method for controlling magnetic levitation and torque generation

Field of technology The disclosure relates generally to control of magnetic levitation and torque generation in an electrical drive. More particularly, the disclosure relates to a control device and to a method for controlling an electrical drive. Furthermore, the disclosure relates to a computer program for controlling an electrical drive.

Background Magnetic levitation systems, such as e.g. active magnetic bearings "AMB", are commonly known in the art. Magnetic levitation systems are commonly utilized for supporting a rotating or oscillating object. Using magnetic levitation in rotating machinery results in for example: reduction of friction, oil-free operation, lower maintenance costs, and/or higher reliability when compared to traditional rotating machines with mechanical bearings. Combining functionalities for torque generation and magnetic levitation into one electrical machine results in a shorter rotor and more affordable control and driving electronics than a traditional AMB rotor system which comprises separate AMB actuators in addition to an electrical machine for generating torque. Electrical machines providing combined torque gener- ation and magnetic levitation functionalities are typically called bearingless electrical machines although electrical machines of the kind mentioned above are typically provided with mechanical safety bearings for supporting the rotor in a case of a failure in the magnetic levitation.

Publication Chiba, A., et al., A Novel Middle-Point-Current-lnjection-Type Bearing- less PM Synchronous Motor for Vibration Suppression, Institute of Electrical and Electronics Engineers "IEEE" Transactions on Industry Applications, Vol. 47, No. 4, 201 1 describes a stator winding structure for a middle-point-current-injection- type bearingless permanent magnet synchronous motor. The motor does not have additional windings for radial magnetic force generation but each stator phase- winding has a connection to an intermediate point of the stator phase-winding so that force producing current can be supplied to the stator phase-winding under consideration. A first converter stage is connected to terminals of the stator phase- windings and a second converter stage connected to the intermediate points of the stator phase-windings. The first converter stage is configured to supply torque generating currents to the terminals of the stator phase-windings and the second converter stage is configured to supply force generating currents to the intermediate points of the stator phase-windings. When current is supplied to the intermediate point of a stator phase-winding, there is unbalance between currents flowing in different portions of the stator phase-winding on different sides of the intermediate point and thus radial magnetic force is directed to the rotor. The bearingless permanent magnet synchronous motor described by Chiba et al. requires only one additional three-phase converter and thus the system can be cost effective. There is, however, still a need for development of control techniques for controlling bearingless motors of the kind mentioned above. For example, it may be challenging to arrange the co-operation of the above-mentioned first and second converter stages in a robust and cost-effective way. For example, in the bearingless permanent magnet synchronous motor described by Chiba et al., only the above-mentioned intermediate points of the stator phase-windings are utilized for supplying currents for the radial magnetic force production. This results in different current require- ments for the different parts of the stator phase-windings and in limitations in the force production and in how fast the flux and thereby the force can be changed.

Summary

The following presents a simplified summary in order to provide a basic understanding of some aspects of various invention embodiments. The summary is not an extensive overview of the invention. It is neither intended to identify key or critical elements of the invention nor to delineate the scope of the invention. The following summary merely presents some concepts of the invention in a simplified form as a prelude to a more detailed description of exemplifying embodiments of the invention. In accordance with the invention, there is provided a new control device for controlling an electrical drive that comprises: - an electrical machine comprising a stator and a rotor,

- a first converter stage connected to terminals of phase-windings of the stator, and

- a second converter stage connected to intermediate points of the phase- windings of the stator, each of the phase-windings comprising a first portion between the terminal and the intermediate point of the phase-winding under consideration, and each of the phase-windings comprising a second portion in addition to the first portion of the phase-winding under consideration.

A control device according to the invention comprises a computing system config- ured to:

- determine first component currents and second component currents so that torque is generated in accordance with electrical machine control and magnetic levitation force is directed to the rotor in accordance with levitation control when the first portions of the phase-windings carry both the first and second component currents and the second portions of the phase-windings carry at least the first component currents,

- determine reference currents for the first converter stage on the basis of the first and second component currents, and

- determine reference currents for the second converter stage on the basis of at least the second component currents.

The operations of the above-mentioned first and second converter stages are interconnected via the reference currents of the first converter stage and the reference currents of the second converter stage, and thus there is no need for complex control systems for arranging the co-operation of the above-mentioned first and second converter stages. The above-mentioned electrical machine control may comprise for example a rotational speed sensor or estimator, a rotational position sensor or estimator, voltage sensors or estimators and/or current sensors or estimators, and a speed controller that provides a torque reference. The above- mentioned levitation control may comprise for example a position sensor or esti- mator for measuring or estimating the position of the rotor in mutually perpendicular radial directions and a controller for producing mutually perpendicular force references for driving the rotor to its reference position. The position estimator for estimating the position of the rotor in the mutually perpendicular radial directions can be based on for example a rotational position sensor or estimator and on current, voltage and/or flux sensors. Each current and/or flux sensor can be located in the main electrical and/or magnetic circuits or elsewhere than in the main electrical and/or magnetic circuits. The current and/or flux sensors located elsewhere than in the main electrical and/or magnetic circuits may comprise for example search coils and/or stray flux sensors. Furthermore, measured temperature can be used in the estimation of the position. The computing system can be configured to determine the above-mentioned first and second component currents on the basis of a computational model of the electrical machine and the above-mentioned torque and force references. In accordance with the invention, there is provided also a new method for controlling an electrical drive of the kind described above. A method according to the invention comprises:

- determining first component currents and second component currents so that torque is generated in accordance with electrical machine control and magnetic levitation force is directed to the rotor in accordance with levitation control when the first portions of the phase-windings carry both the first and second component currents and the second portions of the phase-windings carry at least the first component currents,

- determining reference currents for the first converter stage on the basis of the first and second component currents, and

- determining reference currents for the second converter stage on the basis of at least the second component currents.

In accordance with the invention, there is provided also a new electrical drive that comprises: - an electrical machine comprising a stator and a rotor, a first converter stage connected to terminals of phase-windings of the sta- tor,

- a second converter stage connected to intermediate points of the phase- windings of the stator, and - a control device according to the invention for determining reference currents for the first converter stage and for determining reference currents for the second converter stage.

In accordance with the invention, there is provided also a new computer program controlling an electrical drive of the kind described above. A computer program according to the invention comprises computer executable instructions for controlling a programmable processing system of the electrical drive to:

- determine first component currents and second component currents so that torque is generated in accordance with electrical machine control and magnetic levitation force is directed to the rotor in accordance with levitation control when the first portions of the phase-windings carry both the first and second component currents and the second portions of the phase-windings carry at least the first component currents,

- determine reference currents for the first converter stage on the basis of the first and second component currents, and - determine reference currents for the second converter stage on the basis of at least the second component currents.

In accordance with the invention, there is provided also a new computer program product. The computer program product comprises a non-volatile computer readable medium, e.g. an optical disc, encoded with a computer program according to the invention.

A number of exemplifying and non-limiting embodiments of the invention are described in accompanied dependent claims. Various exemplifying and non-limiting embodiments of the invention both as to constructions and to methods of operation, together with additional objects and advantages thereof, will be best understood from the following description of specific exemplifying and non-limiting embodiments when read in connection with the accompanying drawings.

The verbs "to comprise" and "to include" are used in this document as open limitations that neither exclude nor require the existence of unrecited features. The features recited in dependent claims are mutually freely combinable unless otherwise explicitly stated. Furthermore, it is to be understood that the use of "a" or "an", i.e. a singular form, throughout this document does not exclude a plurality.

Brief description of the figures

Exemplifying and non-limiting embodiments of the invention and their advantages are explained in greater detail below in the sense of examples and with reference to the accompanying drawings, in which: figures 1 a and 1 b illustrate an electrical drive comprising a control device according to an exemplifying and non-limiting embodiment of the invention, and figure 2 shows a flowchart of a method according to an exemplifying and non- limiting embodiment of the invention for controlling an electrical drive.

Description of exemplifying and non-limiting embodiments The specific examples provided in the description given below should not be construed as limiting the scope and/or the applicability of the appended claims. Furthermore, it is to be understood that lists and groups of examples provided in the description given below are not exhaustive unless otherwise explicitly stated.

Figure 1 a shows a schematic illustration of an electrical drive comprising a control device 101 according to an exemplifying and non-limiting embodiment of the invention. The electrical drive comprises an electrical machine 103 that comprises a stator 104 and a rotor 105. The electrical machine 103 may operate as a motor or as a generator. In this exemplifying case, the electrical machine 103 is a perma- nent magnet machine whose rotor 105 comprises permanent magnet material 1 17. The stator of the electrical machine 103 comprises a ferromagnetic core structure 1 19 and a stator winding. It is worth noting that figure 1 a shows a schematic illustration and thus the shapes and the mutual dimensions of the teeth, slots, and the yoke-section of the ferromagnetic core structure 1 19 are not necessarily optimal from the viewpoint of the operation of the electrical machine 103. In this exemplifying case, the stator winding is a three-phase winding where the number of pole-pairs is one, i.e. p = 1 . Figure 1 b shows a circuit diagram of the stator winding. The stator winding comprises three phase-windings 1 10, 1 1 1 , and 1 12 connected to a star-point 1 18. Each phase-winding comprises a first portion between a terminal of the phase-winding and an intermediate point of the phase- winding. Furthermore, each phase-winding comprises a second portion in addition to the first portion. The second portion of each phase-winding is between the star- point 1 18 and the intermediate point of the phase-winding under consideration. As shown in figure 1 b, the phase-winding 1 10 comprises the first portion 1 10a and the second portion 1 10b, the phase-winding 1 1 1 comprises the first portion 1 1 1 a and the second portion 1 1 1 b, and the phase-winding 1 12 comprises the first portion 1 12a and the second portion 1 12b. In figures 1 a and 1 b, the terminals of the phase-windings are denoted with reference numbers 107, 108, and 109, and the intermediate points of the phase-windings are denoted with reference numbers 1 14, 1 15, and 1 16.

The electrical drive comprises a first converter stage 106 connected to the terminals 107-109 of the phase-windings 1 10-1 12. The electrical drive comprises a second converter stage 1 13 connected to the intermediate points 1 14-1 16 of the phase-windings 1 10-1 12. The first converter stage 106 can be e.g. an inverter stage which convers direct voltage UDC into controllable three-phase alternating voltages. In principle, the first converter stage 106 could be as well a direct converter which converts e.g. three-phase input alternating voltages into controllable three-phase output alternating voltages. Correspondingly, the second converter stage 1 13 can be e.g. an inverter stage which convers direct voltage UDC into controllable three-phase alternating voltages. In principle, the second converter stage 106 could be as well a direct converter which converts e.g. three-phase input alternating voltages into controllable three-phase output alternating voltages.

The electrical drive comprises a control device 101 for determining reference currents iref-i u, iref-iv, and i re fiw for the first converter stage 106 and for determining ref- erence currents iret2uj iref2vi and i re f2w for the second converter stage 1 13. The first converter stage 106 can be configured to apply for example two-point hysteresis control for controlling the output currents of the first converter stage 106 to be the reference currents i ref i u , i ref i v , and i ref i w with a sufficient accuracy. Correspondingly, second converter stage 1 13 can be configured to apply the two-point hysteresis control for controlling the output currents of the second converter stage 1 13 to be the reference currents i ref 2u, i re f2v, and i ref2 w with a sufficient accuracy. The control device 101 comprises a computing system 102 configured to determine first component currents i-i cu, i-i cv and ew and second component currents i 2 c u , i2Cv and i 2 cw so that torque is generated in accordance with electrical machine control and magnetic levitation force is directed to the rotor 105 in accordance with levitation control when the first portions 1 10a, 1 1 1 a, and 1 12a of the phase-windings carry both the first and second component currents and the second portions 1 10b, 1 1 1 b, and 1 12b of the phase-windings carry at least the first component currents. When current is supplied to the intermediate point of a phase-winding, there is unbalance between currents flowing in the first and second portions of the phase-winding and thus radial magnetic force is directed to the rotor 105. The computing system 102 is configured to determine the reference currents i re fi u, irefiv, and i re fiw for the first converter stage 106 on the basis of the first and second component currents so that i ref1 u = i 1 Cu - i2cu, irefiv = h cv - i2cv, and i ref1w = h ew - i2Cw The computing system 102 is configured to determine the reference currents i re f2u, iref2v, and i re f2w for the second converter stage 1 13 on the basis of at least the second component currents e.g. so that i ref2u = i 2 c u , i re f2v = i2Cv, and i ref w = i2Cw

The above-mentioned electrical machine control may comprise for example a rotational speed and/or rotational position sensor and a speed controller that provides a torque reference. The rotational speed and/or rotational position sensor is not shown in figuresl a and 1 b. In figures 1 a and 1 b, a quantity C em represents a control quantity related to the electrical machine control. The quantity C em can be e.g. a measured or estimated rotational speed and/or rotational position on the basis of which the computing system 102 forms the torque reference. The rotational speed and/or the rotational position can be estimated on the basis of magnetic fluxes, voltages, and/or currents. Furthermore, measured temperature can be used in the estimation. It is also possible that the electrical machine 103 is driven with an externally given torque reference in which case the quantity C em can be the torque reference. The above-mentioned levitation control may comprise for example a position sensor or estimator for measuring or estimating the position of the rotor 105 in mutually perpendicular radial directions and a controller for producing mu- tually perpendicular force references for driving the rotor to its reference position. The position sensor or estimator is not shown in figures 1 a and 1 b. The position of the rotor 105 in the mutually perpendicular radial directions can be estimated on the basis of magnetic fluxes, the rotational position, voltages, and/or currents. Furthermore, the measured temperature can be used in the estimation. The mutually perpendicular radial directions can be for example the x- and y-directions of a coordinate system shown in figure 1 a. In figures 1 a and 1 b, quantities X mea s and Y meas relate to the levitation control and represent the measured position of the rotor 105 in the x- and y-directions. The computing system 102 is configured to produce mutually perpendicular force references on the basis of the quantities X mea s and Y mea s and the reference position of the rotor.

The computing system 102 can be configured to determine the first component currents i-icu, i-icv, and ew and the second component currents i 2 c u , i2Cv, and i 2 cw on the basis of a computational model of the electrical machine 103 and on the basis of the above-mentioned torque reference and the mutually perpendicular force references. The relation between the first and second component currents and the torque reference can be approximated with the following equation:

T re f = Tci (Ψ ΡΜ cos(0) ( cu - (iicv + iicw)/2) - Ψ ΡΜ sin(0) V3(ii Cv - Hcw)/2) - cos(0) (i 2Cu - (i2cv + i2Cw) 2) - Ψ ΡΜ sin(0) V3(i 2Cv - i2Cw) 2), where T ref is the torque reference, Ψ ΡΜ is the amplitude of the fundamental com- ponents of the magnetic flux linkages produced by the permanent magnets of the rotor to the phase-windings 1 10-1 12, Θ is the rotational angle of the direct axis of the rotor with respect to the positive x-direction, and T C i and T C 2 are constant coefficients. The fact that each of the second component currents i 2 c u , i2Cv, and i 2 cw flows only in a part of the respective phase-winding is taken into account with the aid of the coefficients and T C i and T C 2-

The second component currents i 2 c u , i2Cv, and i 2 cw represent the unbalances between the currents carried by the first and second portions of the phase-windings. These unbalances cause a magnetic force directed to the rotor 105. The relation between the second component currents, i.e. the above-mentioned unbalances, and the mutually perpendicular force references can be approximated with the following equations:

Fxref =

Fci (ΨΡΜ cos(0) i 2Cu - ΨΡΜ cos(0 - 2π/3) i 2Cv /2 - Ψ ΡΜ cos(0 - 4π/3) i 2Cw /2), (2) Fyret = Fci 3 (Ψ ΡΜ cos(0 - 2π/3) i 2Cv - ΨΡΜ cos(0 - 4π/3) i 2Cw )/2, (3) where F xref is the x-directional force reference, F yref is the y-directional force reference, and Fci is a constant coefficient.

Furthermore, there are the following equations for the first component currents i-icu, i-icv, and ew and for the second component currents i 2 c u , cv, and i 2 c w : iic u + iicv + iicw = 0, and (4) i 2Cu + i2Cv + i2Cw = 0. (5)

The second component currents i 2 c u , i2Cv, and i 2 cw can be solved from the above- presented three equations (2), (3), and (5). Thereafter, the solved second component currents i 2 c u , i2Cv, and i 2 cw can substituted into equation (1 ). Equations (1 ) and (5) are not sufficient for uniquely solving the first component currents i-i Cu , hcv, and ew because the power factor, coscp, of the torque generation is not yet defined. The power factor can be defined to be a desired value, e.g. 1 , in which case the angle between the space vector of the first component currents i-icu, i-icv, and ew and the direct axis of the rotor is defined. This means that the ratio between the x- component of the space vector, i.e. i-i Cu - ( cv + iicw)/2, and the y-component of the space vector, i.e. V3(i-i Cv - iicw)/2, is defined. This provides a third equation which is needed in addition to equations (1 ) and (5) for uniquely solving the first component currents i-icu, i-icv, and ew-

In an electrical drive according to an exemplifying and non-limiting embodiment of the invention, the computing system 102 is configured to determine third component currents i 3 c u , i3Cv, and i 3 cw so that the torque is generated in accordance with the electrical machine control and the magnetic levitation force is directed to the rotor in accordance with the levitation control when the first portions of the phase- windings carry both the first and second component currents and the second portions of the phase-windings carry both the first and third component currents. In this exemplifying case, the computing system 102 can be configured to determine the reference currents i re fi u, iret-iv, and i re fiw for the first converter stage 106 on the basis of the first and second component currents so that i ref i u = i-i Cu - i2Cu, iret-iv = cv - i2Cv, and i ref w = ew - i2Cw, and to determine the reference currents i re f 2u , i re f2v, and i re f2w for the second converter stage 1 13 on the basis of the second and third component currents so that that i re f2u = cu + cu, i re f2v = i2Cv + i3Cv, and i re f2w = i2Cw + l3Cw- In this exemplifying case, an equation that corresponds to the above-presented equation (1 ) is:

T re f = Tci (Ψ ΡΜ cos(0) (i 1 Cu - (hcv + iicw)/2) - Ψ ΡΜ sin(0) V3(i 1 Cv - iicw)/2) - Tc2 (ΨΡΜ cos(0) (i 2Cu - (i2cv + i2Cw) 2) - Ψ ΡΜ sin(0) V3(i 2C v - i2Cw) 2) + Tea (ΨΡΜ cos(0) (i 3Cu - (iscv + i3Cw) 2) - Ψ ΡΜ sin(0) V3(i 3C v - i3Cw) 2), where T C 3 is a constant coefficient.

The unbalance between e.g. the current carried by the first portion 1 10a of the phase-winding 1 10 and the current carried by the second portion 1 10b of the phase-winding 1 10 is (i 1 Cu - i2Cu) - (hcu + i3Cu) = - (i2Cu + i3Cu)- Therefore, in this exemplifying case, equations that correspond to the above-presented equations (2) and (3) are:

Fxref = Fc2 [ΨΡΜ cos(0) (i 2C u + iscu) - ΨΡΜ cos(0 - 2π/3) (i 2C v + icRv)/2 -

Ψ ΡΜ cos(0 - 4π/3) (i 2C w + iscw)/2], Fyref = Fc2 3 [Ψ ΡΜ cos(0 - 2π/3) (i 2Cv + iscv) - ΨΡΜ COS(0 - 47t/3)(i 2Cw + iscw)]/2, where F C2 is a constant coefficient. As can be seen from the above-presented equations, the third component currents i 3 c u , iscv, and i 3 cw provide more freedom to determine how the torque generation is shared between the first and second converter stages 106 and 1 13. In the above-presented exemplifying cases, it is assumed that the flux-linkages of the phase-windings 1 10-1 12 are substantially independent of the currents of the phase-windings 1 10-1 12, i.e. the inductances of the phase-windings 1 10-1 12 are small. In conjunction with a permanent magnet machine of the kind illustrated in figure 1 a, this assumption is relatively valid because the effective air-gap is long for the magneto motive forces "mmf" represented by the currents of the phase- windings. In cases where this assumption is not valid with a sufficient accuracy, the computing system 102 can be configured to use a linearized computational model of the electrical machine. The computational model is linearized at each operating point and, for a prevailing operating point, the computing system 102 is configured to determine changes Ai-i Cu , Ai Cv and Ai Cw to be made to the first component currents, changes Ai 2Cu , Δί 20ν and Ai 2Cw to be made to the second component currents, and possibly changes Ai 3Cu , Δί 30ν , and Ai 3Cw to be made to the third components currents on the basis of a desired change of the torque AT ref and desired changes of the x- and y-directional magnetic forces AF xref and AF yref . In the linearized computational model, products of the above-mentioned changes of the currents are assumed to be so small that these products can be approximated with zeroes.

The control device 101 shown in figures 1 a and 1 b can be implemented with one or more analogue circuits and/or with one or more digital processor circuits, each of which can be a programmable processor circuit provided with appropriate software, a dedicated hardware processor such as for example an application specific integrated circuit "ASIC", or a configurable hardware processor such as for example a field programmable gate array "FPGA". Figure 2 shows a flowchart of a method according to an exemplifying and non- limiting embodiment of the invention for controlling an electrical drive that comprises:

- an electrical machine comprising a stator and a rotor,

- a first converter stage connected to terminals of phase-windings of the sta- tor, and

- a second converter stage connected to intermediate points of the phase- windings of the stator, each of the phase-windings comprising a first portion between the terminal and the intermediate point of the phase-winding under consideration, and each of the phase-windings comprising a second portion in addition to the first portion of the phase-winding under consideration.

The method comprises the following actions:

- action 201 : determining first component currents i-icu, i-icv, and ew and second component currents i 2 c u , i2Cv, and i 2 cw so that torque is generated in accordance with electrical machine control and magnetic levitation force is di- rected to the rotor in accordance with levitation control when the first portions of the phase-windings carry both the first and second component currents and the second portions of the phase-windings carry at least the first component currents,

- action 202: determining reference currents i ref i u , i ref i v , and i ref i w for the first converter stage on the basis of the first and second component currents, and - action 203: determining reference currents i re f2u, iref2v, and i re f2w for the second converter stage on the basis of at least the second component currents.

A method according to an exemplifying and non-limiting embodiment of the inven- tion comprises determining the first and second component currents on the basis of a computational model of the electrical machine, the computational model being modelling the electrical machine so that the flux-linkages of the phase-windings are dependent on a rotational position of a permanent magnet rotor and inductances are assumed to be so small that the flux-linkages of the phase-windings are assumed to be substantially independent of the first and second component currents.

A method according to an exemplifying and non-limiting embodiment of the invention comprises determining changes to be made to the first component currents and changes to be made to the second component currents on the basis of a line- arized computational model of the electrical machine so that, at each linearization point, products of the changes are approximated with zeroes.

A method according to an exemplifying and non-limiting embodiment of the invention comprises determining third component currents so that the torque is generated in accordance with the electrical machine control and the magnetic levitation force is directed to the rotor in accordance with the levitation control when the first portions of the phase-windings carry both the first and second component currents and the second portions of the phase-windings carry both the first and third component currents. In this exemplifying case, the reference currents for the second converter stage are determined on the basis of the second and third component currents.

A computer program according to an exemplifying and non-limiting embodiment of the invention comprises computer executable instructions for controlling a programmable processing system to carry out actions related to a method according to any of the above-described exemplifying embodiments of the invention. A computer program according to an exemplifying and non-limiting embodiment of the invention comprises software means for controlling a programmable processing system of an electrical drive that comprises:

- an electrical machine comprising a stator and a rotor, - a first converter stage connected to terminals of phase-windings of the stator, and

- a second converter stage connected to intermediate points of the phase- windings of the stator, each of the phase-windings comprising a first portion between the terminal and the intermediate point of the phase-winding under consideration, and each of the phase-windings comprising a second portion in addition to the first portion of the phase-winding under consideration.

The software means comprise computer executable instructions for controlling the programmable processing system to:

- determine first component currents i-i cu, i-i cv, and ew and second compo- nent currents i 2 c u , i2Cv, and i 2 cw so that torque is generated in accordance with electrical machine control and magnetic levitation force is directed to the rotor in accordance with levitation control when the first portions of the phase-windings carry both the first and second component currents and the second portions of the phase-windings carry at least the first component currents,

- determine reference currents i re fi u, iret-iv, and i re fiw for the first converter stage on the basis of the first and second component currents, and

- determine reference currents i ref 2u, i re f2v, and i ref2 w for the second converter stage on the basis of at least the second component currents. The software means can be e.g. subroutines or functions implemented with a suitable programming language and with a compiler suitable for the programming language and for the programmable processing system under consideration. It is worth noting that also a source code corresponding to a suitable programming language represents the software means because the source code contains the information needed for controlling the programmable processing system to carry out the above-presented actions and compiling changes only the format of the information. Furthermore, it is also possible that the programmable processing sys- tern is provided with an interpreter so that a source code implemented with a suitable programming language does not need to be compiled prior to running.

A computer program product according to an exemplifying and non-limiting embodiment of the invention comprises a computer readable medium, e.g. an optical disc, encoded with a computer program according to an exemplifying embodiment of invention.

A signal according to an exemplifying and non-limiting embodiment of the invention is encoded to carry information defining a computer program according to an exemplifying embodiment of invention.

The specific examples provided in the description given above should not be con- strued as limiting the scope and/or the applicability of the appended claims. Lists and groups of examples provided in the description given above are not exhaustive unless otherwise explicitly stated.