Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
HIGH-PRECISION ROTOR POSITION DETERMINATION FOR USE IN POSITION AND/OR TORQUE CONTROL AT LOW SPEED
Document Type and Number:
WIPO Patent Application WO/2023/143848
Kind Code:
A1
Abstract:
There is described an assembly for determining the electrical angle of a rotor in an electrical machine, such as a wind turbine generator. The assembly comprises: (a) an encoder having an encoder wheel configured to contact a surface of the rotor to obtain relative rotor rotation information based on rotation of the encoder wheel, (b) an electrical angle observer configured to provide an absolute electrical angle, and (c) a processing device coupled to communicate with the encoder and the electrical angle observer and configured to determine the electrical angle of the rotor based on the relative rotor rotation information and the absolute electrical angle. Furthermore, a wind turbine generator comprising such an assembly, and a method of determining the electrical angle of a rotor in an electrical machine, such as a wind turbine generator, are described.

Inventors:
FREIRE NUNO MIGUEL AMARAL (DK)
FULCHER ROBERT VERNON (GB)
GODRIDGE PAUL (GB)
LUND MOGENS (DK)
RINGGAARD JESPER DOMMERBY (DK)
WU ZHAN-YUAN (GB)
Application Number:
PCT/EP2022/087889
Publication Date:
August 03, 2023
Filing Date:
December 27, 2022
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
SIEMENS GAMESA RENEWABLE ENERGY AS (DK)
International Classes:
H02P6/18; G01B3/12
Foreign References:
US20080204767A12008-08-28
DE202010014680U12011-03-24
DE102011101085A12012-11-15
EP2887023A22015-06-24
Attorney, Agent or Firm:
SGRE-ASSOCIATION (DE)
Download PDF:
Claims:
CLAIMS

1. An assembly for determining the electrical angle of a rotor in an electrical machine, such as a wind turbine gener- ator the arrangement comprising: an encoder assembly configured to be mounted on a stator of the electrical machine, the encoder assembly having an en- coder wheel configured to contact a surface of the rotor to obtain relative rotor rotation information based on rotation of the encoder wheel, an electrical angle observer configured to provide an absolute electrical angle, and a processing device coupled to communicate with the en- coder and the electrical angle observer and configured to de- termine the electrical angle of the rotor based on the rela- tive rotor rotation information and the absolute electrical angle.

2. The assembly according to the preceding claim, wherein the processing device is configured to utilize the absolute electrical angle as an initial value in the determination of the electrical angle of the rotor.

3. The assembly according to any one of the preceding claims, wherein the electrical angle observer comprises an HFI observer.

4. The assembly according to any one of the preceding claims, wherein the processing device is further configured to determine the electrical angle of the rotor based on a gear ratio between the encoder wheel and the surface of the rotor.

5. The assembly according to the preceding claim, wherein the processing device is configured to utilize a predeter- mined fixed gear ratio. 6. The assembly according to claim 4, wherein the pro- cessing device is configured to determine and utilize a dy- namically corrected gear ratio.

7. The assembly according to the preceding claim, wherein the processing device is configured to determine a gear ratio correction factor based on the relative rotor rotation infor- mation and the absolute electrical angle.

8. The assembly according to the preceding claim, wherein the processing device is configured to determine the gear ra- tio correction factor by performing a closed-loop control al- gorithm that receives a difference between the determined electrical angle of the rotor and the absolute electrical an- gle.

9. The assembly according to claim 7, wherein the pro- cessing device is configured to determine the gear ratio cor- rection factor by performing a closed-loop control algorithm that receives a difference between an integrated first rotor speed signal and an integrated second rotor speed signal, wherein the first rotor speed signal is calculated based on the determined electrical angle of the rotor, and wherein the second rotor speed signal is calculated based on the absolute electrical angle.

10. The assembly according to any one of claims 7 to 9, wherein the processing device is configured to determine the dynamically corrected gear ratio based on a predetermined fixed gear ratio and the gear ratio correction factor.

