TMCnet News

High-accuracy Wind Speed Measurement Based on Hall Sensor and FPGA [Sensors & Transducers (Canada)]
[April 22, 2014]

High-accuracy Wind Speed Measurement Based on Hall Sensor and FPGA [Sensors & Transducers (Canada)]


(Sensors & Transducers (Canada) Via Acquire Media NewsEdge) Abstract: Anemometer is a typical wind speed measuring equipment, widely applied in new energy field and meteorological measurement. This paper analyzed the measuring principle of cup anemometer, and presented a high-accuracy wind speed measure based on orthogonal Hall sensors. The sensors were arranged appropriately to output orthogonal pulses, on this basis, signal filtering, subdivision unit, gated counter and interface were realized by FPGA. The precision analysis shows this method has much less relative error without too much cost and preserves the original dynamic characteristics. Copyright © 2013 IFSA.



Keywords: Wind speed measurement, Hall sensor, Orthogonal, Subdivision, FPGA.

(ProQuest: ... denotes formulae omitted.) 1. Introduction Wind energy has been well recognized as environmentally friendly, socially beneficial, and economically competitive for many applications [1, 2], and wind speed is one of the most basic meteorological parameters, in relevant research field of atmospheric dynamics, the measurement of it is significant, in addition, micrometeorology and control technology of wind power equipment needs higher measuring accuracy, and put forward more requirements. A cup anemometer is the most typical measurement device in all kinds of anemometers, widely used due to the specific characteristics (robustness, reliability and relative low cost) and despite well-known drawbacks (over-estimation of mean wind speed, inertial effects at higher frequencies) [3]. Based on this device, a highaccuracy measurement is presented in this paper.


2. Theoretical Background Most cup anemometers have either three or four hemispherical cups mounted at the end of metal or plastic arms. Each cup is mounted at equal angles to each other; and its concave face tum in the same direction, all the arms and cups are fixed on a vertical central shaft. The shaft is supported by a base clamped or bolted immovably tight; a magnetic tooth ring is glued to the bottom end of it. When wind blows, a cup will 'capture' the wind and be pushed causing the next cup to be blown into its former position where that cup is now 'pushed' and so on and so forth, the result is spinning cups atop the shaft., meanwhile, the tooth ring spins with the shaft and cause periodical change of magnetic field, a magnetic sensitive sensor nearby the tooth ring will generate a series of electric pulses at a rate that is proportional to the wind speed. The structure of cup anemometer is shown in Fig. 1.

Mathematically, the relationship between the rotary speed of cup, n, and the wind speed, v, can be expressed as shown in (1): ... (1) where p is the air density, A is the cross-sectional area of cup, r is the turning radius of cup holder, Co, Ci is the structure constants of cup anemometer, Bo is the static friction torque and B\ is the kinetic friction torque.

If the friction damping torque can be ignored, the approximate mathematical model of wind speed measurement can be described as: ... (2) To improve the measurement resolution of cup anemometers, Hall sensor or photoelectric sensor are used to match a gear ring, the output pulses of sensor provide a frequency fp that is proportional to the number of teeth n in (3): ... (3) The relation between wind speed v and output frequency fp mentioned above is described as: ... (4) And we can get the relative measurement error of wind speed as [4]: ... (5) Gathering terms, to improve the measurement accuracy of wind speed, we need to reduce the frequency measurement error and improve the frequency. On one hand, regarding to increase the frequency, we can directly increase the gear teeth number to implement, this way is simple theoretically and applied in certain areas, but it is limited by the volume of the system and machining processing technique, mostly in practice, the general ratio of gear teeth is between 48 and 60 [5]; On the other hand, to reduce the frequency measurement error, we can increase the counting gate time, but it will reduce the dynamic characteristics of the system. Aiming at the technical requirements of wind speed measurement mentioned above, a new measurement is proposed in this paper based on the orthogonal pulses, orthogonal signals can be subdivided and frequency multiplication can be realized, taking advantage of these characteristics and the programmable logic function of FPGA, we can improve the measuring accuracy without changing the mechanical structure of the system.

2. Overall Design of the System The overall design scheme is shown in Fig. 2, two Hall sensors are designed and generate two sets of orthogonal pulses, the FPGA processes the two signatures and achieve the functionality of prefiltering, subdivision, frequency multiplication, gating counting, data latching and output interface, etc; the gating signal and the data teletransmission are realized by the micro control unit MCU. The system is equipped with RS-485 serial interface to communicate with upper computer and make remote measuring, controlling.

3. Acquisition of Orthogonal Pulses If the teeth number of tooth ring is fixed, we can improve the output frequency fp of wind speed measuring signal by subdivide the orthogonal pulses. A workable approach is to add a parallel set of Hall sensor and corresponding measurement circuit based on the primary structure of the anemometer, which transforms the wind speed pulses from single-channel signals to orthogonal double-channel ones, the structural layout is shown in Fig. 3.

The Hall sensors are pumped by the permanent magnet as shown; the anemometer gear ring is made of conducted magnetic materials. When the gear ring rotates under the action of wind, the distance between the ring and sensors changes alternatively and leads to periodic change of magnetic field distribution which through the sensors, then the sensor output goes through the pre-circuit and pulses are obtained. Adjust the relative position of two sets of sensors, and the orthogonal signals needed are obtained. The pulses are shown in Fig. 4.

4. Signal Filtering The pre-circuits transform the received analog signals from Hall sensors into square-wave ones, in this process, high-frequency noise signals usually appear nearby the triggering marginal value and affect subsequent subdivision and counting. The noise signals width is mostly between several dozens or hundreds of nanoseconds, in order to avoid the influence to the following process, we must apply the noise filter after shaping circuit of square-wave signals firstly. The width of noise pulse is much smaller than the normal square-wave pulse's, according to this characteristic, a time-delay processing to the input signal is carried on, therefore, whether the current pulse is the noise jamming or not can be determined. This paper carries on the noise judgment and filtration through taking 4 clock widths as the threshold value, which means when a pulse width is smaller than the width of 4 clocks, the pulse is considered as a noise signal, and can be ignored. The principle of noise filter based on FPGA is shown in Fig. 5, A presents the output signal of Hall Sensor 1, CLK_0 is the clock signal from dividing the system clock and the filtering result is marked as QA_F.

The simulation of signal filtering based on QUARTUS II is shown as in Fig. 6, from which we can see that, the narrow noise pulses appears in the normal level have been filtered.

5. Signal Quadruple Subdivision and Frequency Multiplication In order to improve measurement resolution of wind speed, a logical processing is carried on after filtering the noise of two orthogonal square-wave signals to realize subdivision [6]. We designed quadruple subdivision circuit and Fig. 7 shows the schematic diagram realized by FPGA. The input signals QA_F and QB_F are filtered wind speed pulses, the exclusive-or gate is to latch the edge and finally go through nor gate to get a quadruple frequency output COUNT_P. The subdivision simulation result is shown in Fig. 8 and Fig. 9. Fig. 8 simulates the high wind-speed situation, the frequency of the signal is 20 kHz; Fig. 9 simulates the low wind-speed condition, the frequency of the signal is 200 Hz.

6. Counter and Interface The frequency of subdivision circuit's output signal COUNT_P can be implemented by gating counting, and then the wind speed measurement is realized. Therefore the gating counter needs to be configured. The counting results are 16 bits, and we need to convert them to 2 bytes to be compatible with the conventional data interface and finally realize teletransmission. Thus, we designed a multiplex programmable counter and the schematic diagram is shown in Fig. 10. In this diagram, the counting depth of counter is devised as 16bits to make certain wind speed measurement range; a 2 x 8 multiplexer is designed to transmit the 16-bits counting results byte separately; 74273 is a data latch to access MCU.

7. Precision Analysis and Conclusion We take a certain Hall type cup anemometer for example, the intrinsic mechanical system of it has a 60-teeth measuring gear, when the wind speed is 22.8 m/s, the frequency of measuring output pulse is 1.8 kHz, we also can estimate that if the wind speed is 0.2 m/s to 50 m/s, the output frequency is between 78 Hz and 4 kHz; adopt the technique this paper introduced above, the speed measuring frequency will quadruple the former one, and if set 0.5 s as the gate time (T), according to (5) and measurement error (6), the relative errors under different wind speed conditions can be obtained, the results is shown in Table 1.

... (6) where ... is the relative error of crystal oscillator for MCU, it can be ignored.

From Table 1, we can see that if the wind speed is 50 m/s, the maxim counting value is about 7800, much smaller than the ultimate value 65535 of 16-bits counter, and shows the design mentioned in Part 6 can satisfy the practical requirements completely.

From this comparison, we can see that the wind speed measurement based on FPGA and Hall sensors has higher accuracy and better dynamic characteristics, and improve the measuring effect significantly, in the meanwhile, doesn't have to change the mechanical structure of cup anemometer. But from an overall perspective, the main error factor of this equipment is mechanical damping of the supporting structure, the wind cup usually has large turning radius to acquire nice aerodynamic performance, hence has larger inertia which affects the dynamic performance mostly [5]. Further studies will be taken aiming at these factors to improve the precision more, such as designing an advanced structure of cup or other ways.

References [1] . M. Monfared, H. Rastegar, H. M. Kojabadi, A new strategy for wind speed forecasting using artificial intelligent methods, Renewable Energy, Issue 34, 2009, pp. 845-848.

[2] . S. S. Soman, H. Zareipour, O. Malik, P. Mandai, A Review of Wind Power and Wind Speed Forecasting Methods With Different Time Horizons, in Proceedings of the North American Power Symposium (NAPS), Arlington, USA, 26-28 September 2010, pp. 1-8.

[3] . S. Yahaya, J. P. Frangí, Cup anemometer response to the wind turbulence - measurement of the horizontal wind variance, Annales Geophysicae, Issue 22, 2004, pp. 3363-3374.

[4] . P. Yan, Z. Hongsheng, Xufei, The Studying and Correction for the Overspeed of the Anemometer, Meteorological, Hydrological and Marine Instruments, Issue 2, 2003, pp 1-10 .

[5] . C. C. Wang, P. M. Lee, Y. L. Tseng, C. F. Wu, A Low Cost Quadrature Dedoder/Counter Integrated Circuit for AC Induction Motor Serve Control, Int. J. Electronics, Vol. 87, 2000, pp. 1053-1063.

[6] . T. F. Pedersen, J. Dahlberg, A. Cuerva, ACCUWIND - Accurate Wind Speed Measurements in Wind Energy, Riso-R-1563 (EN), July, 2006.

1 Chunfu ZHANG,1 Jianqiang HE,2 Jianguo MIAO,2 Song TANG 1 School of Electrical Engineering, Yan Cheng Institute of Technology, Yan Cheng, 224051, China 2 Chenguang Calibration & Testing Center, Nanjing, 210006, China 1 Tel: (+86)152 6199 5726 E-mail: [email protected] Received: 18 September 2013 /Accepted: 22 November 2013 /Published: 30 December 2013 (c) 2013 International Frequency Sensor Association

[ Back To TMCnet.com's Homepage ]