summary of the invention:
The purpose of this utility model is to provide that a kind of circuit structure is simple, simple installation, measurement result ultrasound bearing accurately.
The technical solution of the utility model is as follows:
A kind of ultrasound bearing comprises casing, wind speed and direction measurement module, correction for direction module and main control module,
Described casing comprises mounting box and lower mounting box, and upper mounting box is connected by support with lower mounting box, and described lower mounting box below is provided with installation column, for supporting fixation;
Wind speed and direction measurement module comprises a ultrasound wave emission sensor and three ultrasound wave receiving sensors, and they are connected with main control module respectively; Described correction for direction module is also connected with main control module;
Described main control module and correction for direction module are placed in lower mounting box, three ultrasound wave receiving sensors are embedded in lower mounting box and are equilateral triangle and distribute, ultrasound wave emission sensor is embedded in mounting box, ultrasound wave emission sensor is positioned at directly over three ultrasound wave receiving sensors, and the center of the corresponding equilateral triangle that is positioned at three ultrasound wave receiving sensors formation.
Described main control module comprises CPLD/FPGA controller, power module, RS485 interface module, ultrasonic drive circuit, temperature compensation module, signal conditioning circuit and threshold value comparator circuit, described power module, RS485 interface module, temperature compensation module, ultrasonic drive circuit and threshold value comparator circuit are all connected with CPLD/FPGA controller, described power module is also connected with ultrasonic drive circuit module, described ultrasound wave emission sensor is connected with ultrasonic drive circuit module, and described ultrasound wave receiving sensor is connected with signal conditioning circuit.
Correction for direction module comprises a magnetometric sensor.Ultrasound wave emission sensor and ultrasound wave receiving sensor have certain radiation direction angle of release.
the utlity model has following beneficial effect:
1. the utility model ultrasound bearing adopts a ultrasonic transmitter and three ultrasonic receivers, makes circuit structure simpler.In measuring process, only by once sending ultrasound wave, just can measure wind speed and direction.
2. the utility model ultrasound bearing has correction for direction module, can, without the problem of considering equipment installation direction in the time that equipment is installed, in measuring process, can realize direction of measurement is adapted to the direction pre-establishing, simplify the flow process of installing, improved the accuracy of measuring.
3. the utility model ultrasound bearing circuit design is simple, cost is low, and circuit adopts modular design.
4. the utility model environmental suitability is strong.Upper mounting box can block sleet and sand and dust, reduces the impact of foreign matter on measuring wind speed, goes up the interference that mounting box also can stop the wind in vertical direction simultaneously, has improved whole system measuring accuracy.
embodiment:
Below in conjunction with the drawings and specific embodiments, the utility model is described.
As shown in Figure 1 and Figure 2, ultrasound bearing of the present utility model comprises casing, wind speed and direction measurement module, correction for direction module and main control module.
Casing comprises mounting box 1 and lower mounting box 5, and upper mounting box 1 is connected by support 3 with lower mounting box 5, and lower mounting box 5 bottoms are connected to installs on column 6, column is installed and is used for supporting fixation.Upper mounting box 1 is oppositely arranged with lower mounting box 5, and connects as one by three supports.
Wind speed and direction measurement module comprises a ultrasound wave emission sensor 4 and three ultrasound wave receiving sensor A, B, C, and they are connected with main control module respectively; Correction for direction module is also connected with main control module;
Main control module and correction for direction module are placed in lower mounting box 5, three ultrasound wave receiving sensors are embedded in lower mounting box 5 and are equilateral triangle and distribute, ultrasound wave emission sensor 4 is embedded in mounting box 1, ultrasound wave emission sensor 4 is positioned at directly over three ultrasound wave receiving sensors, and the center of the corresponding equilateral triangle that is positioned at three ultrasound wave receiving sensors formation.Its orthogonal projection is positioned at leg-of-mutton center.
As shown in Figure 3, main control module comprises: CPLD/FPGA controller, power module, RS485 interface module, ultrasonic drive circuit, temperature compensation module, signal conditioning circuit and threshold value comparator circuit, described power module, RS485 interface module, temperature compensation module, ultrasonic drive circuit and threshold value comparator circuit are all connected with CPLD/FPGA controller.
Ultrasonic transmitter in the present embodiment/ultrasonic receiver selects to have certain radiation direction angle of release, can be reliable and stable with the ultrasonic pulse signal that guarantees to be sent by ultrasonic transmitter received by ultrasonic receiver.
The ultrasound wave transmitting/receiving sensor of selecting in the utility model has higher sensitivity and has certain angle of release, and adopting model is the transmitting-receiving integrated sensor of DYA-125-02A, forms wind speed and direction measurement module.
In the utility model main control module, CPLD/FPGA controller adopts the CPLD chip EPM240T100C5 of altera corp, its stable performance, low-power consumption, cost performance are high, have can parallel processing characteristic, can realize the signal of 3 road ultrasound wave modulate circuits is processed simultaneously.
In Fig. 5, provide above-mentioned ultrasonic drive circuit (being ultrasound wave emission sensor transmitting driving circuit).In figure, QU1 is connected with the I/O pin of controller CPLD, produced the break-make of Signal-controlled switch triode Q1 by controller CPLD, thereby make the secondary of transformer T1 produce the DC pulse voltage of 120V left and right, drive ultrasonic transmitter FS1 to produce one section of ultrasonic pulse signal.
Above-mentioned signal conditioning circuit (being ultrasound wave sensor-lodging modulate circuit) and threshold value comparator circuit schematic diagram in Fig. 6, are provided.In figure, ultrasonic receiver FS2 receives the ultrasonic signal that ultrasonic transmitter sends, the two-stage amplifying circuit that signal forms via operational amplifier U1 amplifies processes generation subsequent conditioning circuit required voltage signal, and deliver to the threshold value comparator circuit that comparer U2 forms and produce timing look-at-me, look-at-me is sent into the port that CPLD is connected with INT2 and is processed.
As shown in Figure 7, in the utility model, adopting model is the magnetometric sensor formation correction for direction module of LSM303DLM, and this chip adopts I2C agreement to carry out data transmission, has higher data transmission rate.Its circuit theory diagrams as shown in Figure 7.This chip controls port is directly connected with CPLD with FPDP pin, and CPLD produces interruption control signal by INT1 and INT2 pin and reads current installation position angular data, and direction sensor passes through I
2c interface is sent data into CPLD and is processed realization to correction for direction.
In anemoscope measuring process, master controller need to obtain current ambient temperature data and comes that in real time measuring unit is carried out to temperature compensation and guarantee measuring accuracy.Temperature compensation module in the utility model mainly comprises temperature sensing circuit and low temperature compensation circuit, temperature sensing circuit adopts digital temperature sensor DS18B20 chip to form detection module, its low temperature temperature-measuring range can reach-55 degrees Celsius, temperature measurement error is less than 0.5 degree Celsius, measuring accuracy is high, in use, without any need for peripheral cell, temperature measurement circuit is simple, and it is directly connected with CPLD controller.Figure 8 shows that low temperature compensation circuit, heating wire H1 is positioned over respectively in mounting box and lower mounting box, realize the region between upper and lower mounting box is heated, compensating circuit control end Con1 is directly connected with CPLD, controls heating wire work by gauge tap triode Q5 break-make.
Ultrasound bearing of the present utility model is carried out the measuring method of wind speed and direction, specifically comprises the following steps:
In Fig. 4, be two coordinate systems, coordinate system when dotted line is actual installation, solid line is the coordinate system that will be adapted to.In following steps, step (4) and step (5) are to carry out calculation of wind speed wind direction value for solid line coordinate system, and other are to carry out according to dotted line coordinate system.
(1) master controller CPLD/FPGA obtains temperature compensation module data, judges whether to carry out temperature compensation, and making the velocity of sound in measuring process, maintain all the time steady state value by compensation is 340m/s.The computing formula of temperature compensation is as follows:
Wherein
for the velocity of sound,
for current ring increases temperature value;
(2) producing signal by master controller CPLD/FPGA makes ultrasonic drive circuit module drive ultrasonic transmitter send pulse signal, and start master controller CPLD/FPGA inside simultaneously with 3 counters that ultrasonic receiver is corresponding, when ultrasonic pulse signal is received by the ultrasonic receiver in lower mounting box respectively;
(3) signal that ultrasonic receiver receives amplifies processing through follow-up signal modulate circuit separately respectively, and produce each self-corresponding counter interruption stop signal through threshold value comparator circuit, obtain respectively ultrasonic pulse and receive the elapsed time t of institute from sending to Bei Ge road ultrasonic receiver, can obtain the air speed value component on each limit in the equilateral triangle structure that 3 ultrasonic receivers form by calculating:
Wherein
air speed value on the equilateral triangle structure top forming for 3 ultrasonic receivers, c is the velocity of sound, t sends to by ultrasonic receiver and receives the time of being propagated from ultrasonic transmitter for ultrasonic pulse signal,
the angle, maximum cross-section of the space structure forming for ultrasonic transmitter and 3 ultrasonic receivers.
(4) master controller obtains corresponding data by magnetometric sensor and carries out wind speed and direction correction and obtain surveyed wind speed and direction;
(5) last master controller is sent data by RS485 interface module.
Fig. 4 proofreaies and correct being surveyed parameter by the utility model wind speed and direction measuring device utilizes magnetometric sensor, thereby draws the Method And Principle schematic diagram of the wind speed and direction parameter under actual environment condition.Wherein X, Y dotted line coordinate are whole wind speed and direction measuring device geographic orientation pointed while installing, and X, Y dotted line coordinate are the coordinate system of setting up on assigned direction take sensors A.Solid line coordinate is the coordinate on actual geographic north and south, east-west direction, wherein angle r is the deflection angle on the actual installation direction measured of magnetometric sensor and geographical north and south, east-west direction, and in Fig. 4, A, B, C are 3 ultrasonic receivers on lower mounting box in Fig. 1 schematic diagram.Angle a is the angle, maximum cross-section of the space structure of ultrasonic transmitter and 3 ultrasonic receiver formations.
As shown in Figure 4, establishing the ultrasonic pulse signal being sent by the ultrasonic transmitter in upper mounting box arrives ultrasonic receiver A, the B in mounting box, the time that C propagates to be:
.
According to formula
, can draw the wind speed component value of air speed value on the each limit of equilateral triangle of A, B, C composition:
According to equilateral triangle fundamental theorem, can obtain the wind speed component value of the wind direction shown in figure in installation direction X, Y-direction
:
The data that read according to magnetometric sensor, can obtain the direction of actual geographic north and south, thing and the angle of deviation r of installation direction, can draw the air speed value component of actual wind according to this deflection angle
, and can draw wind direction according to this air speed value air quantity:
The principle synthetic according to vector, can draw the value of actual wind speed and wind direction: