Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
CONTROL METHOD FOR A WIND TURBINE
Document Type and Number:
WIPO Patent Application WO/2018/001433
Kind Code:
A1
Abstract:
The invention relates to a method of controlling a wind turbine comprising a wind direction sensor, a yawing system, and a control system for yawing the wind turbine rotor relative to the wind. The method comprises measuring a first wind direction parameter by the wind direction sensor before performing a yaw event. The yaw event comprises the steps of determining a yawing parameter for the wind turbine as a function of the wind direction parameter, and yawing the wind turbine according to the yawing parameter. Then a data set is determined which data set comprises the first wind direction parameter, a wind direction sensor angle determined as a difference in the measured wind direction parameter before and after the yawing event, and a yaw angle indicative of the yawing performed during the yawing event. Over time a group of data sets is obtained and a wind direction offset is determined from the group of data sets which is used to adjust the wind direction parameter. The adjusted wind direction parameter is then used in the controlling of the wind turbine. The invention further relates to a control system for a wind turbine for performing a control method as mentioned above.

Inventors:
NIELSEN JOHNNY (DK)
Application Number:
PCT/DK2017/050218
Publication Date:
January 04, 2018
Filing Date:
June 29, 2017
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
VESTAS WIND SYS AS (DK)
International Classes:
F03D7/02; F03D17/00
Foreign References:
EP2154362A12010-02-17
EP2375060A12011-10-12
Other References:
TORBEN NIELSEN: "Wind direction sensor alignment", PRIOR ART PUBLISHING, 29 April 2016 (2016-04-29), XP040673131, ISBN: 978-3-945188-36-1
Download PDF:
Claims:
CLAIMS

1. A method of controlling a wind turbine, the wind turbine comprising a wind direction sensor for measuring a wind direction parameter indicative of the wind direction relative to the wind turbine, a yawing system, and a control system for yawing the wind turbine rotor relative to the wind, the method comprising:

- measuring a first wind direction parameter by the wind direction sensor;

- performing a yaw event comprising the steps of determining a control parameter of the wind turbine as a function of the wind direction parameter, wherein the control parameter comprises a yawing parameter for the wind turbine, and controlling the wind turbine according to the control parameter, wherein the controlling comprises yawing the wind turbine according to the yawing parameter;

- measuring a wind direction parameter by the wind direction sensor after said yawing event;

- determining a data set comprising the first wind direction parameter, a wind direction sensor angle determined as a difference in the measured wind direction parameter before and after the yawing event, and a yaw angle indicative of the yawing performed during the yawing event;

- obtaining over time a group of data sets;

- determining a wind direction offset from the group of data sets; - adjusting the wind direction parameter as a function of the wind direction offset, and

- applying the adjusted wind direction parameter in the controlling of the wind turbine.

SUBSTITUTE SHEET (26)

2. A method of controlling according to claim 1, further comprising determining for each data set a difference between the yaw angle and the wind direction sensor angle and determining the wind direction offset as an average of the difference for the group of data.

3. A method of controlling according to any of the preceding claims, wherein the yaw event comprises repeating said steps of determining a control parameter and controlling the wind turbine a number of times.

4. A method of controlling according to claim 3, wherein the steps are repeated until the measured wind direction parameter is within a pre-defined threshold of zero degrees.

5. A method of controlling according to any of the preceding claims further comprising obtaining a number of pre-defined wind direction intervals and obtaining a group of data and a wind direction offset for each wind direction interval, and wherein each data set is allocated to a group of data according to the first wind direction parameter in the data set.

6. A method of controlling according to claim 5, wherein the wind direction parameter is adjusted as a function of the wind direction offset of the wind direction interval comprising the wind direction parameter at the time of adjusting.

7. A method of controlling according to any of the preceding claims further comprising obtaining a number of pre-defined wind speed intervals and obtaining a group of data and a wind direction offset for each wind speed interval, and wherein each data set is allocated to a group of data according to a wind speed at a time during the yaw event of the data set. 8. A method of controlling according to claim 7, wherein the wind direction parameter is adjusted as a function of the wind direction offset of the wind speed interval comprising the wind speed at the time of adjusting.

