Determining an electrical rotor position for an electrical machine
Patent Information
- Authority / Receiving Office
- EP · EP
- Patent Type
- Applications
- Current Assignee / Owner
- SIEMENS GAMESA RENEWABLE ENERGY AS
- Filing Date
- 2024-05-17
- Publication Date
- 2026-04-15
AI Technical Summary
Conventional methods for determining the electrical rotor position in permanent magnet synchronous machines, such as those used in wind turbines, suffer from dynamic performance limitations, ambiguity in position estimation, and introduction of high-frequency harmonics due to the need for current derivative calculations and simplistic cost functions.
A method utilizing a current model to calculate and assess candidate rotor positions using a designed cost function, eliminating the need for current derivative calculations and ambiguity, by iteratively refining candidate values to improve accuracy and reliability of rotor position determination.
This approach enhances the accuracy and reliability of electrical rotor position determination, reducing harmonic noise and improving control performance by avoiding ambiguity and high-frequency issues, thereby improving the dynamic performance and control of electrical machines.
Smart Images

Figure EP2024063748_12122024_PF_FP_ABST
Abstract
Description
[0001]202307677 1 DESCRIPTION Determining an electrical rotor position for an electrical machine Field of invention The present invention relates to a method and a corresponding arrangement of determining an electrical rotor position value of an electrical synchronous machine having a stator with stator windings. Further, a method for controlling the elec- trical machine is provided. Still further, an electrical syn- chronous machine system is provided as well as a wind turbine comprising the electrical synchronous machine system. Art Background For controlling a permanent magnet synchronous machine, in particular using vector control, the rotor electrical posi- tion may be required. The rotor electrical position may be required for transforming current measurements and voltage measurements or voltage reference quantities to a rotating reference frame which is denoted as a dq reference frame. Al- so, the rotor electrical position may be required for a back transformation into the stationary reference frame. The rotor electrical position may conventionally be obtained using different approaches. In one approach, current measure- ments and / or voltage measurements or voltage reference values are utilized in a set of equations, in order to calculate the rotor electrical position. This methodology may also be re- ferred to as sensorless determination of the electrical rotor position. For sensorless control of permanent magnet synchronous ma- chines (PMSMs), a back electromotive force (back-EMF) based position observer is conventionally used to obtain the rotor position information. A phase-locked loop (PLL) based posi- 202307677 2 tion observer has been widely used since it is simple and easy to implement. However, the dynamic performance of the conventional PLL based position observer may not be satisfac- tory. In wind turbine applications, a high-performance posi- tion observer is key for adequate generator control and ac- tive drive train damping. Conventional observers have been adopted for wind turbine ap- plications, and their performance limitations accommodated by changes to control algorithms and demanding tuning of control parameters. A so-called finite-position-set (FPS) position observer for the back-EMF based sensorless control was proposed. A finite set of rotor positions are evaluated and the optimal one is selected by minimizing a designed cost function. This type of observer can provide a better dynamic than conventional PLL based position observers. Simulation studies showed bandwidth can be higher than that of the conventional observers. Howev- er, there are several drawbacks found in the state-of-the- art. The conventional methods may be based on a voltage model of the permanent magnet synchronous machine. According to this voltage model conventionally used, the calculation of a cur- rent derivative is necessary which however introduces a lot of high-frequency harmonics and noises. Further, a conventionally used cost function only enables to determine an electrical rotor position having an ambiguity, since also a position estimation of error of 180° typically leads to a minimum of a conventional cost function. Thereby, errors in the estimation of the electrical rotor position of 180° or a multiple of 180° are observed which may degrade the control performance of the electrical machine. Thus, there may be a need for a method and a corresponding arrangement of determining an electrical rotor position value 202307677 3 of an electrical synchronous machine, wherein at least some of the above-mentioned problems or disadvantages are mitigat- ed. Further there may be a need for a method of controlling an electrical synchronous machine, wherein the control is im- proved and the method may be implemented in a simple manner not requiring extensive complexity of the system. Summary of the Invention According to an embodiment of the present invention, it is provided a method of determining an electrical rotor position value of an electrical, in particular permanent magnet, syn- chronous machine having a stator with stator windings, the method comprising: using a current model of the machine, to calculate an error of a (stator) current for at least one candidate value of the electrical rotor position; assessing the candidate value using a cost function; and defining the actual electrical rotor position value based on the assess- ment. The method may be implemented in software and / or hardware and may in particular be performed by a controller of the elec- trical machine, in particular a wind turbine controller. The method may be applied to a wind turbine generator. The electrical rotor position value defines the rotor posi- tion in an electrical angle which is related to the mechani- cal or azimuthal rotor position or angle position by an equa- tion comprising the number of pole pairs. The electrical ro- tor position value may be proportional to the mechanical ro- tor position or rotor azimuthal angle. The electrical rotor position value may be required for appropriately controlling the electrical machine in particular for vector control. The electrical rotor position value may be utilized for trans- forming electrical quantities, like currents or voltages, from a stationary coordinate frame to a synchronously rotat- ing reference frame (dq-frame, synchronously rotating with the rotor) and the electrical rotor position value may as 202307677 4 well as be utilized for back transformation of d-, q- components of electrical quantities to components of a sta- tionary coordinate system. The current model may be provided using a set of equations, for example linear equations which relate the current (in particular two components of the current, for example compo- nents of an dq-frame or components of an alpha-beta-frame) at a present time instance to components of the currents and al- so components of voltages as pertaining to a previous time instance. Conventionally a voltage model of the electrical machine may have been utilized to provide a determination of the electri- cal rotor position. In conventional methods, a so-called EMF- observer may have been implemented or utilized. Embodiments of the present invention may also require or com- prise to estimate the back-EMF (back-electromagnetic force) using a voltage model including a set of equations. However, additionally the current model is utilized which has particu- lar advantages regarding the accuracy and / or reliability of the determination of the electrical rotor position. For exam- ple a calculation of a current derivative may not be neces- sary any more at least may not be necessary to calculate cur- rent errors. Furthermore, when the current model is utilized, advanta- geously a cost function can be designed which will not intro- duce an ambiguity in the determination of the electrical ro- tor position. When the determined electrical rotor position value is utilized for controlling the electrical machine, the reliability and accuracy of the determined electrical rotor position value may be improved thereby consequently also im- proving the control of the machine. According to embodiments of the present invention, not only one candidate value but plural candidate values are assessed 202307677 5 using the cost function. In the most general variant however the method is only applied to a single candidate value and enables to assess a pre-given candidate value. According to an embodiment of the present invention, the method further comprises providing plural candidate values for the electrical rotor position;providing current compo- nent values and voltage component values relating to the sta- tor windings; calculating, using the current model of the machine, in particular using a set of equations (e.g. eq.(11, 12;15, 16)), for each of the candidate values, associated components (e.g. d- and q-component or alpha-, beta- components) of the error of a (stator) current based on the plural current component values and plural voltage component values; providing the cost function being a real valued func- tion of the components of the error of the current; assessing the candidate values using the cost function; and defining the actual electrical rotor position value based on the as- sessment. The plural candidate values may for example be selected or defined to be within an interval of 0° to 360° such that they for example are evenly spaced from each other to cover the entire angle range of 360°. Those candidate values may be considered to represent initial candidates values. Embodi- ments of the present invention involve to cyclicly or itera- tively calculate in each cycle or iteration step an associat- ed set of candidate values which may be based on the previous candidate values which have been assessed by the cost func- tion. The candidate values of subsequent iteration cycles may span a smaller and smaller angle range such that an angle range covered by candidate values of a subsequent cycle or iteration step is smaller than an angle range of the candi- date values of a previous iteration step or cycle. Thereby, the accuracy of the determination of the rotor position value may be improved from step to step. 202307677 6 The current component values and voltage component values may relate to or may be or represent the currents and voltages carried in or be generated at the stator windings. The cur- rent component values and / or voltage component values may for example be given in an alpha-beta stationary frame. The com- ponents in the alpha-beta stationary frame may be calculated by transforming the phase currents in particular the three phase currents in the a-, b-, c-frame using known transfor- mation matrices. The error of the stator current may relate to a particular time instance and the method may continuously be performed for plural subsequent time instances. The error of the stator current may relate or may be a difference between for example a measured current component and a predicted current as cal- culated using the current model both relating for the same time instance. The current model may require as input the current component values and voltage component values (in particular relating to a previous time instance). The error of the stator current may be evaluated using the cost function which may in partic- ular be a function of the error of the stator current, in particular a function of two components of the error of the stator current. The function value of the cost function to which the cost function evaluates for a particular stator current error input may enable to test or assess the respec- tive candidate value (of the rotor position) which is associ- ated to the respective error of the stator current. Assessing the candidate values may for example involve to compare the respective function values of the cost function and for exam- ple selecting one or more of those candidate values which evaluate to one or more smallest cost function values. As has been mentioned above, embodiments of the present in- vention are not restricted to a fixed set of plural (initial) candidate values, but may generate during performing the method multiple sets of candidate values which more and more 202307677 7 limit candidate values to smaller and smaller angle ranges. The final actual electrical rotor position value is then se- lected or defined to be within the last stated angle range, as defined by the width or span of the last set of candidate values. According to an embodiment of the present invention, the cur- rent model enables to calculate predicted current components at a time instance (e.g. k) based on the provided current components at a previous time instance (e.g. (k-1)), the pro- vided voltage components at the previous time instance and an estimated back-EMF at the time instance, wherein for calcu- lating the estimated back-EMF a voltage model is used. The predicted current components may for example be or com- prise the current components in the alpha-beta frame. The same components may be utilized for the voltage and also for the back-EMF. The back-EMF may be calculated using one or more equations of a voltage model. The back-EMF may for exam- ple be calculated to depend on the current component values, a magnet flux of the permanent magnets and for example a ro- tational speed of the rotor. Further, the inductances along the d-axis and the q-axis may be utilized for calculating the back-EMF. According to an embodiment of the present invention, the cost function has a single minimum for an error of the electrical rotor position value being zero. When the error of the elec- trical rotor position is for example pi or a multiple of pi, the cost function may have a value which is different from the single minimum value. The cost function may have the property that it evaluates two different values if the error of the respective tried candi- date value from the true rotor position value is zero or (a multiple of) pi. The cost function in particular may have on- ly a minimum when the error of the electrical rotor position value is 0 and may have a larger value if the error of the 202307677 8 electrical rotor position value is pi or a multiple of pi. Thereby, the ambiguity of the determination of the electrical rotor position value may be avoided which may in particular be exploited during control of the electrical machine. There- by control of the electrical machine may be improved. According to an embodiment of the present invention, the cost function depends on one of: a d-component and a q-component of the error of the current, in particular a sum of squares of those error components; a alpha-component and a beta- component of the errors of the current, in particular a sum of squares of those error components (see e.g. eq. (13, 17) below). When the cost function depends on for example the d-component and the q-component or the alpha-component and the beta- component of the error of the current, the cost function may be designed or established to avoid an ambiguity of the de- termination of the electrical rotor position, as observed in conventional methods, for example utilizing a voltage model. Thereby, the accuracy of the determination may be improved. According to an embodiment of the present invention, the er- ror of the current depends on a difference of the provided current and a current estimated or predicted based on the re- spective candidate value of the electrical rotor position us- ing the current model. Thereby, a simple implementation and definition of the cost function may be provided, simplifying the method. The provid- ed current may for example relate to measured current provid- ed for the different component, for example alpha- and beta- components of a measured current. According to an embodiment of the present invention, defining a value as the actual electrical rotor position value based on the assessment comprises: defining a value as the actual electrical rotor position value, in particular in an itera- 202307677 9 tive fashion, to be within an interval limited by those two candidate values in each iteration step which lead to two minimal values of the cost function. Thereby, an improved searching strategy may be provided. The set of candidate values of the electrical rotor position val- ues may be subject to change in each iteration cycle, there- by, restricting the candidate values to a range which has a dynamically diminished width in each iteration cycle. The fi- nal electrical rotor position then lies in the smallest angle interval reached when the iteration is terminated. By this methodology, the number of iterations may be kept in accepta- ble ranges, while the accuracy of the determination of the electrical rotor position may be satisfactory. According to an embodiment of the present invention, select- ing a value as the actual electrical rotor position value based on the assessment comprises: a first stage in which two candidate values from plural initial candidate values, in particular evenly distributed in an angle interval having width of 360°, are selected which lead to the two smallest values of the cost function; a second stage, in which it is iteratively performed: determining a mid position between the two previous candidate values; selecting, among the two pre- vious candidate values and the mid position, those two as next candidate value which result in the two smallest cost function values. Thereby, a detailed implementation may be provided which may in a simplified manner be transferred to a software code im- plementing the iterative method. According to an embodiment of the present invention, the it- eration is terminated after a predetermined number of itera- tions and / or wherein the actual electrical rotor position value is set to this candidate value which evaluates to the smallest cost function value in the last iteration step. 202307677 10 The predetermined number of iterations may for example be be- tween 5 and 20 or for example between 5 and 15 or may for ex- ample be 15. The number of initial candidate values may for example range between 5 and 20, in particular between 5 and 10, in particular being 6. According to an embodiment of the present invention, the cur- rent component values and / or voltage component values are components in dq-frame or alpha-beta-frame; and / or wherein the current component values are measured values and / or the voltage component values are reference values; and / or the method further comprising controlling the electrical machine based on the determined rotor position value. Thereby, several implementation variants may be provided and the control of the electrical machine may be improved. The voltage component values may also be measured values. It may, however, be assumed that the reference values of the voltages may correspond to the true voltage component values. Using the reference values may simplify the method. The current component values may for example be measured at the stator windings, e.g. by sensors which may conventionally be in- stalled at the electrical machine. According to an embodiment of the present invention, the electrical machine comprises a generator of a wind turbine. For a wind turbine generator it may be advantageous to uti- lize a sensor-less method for determining the electrical ro- tor position in order to simplify the construction, in par- ticular not requiring for example an encoder or a magnetic field sensor or the like for determining or measuring the ro- tor position. According to an embodiment of the present invention, it is provided a method of controlling an electrical, in particular permanent magnet, synchronous machine having a stator with stator windings, the method comprising: performing a method according to one of the preceding embodiments; controlling, 202307677 11 in particular comprising vector control, the electrical ma- chine based on the determined rotor position value. During vector control, transformation of electrical quanti- ties between different coordinate systems may be required. For example for a transformation and / or a back-transformation to or from a dq-coordinate frame synchronously rotating with the rotor, the electrical rotor position is required. When the accuracy of the determination of the electrical rotor po- sition is improved, the vector control or in general the con- trol of the machine may be improved. It should be understood, that features, individually or in any combination, explained, applied, provided or described in the context of a method of determining an electrical rotor position value of an electrical synchronous machine, may al- so, individually or in any combination, applied, employed or provided for an arrangement for determining an electrical ro- tor position value of an electrical synchronous machine ac- cording to embodiments of the present invention and vice ver- sa. According to an embodiment of the present invention, it is provided an arrangement for determining an electrical rotor position value of an electrical, in particular permanent mag- net, synchronous machine having a stator with stator wind- ings, the arrangement comprising: a processor adapted: to use a current model of the machine, to calculate an error of a (stator) current for at least one candidate value of the electrical rotor position; to assess the candidate value us- ing a cost function; and to define the actual electrical ro- tor position value based on the assessment. The arrangement may be implemented in software and / or hard- ware. The arrangement may for example be a module or a por- tion of a wind turbine controller. The electronic storage may in particular comprise a storage area for storing one or more computer programs or code containing instructions which are 202307677 12 configured to carry out at least portions of a method of de- termining the electrical rotor position value. The processor may have access to the electronic storage. The module provid- ing the cost function may also partly be implemented in the electronic storage or may have access to the electronic stor- age. The cost function may also be stored as a data structure in the electronic storage. Thereby, the arrangement may be adapted to carry out method of determining the electrical rotor position value as ex- plained according to several or multiple embodiments accord- ing to the present invention above. According to an embodiment of the present invention, the ar- rangement further comprises an electronic storage adapted to store plural candidate values for the electrical rotor posi- tion; a module providing the cost function being a real val- ued function of the components of the error of the current; an input port for receiving plural stator winding current component values and plural stator winding voltage component values; wherein the processor is adapted to calculate, using a current model of the machine, in particular using a set of equations (e.g. eq.(11, 12;15, 16) below), for each of the candidate values, associated components (e.g. d- and q- component or alpha, beta) of an error of a (stator) current based on the plural current component values and plural volt- age component values; the processor being further adapted: to assess the candidate values using the cost function; and to define the actual electrical rotor position value based on the assessment. According to an embodiment of the present invention, it is provided an arrangement for determining an electrical rotor position value of an electrical, in particular permanent mag- net, synchronous machine having a stator with stator wind- ings, the arrangement comprising: an electronic storage adapted to store plural candidate values for the electrical rotor position; an input port for receiving plural stator 202307677 13 winding current component values and plural stator winding voltage component values; a processor adapted to calculate, using a current model of the machine, in particular using a set of equations (e.g. eq.(11, 12;15, 16) below), for each of the candidate values, associated components (d- and q- component or alpha, beta) of an error of a (stator) current based on the plural current component values and plural volt- age component values; a module providing a cost function be- ing a real valued function of the components of the error of the current; the processor being further adapted: to assess the candidate values using the cost function; and to define the actual electrical rotor position value based on the as- sessment. According to an embodiment of the present invention it is provided an electrical synchronous machine system, compris- ing: an electrical, in particular permanent magnet, synchro- nous machine having a rotor and a stator with stator wind- ings; and an arrangement according to the preceding embodi- ment connected to receive measurement values of the electri- cal machine, in particular connected to control the electri- cal machine. Furthermore, according to an embodiment of the present inven- tion it is provided a wind turbine, comprising: a rotor hub having plural rotor blades mounted; an electrical synchronous machine system, whose rotor is coupled to the rotor hub. The aspects defined above and further aspects of the present invention are apparent from the examples of embodiment to be described hereinafter and are explained with reference to the examples of embodiment. The invention will be described in more detail hereinafter with reference to examples of embodi- ment but to which the invention is not limited. 202307677 14 Brief Description of the Drawings Embodiments of the present invention are now described with reference to the accompanying drawings. The invention is not restricted to the illustrated or described embodiments. Fig. 1 schematically illustrates an arrangement for deter- mining an electrical rotor position value of an electrical synchronous machine according to an embodiment of the present invention; Fig. 2 illustrates a graph representing a cost function as employed according to embodiments of the present invention, e.g. in the arrangement illustrated in Fig. 1; Fig. 3 schematically illustrates an arrangement for deter- mining an electrical rotor position value of an electrical synchronous machine according to another embodiment of the present invention; Fig. 4 illustrates a graph representing a cost function as employed according to embodiments of the present invention, e.g. in the arrangement illustrated in Fig. 3; Fig. 5, 6, 7 illustrate simulation results of determined electrical rotor positions according to a conventional method and to a first and a second embodiment according to the pre- sent invention, respectively. Fig. 8 schematically illustrates a wind turbine according to an embodiment of the present invention comprising an electri- cal synchronous machine system according to an embodiment of the present invention. 202307677 15 Detailed Description The illustration in the drawings is in schematic form. It is noted that in different figures, elements similar or identi- cal in structure and / or function are provided with the same reference signs or with reference signs, which differ only within the first digit. A description of an element not de- scribed in one embodiment may be taken from a description of this element with respect to another embodiment. The arrangement 100 schematically illustrated in Fig. 1 as a functional diagram for determining an electrical rotor posi- tion value Θ_E (101) of an electrical synchronous machine comprises an electronic storage 102 adapted to store plural candidate values Θ_e[i] (also labelled with reference sign 103). The arrangement further comprises a module 104 provid- ing a cost function (g[i,j]) being a real-valued function of components (i,j; 105a,b) of the error of the current, the er- ror of the currents labelled with reference sign 105a, 105b. The arrangement further comprises an input port 106 for re- ceiving plural stator winding current component values 107a,b (for time instance k) , 107’a,b (for time instance k-1), and plural stator winding voltage component values 108’a,b (for time instance k-1). The arrangement 100 further comprises a processor 109 which is adapted to calculate, using a current model of the ma- chine, for each of the candidate values 103 associated compo- nents (for example in the d-q-frame) of the error 105a, 105b of a stator current based on the plural current component values 107a,b, 107’a,b and the plural voltage component val- ues 108’a,b. As can be appreciated from Fig. 1, the processor 109 receives the plural current component values 107a, 107b pertaining to a current time instance k as well as the current component values 107'a, 107'b, relating to a previous time instance (k- 1) and further obtains the plural voltage component values 202307677 16 108'a, 108'b also relating to the previous time instance (k- 1). The functional box 110 representing the current model im- plemented in the processor 109 outputs, based on the input values 107'a, 107'b, 108'a, 108'b predicted current compo- nents 111a, 111b of the stator currents for the current time instance k. The arrangement 100 further comprises a difference element 112 to which the signals 107a, 107b and 111a, 111b are sup- plied, in order to derive the error components 105a, 105b, the stator current. The error components 105a, 105b are eval- uated or assessed in a cost function block 104 which outputs the corresponding real-valued result g[i,j] (g has as two ar- guments the components of the current error), also labelled with reference sign 113. In a searching strategy block 114 a new set of candidate val- ues 103 is derived based on the assessment of the previous candidate values. Thereby, the arrangement 100 may carry out an iterative procedure, wherein in each cycle a value of the actual electrical rotor position value is defined to be with- in an interval limited by those two candidate values in each iteration step which lead to two minimal values of the cost function g. In a first stage of the iterative cycle or method two candidate values from the plural initial candidate values (for example stored in the storage 102) are selected which lead to the two smallest values of the cost function. In a second stage, which is iteratively performed, it is respec- tively determined a mid position between the two previous candidate values among the two previous candidate values and the mid position. Those two values are selected as next can- didate values which result in the two smallest cost function values. The current values i_a, i_b, i_c may be measured as phase currents of three phases of the stator windings. According to the following equations 1, 2 the three-phase currents may be 202307677 17 transformed into a stationary alpha-beta frame for a synchro- nously rotating reference frame, the so-called d-q-frame: ^1 1 ^ ^ 1 1 ^^i^ ^ 1 ^ ^ ^ ^i a^ 1 ^ ^ ^v^^ ^ ^v^ ^a ^2 2 2^ ^^^2^2 2^ ^ ^ can (dq-) refer- ence frame by: ^ id ^ ^cos ^ sin ^^ ^i ^^ ^vd ^ ^cos ^ sin ^^ ^v ^^^^^ ^e e^ ^sin ^ cos ^^^^^^^^ ^e ei^ ^ ^i ^^v^ ^^ ^ ^sin ^ cos ^^^^ v ^^ a rotating reference frame can be given by: di v d ^ R s i d ^ L d d ^ ^ e L i dt q q stator voltages and currents in dq- is the resistance, L andqare the d- q- axis self- ^ is the rotor speed and ^mis the PM flux-linkage. a small sampling instance T , by using the for- ward Euler based method, the discrete-time domain voltage model at the kth sampling interval is expressed as: i k ^ 1 k v k^ Rk d^ id k k d sid^ Ld^^ eL iT q q a drive system, the real rotor position is unknown. Therefore, (4) is transformed into the estimated rotating reference frame as: 202307677 18 the variables in the estimated synchronous reference frame, ^ ^eis the posi- tion error between the real and the rotor position. Moreover, (5) and (6) can be expressed in the stationary ref- erence as: i k ^ 1^k ^i^ is designed to effectively select the positions from a finite position set to calculate the back-EMFs in estimated rotating reference frame and then these back-EMFs are evaluated in the cost functions. In the following, the current model applied according to em- bodiments of the present invention is explained with refer- ence to a set of equations. The measured current in stationary reference frame is repre- sented as: 202307677 19 instant can be pre- dicted based on the current model of the PMSM using the meas- ured current in the past sample instant, which is expressed by: ^ik^ ^ik ^1^ ^k ^ 1 k k ^ 1 ^^, p k^ ^ ^^k^ 1 ^ ^T^ ^i^ ^ ^v^ 1^ ^ Eˆ^ ^ ^s ^A^^k^ 1 ^ ^B^^^^ k ^ 1 ^ ^ ^ ^ˆk ^ 1^ ^ ^(11) ^^between the predicted can be derived as: ^ i k ^ ,p ^ ^i k^ ^sin^^sin^ˆ ^^ ^^^T B Ek^^ r r ^^ ik^^ ,p^^^^ ^ik^^^ ^s^^cos^r ^ cos^ˆr ^ ^(12) Clearly, it can be seen that the current difference is pro- portional to the position error. The functional block 110 illustrated in Fig. 1 may be adapted to carry out or apply the equation (11) given above. The cost function module 104 may implement the cost function g as follows according to eq.(13): kk 2 k 2g ^^i ^ i^^ i ^ i kCM1 ^ ^ , p ^ ^ ^ , p ^(13) Fig. 2 illustrates a curve 115 presenting the cost function g_cm1 of equation 13 in a coordinate system having an abscis- sa indicating the position error and having as an ordinate 202307677 20 the amplitude of the cost function. The curve 115 represent- ing the cost function of equation 13 has only a single mini- mum at the position error of 0°. Thus, using the cost func- tion as defined in equation 13 in the cost function module 104 enables to an unambiguous determination of the electrical rotor position 101. It should be appreciated that the arrangement 100 provides an embodiment of the present invention, wherein the currents are derived in the stationary alpha-beta reference frame. In contrast thereto, the arrangement 200, illustrated in Fig. 3, for determining the electrical rotor position value 201 of an electrical synchronous machine provides an embodiment of the present invention where the currents are calculated or modelled in the rotating dq-reference frame. It should be understood that features similar in structure and / or function in the different Figs. 1 and 3 are labelled with reference signs only differing in the first digit. A de- scription of one element not described in detail with respect to a particular embodiment can be taken from the description of the corresponding element in the other embodiment or fig- ure. Also the arrangement 200 comprises an electronic storage 202, which is adapted to store candidate values Θ_e[i] also la- belled with reference sign 203. Further the arrangement 200 comprises an input port 206 adapted to receive plural stator winding current component values 207'a, 207'b (relating to a previous time instance k-1), to receive plural current compo- nent values 207a, 207b (relating to current time instance k) and to receive plural stator winding voltage component values 208'a, 208'b (relating to a previous time instance k-1). The arrangement 200 further comprises the processor 209 com- prising plural functional modules or blocks which is adapted to calculate, using a current model 210, for each of the can- 202307677 21 didate values 203 associated components 205a, 205b of an er- ror of a stator current based on the plural current component values 207'a, 207'b, 207a, 207b and the plural voltage compo- nent values 208'a, 208'b. Further, the arrangement comprises a module 204 providing a cost function being a real-valued function of the components 205a, 205b of the error of the current. The processor 209 is adapted to assess the candidate values 203 using the cost function, as is provided by the module 204. The processor is further adapted to define the actual electrical rotor posi- tion value 201 based on the assessment. The cost function module 204 outputs the value of the cost function g[i,j] also denoted with reference sign 213, which is provided to a searching strategy module 214. The searching strategy may, similarly as described with reference to Fig. 1 comprise an iterative refinement process. In the embodiment illustrated in Fig. 3 the plural current component values and voltage component values 207'a, 207'b, 208'a, 208'b and also 207a, 207b are transformed from the al- pha-beta frame to the dq-frame by means of a transformation modules 216. The transformation may for example be according to the equations (2) given above. The transformation module 216 outputs the respective current component values in the dq-frame and provides them to the current model 210. The cur- rent model 210 may implement the equation (15) listed above and outputs the predicted current component values 218a,b for a current time instance. From the measured and transformed current component values 217a, 217b which are derived by another transformation module 216 from the input current component values 207a, 207b, the predicted current component values 218a, 218b as output by the current model 210 are subtracted in order to derive the errors of the current components 205a, 205b. 202307677 22 In the arrangement 200 (implementing a current model based FPS observer in the estimated rotating reference frame) the following equations may partly or entirely be implemented or applied: The measured current in the estimated reference frame is ex- pressed as: ^ T s ^^ ^iˆk ^10 ^^ ^ ^^ L d ^ ^ ^ ^vˆk ^ 1^ ^ ^R^ ^L^ ^iˆk ^ 1^ ^ ^sin^ ^ ^ ^ ^ ^ on the measured current in the past sample instant, which is given by: ^ T s^^iˆk^ ^i ˆk ^1^ ^ 0^ L ^^ ^ ^ ^vˆk ^ 1^ ^ ^R^^L^ ^i ˆk ^ 1^ ^0^ ^ ^ ^ current and measured current can be derived as: ^ T s0 ^^iˆ k^ ^i ˆ k^ ^^L^^ ^sin^ ^ ^ in scissa the position error as an ordinate the amplitude, a graph of a cost function according to equation 17 which may be implemented by the cost function module 204 illustrated in Fig. 3. The cost function g_cm2 is illustrated as a curve 319 202307677 23 in Fig. 4. Also this cost function g_cm2 exhibits only one single minimum for the position error of 0°. Figs. 5, 6, 7 illustrate simulation results in coordinate frames having as abscissa the time and having as an ordinate the rotor position or the error of the rotor position in steady-state. The curve 420 in Fig. 5 illustrates the determined position determined by a conventional method and the curve 421 in Fig. 5 illustrates the position error as observed for the conven- tional method. The curves 522, 523 in Fig. 6 illustrate the rotor position and the error of the rotor position, respectively when the arrangement 100 is utilized to determine the electrical rotor position, i.e. thereby estimating the rotor position in the rotating reference frame. The curves 624, 625 in Fig. 7 illustrate the determined rotor position and the error of the rotor position, respectively, when the arrangement 200 illustrated in Fig. 3 is utilized to determine the rotor position, i.e. when the position is cal- culated in the stationary reference frame. As can be observed from the curves 523, 625 in Figs. 6 and 7, the error of the rotor position determination is less than for the conventional example represented by curve 421 in Fig. 5. With the proposed current model based FPS observers, the cur- rent derivative operation can be avoided and the estimation becomes insensitive to noises and harmonics. Clearly, with the proposed method, the noises and harmonics in the position error are effectively suppressed. Embodiments of the present invention may provide the follow- ing embodiments or features and / or advantages: 202307677 24 1) Two current model based finite-position-set position ob- servers in estimated rotating and stationary reference frames are proposed. 2) Position estimation accuracy enhancement: A new cost func- tion is designed to estimate the rotor position and eliminate the ambiguity of position error ^ in the conventional meth- ods. 3) Current derivative calculation: the current derivative calculation is avoided in the proposed method, which effec- tively reduces the high frequency noises and harmonics in the position estimation. 4) With these improvements, this high bandwidth FPS observer becomes feasible and reliable for a practical implementation purpose. Once it is reliable to use, its high bandwidth ad- vantage can help to increase the control bandwidth of the overall system. Fig. 8 schematically illustrates a wind turbine 1350 accord- ing to an embodiment of the present invention. The wind tur- bine 1350 comprises a wind turbine tower 1351 and a nacelle 1352 mounted on top of the tower 1351. The nacelle 1352 har- bours a rotation shaft 1353 at which (in particular via a hub 1354) plural rotor blades 1355 are mounted. The rotor hub 1354 is via the rotor shaft 1353 mechanically coupled to a rotor 1356 of an electrical synchronous machine system 1360 according to an embodiment of the present invention. The electrical synchronous machine system 1360 comprises an electrical synchronous machine 1361 having the rotor 1356 and a stator 1362 with stator windings (not in detail illustrat- ed). The electrical synchronous machine system 1360 further com- prises an arrangement 1300 which may for example be config- ured as the arrangements 100, 200 illustrated in Figs. 1 or 2 which is connected to receive measurement values 1303a,b of the electrical machine 1361 and in particular also connected 202307677 25 to control the electrical machine 1361. In the illustrated embodiment, the control of the arrangement 1300 is via con- trol signals 1363 which are supplied to a converter 1364 which is connected to the electrical machine 1361. The con- verter output terminals are connected to a utility grid 1365. It should be noted that the term “comprising” does not ex- clude other elements or steps and “a” or “an” does not ex- clude a plurality. Also elements described in association with different embodiments may be combined. It should also be noted that reference signs in the claims should not be con- strued as limiting the scope of the claims.
Claims
202307677 26 CLAIMS 1. Method of determining an electrical rotor position value (101) of an electrical, in particular permanent magnet, syn- chronous machine (1361) having a stator (1362) with stator windings, the method comprising: using a current model (110) of the machine, to calculate an error (105a,b) of a current for at least one candidate value (103) of the electrical rotor position; assessing the candidate value (103) using a cost func- tion (g_CM1, g_CM2); and defining the actual electrical rotor position value (101) based on the assessment.
2. Method according to the preceding claim, further compris- ing: providing plural candidate values (103) for the electri- cal rotor position; providing current component values (107’a,b, 107a,b) and voltage component values (108a,b) relating to the stator windings; calculating, using the current model (110) of the ma- chine, in particular using a set of equations (11, 12;15, 16), for each of the candidate values, associated components (105a,b) of the error of a current based on the plural cur- rent component values (107’a,b, 107a,b) and plural voltage component values (108a,b); providing the cost function (g_CM1, g_CM2) being a real valued function of the components (105a,b) of the error of the current; assessing the candidate values (103) using the cost function; and defining the actual electrical rotor position value (101) based on the assessment.
3. Method according to the preceding claim, wherein the cur- rent model (110) enables to calculate predicted current com- ponents (111a,b) at a time instance based on the provided202307677 27 current components (107’a,b) at a previous time instance, the provided voltage components (108a,b) at the previous time in- stance and an estimated back-EMF (E) at the time instance, wherein for calculating the estimated back-EMF a voltage mod- el is used.
4. Method according to the preceding claim, wherein the cost function (g_CM1, g_CM2) evaluates to two different values if an error of the electrical rotor po- sition value is zero or pi and / or wherein the cost function (g_CM1, g_CM2) has a single minimum for an error of the electrical rotor position value being zero.
5. Method according to one of the preceding claims, wherein the cost function (g_CM1, g_CM2) depends on one of: a d-component (205a) and a q-component (205b) of the er- ror of the current, in particular a sum of squares of those error components; an alpha-component (105a) and a beta-component (105b) of the errors of the current, in particular a sum of squares of those error components.
6. Method according to one of the preceding claims, wherein the error of the current depends on a difference of the provided current (107a,b; 217a,b) and a current (111a,b; 218a,b) estimated or predicted based on the respective candi- date value (103, 203) of the electrical rotor position using the current model.
7. Method according to one of the preceding claims, wherein defining a value as the actual electrical rotor position val- ue based on the assessment comprises: defining a value as the actual electrical rotor position value, in particular in an iterative fashion, to be within an interval limited by those two candidate values in each itera- tion step which leads to two minimal values of the cost func- tion.202307677 28 8. Method according to one of the preceding claims, wherein selecting a value as the actual electrical rotor position value based on the assessment comprises: a first stage in which two candidate values from plural initial candidate values, in particular evenly distributed in an angle interval having width of 360°, are selected which leads to the two smallest values of the cost function; a second stage, in which it is iteratively performed: determining a mid position between the two previous candidate values; selecting, among the two previous candidate values and the mid position, those two as next candidate values which result in the two smallest cost function values.
9. Method according to the preceding claim, wherein the iteration is terminated after a predetermined number of iterations and / or wherein the actual electrical rotor position value is set to this candidate value which evaluates to the smallest cost function value in the last iteration step.
10. Method according to one of the preceding claims, wherein the current component values (107’a,b, 107a,b) and / or voltage component values (108’a,b) are components in dq-frame or alpha-beta-frame; and / or wherein the current component values are measured values and / or the voltage component values are reference values.
11. Method according to one of the preceding claims, wherein the electrical machine comprises a generator (1361) of a wind turbine (1350).
12. Method of controlling an electrical, in particular perma- nent magnet, synchronous machine (1361) having a stator (1362) with stator windings, the method comprising: performing a method according to one of the preceding claims;202307677 29 controlling, in particular comprising vector control, the electrical machine (1361) based on the determined rotor position value (101).
13. Arrangement (100) for determining an electrical rotor po- sition value (101) of an electrical, in particular permanent magnet, synchronous machine (1361) having a stator (1362) with stator windings, the arrangement comprising: a processor (209) adapted: to use a current model (210) of the machine, to calculate an error (105a,b) of a current for at least one candidate value (103) of the electrical rotor position; to assess the candidate value (103) using a cost function (g_CM1, g_CM2); and to define the actual electrical rotor position val- ue (101) based on the assessment, the arrangement in particular further comprising: an electronic storage (102) adapted to store plural can- didate values (103) for the electrical rotor position; a module (104) providing the cost function (g_CM1, g_CM2) being a real valued function of the components of the error (105a,b) of the current; an input port (106) for receiving plural stator winding current component values (107’a,b, 107a,b) and plural stator winding voltage component values (108a,b); wherein the processor (209) is in particular adapted to cal- culate, using the current model (110) of the machine, in par- ticular using a set of equations (11, 12;15, 16), for each of the candidate values (103), associated components (105a,b) of an error of a current based on the plural current component values and plural voltage component values; the processor (209) being in particular further adapted: to assess the candidate values (103) using the cost function (g_CM1, g_CM2); and to define the actual electrical rotor position val- ue (101) based on the assessment.202307677 30 14. Electrical synchronous machine system (1360), comprising: an electrical, in particular permanent magnet, synchro- nous machine (1361) having a rotor (1356) and a stator (1362) with stator windings; and an arrangement (1300) according to the preceding claim connected to receive measurement values of the electrical ma- chine, in particular connected to control the electrical ma- chine.
15. Wind turbine (1350), comprising: a rotor hub (1354) having plural rotor blades (1355) mounted; an electrical synchronous machine system (1361), whose rotor (1356) is coupled to the rotor hub (1354).