11. A wind turbine generator comprising: a stator, a rotor arranged to rotate around the stator, a wind turbine controller, and an assembly according to any one of the preceding claims, wherein the encoder is mounted on the stator, wherein the en- coder wheel contacts a surface of the rotor, and wherein the wind turbine controller is configured to perform rotor posi- tion control utilizing the determined electrical angle as a control signal.

12. A method of determining the electrical angle of a rotor in an electrical machine, such as a wind turbine generator, the method comprising: arranging an encoder having an encoder wheel such that the encoder wheel contacts a surface of the rotor to obtain relative rotor rotation information based on rotation of the encoder wheel, providing an absolute electrical angle by means of an electrical angle observer, and determining the electrical angle of the rotor based on the relative rotor rotation information and the absolute electrical angle.

13. The method according to the preceding claim, wherein the absolute electrical angle is utilized as an initial value in the determination of the electrical angle of the rotor.

14. The method according to claim 12 or 13, wherein deter- mining the electrical angle of the rotor is based on a gear ratio between the encoder wheel and the surface of the rotor.

15. The method according to the preceding claim, further comprising determining a gear ratio correction factor based on the relative rotor rotation information and the absolute electrical angle.

Description:
DESCRIPTION

High-precision rotor position determination for use in posi- tion and/or torque control at low speed

Field of Invention

The present invention relates to the field of electrical ma- chines, such as wind turbine generators. In particular, the present invention relates to an assembly for determining the electrical angle of a rotor in an electrical machine, such as a wind turbine generator. The present invention further re- lates to a wind turbine generator comprising such an assem- bly, and to a method of determining the electrical angle of a rotor in an electrical machine, such as a wind turbine gener- ator .

Art Background

The electrical drive train of a direct-drive wind turbine is required to enable various modes/functions other than power production, the best-known being rotor positioning, which must be able to turn the rotor of a turbine slowly (at a fraction of rpm) and hold it stationary at a target position (0 rpm or as close as possible) . Recent developments aim at performing horizontal single blade mounting (HSBM) with the electrical drive train, thus avoiding the installation of a hydraulic tool dedicated to blade installation (also known as HSBM tool) . HSBM requires very accurate position and torque control up to the maximum allowable torque. Accordingly, cor- responding position feedback and control methods are re- quired .

Typically, torque control of a permanent magnet generator (PMG) is achieved by implementing an inner current control- ler, which requires accurate and high-resolution electrical rotor position (e.g. for Park transformations) . If rotor po- sition information is not available or unreliable, the gener- ated torque is unpredictable. Thus, the turbine's ability to provide the aforementioned functions will be impaired and its structural integrity put at risk. It happens that sensorless (back-emf based) methods employed for position estimation un- der power production mode (medium/high speed operation) fail at very low speeds. Some machine technologies (e.g., interior permanent magnet (PM) machines) are well suited for alterna- tive sensorless methods, like high-frequency signal injection (HFI) based observers. On the other hand, surface mounted PM and fractional slot concentrated winding machines may not of- fer a good enough position dependent signature for HFI sen- sorless methods, forcing the adoption of sensors for position measurement.

High performance motion control often employs shaft-mounted incremental encoders. However, a desirable application for a large outer rotor PMG (permanent magnet generator) presents two major difficulties: (1) the requirement to know absolute rotor position accurately - this is not provided by an incre- mental encoder; and (2) the lack of a rotor shaft for easy installation of an encoder.

Therefore, there may be a need for simple and cost-efficient ways of determining rotor position with high precision and reliability in an electrical machine, such as a direct-drive wind turbine generator with outer rotor.

Summary of the Invention

This need may be met by the subject matter according to the independent claims. Advantageous embodiments of the present invention are described by the dependent claims.