9. A method of controlling according to claim 7, wherein the wind direction parameter is adjusted by an interpolation function between the wind direction offsets of the different wind speed intervals.

SUBSTITUTE SHEET (26)

10. A method of controlling according to any of the preceding claims, where a group of data sets is determined over a predetermined time period.

11. A method of controlling according to any of the preceding claims, where a group of data sets is determined based on a predetermined number of data sets in the group.

12. A method of controlling according to any of the preceding claims, where the steps of obtaining a group of data sets and determining a wind direction offset are repeated at time intervals.

13. A method of controlling according to any of the preceding claims, where the steps of obtaining a group of data sets and determining a wind direction offset are repeated a predefined number of times.

14. A method of controlling according to any of the preceding claims, where the adjusting of the wind direction parameter comprises subtracting the wind direction offset times a gain factor smaller than one, wherein the gain factor is in the interval of 0.1-0.95, such as in the interval of 0.4-0.6, such as equal to 0.5.

15. A method of controlling according to any of the preceding claims, where the wind direction parameter is further adjusted as a function of earlier wind direction offsets.

16. A control system for a wind turbine configured to perform the steps of:

- receiving a first wind direction parameter as measured by a wind direction sensor, wherein the wind direction parameter is indicative of the wind direction relative to the wind turbine;

- performing a yaw event comprising the steps of determining a control parameter of the wind turbine as a function of the wind direction parameter, wherein the control parameter comprises a yawing parameter for the wind turbine, and controlling the wind turbine according to the control parameter, wherein the controlling comprises

SUBSTITUTE SHEET (26) yawing the wind turbine according to the yawing parameter;

- receiving a wind direction parameter as measured by the wind direction sensor after said yawing event;

- determining a data set comprising the first wind direction parameter, a wind direction sensor angle determined as a difference in the measured wind direction parameter before and after the yawing event, and a yaw angle indicative of the yawing performed during the yawing event;

- obtaining over time a group of data sets;

- determining a wind direction offset from the group of data sets;

- adjusting the wind direction parameter as a function of the wind direction offset, and

- applying the adjusted wind direction parameter in the controlling of the wind turbine.

17. A wind turbine comprising a wind sensor, a yawing system, and a control system according to claim 15 for yawing the wind turbine rotor relative to the wind.

SUBSTITUTE SHEET (26)

Description:
CONTROL METHOD FOR A WIND TURBINE

FIELD OF THE INVENTION

The present invention relates to a method of controlling a wind turbine, the wind turbine comprising a wind direction sensor, a yawing system, and a control system for yawing the wind turbine rotor relative to the wind with the aim of controlling the wind turbine optimally under different and changing wind directions. The invention furthermore relates to control system for performing the control method and a wind turbine comprising such control system.

BACKGROUND Most modern wind turbines are controlled and regulated continuously with the purpose of ensuring maximum power extraction from the wind under the current wind and weather conditions, while at the same time ensuring that the loads on the different components of the wind turbine are at any time kept within acceptable limits.

In order to optimize the power production and reduce the loads of the turbine it is important to know the right relative wind direction of the free flow wind. Most often the wind direction is measured by a wind direction sensor such as a wind vane placed on top of the nacelle and the wind turbine rotor is then continuously yawed to face the wind. If the wind direction measurements are off even by one or a few degrees, the resulting misalignment of the turbine rotor may cause increased and different loadings on the wind turbine blades than anticipated, and thereby increased wear and fatigue on the blades, blade root connections, bearings etc. Further, a misalignment of the turbine rotor causes a non-negligible reduction in the power production over time.

The measurements from a wind direction sensor may however far from always be accurate for one reason because the rotor disturbs the free flow wind before reaching the wind sensor.

SUBSTITUTE SHEET (26) One way to compensate for this problem is by calibrating the wind vane measurements by a basic set of offset parameters. These parameters are typically found on a prototype turbine by comparing the measurements from the wind sensors on the turbine with measurements from a nearby Met Mast. Hereby the wind vane is calibrated such that the wind vane detects a relative wind direction of 0 degrees when the nacelle is turned directly up against the wind.

