Table of Contents Author Guidelines Submit a Manuscript
Mathematical Problems in Engineering
Volume 2015 (2015), Article ID 565764, 10 pages
http://dx.doi.org/10.1155/2015/565764
Research Article

Research on Online Moisture Detector in Grain Drying Process Based on V/F Conversion

1College of Biological & Agricultural Engineering, Jilin University, Changchun 130022, China
2Academy of State Administration of Grain, Baiwanzhuang Street 11, Xicheng District, Beijing 100037, China
3The College of Engineering and Technology, Jilin Agricultural University, Changchun 130118, China

Received 18 March 2014; Revised 20 August 2014; Accepted 6 September 2014

Academic Editor: Ping-Lang Yen

Copyright © 2015 Zhe Liu et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Abstract

An online resistance grain moisture detector is designed, based on the model of the relationship between measurement frequency and grain moisture and the nonlinear correction method of temperature. The detector consists of lower computer, the core function of which is the sensing of grain resistance values which is based on V/F conversion, and upper computer, the core function of which is the conversion of moisture and frequency and the nonlinear correction of temperature. The performance of the online moisture detector is tested in a self-designed experimental system; the test and analysis results indicate that the precision and stability of the detector can reach the level of the similar products, which can be still improved.

1. Introduction

Grain moisture content is one of the key indexes of grain storage security and it is an important control index in the process of grain processing. The moisture content of new harvest grain is generally beyond the safe moisture content and thus is required to be dried. Real-time online dynamic measurement of grain moisture content is the precondition of the automatic control of all kinds of dryers in drying process. But in practice, the measurement stability of online grain moisture detector is unsatisfactory, due to the influence of several parameters, such as variety, region, environmental temperature, and humidity [13]. Therefore, the online measurement of grain moisture has been a problem of the realization of automatic operation of grain dryers.

There are many methods of grain moisture detection, including drying method, resistance method, capacitance method, microwave method, and neutron method [4]. Among the traditional grain moisture detection methods, “oven-drying method” is widely used. This method is accurate and time and electricity consuming and it is only suitable for laboratory to use and thus cannot meet the needs of the online moisture detection [5]. In recent years, capacitive moisture detection method developed rapidly, but the measurement value is not only sensitive to temperature, but also very sensitive to the grain flow velocity and grain compactness in the dryer and many other factors in grain moisture measurement. And this method is limited to the sensor recalibration after long time use [6]. Microwave method and neutron method have many advantages, such as high accuracy, fast speed, noncontact, noninvasive, and nondamage measurement and they easily realize the measurement of the grain internal moisture. But the measurement device is complex and high in price [7, 8].

The self-designed online resistance grain moisture detector is a combination of signal detection, acquisition, and processing. To a certain extent, it has overcome many shortcomings of traditional ways, such as long measurement period, low precision, poor stability, complex measurement system, and high cost. And the nonlinear correction mathematical model of temperature compensation is applied to the process of data processing [9]. The purpose of this paper is to improve the measurement precision and stability of the moisture detector through improving the design of moisture detector hardware circuit and the data processing method and thus meet the needs of moisture online detection and moisture automatic control in grain drying process.

2. Measuring Principle

Experimental studies have shown that the explicit function relation exists between grain moisture and its resistance. The resistance characteristics of grain are shown as follows [10].(1)In a certain range of grain moisture content (about 9% to 20%), an approximately linear relationship between the logarithm of the resistance and moisture content is observed.(2)In the above moisture content range, the grain resistance value varies greatly. With the increase of moisture content, the resistance changes from as high as dozens of megohm to less than 1 megohm. However, below or above this range, the logarithmic linearization error is larger.(3)Grain temperature has a significant effect on its resistance, that is to say, the equivalent resistance of grain decreases with the rise of temperature. Experimental studies have shown that the impact on resistance when the temperature rises 1°C is equivalent to that when the moisture content increases 0.1%, that is, 0.1% (moisture content)/°C at normal temperature conditions(−10°C~+50°C).

As a result, the correlation properties of grain resistance provide a design basis for the online resistance grain moisture detector on principle.

3. The Design of the Sensor

3.1. Resistance Signal Conversion Unit

Moisture detector is shown in Figure 1, including lower computer determination part and upper computer display and control instrument. Lower computer mainly consists of two parts: electrode roller and shell. Among them, the electrode roller is a crush type electrode with fixed pressure. The crush type electrode roller is designed because a certain pressure needs to be exerted to crush the grain particles. In this way, the resistance signal which is detected by the electrode can reflect the internal moisture of grain.

Figure 1: The structure of moisture detector.