According to a first aspect of the invention there is provid- ed an assembly for determining the electrical angle of a ro- tor in an electrical machine, such as a wind turbine genera- tor with outer rotor. The assembly comprises: (a) an encoder assembly configured to be mounted on a stator of the electri- cal machine, the encoder assembly having an encoder wheel configured to contact a surface of the rotor to obtain rela- tive rotor rotation information based on rotation of the en- coder wheel, (b) an electrical angle observer configured to provide an absolute electrical angle, and (c) a processing device coupled to communicate with the encoder and the elec- trical angle observer and configured to determine the elec- trical angle of the rotor based on the relative rotor rota- tion information and the absolute electrical angle.

This aspect of the invention is based on the idea that an ab- solute electrical angle provided by an electrical angle ob- server is combined with relative rotor rotation information obtained by an encoder to determine the electrical angle of the rotor with high precision and high bandwidth. In other words, the encoder is capable of detecting small amounts of rotor rotation and thus corresponding small changes in the electrical angle of the rotor, while the electrical angle ob- server provides absolute electrical angle information that cannot be obtained by the encoder.

According to an embodiment of the invention, the processing device is configured to utilize the absolute electrical angle as an initial value in the determination of the electrical angle of the rotor.

In other words, the absolute electrical angle from the ob- server is used as a starting point or reference value in the determination of the electrical angle, while the deviations from the initial value are tracked by the encoder.

According to a further embodiment of the invention, the elec- trical angle observer comprises an HFI (high frequency injec- tion) observer.

In other words, the electrical angle observer is capable of determining the absolute electrical angle by injecting high frequency signals into the generator and detecting corre- sponding signals in the generator output.

According to a further embodiment of the invention, the pro- cessing device is further configured to determine the elec- trical angle of the rotor based on a gear ratio between the encoder wheel and the surface of the rotor.

By considering the gear ratio between the encoder wheel and the surface of the rotor, the actual rotation of the rotor can be derived from the rotation of the encoder wheel.

According to a further embodiment of the invention, the pro- cessing device is configured to utilize a predetermined fixed gear ratio.

In this embodiment, the gear ratio is fixed and predeter- mined, e.g., by measuring the respective sizes of the rotor surface and the encoder wheel prior to installation or use.

According to a further embodiment of the invention, the pro- cessing device is configured to determine and utilize a dy- namically corrected gear ratio.

In other words, the processing device is capable of correct- ing the gear ratio in a dynamic manner, i.e., continuously during operation. Thereby, by utilizing the thus dynamically updated gear ratio, the precision of the determined electri- cal angle is further improved.

According to a further embodiment of the invention, the pro- cessing device is configured to determine a gear ratio cor- rection factor based on the relative rotor rotation infor- mation and the absolute electrical angle.

In other words, the gear ratio correction factor is deter- mined on the basis of the output (relative rotor rotation in- formation) from the encoder and the output (absolute electri- cal angle) from the electrical angle observer.

According to a further embodiment of the invention, the pro- cessing device is configured to determine the gear ratio cor- rection factor by performing a closed-loop control algorithm that receives a difference between the determined electrical angle of the rotor and the absolute electrical angle.

In other words, a closed-loop control algorithm is used to determine the gear ratio correction factor in such a way that the difference between the determined electrical angle and the absolute electrical angle (provided by the electrical an- gle observer) is minimized.

According to a further embodiment of the invention, the pro- cessing device is configured to determine the gear ratio cor- rection factor by performing a closed-loop control algorithm that receives a difference between an integrated first rotor speed signal and an integrated second rotor speed signal. The first rotor speed signal is calculated based on the deter- mined electrical angle of the rotor. The second rotor speed signal is calculated based on the absolute electrical angle.

In other words, in this embodiment the closed-loop control algorithm minimizes a difference between rotor angles ob- tained by integrating first and second rotor speed signals, respectively, where the first rotor speed signal is derived from the determined electrical angle of the rotor and the second rotor speed signal is derived from the absolute elec- trical angle (provided by the electrical angle observer).

This embodiment may be particularly advantageous in cases where the rotor speed is used for other purposes and thus al- ready available.

According to a further embodiment of the invention, the pro- cessing device is configured to determine the dynamically corrected gear ratio based on a predetermined fixed gear ra- tio and the gear ratio correction factor.

For example, the gear ratio GR may be determined as

GR = GR 0 •(1 - GR cf ), where GR 0 denotes the predetermined fixed gear ratio and GR C f denotes the gear ratio correction factor.

According to a second aspect of the invention, there is pro- vided a wind turbine generator comprising: (a) a stator, (b) a rotor arranged to rotate around the stator, (c) a wind tur- bine controller, and (d) an assembly according to any one of the preceding claims, wherein the encoder is mounted on the stator, wherein the encoder wheel contacts a surface of the rotor, and wherein the wind turbine controller is configured to perform rotor position control utilizing the determined electrical angle as a control signal.

This aspect of the invention is essentially based on the same idea as the first aspect discussed above and benefits from the precise and rapid determination of the electrical angle while performing rotor position control.

The rotor may in particular be an outer rotor. Furthermore, the encoder wheel may in particular contact an inner surface of the rotor.

According to a third aspect of the invention, there is pro- vided a method of determining the electrical angle of a rotor in an electrical machine, such as a wind turbine generator with outer rotor. The method comprises: (a) arranging an en- coder having an encoder wheel such that the encoder wheel contacts a surface of the rotor to obtain relative rotor ro- tation information based on rotation of the encoder wheel, (b) providing an absolute electrical angle by means of an electrical angle observer, and (c) determining the electrical angle of the rotor based on the relative rotor rotation in- formation and the absolute electrical angle. This aspect of the invention is essentially based on the same idea as the first aspect discussed above and relies in a cor- responding method.

According to a further embodiment of the invention, the abso- lute electrical angle is utilized as an initial value in the determination of the electrical angle of the rotor.

In other words, the absolute electrical angle from the ob- server is used as a starting point or reference value in the determination of the electrical angle, while the deviations from the initial value are tracked by the encoder.

According to a further embodiment of the invention, determin- ing the electrical angle of the rotor is based on a gear ra- tio between the encoder wheel and the surface of the rotor.

By considering the gear ratio between the encoder wheel and the surface of the rotor, the actual rotation of the rotor can be derived from the rotation of the encoder wheel.

According to a further embodiment of the invention, the meth- od further comprises determining a gear ratio correction fac- tor based on the relative rotor rotation information and the absolute electrical angle.

In other words, the gear ratio correction factor is deter- mined on the basis of the output (relative rotor rotation in- formation) from the encoder and the output (absolute electri- cal angle) from the electrical angle observer.

It is noted that embodiments of the invention have been de- scribed with reference to different subject matters. In par- ticular, some embodiments have been described with reference to method type claims whereas other embodiments have been de- scribed with reference to apparatus type claims. However, a person skilled in the art will gather from the above and the following description that, unless otherwise indicated, in addition to any combination of features belonging to one type of subject matter also any combination of features relating to different subject matters, in particular to combinations of features of the method type claims and features of the ap- paratus type claims, is part of the disclosure of this docu- ment.

The aspects defined above and further aspects of the present invention are apparent from the examples of embodiments to be described hereinafter and are explained with reference to the examples of embodiments. The invention will be described in more detail hereinafter with reference to examples of embodi- ments. However, it is explicitly noted that the invention is not limited to the described exemplary embodiments.

Brief Description of the Drawing

Figure 1 shows an outer rotor and an encoder wheel in accord- ance with an exemplary embodiment.

Figure 2 shows an encoder assembly in accordance with an ex- emplary embodiment.

Figure 3 shows a block diagram of a processing device in ac- cordance with an exemplary embodiment.

Figure 4 shows an example of initialization of electrical an- gle output in accordance with an exemplary embodiment.

Figure 5 shows block diagrams of gear ratio correction in ac- cordance with two exemplary embodiments.

Figure 6 shows plots of the influence of gear ratio correc- tion.

Figure 7 shows a block diagram of a system for performing ro- tor position control utilizing an assembly according to an exemplary embodiment. Figure 8 shows a flow chart of a method according to an exem- plary embodiment.

Detailed Description

The illustration in the drawing is schematic. It is noted that in different figures, similar or identical elements are provided with the same reference numerals or with reference numerals which differ only within the first digit.

Figure 1 shows an outer rotor 110 and an encoder wheel 120 of an assembly (described further below) according to an exem- plary embodiment. As shown, the encoder wheel 120 has a sig- nificantly smaller diameter than the outer rotor 110 and is arranged to contact an inner surface 115 of the rotor 110. In the present embodiment, the inner surface 115 is part of a rotor brake disc. As can be seen, when the outer rotor 110 rotates, this will cause a corresponding rotation of the en- coder wheel 120.

Figure 2 shows an encoder assembly 202 in accordance with an exemplary embodiment. The encoder assembly 202 comprises the encoder wheel 220 having a circumferential surface 221 for contacting an opposing surface, such as the inner surface 115 of the rotor 110 in Figure 1. The circumferential surface 221 preferably comprises rubber or a similar material. The encod- er wheel 220 is rotatably mounted on encoder arm 222 which is pivotably coupled to encoder mounting bracket 223 via joint 224. The encoder 202 further comprises a spring arrangement 225 arranged to bias the circumferential surface 221 of the encoder wheel 220 against the opposing surface (e.g., the in- ner surface 115 of the braking disc of rotor 110 in Fig- ure 1). The encoder mounting bracket 223 is configured to be (permanently or temporarily) mounted to a non-rotating part, such as a stator of an electrical machine, in the vicinity of the opposing surface (not shown in Figure 2). The encoder as- sembly 202 comprises appropriate sensors, e.g., magnetic, me- chanical and/or optical sensors, for detecting rotation of the encoder wheel 220 and correspondingly increment- ing/decrementing a counter as known in the art.

Figure 3 shows a block diagram of a processing device 330 in accordance with an exemplary embodiment. The processing de- vice 330 comprises a scaling unit 332, an angle increment calculation unit 334, a multiplier 335, an electrical angle calculation unit 336, and a speed calculation unit 338.

The scaling unit 332 receives a signal 327 representative of a count from the encoder 202 and scales the count value to obtain a raw angle value, for example by multiplying the count value by 360° and dividing it by the corresponding max- imum count value, e.g., 40000.

The raw angle value is supplied to the angle increment unit

334 which calculates an angle increment value corresponding to one processing cycle, i.e. a predetermined period of time.

The resulting angle increment value is supplied to multiplier

335 where it is multiplied with the number of generator pole pairs pp and divided by the gear ratio GR between the encoder wheel and the opposing surface of the rotor, i.e., the ratio between the number of encoder wheel turns and corresponding rotor turns which is equal to the ratio between the rotor di- ameter and the encoder wheel diameter. The gear ratio GR may be a fixed value or a dynamically corrected value (as de- scribed further below in conjunction with Figure 5).

The resulting electrical angle increment value is supplied to both electrical angle calculation unit 336 and speed calcula- tion unit 338. The electrical angle calculation unit 336 also receives an initial electrical angle value θ O and calculates the electrical angle value 0 by adding the received electri- cal angle increment value to the previous electrical angle value (or the initial electrical angle value θ O as appropri- ate). The speed calculation unit 338 calculates the electri- cal angle speed ω by dividing the received electrical angle increment value by the corresponding period of time.

Figure 4 shows an example of initialization of electrical an- gle output in accordance with an exemplary embodiment. More specifically, Figure 4 shows an uncorrected electrical angleθ e from the encoder and a corresponding electrical angle θ HFI obtained utilizing an HFI observer as functions of time t. As can be seen, the two electrical angles 0 e and θ HFI are not identical. However, by correcting the encoder angle by an amount corresponding to the difference, a corrected electri- cal angle θ e ' from the encoder is obtained which is very close to θ HFI

Figure 5 shows block diagrams of gear ratio correction in ac- cordance with two exemplary embodiments. More specifically, Figure 5 shows a processing device 530 and an electrical an- gle observer 540, which may preferably be an HFI observer. Furthermore, Figure 5 shows two gear ratio correction blocks 550 and 560. It should be noted that either one of the blocks 550 and 560 can be used on its own in a respective embodi- ment. In other words, the blocks 550 and 560 are shown in the same figure for ease of illustration but represent alterna- tive gear ratio correction methods.