However, it has surprisingly been found that a wind sensor calibrated in this way is still not always accurate in that the wind directions different from 0 degrees may still be measured inaccurately. In other words, the wind direction sensor may still show an error in the relative wind direction measurement when the wind turbine is not pointing directly upwind. Further, this error in the wind direction measurements has been seen to not simply be off by a constant value, but to be off by a value depending on the rotor operation (and thereby depending on the wind speed), and by a parameter depending on how and from where the wind passes the rotor.

For some turbines and seemingly occasioned by an increased rotor size, this error has been seen to be even more pronounced. In case the wind direction sensor measures too high values of the relative wind directions, such error may cause the wind turbine to yaw back and forth on either side of the actual wind direction. In addition to the non-optimal controlling of the wind turbine, such yawing causes highly increased wear on the yawing components in addition to the non-optimal positioning of the rotor in the wind. To correct for this effect it has been proposed to use a nearby reference measurement like a METmast or LIDAR and then compare the relative wind direction given by the reference with the measurement from the wind direction sensors behind the rotor. The measured wind direction can then be corrected by making a transfer function between the measured wind direction by the wind sensors on the turbine and the reference measurement. It has however been found that such transfer function is very dependent on the turbine type and on the rotor size. There may further even be variations from turbine to turbine and from site to site.

Generating such transfer function is therefore both very time consuming and expensive as it requires a nearby METmast or a LIDAR for all the different variants of wind turbines.

SUBSTITUTE SHEET (26) OBJECT OF THE INVENTION

It is an object of embodiments of the present invention to provide a control method for a wind turbine which obviate or reduce some of the above mentioned problems in known controlling methods. It is therefore an object of embodiments of the present invention to overcome or at least reduce some or all of the above described disadvantages of the known wind direction measurements by providing a wind turbine controlling method of improved yawing and reduced risk of misalignment of the wind turbine rotor.

A further object is to establish win direction correction parameters without the need for measurements from any nearby METmast or a LIDAR.

It is a further object of embodiments of the invention to provide a method of improving the wind direction measurements obtained by conventional wind direction sensors and to provide a method of calibrating measurements from a wind direction sensor which may be implemented on existing equipment. It is a further object of the invention to provide a control method for a wind turbine increasing the annual energy production (AEP) of the wind turbine while preferably reducing the fatigue loading or wear on the turbine due to misalignment of the rotor in the wind or unnecessary yawing.

So, in a first aspect the present invention relates to a method of controlling a wind turbine, the wind turbine comprising a wind direction sensor for measuring a wind direction parameter indicative of the wind direction relative to the wind turbine, a yawing system, and a control system for yawing the wind turbine rotor relative to the wind. The method comprises:

- measuring a first wind direction parameter by the wind direction sensor;

- performing a yaw event comprising the steps of determining a control parameter of the wind turbine as a function of the wind direction parameter, wherein the control parameter comprises a yawing parameter for the wind turbine, and controlling the wind turbine

SUBSTITUTE SHEET (26) according to the control parameter, wherein the controlling comprises yawing the wind turbine according to the yawing parameter;

- measuring a wind direction parameter by the wind direction sensor after said yawing event;

- determining a data set comprising the first wind direction parameter, a wind direction sensor angle determined as a difference in the measured wind direction parameter before and after the yawing event, and a yaw angle indicative of the yawing performed during the yawing event;

- obtaining over time a group of data sets;

- determining a wind direction offset from the group of data sets;

- adjusting the wind direction parameter as a function of the wind direction offset, and

- applying the adjusted wind direction parameter in the controlling of the wind turbine.

Hereby is obtained a simple yet effective control method improving the yawing of the wind turbine and reducing the risk of misaligning the rotor relative to the wind, as the yawing is based on more accurate information on the wind direction. This is obtained by the adjusting of the measured wind direction by the wind direction offset whereby any rotor effects on the wind direction sensor is accounted for ensures an accurate wind direction measurement also when the wind is not coming directly in front.

