A method of detecting water vapor on boundary layer based on multiagent system is proposed in this paper. Multiagent system receives electromagnetic signals emitted by the telecommunication base station. Due to the analysis of the actual electromagnetic wave signal propagation path in the atmosphere, atmospheric refraction index and moisture inversion are discussed in this paper. And the feasibility of using electromagnetic detection method is also analyzed. A multiagent system is designed to receive the electromagnetic signals. The composition and function of the multiagent system are clearly described. The atmospheric refractivity is detected by the multiagent system in three weather conditions of sunny, foggy, and rainy days. The results demonstrate the feasibility of water vapor detection method of multiagent system boundary by comparing the result of experiment with traditional method.

1. Introduction

Water vapor is a kind of trace gas and mainly distributes in the bottom of the atmosphere. In particular when the height is less than 10–12 kilometers, water vapor accounts for 99% of all total. Even though the content is very small, it is the most active part in the atmosphere and is of great significance to life on Earth. Water vapor presents three states in the atmosphere varied from the temperature and is the material basis for the formation of clouds and rainfall. Water on Earth circulates between the atmosphere, land, and ocean and atmospheric water vapor plays an important role in the global water cycle. Most phenomena are the results of the changes of atmospheric water vapor while in the phase transition process water vapor absorbs and releases large amounts of latent heat which directly have impact on temperature of the ground and the air, hence affecting the stability of the atmosphere and the formation and evolution of atmospheric vertical stability and convective weather systems. Water vapor is a changeable parameter and plays a very important role in the atmospheric energy transfer and the evolution of weather systems. Atmospheric water vapor content is an essential parameter for forecasting rainfall of mesoscale or local scale [1]. Hence, obtaining atmospheric water vapor information in high precision and high space-time resolution is very important for accurately analyzing the formation and evolution of mesoscale severe weather system and medium-scale severe weather forecasting and disaster mitigation.

Factors in atmosphere which affect the distribution and water vapor content are very complex, and meanwhile the space-time change of water vapor is the most obvious factor in the atmosphere. Currently, the detection and requirement of water vapor data of high space-time resolution are still a difficult problem due to the limitation of detection funds, networking, and techniques. However, the water vapor data of high space-time resolution is the prerequisite for accurate numerical prediction. Hence, applying new technologies to improve the accuracy and resolution of water vapor observation is the most active research interest in the area of atmospheric sounding. Currently, the effective methods which have been used in sensing of atmospheric water vapor are the observation of hygrometers of ground weather station, solar spectrum water vapor analyzer, meteorological aircraft detection, laser detection, radar detection, satellite observation of water vapor, ground-based microwave radiometers detection, radio water vapor detection technology, and GPS measurements of water vapor. Among these methods, radio water vapor detection technology is the main mean which is used in the high altitude meteorological data detection at present. The shortages of this method are that the cost of radiosondes is high and they have lower network distribution density. Meanwhile, the temporal resolution of observation data is very low which is not enough to distinguish the rapid space-time variation of water vapor. Furthermore, because of the restriction of sounding balloon tracking and locating technology as sounding balloon has low location resolution under high altitude complex turbulent condition and during the period of thunderstorms, we cannot detect the variation of water vapor during the process of convective weather effectively. The GPS used for measuring water vapor is a new method in atmospheric detection. The disadvantage of GPS measurement system is that the cost is high and it is hard to achieve high density distribution network. High resolution numerical weather prediction model of next generation needs meteorological date of 2–5 kilometers when forecasting mesoscale severe weather. However, GPS detection cannot satisfy this requirement [2, 3].

This paper provides a method which applies multiagent into the area of weather forecast and detection of water vapor content of atmospheric boundary layer. Multiagent receives electromagnetic signals from the communication base station. Then the atmospheric refractivity can be derived by using signal refraction phenomenon which resulted from the transmission of radio signals in the atmosphere. Since the atmospheric refractivity is a function of temperature, pressure, and water vapor pressure, the water vapor content can be derived from atmospheric refractivity under the assumption that the pressure and temperature are known [4]. Multiagent receiving signal from communication base station is a measurement method of a passive way. When the agent receives electromagnetic signal, multiple agents communicate with each other and sample the current location. Through the decision-making mechanism, the agent receives electromagnetic signal again after altering the location [5]. This method has its own superiorities compared with traditional detection methods.(1)The method can be based on exiting communication network, such as mobile communication network and digital broadcasting network. Hence the observation network does not need to be reconfigured, and the cost of the observation could be decreased.(2)Electromagnetic signal transmits linearly or quasilinearly on the boundary layer without ionosphere reflection. Hence, there is no ionosphere delay interference phenomenon and the observation accuracy can be higher.(3)Different transmission characteristics of electromagnetic signals of different wavelength can be used for enriching observation data.(4)The time interval of multiagent receiving electromagnetic signals can be altered, which extends temporal resolution.(5)Multiagent communication between the data generated according to the location information combined data.(6)Data handling ability of multiagent individual can preprocess data, making it easy to post data processing.

2. Feasibility Analyses for Detection Method of Water Vapor of Boundary Layer Based on Multiagent

When propagating in the atmospheric environment, electromagnetic wave of different frequency has different level of sensitivity to water vapor which depends on the wavelength. Table 1 shows the level of sensitivity of electromagnetic waves of different wavelength to the water vapor [6].

From Table 1, it is obvious that the shorter the wavelength of electromagnetic wave, the higher the sensitivity of electromagnetic waves to the water vapor.

Electromagnetic wave is transported linearly in vacuum at a speed of  m/s. The electromagnetic wave will propagate in curve obviously which is called atmospheric refraction, when transmitted in the atmosphere, especially in remote transmission and atmospheric meteorological elements have abnormal vertical distribution. The index of atmospheric refraction has a very close relation to dielectric constant of atmosphere which depends on the material density, temperature, and the properties of molecules. The temperature, humidity, and atmospheric pressure vary along with molecules.

Electromagnetic wave has different velocity in inhomogeneous medium which is due to different physical properties of the propagation medium forming different levels. The essence of refraction is the deflection of electromagnetic wave in the propagation direction when the direction is not perpendicular to interface of medium. Investigating plane wave using Maxwell equation set can derive that where is the propagation velocity of electromagnetic wave in some homogeneous medium. and are absolute dielectric constant and absolute permeability, respectively. In a vacuum, where and .

The refractive index of medium usually can be defined as

The magnetic permeability of most media satisfies ; hence .

It should be noted that the most common form of refractive index is a complex number as where is usually called complex refractive index. The real part of is ordinary refractive index and the imaginary part of is a coefficient which denotes the attenuation of electromagnetic wave signal. In this paper, we do not consider attenuation and use the refractive index .

Considering the polarization of atmosphere in external electric field, when the medium consisting of nonpolar molecules is polarized, its molecules form an electric dipole of electric dipole moment . And is proportional to the electric field which acts on molecules where is the polarizability of molecules. denotes effective electric field acting on molecules. is the average electric field. It can be approved that the relationship between, , and can be written as For polar molecules such as water vapor molecules, the electric dipole moment can be derived into two parts as where is related to the orientation of polar molecules and has no relation to external field. Hence, can be written as

If the number of molecules per unit volume is , then the total dipole moment can be written as

The intensity of electric induction in isotropic medium is

Then we can derive the relationship between dielectric constant and molecular polarizability as

In the air comprising of multiple polar molecules, when external electric field , the sum of inherent dipole moment equals 0 for random orientations. When external electric field , natural pole moment of each molecules makes contribution to total dipole moment with certain probability. And the probability relates to absolute temperature in the atmosphere. To quantify the relationship between the polarization of medium of polar molecules and the temperature, according to the statistical theory of Boltzmann, the number of polar molecules between and in the energy per unit volume is as follows: where is the Boltzmann constant, is the absolute temperature of the atmosphere, and is a proportional constant. It is known that the electrostatic energy of electric dipole with electric dipole moment is where is the angle between electric axis and electric field . and are modulus of and . Considering the polarization intensity of medium of polar molecules, we should take rotary and slight elastic deformation of each molecular dipole in external field into consideration. Hence, under the condition of weak electronic field and normal temperature, can be expressed as

The atmosphere consists of nonpolar molecules of dry air and polar molecules of water vapor. Hence, under the action of electric field, the electric polarization vector of mixed gas can be expressed as where , , , and denote polarization vectors and polarizabilities of nonpolar and polar molecules. Without regard to the difference between and , the polarizability of mixed gas can be written as

It is known that the relationship between polarizability and dielectric constant is

While , we can find that where denotes the number of molecules of mixed gas per unit volume and is the average number of polarizations of molecules of mixed gas.

The atmosphere is a mixture of gases and the atmospheric pressure is . Assuming that the density is , gram molecular weight is and ideal gas state equation per unit volume is ; according to the equation , it can be derived that where is the atmospheric pressure and its unit is hPa. is universal gas constant with the value of 8.31 .

Similarly, the number of molecules of water vapor per unit volume can be derived as where is the water vapor pressure and its unit is hPa. Furthermore, it can be derived as where and are coefficients which are determined by experiments, is the absolute temperature, and the units of and are hPa.

While the value of is small and bad for expression, the refraction unit is always used actually which can be called refraction index N:

The refraction index includes dry refractive components caused by atmospheric pressure and temperature and wet refractive components caused by water vapor pressure. The expression of atmospheric refractive index can be derived after decomposing dry and wet refractive components as where the first item is just connected with atmospheric pressure and temperature and the second item which is called wet refractive component is related to water vapor pressure. The variation range of is between 225 and 325 units and is between 0 and 150 units. And the change of humility has larger impact on refractive index than atmospheric pressure and temperature. The investigation in this paper is an inverse process actually which takes advantage of transmission feature of electromagnetic wave in the atmosphere to inverse refractive index. Then the value of water vapor pressure or the distribution of water vapor can be derived due to refractive index, temperature , and atmospheric pressure [79].

However the value of during the actual inversion of water vapor cannot be obtained directly and it needs the comparison between the actual broadcasting distance and visual broadcasting distance (pseudorange) between electromagnetic transfer and receiver position. Lower atmosphere effects the transmission of electromagnetic wave in two ways, while the signal is transported near the ground and on the boundary layer. First, comparing to vacuum, the broadcasting velocity of electromagnetic wave becomes slower. The relationship between the velocities of electromagnetic wave in atmosphere and in vacuum is , where is the atmospheric refractive index. Second, the propagation path changes from linear to curved. These two influences are caused by the change of atmospheric refractive index along with the propagation path. The delay of propagation of signal compared with vacuum equals the increase of propagation path length [10]. Therefore, the distance between agent and base station which is calculated according to the propagation delay and velocity is not the real distance actually but the visual broadcasting distance which is called pseudorange. Figure 1 shows the propagation path of electromagnetic wave at the bottom of the atmosphere and distance between agent and base station.

The increased propagation path can be expressed as where is the speed of light in vacuum, is the actual propagation time of signal, is the propagation velocity of signal in the atmosphere, and is the average refractive index of the signal on the transmission path. The integral is performed along with the curved path of propagation of electromagnetic signals. is the actual geometric distance between the transfer and the receiver stations. The formula can be rewritten in the following form: where is the length of propagation path. The first item is a slower one and is only related to atmospheric index which is inversely proportional to the propagation velocity . The second item is a signal bending one which is the difference between signal bending path and linear propagation path . The increasing of propagation path is mainly caused by signal slowing effect. Replacing atmospheric refractive index with refractivity, we can find that And can be decomposed as follows: where and denote dry delay and wet delay, respectively. Compared with GPS system which is used in water vapor measurement, multiagent system could measure atmospheric refractive index of lower or boundary layer. Without ionospheric propagation of signal, it is not necessary to use the double-frequency method to correct the error caused by ionospheric delay which reduces the possibility of measurement error to some extent. In addition, multiagent detection system measures water vapor in low atmosphere and the water vapor content per volume is bigger than using GPS measurements which measure the whole atmospheric convection layer. Hence, it will cause larger delay under the same propagation distance. Besides, according to the measured refractive index which is used to inverse water vapor pressure or intensity near the ground or boundary layer, we only need to combine it with observation data of atmospheric pressure and temperature near the ground and gradient distribution near the ground or boundary layer [11]. Hence, there is no need to consider the weighted average temperature of the whole atmosphere which makes a further error reduction of the source.

Therefore, the key of the inversion of atmospheric refraction index is to find the propagation path delay . The key issues of finding are to obtain signal propagation delay in high accuracy and to eliminate error caused by noise and so forth [12].

3. The Architecture of Multiagent System

A multiagent system is designed to detect the vapor on boundary layer by calculating the refractive index of electromagnetic waves. The system has three components, such as sensor agent, manager agent, and interface agent. Figure 2 shows the architecture of multiagent system.

3.1. Sensor Agent

Sensor agent is the basic component of the multiagent system. The main task of sensor agent contains the following:(1)receiving the electromagnetic waves of current position,(2)acquiring the relevant information and data of current position,(3)getting the information and data of current environment,(4)calculating the corresponding water vapor content,(5)uploading all data to manager agent.

There are some rules to help sensor agent work effectively:(i)time resolution rules, which are used to control the time resolution of receiving the electromagnetic wave signal according to the preestablished time resolution or changed by instructions,(ii)data acquiring rules, which are used to acquire the parameters of current position and environment such as GPS data, temperature, relative humidity, wind direction, wind speed, rainfall, air pressure, and solar radiation,(iii)vapor calculating rules, which are used to set the different algorithms of calculating,(iv)sensors connecting rules, which are used to connect with manager agent and other sensors agents nearby for data communication.

Sensor agent could only receive the very electromagnetic waves from telecommunication base station generally. But it also could receive several electromagnetic waves from different telecommunication base stations in other cases. When it happens, the sensor agent would provide several data. Each sensor agent associates with other sensor agents.

3.2. Manager Agent

All data collected from sensor agents upload to manager agent. The main task of manager agent contains the following:(1)verifying the data of water vapor according to position information,(2)sampling the verified data,(3)merging the data based on position information,(4)uploading all preprocessed data to interface agent,(5)altering the frequency of sending data through the control instruction from the interface agent.

Some rules are used to make manager agents cooperate with each other:(i)correlation rules, which are used to detect correspondences between data provided by several sensors to evaluate the quality of these data,(ii)data sample rules, which are going to be used to set the different algorithms of data sampling,(iii)data merge rules, which are used to merge the data from sensor agents with the data acquired in traditional method or historical data,(iv)communication rules, which are used to define the communication protocol among sensor agents and interface agent.

The manager agent would standardize the data received from sensor agents and exclude the wrong data by comparing the data based on same position or nearby. Then the manager agent would get the valid data. Atmospheric water vapor content generally existed in the form of a continuous function, so the character of data acquired in same position or nearby should also show continuity [13]. This requires the use of the data associated with the agent.

The valid data acquired by sensor agents represent the character of selected area. But it is not necessary to analyse all valid data. So some data would be sampled from the valid data according to position information, which could also represent the character of selected area and distribute evenly. Here we use the method of stratified sampling. Firstly we stratify the sample space, then random sample at each layer [14]. Location-based sampling method is implemented as following.

(I) Stratification. The sample space is divided into nonoverlapping subspaces, called the layer of each subspace. In telecommunication base station as the center, the coverage is divided into several rings with the radius of. Set distances with the number of to determine the space of each layer [15].

(II) Random Sampling. Randomly sample at each layer. Determine the number of each layer and make sure the result of sample distributes evenly. Figure 3 shows the position of sensor agents and telecommunication base station and the sampling based on position.

The sample number in layer is as follows: And is the presetted sample number and is the mumber of sample covered in layer :

The parameters could be inquired by the range of sensor agents. Euclidean distance query and network distance query depend on the distribution of sensor agents. The range query refers to a query where is the center point, a radius equal to the length of a subset of the query objects within a circle of radius . In order to improve the efficiency of range query, algorithm of LUR-tree is used to build the index for the moving stored objects [16, 17].

3.3. Interface Agent

The interface agent is the human-computer interface between human and multiagent. The main task of interface agent contains the following:(1)showing the current position and status of all sensor agents on the map,(2)setting the parameters of the system.

All valid data which are preprocessed by agents would upload to interface agent. The system’s interface uses web application that displays all valid data and the status of all agents via Maps in Time [18]. The frequency of update valid date would be set by different time resolution.

4. Implementation

The system has been implemented using a JADE platform [19]. JADE is a software framework to develop agent applications in compliance with FIPA specifications for interoperable intelligent multiagent systems. The development of multiagent system greatly simplifies by middleware. The inference engine for the rule-based system has been implemented using Drools [20].

In experiment, the sensor agents are settled on several vehicles, and the manager agents are placed in fixed position among the selected observation area. The vehicles select roads randomly during the processing of observation. The time resolution of uploading data is controlled by the instruction of interface agent.