When the moisture detector is working, the motor in the sampling mechanism drives electrode roller to do opposite rotation. Grains are squeezed by the roller electrodes. In the grain drying process, the roller squeezes the grains which scatter down from hoist hopper and the grain resistance is transported to the signal conditioning circuitry (including signal acquisition, signal amplification, and V/F conversion circuit unit) to process. The frequency signals which are positively related to the grain moisture content are obtained. The single-chip microcomputer is used to collect the frequency values. Through the mathematical model of moisture calibration and temperature nonlinear correction, the transformation of grain moisture content during the grain drying process is measured in real time.

Because the grain is approximately elliptical, that is, a round intermediate and slight cuspidal poles, therefore, in the process of extrusion, the changing rule of the contact area between the grain seeds and the electrode roller is the variation process from zero to maximum then to minimum. The pressure on the grain is also a variation process from minimum to maximum and then to minimum. And the corresponding resistance change curves of sampling circuit are from the maximum resistance (open circuit) to the minimum (maximum moisture content) and then to maximum (open circuit) [11]. Therefore the frequency values are collected from minimum to maximum and then to minimum. The curves of the relationship between the measurement frequency values and measurement time when the grains with different moisture content pass through the roller are shown in Figure 2.

Figure 2: The curves of the relationship between the measurement frequency values and time when the grains with different moisture content pass through the roller.
3.2. The Signal Processing Achievement Unit

The signal processing achievement unit includes the design of moisture detector hardware circuit and software program. The system block diagram is shown in Figure 3.

Figure 3: The system block diagram.

The whole hardware circuit system consists of lower computer hardware and upper computer hardware circuit. Modular design method is used in order to debug and repair the circuit easily. Lower computer hardware circuit includes power supply module, signal acquisition module, the smallest single-chip microcomputer system, single-phase AC motor control module, temperature measurement module, and serial communication module. The upper computer hardware circuit includes key and display module, data storage module, and serial communication module. The hardware circuit block diagram is shown in Figure 4.

Figure 4: The hardware circuit block diagram.

Among them, the signal acquisition module comprises resistance detection circuit, signal amplification circuit, and V/F conversion circuit. The resistance detection circuit changes the traditional divider circuit mode [12] and the resistance value of grain is measured by using a Wheatstone bridge circuit according to the principle of the bridge balance, as shown in Figure 5. The measurement using the bridge method is of higher sensitivity and more accuracy. Meanwhile, in order to avoid unnecessary ac interference, the filter capacitors are added to both ends of the bridge arms. Compared to traditional A/D conversion circuit, V/F conversion circuit has its own filtering function; the accuracy of the obtained digital signal is higher. And there is only one interface which can complete frequency signal input conveniently between the V/F converter and single-chip microcomputer. Its interface is simple and less hardware resource is occupied [13].

Figure 5: The bridge circuit.

Software design includes the lower and upper single-chip microcomputer system. Single-chip microcomputer software system is also designed by the structured and modular program design method. The program structure block diagram is shown in Figure 6. The system initialization is realized and each subroutine is called according to the demand by the main program. The moisture and temperature acquisition is completed by timer interrupt and counter interrupt module. The temperature and moisture values display is realized by the display module. The electrode roller of moisture detector lower computer is driven by motor driver module. Communication and data transmission are implemented by the communication module. The drying equipment control is achieved by the output control module.

Figure 6: MCU program structure block diagram.

According to the function of the moisture detector, the work flow chart of upper single-chip microcomputer system is shown in Figure 7.

Figure 7: Work flow chart of the upper computer.

The program flow chart of lower computer system main is shown in Figure 8. To analyze the time sequence of procedures, the time sequence diagram is shown in Figure 9. As can be seen by the time sequence diagram, the execution time of the sampling and the data processing are included in the time of grain extrusion. Doing this can save measurement time effectively and improve measurement speed to meet the test requirements.

Figure 8: Flow chart of lower computer main program.
Figure 9: The time sequence analysis diagram of MCU program.

In the dynamic test data, in order to eliminate the data random fluctuation, some digital filtering algorithms are required in the process of data processing [14]. In lower computer data processing subroutine, the methods of outlier eliminating and moving average filtering are adopted to process data. In addition, the moisture detector measures 100 grains and then gets a group of moisture values by calculating the average of 100 grain moisture values. This method of calculating the average from large sample can avoid the random interference and gross errors.

4. Materials and Methods

4.1. Test Materials

The Jijing 66 rice which is produced in the northeast area is selected as test sample, which has full grain, bright color, no lesion, no crack, and no mildew.

4.2. Test Instruments and Equipment

The experimental device mainly consists of self-developed and designed grain moisture comprehensive test system which is shown in Figure 10, self-designed online resistance grain moisture detector which is installed at the slot in the hoist, mounting plate and installation method as shown in Figure 11, PM-2500 type automatic single grain moisture detector which is produced by Japanese Kett Company, 202-00A type electric thermostatic oven, HX-100 type high speed crusher, precision electronic balance, and other equipment including aluminum sample boxes with cover, sample bags, a small spoon, and a brush, labels.