Furthermore is obtained a simple and effective control method for increasing the performance such as the annual energy production (AEP), as the yawing is adjusted to obtain a better alignment of the rotor to the wind as actually experienced by the rotor. Also, the wind turbine is better protected as a more precise alignment of the rotor to the free wind generally results in better control of the loads on the wind turbine blades and reduced wear on components. Further, the improved accuracy of the wind direction measurements especially of wind directions at an angle to the rotor reduces the risk of overcompensating the yawing having the rotor yawing too much in each yaw step.

It has been found that the wind direction measurements used to determine the optimal orientation of the wind turbine can advantageously be adjusted based on an offset according to the proposed method. The measured wind direction is adjusted as a function of a wind direction offset which is determined by comparing the measured wind direction before and

SUBSTITUTE SHEET (26) after a yaw event to the yawing performed during the yaw event. In this way a change in the wind direction as measured by the sensor and as performed by the wind turbine are detected and the future wind direction measurements adjusted as a function hereof. Hereby is compensated for the error or inaccuracy of the relative wind direction measurement when the turbine is not pointing directly upwind and for the free wind flow having been changed by the rotor.

The proposed control method wherein the measured wind parameter is adjusted has been seen to yield a more robust and stable control method where the risk of unintentional increased or more or less abrupt switching between different yaw positions has been significantly reduced or even removed. In this way, the earlier mentioned problem of switching between too large positive and negative yaw directions on either side of the wind direction, which has been seen to occur on some rotor types due to the rotor somehow affecting the wind flow to be measured at the wind sensor position as higher than the free wind, has been seen to be avoided. This effect is obtained because the adjusting of the measured wind direction takes into account how the rotor influences the wind flow and thereby the sensor measurements when the rotor is not pointing directly upwind and.

The wind direction offset is advantageously used to adjust the wind direction parameter corresponding to an additional calibration of the wind direction sensor. The wind direction parameter is adjusted as a function of the wind direction offset, such as by a simple subtraction, as a gain factor, by a linear function or some other functions. Likewise the adjustment may be performed by a PI or PID control.

The adjusted wind direction parameter may preferably be applied in determining a yaw parameter for the wind turbine and the controlling of the wind turbine then comprises yawing the wind turbine according to the yawing parameter. Hereby the yawing parameter of the turbine is based on more accurate wind direction data improving the control of the wind turbine.

The adjusted wind direction parameter may alternatively or additionally be applied in determining other control parameters which to some extend depends on the wind direction,

SUBSTITUTE SHEET (26) such as a pitch parameter of one or more of the rotor blades, and/or a rotational speed of the rotor.

The yaw event comprises determining a yawing parameter for the wind turbine and yawing the wind turbine accordingly. The yawing parameter is typically determined based on the wind direction as measured by one or more of the wind direction sensors. The yawing of the wind turbine may be performed in one or more steps. Typically, the yawing is performed at some predefined speed such as 0.3-1 degree per second. Yawing for example 6 degrees may therefore take in the order of 6-25 seconds. A yaw event may therefore comprise determining and re-determining a yaw parameter more times and yawing the wind turbine accordingly. According to an embodiment, the yaw event comprises repeating the steps of determining a control parameter and controlling the wind turbine a number of times. The number of times may be a pre-defined number of times and/or corresponding to some pre-defined period of time.

In an embodiment of the invention, the steps are repeated until the measured wind direction parameter is within a pre-defined threshold of zero degrees. Normally, the wind direction sensor is calibrated to show a wind direction parameter of zero degrees when the wind turbine is pointing directly upwind. According to this embodiment, the yaw event is therefore continued until the wind turbine is facing upwind within a range of +/- the pre-defined threshold. Hereby the yaw angle indicative of the yawed angle reflects the actual relative wind direction before the yawing was initiated. This is then compared to how the wind direction sensor detects the same angle. The pre-defined threshold may be in the range of 0-5 degrees such as 1 degree, such as in the range of 0.2-0.6 degrees.

Further, continuing the yaw event until the measured wind direction parameter is within a pre-defined threshold of zero degrees is advantageous in indicating that the yawing parameter and yawing was successful.

The data set for a yaw event comprises data on the wind direction as measured before or as the yaw event was performed (the first wind direction parameter) as well as the wind direction sensor angle which is the difference in the measured wind direction before and after