The gear ratio correction block 550 comprises angle wrap unit 551, subtraction unit 552, low pass filter 553, gain adjust- ment unit 554, multiplier 555, enabling unit 556, and PI con- trol unit 557. The angle wrap unit 551 receives the electri- cal angle from the processing device 530 and supplies the processed electrical angle to the subtraction unit 552. The subtraction unit 552 also receives the absolute electrical angle from the electrical angle observer 540 and subtracts it from the electrical angle supplied by angle wrap unit to gen- erate an error signal which is then low pass filtered by low pass filter 553 and supplied to the gain adjustment unit 554 which applies a factor 1/pp to obtain an error value corre- sponding to the mechanical angle of the rotor. The resulting signal is multiplied with a value s by multiplier 555 and supplied to the PI control unit 557. The value s is indica- tive of the speed direction of the rotor (e.g., s=1 indicates clockwise rotation, s=-1 indicates counterclockwise rota- tion). If asserted by a corresponding signal from enabling unit 556, the PI control unit 557 outputs a gear ratio cor- rection factor GR cf which is supplied to the processing de- vice to allow dynamic correction of the gear ratio GR, e.g., by calculating GR = GR 0 •(1 - GR cf ), where GR 0 denotes a prede- termined fixed gear ratio.

The gear ratio correction block 560 comprises angle wrap unit 561, a first speed calculation unit 562 with low pass filter, a first integration unit 563 with angle wrap, a second speed calculation unit 564 with low pass filter, a second integra- tion unit 565 with angle wrap, an enabling unit 566, subtrac- tion unit 567, multiplier 568, and PI control unit 569. The angle wrap unit 561 receives the electrical angle from the processing device 530 and supplies the processed electrical angle to the first speed calculation unit 562 with low pass filter. The corresponding calculated first speed is supplied to the first integration unit 563 with angle wrap, which out- puts a first mechanical angle as a result. The second speed calculation unit 564 with low pass filter receives the abso- lute electrical angle from the electrical angle observer 540 and the corresponding calculated second speed is supplied to the second integration unit 565 with angle wrap, which out- puts a second mechanical angle as a result. The subtracting unit 567 receives the first and second mechanical angles and outputs a corresponding error signal to multiplier 568 which multiplies the error signal with a value s before supplying it to the PI control unit 569. The value s is indicative of the speed direction of the rotor (e.g., s=1 indicates clock- wise rotation, s=-1 indicates counterclockwise rotation). If asserted by a corresponding signal from enabling unit 566, the PI control unit 569 outputs a gear ratio correction fac- tor GR cf which is supplied to the processing device to allow dynamic correction of the gear ratio GR, e.g., by calculating GR = GRo•(1 - GR C f), where GRo denotes a predetermined fixed gear ratio.

Figure 6 shows plots of the influence of gear ratio correc- tion. More specifically, the upper plot 671 in Figure 6 shows gear ratio parameter error 672 and gear ratio correction 673 as functions of time, while the lower plot 675 shows the an- gle difference 676 (i.e., the difference between the angle provided by the processing device 530 and the angle provided by the observer 540 in Figure 5) as a function of time. The plots 671 and 675 correspond to a test performed on a wind turbine generator with the HFI sensorless observer 540 work- ing together with the encoder GR observer 550, 560. The fol- lowing is a result for the validation. By default, the GR pa- rameter GR 0 was set at 30.5, which was a little higher than the real value of 29.5 in this test. In the first part of the test, GRowas step increased by 20%. Due to the incorrect gear ratio, the angle difference 676 between HFI and encoder deviated from 0, and after a short period of transient, a GR correction value was produced from the GR observer, which was -20%, to compensate for the positive offset in the parameter setting at t=t1. In the second part of test, the step change in GR parameter was made by 20% decrease, and in this case the GR observer worked out the correct compensation value of +20% at t=t2. Therefore, the error in GR can be corrected, and the encoder can provide accurate position after the cor- rection.