Figure 10: Self-designed grain moisture comprehensive test system.
Figure 11: Schematic diagram of moisture detector installation position.
4.3. Test Method

Self-developed and designed grain moisture comprehensive test system simulates the working state of the circulation grain dryer and grain circulates in the test bench under the action of hoist. Moisture detector relies on measuring grain which scatters down from hoppers in the hoist to gain the changes of grain moisture that is in the test bench.Self-designed moisture detector works 12 hours continuously in the test bench. The electrode roller collects each 100 grains of rice then a group of frequency values is processed, calculated, and displayed and the frequency values are recorded.Self-designed moisture detector measures each 5 times and PM-2500 moisture detector measures one time.Every 1 hour, the rice in the test bench is sampled. The laboratory drying method is adopted to measure the grain moisture content according to the moisture determination theory and specific operating procedures in GB/T5497-1985 “method for determination of grain and oilseeds moisture content.”The test results of the self-designed moisture detector, PM-2500, and laboratory drying method are compared.

5. Results and Analysis

5.1. Measurement Data Analysis

Frequency measurement values of the self-designed moisture detector were compared with the actual moisture which was measured by the laboratory method and the relationship between them was shown in Figure 12. The mathematical model between measurement frequency and grain moisture content was established through this diagram.

Figure 12: The relationship between measurement frequency values and the actual moisture.
5.2. The Formula Method of Nonlinear Temperature Compensation Calibration

Because the temperature is one of the main factors influencing the measurement accuracy of grain moisture content, especially on the condition of high moisture measurement, the error reaches 6%~8%. It cannot meet the requirements of practical application and nonlinear calibration of temperature must be conducted [15].

According to the test method of 3.3, the experiments were carried out twice. 1150 times measuring values of the first test and 850 times measuring values of the second test were recorded. Firstly, the measurement values of the moisture detector without temperature compensation calibration and the results of laboratory drying method were compared. The test results were shown in Figure 13. The error of the test results was solved by 3 Sigma criteria. In test one, the error between moisture detector measurement values and the actual moisture was in −0.210%~0.631%. In test two, the error between moisture detector measurement values and the actual moisture was in −0.636%~0.758%.

Figure 13: Comparison between moisture detector measurement values and the laboratory method measurement values.

As shown in Figure 14, the variation range of temperature during the process of test one was in 19°C~23.5°C and the variation range of temperature during the process of test two was in 14°C~19°C.

Figure 14: The temperature variation in tests.

Through the analysis of experimental data, the parameter estimation method was adopted and the nonlinear correction formula of temperature was obtained after repeated calculation and comparison. Set up for the sample of overall . As the distribution function of overall , the form of is In the formula: is the moisture value after temperature compensation, is the measurement moisture value before temperature compensation, is the temperature value, , , , , and are the estimated parameters, and , are the corresponding sample observation values.

Frequency values and temperature values were collected by the moisture detector; an appropriate statistic that includes , , , , and was constructed. The observed values and were used to estimate the values of parameters , , , , and .

The measurement moisture values curves after temperature nonlinear correction were shown in Figure 15. The error of the test results was solved by 3 Sigma criteria. In test one, the error of the moisture detector measurement values was between −0.418% and 0.256%. In test two, the error of the moisture detector was between −0.469% and 0.527%.

Figure 15: Comparison between moisture detector measurement values and the actual values after temperature compensation calibration.
5.3. Comparison and Analysis

The measurement results of the self-designed moisture detector and PM-2500 were compared with laboratory drying method. The results were shown in Figure 16. The linear tuning function on the display and control instrument panel of PM-2500 was used to adjust the measurement values to the actual moisture values, as shown in Figure 17.

Figure 16: Comparison of two methods measurement values.
Figure 17: Comparison of two methods measurement values after calibration of PM2500.

The stability of the self-designed moisture detector and PM-2500 moisture meter was compared. By the calculation, in test one, the stability of PM-2500 between −0.5% and 0.5% was within 78.26% and the stability between −1% and 1% was within 98.70%. The stability of self-designed moisture meter between −0.5% and 0.5% was within 82.09% and the stability between −1% and 1% was within 99.83%. In test two, the stability of PM-2500 between −0.5% and 0.5% was within 56.25% and the stability between −1% and 1% was within 95.63%. The stability of self-designed moisture detector between −0.5% and 0.5% was within 76.88% and the stability between −1% and 1% was within 95.25%.

6. Conclusion

(1)In this paper, the online resistance grain moisture detector is designed, based on the model of the relationship between measurement frequency and grain moisture and the nonlinear correction method of temperature. The detector consists of lower computer, the core function of which is sensing of grain resistance values which is based on V/F conversion, and upper computer, the core function of which is the conversion of moisture and frequency and the nonlinear correction of temperature.(2)Experimental study about grain flow has been done on the self-designed moisture testing system. The mathematical model of the relationship between the measurement frequency and grain moisture content is thus established. Meanwhile the nonlinear calibration model of temperature compensation is combined. The performance of moisture detector and the correctness and stability of the model have been tested. The results showed that the error of the detector is between −0.469% and 0.527%, the stability between −0.5% and 0.5% is within 76.88%, and stability between −1% and 1% is within 95.25%.(3)Through the experiment on self-designed moisture test system, the precision, and the stability of the self-designed moisture detector and PM-2500 type automatic single grain moisture detector which is produced by Japanese Kett Company were compared. The results indicated that the precision and stability of the detector can reach the level of the similar products, which can be still improved.

Conflict of Interests

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

Acknowledgment

This work is supported by “The Research on Grain Drying Speed Control Model and Intelligent System” for “Grain Industry Scientific Research in the Public Interest” (201313001-07).

References

  1. Z. Yonglin, W. Wangping, Z. Changzheng, Z. Shengquan, and X. Hui, “Intelligent real-time on-line measuring system for moisture content during grain drying,” Transactions from the Chinese Society of Agricultural Engineering, vol. 23, no. 9, pp. 137–140, 2007. View at Google Scholar · View at Scopus
  2. T. Zhaosheng, N. Lewei, Z. Haixia, and Q. Yang, “On-line measurement system of grain dryer for monitoring moisture content,” Transactions of the Chinese Society of Agricultural Engineering, vol. 20, no. 5, pp. 130–133, 2004. View at Google Scholar · View at Scopus
  3. Q. Li, Y. Gao, D. Zhang et al., “Study on the on-line system of measuring moisture content in grain,” Journal of Agricultural Machinery, vol. 26, no. 3, pp. 80–84, 1995. View at Google Scholar
  4. T. Zhaosheng, L. Kunhua, T. Ruiming et al., “Comments on quick measurement of grain moisture content,” Journal of the Chinese Cereals and Oils Association, vol. 14, no. 3, 1999. View at Google Scholar
  5. B. Zhai, H. Guo, and H. Xu, “Synthetic analyse and development survey of moisture measuring technology of grain,” Journal of Shenyang University of Technology, vol. 2, no. 5, pp. 413–416, 2001. View at Google Scholar
  6. W. C. Wang and Y. Z. Dai, “A grain moisture detecting system based on capacitive sensor,” International Journal of Digital Content Technology and its Applications, vol. 5, no. 3, pp. 203–209, 2011. View at Publisher · View at Google Scholar · View at Scopus
  7. K. B. Kim, J. H. Kim, C. J. Lee, S. H. Noh, and M. S. Kim, “Simple instrument for moisture measurement in grain by free-space microwave transmission,” The American Society of Agricultural and Biological Engineers, vol. 49, no. 4, pp. 1089–1093, 2006. View at Publisher · View at Google Scholar · View at Scopus
  8. Y. Yueqian, W. Jianping, and W. Chengzhi, “Study on on-line measurement of grain moisture content by neutron gauge,” Transactions of the CSAE, vol. 5, no. 16, pp. 99–101, 2000. View at Google Scholar
  9. L. Lan, Study and Realization of Intelligent Arithmetic for Grain Moisture Measuring, Jilin University, 2005.
  10. Z. Yang, K. Lu, and C. Liu, “Design of the intelligent humidiometer to test grain’s damp,” Journal of Electronic Measurement and Instrument, vol. 10, no. 3, pp. 64–67, 1996. View at Google Scholar
  11. C. Li and H. Ban, “A grain moisture content measurement method and device,” China, 200610123461.3[P].
  12. C. Li, “Design and experiment of on-line moisture content metering device for paddy drying process,” Journal of Agricultural Machinery, vol. 39, no. 3, pp. 56–59, 2008. View at Google Scholar · View at Scopus
  13. Z. Yan, “Data acquisition of pressure based on LM331 & MCU,” Electronic Design Engineering, vol. 17, no. 3, pp. 95–97, 2009. View at Google Scholar
  14. H. Kaiming, “Research on the parameters of sliding averaging for digital filtering,” Journal of Jimei University, vol. 11, no. 4, pp. 381–384, 2006. View at Google Scholar
  15. Z. Yaqiu, W. Wenfu, and W. Gang, “Neural network temperature compensation for grain moisture detection system based on virtual instrument,” Journal of the Chinese Cereals and Oils Association, vol. 26, no. 5, 2011. View at Google Scholar