SUBSTITUTE SHEET (26) the yaw event i.e. the change in wind direction as detected by the wind direction sensor. The data set for a yaw event further comprises the yawed angle i.e. the amount of yawing performed in the yaw event. The wind direction parameter may be measured only before and after the yaw event or may additionally have been measured a number of times during the yaw event.

The wind direction offset is based on a group of data sets i.e. from a number of data sets from different yaw events. The group of data sets is obtained over time such as over a

predetermined time period such as over a number of days, a week, or a month. Additionally or alternatively, the group of data sets is obtained over time such that a predetermined number of data sets are in the group. In this way the wind direction offset is determined based on a larger amount of data and determined more accurate and with a higher degree of certainty.

In an embodiment, the steps of obtaining a group of data sets and determining a wind direction offset are repeated at time intervals. In this way the wind direction offset may be updated from time to time such as for example every 3 months or the like and/or when changes have been made to the wind turbine which could affect the wind flow near the wind direction sensor. Hereby, seasonal changes can be taken into account and/or the potential influence from for example the mounting or replacement of equipment on the nacelle.

Additionally or alternatively, the steps of obtaining a group of data sets and determining a wind direction offset may be repeated for a defined time period only.

In an embodiment, the steps of obtaining a group of data sets and determining a wind direction offset are repeated a predefined number of times such as for example 2-5 times. Hereby, the wind direction offset can be determined with greater certainty.

According to an embodiment of the invention, the method further comprises determining for each data set a difference between the yaw angle and the sensor angle and determining the wind direction offset as an average of the difference for the group of data. Hereby the wind direction offset expresses the average difference between a yaw angle and how this yawing is detected by the wind direction sensor. Hereby is obtained a wind direction offset for effectively adjusting the wind direction measurements to be more accurate also for relative

SUBSTITUTE SHEET (26) wind directions other than zero degrees i.e. taking into account how the wind turbine rotor affects the free wind flow and causes relative wind changes when the wind is not directly upwind.

According to an embodiment, the control method further comprises obtaining a number of pre-defined wind direction intervals and obtaining a group of data and a wind direction offset for each wind direction interval, and wherein each data set is allocated to a group of data according to the first wind direction parameter in the data set. Hereby is obtained a number of wind direction offsets as a function of the size of the wind direction parameter. The wind direction parameter may then be adjusted as a function of the wind direction offset of the wind direction interval comprising the wind direction parameter at the time of adjusting.

Hereby is accounted for the wind flow being changed by the rotor differently in dependence on its direction when hitting the rotor. The adjustment according to this method have proven to be a good and effective means for the reducing or compensating for the inherent inaccuracy of the wind direction sensor measurements primarily caused by the free flow of the wind being changed by the rotor.

The predetermined intervals for the wind direction are preferably successive intervals but some may alternatively in an embodiment be partially overlapping. The intervals may be determined for example with a view to the dependency of the wind direction misalignment to the relative wind direction, such that smaller intervals are set in regimes where the wind direction correction changes more.

In an embodiment, 2, 3, 4, 5, 6, 7, or 8 different groups of data sets are made based on wind direction parameters within 2, 3, 4, 5, 6, 7, or 8 wind direction intervals, respectively. The more intervals the more refined the wind direction adjustment may be. The wind direction intervals may for example comprise the intervals from -12 to +12 degrees with steps of 3 degrees.

In an embodiment, the method further comprises obtaining a number of pre-defined wind speed intervals and obtaining a group of data and a wind direction offset for each wind speed interval, and wherein each data set is allocated to a group of data according to a wind speed at a time during the yaw event of the data set. The wind direction parameter may then be

SUBSTITUTE SHEET (26) adjusted as a function of the wind direction offset of the wind speed interval comprising the wind speed at the time of adjusting. Alternatively, the wind direction parameter may be adjusted by an interpolation function between the wind direction offsets of the different wind speed intervals. Similarly as for the wind direction intervals discussed above, the predetermined intervals for the wind speed are preferably successive intervals but some may alternatively in an embodiment be partially overlapping. The intervals may be determined for example with a view to the dependency of the wind direction misalignment to the wind speed, such that smaller intervals are set in regimes where the wind direction correction changes more. In an embodiment, 2, 3, or 4 different or additional groups of data sets are made based on data sets within 2, 3, or 4 wind speed intervals, respectively. The more intervals the more refined the wind direction adjustment may be. The wind direction intervals may for example comprise the intervals of relatively low, medium, and high wind speeds such as from 0-6 m/s, 6-12 m/s, and 12-25 m/s. In this way wind direction offsets may be determined for either of or both of different wind direction intervals and different wind speed intervals.