In general, the gear ratio correction techniques disclosed herein can effectively handle variations in gear ratio occur- ring during operation, e.g., as a result of rubber compres- sion, wear, temperature variations, slips, and production tolerances.

Figure 7 shows a block diagram 707 of a system for performing rotor position control utilizing an assembly according to an exemplary embodiment. More specifically, the system comprises a reference input 780, a motion control unit 781, a vector control unit 782, a converter 783, a generator 784, position feedback 785, an HFI observer 786, and a position determining unit 787. The motion control unit 781 is configured to con- trol the generator 784 to obtain a desired rotor position or rotor speed or to produce a certain torque in response to references received at 780. The motion control unit 781 sup- plies corresponding currents to the vector control unit 782 which in turn supplies voltage reference values to converter 783 which is connected to the turbine generator 784. The ro- tor position feedback 785 is provided (by an encoder) to po- sition determining unit 787 together with a position estimate from HFI observer 786. The rotor position calculated by the position determining unit 787 is supplied to both the motion control unit 781 and the vector control unit 782 as feedback that is used to control the converter 783 accordingly.

Figure 8 shows a flow chart 808 of a method for determining the electrical angle of a rotor in an electrical machine, such as a wind turbine generator with outer rotor, according to an exemplary embodiment. The method 808 begins at SI with arranging an encoder having an encoder wheel such that the encoder wheel contacts a surface of the rotor to obtain rela- tive rotor rotation information based on rotation of the en- coder wheel. At S2, an absolute electrical angle is provided by means of an electrical angle observer. At S3, the electri- cal angle of the rotor is determined based on the relative rotor rotation information and the absolute electrical angle.

Generally, as shown in Figure 1, due to contact between the surface of encoder wheel 120 and the opposing surface 115 of the rotor (e.g., brake disc), the rotation of the rotor is transformed to rotation of the encoder wheel 120. The ratio of the two rotational speeds is the inverse of ratio between the brake disc diameter and wheel diameter (when assuming no slip). Thus, the gear ratio GR is given as the ratio between the respective diameters D or number of turns N: From the rotation of the encoder wheel 120, the generator ro- tation can be inferred, and so the generator electrical an- gle. For example, at an encoder count increment, , the change in generator electrical angle will be: .

Here, GR denotes gear ratio, GenPp is the number of generator pole pairs, EncMaxCount denotes the maximum count of encoder input representing 360 degrees (typically, this value is 40000 if the encoder has 10000 lines), and is the count increment of encoder signal per processing cycle.

The generator electrical angle is calculated as: .

Here, EncThetaOLast is the last scan of encoder angle, which can be initialized at the start of calculation by the HFI an- gle, for example.

Once the generator angle has been calculated, its speed can be derived with one of the conventional methods, such as (i) by the angle change between two scans (i.e., in the time pe- riod of processing cycle), or (ii) by the duration of time when the encoder count is changed by 1.

As the proposed technique with encoder control aims for zero or low speed operation, a low pass filter shall be applied to smooth out the above calculated speed.

Given a particular application, for example, with a generator of 90 pole-pairs, an encoder of 10000 lines, and a gear ratio GR of 32, the resolution of machine electrical angle by en- coder measurement can be about, 0.02 electrical degrees. This would allow high precision and high-performance motion con- trol. However, any uncertainty in the value of the gear ratio GR, due to tolerances in the wheel diameters, or compression of the rubber tire, will result in a corresponding speed meas- urement error, which in turn will result in an integrating angle measurement error and thus error in the machine elec- trical angle. This is handled effectively by the dynamic gear ratio correction described above. It is noted that the term "comprising" does not exclude other elements or steps and the use of the articles "a" or "an" does not exclude a plurality. Also elements described in as- sociation with different embodiments may be combined. It is further noted that reference signs in the claims are not to be construed as limiting the scope of the claims.