Three different weather conditions are selected to verify the results of the measurement accuracy with the method of multiagents under sunny, foggy, and rainy weather. The atmospheric refraction index is calculated by the measured electromagnetic signals. The retrieval result with traditional measurement method and multiagent method is compared under the three weather conditions.

4.1. Retrieval and Analysis of Atmospheric Refractivity under Sunny Weather Condition

According to the result of retrieval atmospheric refractivity (Figure 4), the value of atmospheric refractivity acquired by multiagent method is entirely well fitted with the value of atmospheric refractivity acquired by observation. The average observation error of 96 samples which were observed in 24 hours is 42 percent of . And the average observation error of all samples is less than 100 percent of . The correlation coefficient of the observed samples and calculated samples is 0.993, and the RMSE equals 1.072.

The difference between retrieval atmospheric refractivity by multiagent method and traditional method changes slightly. It reflects the high sensitivity of the electromagnetic signals. It is meaningful to analyse mesoscale convective weather or fog of boundary changes and transport of water vapor.

4.2. Retrieval and Analysis of Atmospheric Refractivity under Foggy Weather Condition

According to the result of retrieval atmospheric refractivity (Figure 5), the value of atmospheric refractivity acquired by multiagent method is entirely well fitted with the value of atmospheric refractivity acquired by observation. The average observation error of 96 samples which were observed in 24 hours is 49 percent of . And the average observation error of all samples is less than 100 percent of . The correlation coefficient of the observed samples and calculated samples is 0.993, and the RMSE equals 1.113.

The range of observation error under foggy weather condition is very close to observation error under sunny weather condition. It means that tiny liquid water droplets do not cause interference to retrieval results. And it is feasible to retrieve atmospheric refractivity by measuring the electromagnetic signals using multiagent system. Meanwhile according to retrieval, it can be found that the atmospheric refractivity would increase rapidly prior to significantly reducing visibility to develop into a very dense fog. Observation of this phenomenon can be used as early warning of approaching fog important reference index.

4.3. Retrieval and Analysis of Atmospheric Refractivity under Rainy Weather Condition

According to the result of retrieval atmospheric refractivity (Figure 6), the value of atmospheric refractivity acquired by multiagent method is entirely well fitted with the value of atmospheric refractivity acquired by observation. The average observation error of 96 samples which were observed in 24 hours is 57 percent of . And the average observation error of all samples is less than 100 percent of . The correlation coefficient of the observed samples and calculated samples is 0.991, and the RMSE equals 1.091.

Compared with the previous analysis, larger liquid water droplets do not interfere with the results of retrieval under rainy weather condition. Trends in rainfall and atmospheric vapor pressure of the index of refraction are consistent trends. Subtle changes in atmospheric refractivity of water vapor, temperature, and barometric pressure are very sensitive. The experimental validation of the method of the refractivity of atmospheric retrieval weather conditions in rainfall is possible and obtains higher retrieval accuracy.

5. Conclusions and Future Work

The refractivity of the low-altitude atmospheric inversion results fits well the results of the calculation of meteorological elements under sunny, foggy, and rainy weather condition according to the comparison. Tiny water droplets in the atmosphere almost have no impact on the results of the electromagnetic signal inversion of atmospheric refractive index. Therefore, electromagnetic measurement method based on multiagent is able to achieve real-time monitoring of water vapor near the ground changes under different weather conditions with a high time resolution. It exhibits a good electromagnetic wave signal variation of the moisture sensitivity of the results obtained in comparison with the conventional method results consistent.

A certain accuracy of moisture content of the boundary layer method by multiagent can be achieved according to the experiment. In future work, the following points could be improved.(1)Sensor agents are mounted on the car body in the experiment, so the trajectory of the sensor agents is restricted in the trajectory of the car. The data only generated in the position where car can reach. Although the interpolation method can be used to fill with the position where the car cannot reach, this is not the actual measured data. Sensor agents will be settled to aerocraft in further work. And track of aerocraft would be controlled by manager agents. The more comprehensive data will be acquired.(2)The only specific frequency which is electromagnetic is used in experiment. Previous studies showed that electromagnetic wave of different frequency has different level of sensitivity to water vapor which depends on the wavelength. Shorter wavelength electromagnetic would be selected to compare with result in further work.(3)It would be worthy to research location sampling algorithm of sensor agents which are controlled by manager agents.

Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.