By determining a wind direction offset for a number of wind speed intervals is obtained a more precise method with improved accuracy better capturing that the wind direction is to be adjusted differently under different operating condition of the wind turbine and under different wind speeds.

The wind speed may be measured and/or estimated for example based on the power of the wind turbine.

In an embodiment, the adjusting of the wind direction parameter comprises subtracting or multiplying the wind direction offset times a gain factor smaller than one, wherein the gain factor is in the interval of 0.1-0.95, such as in the interval of 0.4-0.6, such as equal to 0.5. Hereby too abrupt changes to the yawing are avoided and an improved convergence may be obtained.

SUBSTITUTE SHEET (26) In yet a further embodiment of the invention, the wind direction parameter is further adjusted as a function of earlier wind direction offsets, whereby abrupt changes to the wind direction parameter may be avoided and whereby switching back and forth between values may likewise be avoided. For example, the wind direction parameter may be adjusted by a subtraction of the wind direction offset, and further a subtraction of the change in wind direction offset from the last to the present adjustment and times a gain factor.

In a further aspect the present invention relates to a control system for a wind turbine configured to perform the steps of:

- receiving a first wind direction parameter as measured by a wind direction sensor, wherein the wind direction parameter is indicative of the wind direction relative to the wind turbine;

- performing a yaw event comprising the steps of determining a control parameter of the wind turbine as a function of the wind direction parameter, wherein the control parameter comprises a yawing parameter for the wind turbine, and controlling the wind turbine according to the control parameter, wherein the controlling comprises yawing the wind turbine according to the yawing parameter;

- receiving a wind direction parameter as measured by the wind direction sensor after said yawing event;

- determining a data set comprising the first wind direction parameter, a wind direction sensor angle determined as a difference in the measured wind direction parameter before and after the yawing event, and a yaw angle indicative of the yawing performed during the yawing event;

- obtaining over time a group of data sets;

- determining a wind direction offset from the group of data sets;

- adjusting the wind direction parameter as a function of the wind direction offset, and - applying the adjusted wind direction parameter in the controlling of the wind turbine.

In a further aspect the present invention relates to a wind turbine comprising a control system according to the above.

The advantages of the control system and the wind turbine comprising such control system are as described in relation to the control method in the previous.

SUBSTITUTE SHEET (26) BRIEF DESCRIPTION OF THE DRAWINGS

In the following different embodiments of the invention will be described with reference to the drawings, wherein:

Fig. 1 illustrates the change in wind direction when the free flow passes through a wind turbine rotor,

Fig. 2 illustrates the functionality of the control method according to an embodiment of the invention,

Fig. 3 shows an example of the difference in yawed angle and measured relative wind direction over time and during a yaw event, Fig. 4 is a flow chart illustrating an embodiment of the invention,

Fig. 5 shows an example of wind direction offset for different wind direction as measured by a wind direction sensor and according to embodiments of the invention, and

Fig. 6 illustrates a compensation and fusion of the wind direction signals from different sensors. DETAILED DESCRIPTION OF THE DRAWINGS

Figure 1 illustrates the change in wind direction when the free flow 100 passes through a wind turbine rotor 101. If the rotor 101 is turned directly in to the wind as illustrated by the solid black line 103, a wind direction sensor 104 positioned on the nacelle 105 behind the rotor 101 when calibrated will measure a wind direction of 0 degrees. However, if the wind is not directly upwind, the wind flow 100 is affected by the rotor 101 and is affected differently depending on the direction of the incoming wind. Therefore, the wind sensor 104 may detect the wind direction inaccurately. The figure illustrates how an incoming wind at

approximately 45 degrees, 110, may be measured as being only 30 degrees, 111, even though

