Sonde power control device based on BD/GPS dual-mode positioning dataTechnical Field
The invention relates to the field of sondes, in particular to a sonde power control device based on BD/GPS dual-mode positioning data.
Background
The air detector is one of means for detecting high altitude weather, and the national weather bureau obtains weather data in the same time period by releasing balls from weather stations distributed nationwide, thereby providing guarantee for departments such as industrial and agricultural production, civil aviation and the like. Because the detection of the ball is required to be carried out in the same time slot nationwide, and parts of sites often encounter severe weather such as strong wind, the reliability of communication is guaranteed in severe environment, which is very important.
At present, the size of the launching power of the sonde is adjusted according to the flying time, and the prior art has the following defects:
(1) under the condition of high wind speed, communication packet loss can occur due to untimely power adjustment;
(2) the utilization efficiency of the battery is not optimal.
Disclosure of Invention
The invention aims to provide a sonde power control device based on BD/GPS dual-mode positioning data, so as to solve the problems in the background technology.
In order to achieve the purpose, the invention provides the following technical scheme: a sonde power control device based on BD/GPS dual-mode positioning data comprises the following steps:
s1: the sonde carries out basic data measurement before flying;
s2: in the flying process, a BD/GPS module of the sonde receives positioning information sent by a satellite;
s3: and adjusting the transmitting power of the TX unit according to the measured distance between the sonde and the ground receiving system.
Preferably, in the step S1, the longitude and latitude coordinates and the altitude H0 of the probe station are written via the base test interface, and the transmission power of the TX module is set to P0.
Preferably, the MCU module in step S2 parses out the height H of the sonde and the longitude and latitude coordinates of the sonde, and calculates the horizontal distance between the two points according to the formula (1):
r: radius of the earth, a: difference between two latitudes, b: is the difference between the two longitude points;
calculating the slant distance S between the sonde and the ground meteorological station according to a trigonometric formula;
preferably, the varying power is converted according to the formula (3) in the step S3,
s0 is a unit growth factor;
smax: maximum distance is designed for the system, Pmax: the system is designed for maximum power.
The invention has the technical effects and advantages that:
in windy weather, the reliability of communication is improved by adjusting the power of the sonde, the service efficiency of a battery is guaranteed to the maximum extent, energy is saved, the sonde performs basic data measurement before flying, in the flying process, a BD/GPS module of the sonde receives positioning information sent by a satellite, an MCU module analyzes the height H of the sonde and longitude and latitude coordinates (LonB, LatB) of a B point of the sonde, and the transmitting power of a TX unit is adjusted according to the measured distance between the sonde and a ground receiving system.
Drawings
FIG. 1 is a block diagram of the system of the present invention.
FIG. 2 is a schematic diagram of the system of the present invention.
FIG. 3 is a flow chart of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention provides a sonde power control device based on BD/GPS dual-mode positioning data, which is shown in figures 1-3 and comprises the following steps:
s1: the sonde carries out basic data measurement before flying, writes in longitude and latitude coordinates and altitude H0 of the sounding station through a basic measurement interface, and sets the transmitting power of a TX module to be P0;
s2: in the flying process, a BD/GPS module of the sonde receives positioning information sent by a satellite, an MCU module analyzes the height H of the sonde and longitude and latitude coordinates of the sonde, and the horizontal distance (L: unit Km) between the two points is calculated according to a formula (1):
r: earth radius (Km), a: difference between two latitudes, b: is the difference between the two longitude points;
calculating the slant distance S between the sonde and the ground meteorological station according to a trigonometric formula;
s3: adjusting the transmitting power of the TX unit according to the measured distance between the sonde and the ground receiving system, changing the changing power according to a formula (3),
s0 is a unit growth factor;
smax: maximum distance is designed for the system, Pmax: the system is designed for maximum power.
Experimental data:
| latitude difference (a): milli-degree | Longitude difference (b): milli-degree | Slope (S): km | Power (p): dBm |
| 0001 | 5005 | 0.886 | -10 |
| 0003 | 5014 | 2.266 | -10 |
| 0004 | 5032 | 4.849 | -10 |
| 0005 | 5035 | 5.345 | -9 |
| 0026 | 5062 | 9.331 | -9 |
| 0034 | 5066 | 10.051 | -8 |
| 0085 | 5091 | 14.930 | -8 |
| 0121 | 5101 | 17.998 | -7 |
| 0145 | 5107 | 20.098 | -6 |
| 0201 | 5119 | 24.893 | -6 |
| 0230 | 5125 | 27.531 | -5 |
| 0260 | 5133 | 30.266 | -4 |
| 0327 | 5154 | 36.817 | -3 |
| 0360 | 5166 | 40.118 | -2 |
| 0478 | 5196 | 51.559 | 0 |
| 0576 | 5210 | 60.629 | 2 |
| 0682 | 5223 | 70.509 | 4 |
| 0851 | 5231 | 86.164 | 7 |
| 0947 | 5242 | 95.817 | 9 |
| 0965 | 5282 | 99.894 | 9 |
| 0965 | 5293 | 100.860 | 10 |
| 0981 | 5283 | 102.411 | 10 |
Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that modifications may be made to the embodiments or portions thereof without departing from the spirit and scope of the invention.