CN103941615A - Microcontroller controlling method used for wind-power-plant ultrasonic wind speed monitoring - Google Patents
Microcontroller controlling method used for wind-power-plant ultrasonic wind speed monitoring Download PDFInfo
- Publication number
- CN103941615A CN103941615A CN201410061155.6A CN201410061155A CN103941615A CN 103941615 A CN103941615 A CN 103941615A CN 201410061155 A CN201410061155 A CN 201410061155A CN 103941615 A CN103941615 A CN 103941615A
- Authority
- CN
- China
- Prior art keywords
- chip microcomputer
- data
- wind speed
- wind
- fpga
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Wind Motors (AREA)
Abstract
The invention discloses a microcontroller controlling method used for wind-power-plant ultrasonic wind speed monitoring. Included are a single-chip microcomputer and an FPGA chip electrically connected with the single-chip microcomputer. After the single-chip microcomputer is powered on, the single-chip microcomputer is set and the following steps are carried out: FPGA data are received; wind speed, wind direction and temperature are calculated; and communication with an upper computer is performed, wherein specific setting of the single-chip microcomputer is as follows: after a main program of the single-chip microcomputer is entered, program configuration in the single-chip microcomputer is completed and interrupt signals of the FPGA chip are waited for and after an FIFO finishes data writing, the FPGA chip sends the interrupt signals and notifies the single-chip microcomputer to extract the FIFO data and then, the FIFO data are data which undergoes FPGA processing; and wind speed calculation is performed according to the extracted FIFO data so that a real-time wind speed and temperature are obtained and then the data which obtains the wind speed and temperature are uploaded to the upper computer for displaying. Therefore, an objective of reducing wind resource monitoring cost and improving work efficiency is achieved.
Description
Technical field
The present invention relates to generation of electricity by new energy process apoplexy monitoring resource technical field, particularly, relate to a kind of microprocessor controls method for the monitoring of wind energy turbine set ultrasonic wind speed.
Background technology
At present; the large-scale new forms of energy base majority that China's wind-powered electricity generation produces after entering the large-scale development stage is positioned at " three northern areas of China " (northwest, northeast, North China); large-scale new forms of energy base is generally away from load center, and its electric power need to be transported to load center and dissolve through long-distance, high voltage.Due to intermittence, randomness and the undulatory property of wind-resources, cause the wind-powered electricity generation generated output in extensive new forms of energy base that fluctuation in a big way can occur thereupon, further cause the fluctuation of power transmission network charge power, bring series of problems to safe operation of electric network.
By in November, 2013, the installed capacity of Gansu Power Grid grid connected wind power has reached 6,680,000 kilowatts, accounts for 21% of Gansu Power Grid total installation of generating capacity, becomes the second largest main force power supply that is only second to thermoelectricity.Along with improving constantly of wind-electricity integration scale, wind-powered electricity generation uncertainty and uncontrollability are brought problems to the safety and stability economical operation of electrical network.Wind-resources in wind-power electricity generation process is monitored, the better situation of change of wind energy in predict future a period of time, thus can predict wind power more accurately and proofread and correct, improve precision of prediction, promote the development of generation of electricity by new energy.
The system program of STM32F103 chip is developed under Keil uVision4 Integrated Development Environment.Keil is the German Keil of software company development and Design, has been incorporated to now ARM company, becomes the main flow developing instrument of current STM32 series monolithic, and it provides and has comprised C CompilerTools, C database and powerful simulation debugger.Keil uVision4 software provides abundant C language library function, full Windows interface, and easy to understand, generates target-code-efficiency very high, easily understands.
And existing wind-resources watch-dog cost is higher, and efficiency is lower.
Summary of the invention
The object of the invention is to, for the problems referred to above, propose a kind of microprocessor controls method for the monitoring of wind energy turbine set ultrasonic wind speed, to realize the advantage that reduces wind-resources monitoring cost and increase work efficiency.
For achieving the above object, the technical solution used in the present invention is:
For a microprocessor controls method for wind energy turbine set ultrasonic wind speed monitoring, comprise single-chip microcomputer and the fpga chip that is electrically connected with single-chip microcomputer described in single-chip microcomputer after powering on, single-chip microcomputer is arranged, and carries out following steps,
Step 1, reception FPGA data;
Step 2, calculation of wind speed, wind direction and temperature;
Step 3, communicates with host computer;
Wherein single-chip microcomputer specifically arranges as follows: when entering after single-chip microcomputer master routine, single-chip microcomputer internal program has configured, wait for the look-at-me of fpga chip, when FIFO writes after data, FPGA chip sends look-at-me, notice single-chip microcomputer extracts data fifo, and FIFO data are now through FPGA data after treatment;
Extract the data fifo coming and carry out wind speed calculating, obtain real-time wind speed and temperature, and the data upload that obtains wind speed and temperature is shown to host computer.
According to a preferred embodiment of the invention, described single-chip microcomputer adopts STM32 series monolithic.
Technical scheme of the present invention has following beneficial effect:
Technical scheme of the present invention, by fpga chip and single-chip microcomputer, realizes the control of wind-resources monitoring, and because SCM&FPGA chip cost lowers, and single-chip microcomputer arithmetic speed is higher, thereby reaches the object that reduces wind-resources monitoring cost and increase work efficiency.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Brief description of the drawings
Fig. 1 is the microprocessor controls method flow for the monitoring of wind energy turbine set ultrasonic wind speed described in the embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein, only for description and interpretation the present invention, is not intended to limit the present invention.
As shown in Figure 1, a kind of microprocessor controls method for wind energy turbine set ultrasonic wind speed monitoring, comprise single-chip microcomputer and the fpga chip that is electrically connected with single-chip microcomputer described in single-chip microcomputer after powering on, single-chip microcomputer is arranged, and carries out following steps,
Step 1, reception FPGA data;
Step 2, calculation of wind speed, wind direction and temperature;
Step 3, communicates with host computer;
Wherein single-chip microcomputer specifically arranges as follows: when entering after single-chip microcomputer master routine, single-chip microcomputer internal program has configured, wait for the look-at-me of fpga chip, when FIFO writes after data, FPGA chip sends look-at-me, notice single-chip microcomputer extracts data fifo, and FIFO data are now through FPGA data after treatment;
Extract the data fifo coming and carry out wind speed calculating, obtain real-time wind speed and temperature, and the data upload that obtains wind speed and temperature is shown to host computer.
According to a preferred embodiment of the invention, described single-chip microcomputer adopts STM32 series monolithic.
Wherein FIFO is data cache module.
In order to realize writing single-chip microcomputer, adopt Keil uVsion4, Keil uVsion4 is a software development environment that integrates design, compiles, manages, and can complete programming, code compilation, equipment connection, procedure simulation debugging, the software development flow such as program download.Develop software with Keil uVsion4, roughly step is divided into: 1, select chip, create engineering.2, write C programmer source file.3, compiling C programmer.4, the mistake and the BUG that in amendment compiling, occur.5, on exploitation chip, carry out artificial debugging.
The technical program bottom-layer design, based on Keil software programming, has the OO feature of C language, has defined 17 address pin and 16 single data pins in STM32 chip.In order to realize technical scheme of the present invention, its scm software design is specific as follows, single-chip microcomputer is after powering on, whole program is that circulation is carried out, entered by master routine, the subroutine that circulation is carried out respectively: receive FPGA data subroutine, calculation of wind speed, wind direction, temperature subroutine, host computer communicator program.
When entering after master routine, application configuration completes, and waits for the look-at-me of FPGA, and when FIFO writes after data, FPGA sends look-at-me, and notice single-chip microcomputer extracts FIFO data, and FIFO data are now through FPGA data after treatment.
Extract the data of coming and enter wind speed counting subroutine, calculate, complete after calculating, obtain real-time wind speed and temperature, upload to host computer and show.From the flow process of software, this programme design is with timer timing, judges signal of ultrasonic transmission/reception, thus calculation of wind speed and temperature.From structure, system often completes once circulation all will detect a timer interruption, by inquiry interrupt flag bit, judges whether next ultrasonic signal collection completes.
Finally it should be noted that: the foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, although the present invention is had been described in detail with reference to previous embodiment, for a person skilled in the art, its technical scheme that still can record aforementioned each embodiment is modified, or part technical characterictic is wherein equal to replacement.Within the spirit and principles in the present invention all, any amendment of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.
Claims (2)
1. for a microprocessor controls method for wind energy turbine set ultrasonic wind speed monitoring, the fpga chip that comprises single-chip microcomputer and be electrically connected with single-chip microcomputer, is characterized in that,
Described single-chip microcomputer, after powering on, arranges single-chip microcomputer, and carries out following steps,
Step 1, reception FPGA data;
Step 2, calculation of wind speed, wind direction and temperature;
Step 3, communicates with host computer;
Wherein single-chip microcomputer specifically arranges as follows: when entering after single-chip microcomputer master routine, single-chip microcomputer internal program has configured, wait for the look-at-me of fpga chip, when FIFO writes after data, FPGA chip sends look-at-me, notice single-chip microcomputer extracts data fifo, and FIFO data are now through FPGA data after treatment;
Extract the data fifo coming and carry out wind speed calculating, obtain real-time wind speed and temperature, and the data upload that obtains wind speed and temperature is shown to host computer.
2. the microprocessor controls method for the monitoring of wind energy turbine set ultrasonic wind speed according to claim 1, is characterized in that, described single-chip microcomputer adopts STM32 series monolithic.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410061155.6A CN103941615A (en) | 2014-02-24 | 2014-02-24 | Microcontroller controlling method used for wind-power-plant ultrasonic wind speed monitoring |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410061155.6A CN103941615A (en) | 2014-02-24 | 2014-02-24 | Microcontroller controlling method used for wind-power-plant ultrasonic wind speed monitoring |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103941615A true CN103941615A (en) | 2014-07-23 |
Family
ID=51189334
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410061155.6A Pending CN103941615A (en) | 2014-02-24 | 2014-02-24 | Microcontroller controlling method used for wind-power-plant ultrasonic wind speed monitoring |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103941615A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20100062796A (en) * | 2008-12-02 | 2010-06-10 | 한국전자통신연구원 | Method and device of testing side-channel |
CN103209431A (en) * | 2012-01-11 | 2013-07-17 | 中国科学院沈阳自动化研究所 | Wireless multi-channel data transceiver |
CN203326585U (en) * | 2013-07-01 | 2013-12-04 | 李德臣 | Coal mine high-voltage grid selective earth leakage protection device |
KR20130138472A (en) * | 2012-06-11 | 2013-12-19 | 삼성탈레스 주식회사 | Apparatus of universal inter-integrated circuit interface for controlling devices using fpga and communication method for using the same |
CN203434899U (en) * | 2013-09-22 | 2014-02-12 | 四川九洲电器集团有限责任公司 | High-precision servo controller used for multiple motors |
-
2014
- 2014-02-24 CN CN201410061155.6A patent/CN103941615A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20100062796A (en) * | 2008-12-02 | 2010-06-10 | 한국전자통신연구원 | Method and device of testing side-channel |
CN103209431A (en) * | 2012-01-11 | 2013-07-17 | 中国科学院沈阳自动化研究所 | Wireless multi-channel data transceiver |
KR20130138472A (en) * | 2012-06-11 | 2013-12-19 | 삼성탈레스 주식회사 | Apparatus of universal inter-integrated circuit interface for controlling devices using fpga and communication method for using the same |
CN203326585U (en) * | 2013-07-01 | 2013-12-04 | 李德臣 | Coal mine high-voltage grid selective earth leakage protection device |
CN203434899U (en) * | 2013-09-22 | 2014-02-12 | 四川九洲电器集团有限责任公司 | High-precision servo controller used for multiple motors |
Non-Patent Citations (1)
Title |
---|
赵振宇: "《基于FPGA的超声波风速测量系统的设计》", 《中国优秀硕士学位论文全文数据库 信息科技辑》, no. 03, 15 March 2013 (2013-03-15) * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111008468B (en) | Test method and test system of comprehensive energy management system | |
CN101923483B (en) | Simulated direct-current power transmission control protection system | |
WO2014153764A1 (en) | Method and device for automatic test of relay protection function of intelligent substation | |
CN102801818B (en) | Universal sensor interface acquisition system based on ZigBee technology | |
CN102854856A (en) | Controller based on scenario test of secondary equipment of intelligent substation | |
CN103941615A (en) | Microcontroller controlling method used for wind-power-plant ultrasonic wind speed monitoring | |
CN103810077A (en) | Integrated intelligent monitoring system for leads | |
CN202887096U (en) | Central processing unit (CPU) reset circuit | |
CN112711213B (en) | Navigation acquisition resolving Soc processing system based on RiscV kernel and method thereof | |
Abou-Of et al. | Trade-off between low power and energy efficiency in benchmarking | |
CN203965948U (en) | A kind of from motion tracking sunshine control device | |
CN204046269U (en) | The harvester of power equipment data | |
CN204462368U (en) | A kind of portable type current transformer graph of errors proving installation | |
CN204119192U (en) | Function signal generator | |
CN219872577U (en) | Intelligent concentrator | |
CN103645723A (en) | Locomotive traction control unit hardware platform | |
CN115664024B (en) | New energy power generation state monitoring system | |
CN112711839B (en) | Comprehensive energy system simulation platform and application method thereof | |
CN112600196B (en) | Branch power rapid sensitivity calculation method based on BPA node injection power | |
Qamar | Implementation Of A Novel Cooperative Protocol for Distributed Voltage Control in Active Distribution Networks | |
CN204087194U (en) | A kind of AVR single chip emulator | |
CN202872469U (en) | Real-time data access interface device of electric energy system | |
CN216118685U (en) | Power supply loop analysis tool based on CAN communication | |
Tong | Single chip microcomputer intelligent control system (ICS) based on PLC | |
Xue et al. | Research on software and hardware resource configuration of relay protection device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140723 |