SUBSTITUTE SHEET (26) the wind sensor has been calibrated. Similarly, an incoming wind of approximately -20 degrees, 120, may be measured as being approximately -10 degrees, 121.

As mentioned above, the wind direction sensors 104 are generally calibrated for example by sets of predetermined calibration parameters such that the sensors yield a calibrated relative wind direction of 0 degrees when the rotor is turned directly upwind. The way the wind turbine rotor affects the wind flow depends on the type of wind turbine rotor.

However, it has been observed that the calibrated wind sensor shows an error in its relative wind direction measurements when the wind turbine is not pointing directly upwind. In many cases the wind sensors have been found to yield relative wind directions smaller than the actual relative wind direction (such as illustrated in figure 1). In such cases, the inaccuracy of the wind sensor reported here may not be noticed as this could result in the wind turbine being yawed less than optimal and the wind turbine needing more yawing steps to be turned into the wind. It can however also result in, that a bigger yaw error is required before starting yawing upwind, and even worse that an extreme yaw error event may not be detected. For instance if the wind is suddenly changing 30 degrees some pitching of the blades is needed to minimize the loads. But if only 20 degrees are measured, the load reduction activities would not be initiated on the event.

In some case and for some rotor types, the rotor has been seen to affect the wind flow in such a way that the wind sensors yield relative wind directions larger than the actual relative wind direction. This may however be critical to the controlling of the wind turbine and lead to critical loads and wear especially on the yawing system, as the control system may then tend to yaw the rotor too much and causing the rotor to be yawed back and forth without obtaining the desired yaw direction of the rotor pointing directly into the wind.

This inaccuracy of the wind sensor measurements is removed or at least reduced by the method according to the invention by adjusting the already calibrated relative wind direction by wind direction offsets which are determined according to the method as illustrated in figure 2 and in the flow chart of figure 4. Hereby is obtained a calibrated and adjusted relative wind direction, which is then used in the control of the wind turbine.

SUBSTITUTE SHEET (26) An overview of the functionality of the control method is shown in Figure 2.

The relative wind direction parameter 201 indicative of the wind direction relative to the wind turbine and from each wind sensor is continuously measured and filtered to reduce the effect of a passing blade in front of the sensor. When the turbine is yawing the filtered relative wind direction (the first wind direction parameter) just before the turbine start yawing is compared to the filtered relative wind direction just after the yawing, 202. The nacelle orientation of the wind turbine 200 is detected and the angle that the turbine has yawed (the yaw angle) 203 is then compared with the change in measured relative wind direction before and after the yawing (the wind direction sensor angle, AWD, 204). An illustration of this is shown in Figure 3. So if for instance the wind direction parameter 201 is measured to be +6 degrees (AWD) and the turbine needs to yaw 9 degrees (AYaw, 203) before the relative wind direction is approximately 0 degrees. Then there is a factor of 1.5 between the measured relative wind direction at 6 degrees and the real wind direction. A wind direction offset of +3 degrees when measuring +6 degrees can also be added instead. The wind direction offset 210 can be different for different measured wind direction parameter 201 and also for different wind speeds, 205.

Referring to figure 2, the control method comprises for each time the turbine is yawing collecting a set of data is in the "Compare Signal" block 202. The set consists of the yawed angle (AYaw, 203) and the change in relative wind direction (AWD, 204 ) from just before the yawing was started and just after it was ended. The data set is then evaluated to check if the data set is usable, 220. If the data is usable a running average of AYaw, 203 and AWD, 204 will be stored in a group of data that may depend on one or more of the first wind direction parameter, 201, the wind speed 205, and the production state (Production or Idle/Stopped, 230) of the turbine. The group of data sets could for instance be for a number of wind direction intervals within -12 to +12 degrees with step of 3 degrees. Groups of data sets could alternatively or additionally be formed for different wind speed intervals like for example from 0-6 m/s, 6-12 m/s, and 12-25m/s. The number of data sets in each group may also be stored.

When then number of samples or data sets in a given group reaches a predetermined number, a signal "WDx_Err_Valid(wd, ws)" for that group is sat, 220. Then the "Generate offset"

SUBSTITUTE SHEET (26) block, 221 can use the group data sets 222 for generating a wind direction offset "WDCx(wd, ws)", 210 for the given group. The wind direction offset 210, "WDCx(wd, ws)" may be determined from the difference between the average Yawed angle minus the average change in relative wind direction for the given group ( WDx_Err(wd, ws) = avg(AYaw) - avg(AWD) ). In the "Generate offset/gain" block, 221 a controller generates a Wind Direction offset "WDCx(wd, ws)", 210 for the given wind direction and wind speed interval. This wind direction offset can for instance be the "WDx_Err(wd, ws)" for the given interval(s) times a gain factor (for example in the range of 0.2 - 1.0). When a wind direction offset is generated for a given wind direction interval and/or wind speed interval, the "WDx_Err_Valid(wd, ws)" and "WDx_Err(wd, ws)" signals for that interval(s) are cleared. The number of data sets for the given group is also cleared and the collection of data sets for that group can start over again.

In the "Wind Direction Compensation" block, 240 in Figure 2 the wind direction signals "WDSx", 241 from the one or more wind direction sensors are adjusted or compensated "WDSx_Comp", 242 based on the wind direction offset "WDCx", 210 for the current measured wind speed, 205 and for the measured wind direction "WDSx", 241 (which determine the relevant wind direction offset from among the wind direction offsets for the different wind direction and wind speed intervals). This is done for each wind direction sensor "x". The compensation can be performed based on an interpolation between the wind direction offsets for the different wind speed intervals to obtain a more smooth adjustment.

Based on a validation "WDS Signal Validation", 250 of each of the adjusted "WDSx_Comp" signals 242 for the number of wind direction sensors, the adjusted signals will be fused to a single wind direction signal "WDS_Comp" 260 in the "WDS Signal Fusion" block, 261.

This is also illustrated in the flowchart diagram for the process to generate the wind direction offset for a given wind direction sensor x and as performed in a control system, 400, of a wind turbine according to the invention as shown in figure 4.

If a yaw event is performed 401, the yawed angle is stored along with the relative wind direction just before the yawing (the first wind direction parameter), and the change in the measured relative wind direction from just before to just after the yawing (the wind direction

SUBSTITUTE SHEET (26) sensor angle), 401. The data set thus obtained is then validated, 403, and if found to be usable then grouped in the step 404. The grouping is performed based on the first wind direction parameter and optionally the wind speed. Further, for the group an average of the difference between the yaw angle and the wind direction sensor angle is updated. Then it is determined if the group is based on a sufficient number of data sets, 405. If this is the case, a wind direction offset for the given group is determined, 406, as the average of the difference between the yaw angle and the wind direction sensor angle. This wind direction offset is then used to adjust the wind direction measurements preferably times some gain factor to make the adjustment more robust. The group of data sets for the given wind direction interval and wind speed interval is then cleared and optionally ready for a redetermination of a wind direction offset, 407.

Figure 5 shows the wind direction offsets 210 determined according to an embodiment of the invention and as a function of the relative wind direction measured by a wind direction sensor, 201. A number of wind direction offsets have here been determined for a number of different wind direction intervals and then interpolated in between. It is noted that the wind direction offset is 0 degrees for a measured wind direction of 0 degrees, corresponding to the wind direction sensor having been calibrated to correctly detect an incoming wind of 0 degrees. However, the figure clearly illustrate that the wind direction sensor does not measure the wind at other angles correctly as the determined wind direction offsets are relatively significant.

Figure 6 is a flowchart illustrating a compensation and fusion of the wind direction signals from different sensors. The wind direction signal for a sensor x is first compensated based on the wind direction offset for the relevant wind direction interval and wind speed interval based on the current relative wind direction and wind speed, 601. The hereby compensated wind direction signals from each of the different wind direction sensors are then fused, 602 to a single relative wind direction signal, 603. This may for example be performed based on a simple averaging and/or based on the current quality of each of the wind direction sensors. For example, some sensors may be known to perform poorly at very low temperatures and are therefore disregarded in the fusing when the temperature is low.

SUBSTITUTE SHEET (26)