A method and system for measuring crop water requirement based on farmland measuring pits

By using the combination of oscillation, filtering, shaping, inverting amplification circuit and stepper motor in the crop water demand measurement system, the problems of low measurement accuracy and low degree of automation are solved, and high-precision and automated crop water demand measurement are achieved. , suitable for irrigation experimental research.

CN118565589BActive Publication Date: 2024-12-03JIANGXI ACAD OF WATER RESOURCES (JIANGXI PROVINCE DAM SAFETY MANAGEMENT CENT JIANGXI PROVINCE WATER RESOURCES MANAGEMENT CENT)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410917658.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-10
Publication Date
2024-12-03
Estimated Expiration
2044-07-10

AI Technical Summary

Technical Problem

In the prior art, the accuracy of the crop water demand measurement is low, the degree of automation is low, and the sensor is expensive, making it difficult to popularize on a large scale.

Method used

A crop water demand measurement system based on farmland pit measurement is designed, including a water inlet signal detection module, a functional control module, an LCD display module, a motor drive control module and a clock storage module, using oscillation, filtering, shaping, inverting amplifier circuits and The stepper motor automatically finds the water surface through the MCU control stylus, stores and displays water level data in real time, improving measurement accuracy and automation.

Benefits of technology

It realizes high-precision and automated measurement of crop water demand, reduces artificial interference, improves measurement accuracy and work efficiency. The system design is suitable for irrigation experimental research, and provides an effective means to in-depth study of crop water demand.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118565589B_ABST
    Figure CN118565589B_ABST
Patent Text Reader

Abstract

The invention discloses a method and system for determining crop water requirement based on a farmland measuring pit, which belongs to the technical field of water level detection circuits, and specifically comprises: collecting the water in and out conditions of a measuring needle in real time, and converting them into controllable electrical signals for output; setting each hour based on an MCU, powering on a sensor on a stepping motor to run, controlling the measuring needle to move downward toward the water surface, and when the measuring needle contacts the water surface, the measuring needle immediately moves upward and leaves the water surface, and when the measuring needle leaves the water surface, it immediately moves downward to find the water surface, and takes the average of 10 water surface elevations as the water level measurement value of the measurement; displaying the most recent measurement time and water surface elevation through an LCD; controlling the forward and reverse rotation of a motor through a power amplifier circuit using a pulse signal output by the MCU, thereby driving the up and down reciprocating motion of the stepping motor; and storing the measurement data of each measurement in real time; the invention obtains the evapotranspiration data of the measuring pit at each hour of each day by itself, and provides an effective means for in-depth research on crop water requirement.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of water level detection circuits, and in particular to a method and system for determining crop water demand based on farmland measuring pits. Background Art

[0002] In the field of farmland water science, it is often necessary to study the effect of crop water requirement on crop growth. Crop water requirement refers to the amount of water required to meet plant transpiration, inter-plant transpiration, and plant body composition under the condition of achieving high yield potential in a given growth environment. It is generally believed that crop water requirement is equivalent to transpiration. In order to accurately measure crop water requirement and study its changing rules, accurate crop water requirement measurement equipment is needed.

[0003] At present, the methods and equipment for determining crop water requirements in China are relatively backward. Artificial ground observation methods are generally used, and test personnel use electric water level gauges to observe the water level in the test pits at regular intervals every day. During observation, the electric water level gauge's built-in buzzer notifies when the needle tip touches the water, and then the needle reading is read manually. There are certain human observation errors and low measurement accuracy. In addition, because test personnel frequently approach the crops around the test pits, the test pits and nearby observation spaces cause changes in the natural conditions of ventilation and light in the test pits and the surrounding areas, which may interfere with and damage the natural growth of crops. Sometimes, after the test pits are closed, it is often difficult to use manual observation methods to measure the water level.

[0004] To this end, it is necessary to continuously improve and perfect the automatic measurement method of field crop water requirement. In foreign countries, remote sensing observation methods are generally used to measure crop water requirement. Precision measurement sensors - waveguide wires are laid in farmland measurement pits. The sensor measurement data is remotely transmitted to the host computer of the measurement and control center through wired or wireless communication, and automatically analyzed and processed in the background. This measurement method not only greatly improves the work efficiency of test personnel, but also avoids the interference and damage to the natural growth state of crops caused by frequent approach to farmland measurement pits due to manual measurement. However, waveguide wire sensors are expensive and difficult to be popularized and applied on a large scale.

[0005] Wu Wei and others from Yulin Normal School used ultrasonic ranging based on temperature compensation to measure the water level in farmland pits. This method is easily affected by factors such as air humidity and has low overall measurement accuracy. Liu Shiping and others from the Chinese Academy of Sciences developed a evaporimeter at the experimental research station, which determines crop water requirement through a mechanical weighing system. The measurement has high accuracy, but the system has a complex structure and relies on a large platform, making it difficult to promote and apply in irrigation test bases across the country.

[0006] In summary, it is necessary to continuously conduct in-depth research on the automatic measurement technology of crop water requirement in farmland pits, effectively solve the problems of low accuracy in crop water requirement measurement and low degree of automation, and develop a universal high-precision automatic measurement system for crop water requirement in pits. Summary of the invention

[0007] The purpose of the present invention is to provide a method and system for measuring crop water requirement based on farmland measuring pits to solve the following technical problems:

[0008] In order to solve the problems of low accuracy in measuring crop water requirement and low degree of automation, a universal high-precision automatic measurement system for crop water requirement in pits was developed.

[0009] The purpose of the present invention can be achieved through the following technical solutions:

[0010] A crop water requirement measurement system based on farmland measuring pits, comprising:

[0011] The water entry signal detection module is used to reflect the water entry and exit conditions of the probe in real time and convert it into a controllable electrical signal output, including a water entry oscillation circuit and a signal processing circuit;

[0012] Function control module, based on MCU setting every hour, the stepper motor powers on the sensor to run, and controls the probe to move downward toward the water surface. When the probe touches the water surface, it immediately moves upward and leaves the water surface. When the probe leaves the water surface, it immediately moves downward to find the water surface. It searches for the water surface 10 times back and forth, and takes the average of the 10 water surface elevations as the water level measurement value of the measurement.

[0013] LCD display module, used to display the most recent measurement time and water surface elevation;

[0014] The motor drive control module is used to control the forward and reverse rotation of the motor through the power amplifier circuit using the pulse signal output by the MCU, thereby driving the up and down reciprocating motion of the stepper motor;

[0015] The clock storage module is used to store the measurement date, time, water surface elevation and evaporation volume of each measurement in real time.

[0016] As a further solution of the present invention: the water entry signal detection module is composed of four parts: oscillation, filtering, shaping, and inverting amplification. The water entry oscillation circuit is composed of 8 NPN three-stage transistors Q1 to Q8;

[0017] An oscillation adjustment potentiometer is introduced into the water entry oscillation circuit, and the strength of the oscillation is achieved by adjusting the potentiometer TRW;

[0018] When the probe tip does not touch the water surface during the upward or downward movement, the circuit outputs a high-level signal to the MCU input / output port;

[0019] When the needle tip touches the water surface, the water oscillation circuit stops oscillating, and after filtering, shaping, and inverting signal processing, it outputs a low level to the MCU input / output port. The MCU controls the probe to move up or down according to the high and low levels of the input of the detection circuit.

[0020] As a further solution of the present invention: the current introduced when the measuring needle is turned on is a 10KHz high-frequency low-voltage AC signal.

[0021] As a further solution of the present invention: the water entry oscillation circuit adopts a magnetic core coil, and the coil winding ratio TL1:TL2:TL3=25:50:33.

[0022] As a further solution of the present invention: in the function control module:

[0023] When the machine is turned on, the probe automatically moves upward until it touches the upper limit reference switch, then moves downward to automatically find the water surface. After touching the water surface, it measures the water surface elevation 10 times back and forth, and stores the measurement time and water surface average in the solid-state memory.

[0024] When the probe does not find the water surface while moving downward and touches the limit switch, the stepper motor immediately moves upward to the upper limit reference switch and stops.

[0025] As a further solution of the present invention: the process of the functional control module collecting water level measurement values ​​is:

[0026] The calculation formula is:

[0027] h i =Hl i

[0028] h=sum(h1+h2+h3+...+h 10 ) / 10

[0029] Where H is the elevation of the upper limit switch reference point, l is the screw stroke, i is a constant and i∈[1,10];

[0030] Take the water surface height h measured at any two hour periods i and h j Compare and analyze to calculate the crop evaporation in the pit during the corresponding interval E=h i -h j .

[0031] As a further solution of the present invention: in the motor drive control module:

[0032] The motor is controlled by a relay. When the set hourly time is reached, the relay is closed, the stepper motor is powered on, and after a delay of 1s, the motor starts running and the system starts measuring. P1.0~P1.3 of the MCU are defined as the motor drive function I / O ports.

[0033] As a further solution of the present invention: the clock storage module includes a clock circuit and a storage circuit:

[0034] The clock circuit design uses the DS12887 clock chip to build a high-precision real-time clock system;

[0035] The storage circuit design uses the DS1225 chip. CS1 and CS2 of DS1225 use an inverter to synchronize the selection signal. Passwords are set for data query and data clearing operations. If the password input does not match the system setting, the operation fails.

[0036] A method for measuring crop water requirement based on farmland pit measurement is applied to the above-mentioned crop water requirement measurement system based on farmland pit measurement, comprising the following steps:

[0037] Using the DS12887 clock chip as the time reference, the function control module outputs I / O commands to the motor drive control module based on the MCU at the scheduled time, driving the stepper motor to operate and drive the probe downward to find the water surface, and reciprocates to find the water surface 10 times;

[0038] The water entry signal detection module measures the water surface elevation. After the measurement is completed, the measurement time and water surface elevation are stored in the memory SRAM. At the same time, the probe moves upward to the upper limit reference switch, the stepper motor is powered off and stops running, and the LCD display module displays the measurement time and the average water surface elevation.

[0039] Beneficial effects of the present invention:

[0040] The present invention develops a crop water requirement measurement system for farmland pits suitable for irrigation test research. The system design adopts an independent design of a host and a sensor. The host sets the sensor to automatically measure the water level of the pit every hour every day, and compares and analyzes it with the water level of the pit measured at the hour of the previous hour, automatically calculates and displays the evaporation of the pit for this hour, and obtains the evaporation data of the pit at each hour of the day through the system host computer acquisition software. After daily and hourly telemetry sensors are used, the evaporation data of the pit at each hour of the day are obtained. After analysis and processing by the background software, the changing law of the crop evaporation throughout the day can be grasped, which provides an effective means for in-depth research on crop water requirement. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The present invention will be further described below in conjunction with the accompanying drawings.

[0042] Figure 1 It is a schematic diagram of the system module of the present invention;

[0043] Figure 2 It is a structural schematic diagram of the water entry signal detection sensor of the present invention;

[0044] Figure 3 It is a schematic diagram of the flow of the water entry signal detection module of the present invention;

[0045] Figure 4 is a circuit diagram of a water entry signal detection module of the present invention;

[0046] Figure 5 is a circuit diagram of the motor drive module of the present invention;

[0047] Figure 6 is a circuit diagram of a clock storage module of the present invention;

[0048] Figure 7 It is a schematic flow chart of a method for determining crop water requirement based on farmland measuring pits of the present invention. DETAILED DESCRIPTION

[0049] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0050] See also Figure 1-7 As shown, the present invention is a method and system for measuring crop water requirement based on farmland pit measurement, comprising:

[0051] The system hardware mainly consists of five parts: water entry signal detection module, function control module, LCD display module, motor drive control module, and clock storage module. The front-end water entry signal detection module includes a water entry oscillation circuit and a signal processing circuit, which consists of four parts: oscillation, filtering, shaping, and inverting amplification. It can reflect the water entry and exit status of the probe in real time and convert it into a controllable electrical signal output; the function control module sets the stepper motor to power on the sensor at every hour, driving the probe to search and track the water surface 10 times; the LCD display module displays the most recent measurement time and water surface elevation; the motor drive control module controls the forward and reverse rotation of the motor through the power amplifier circuit using the pulse signal output by the MCU, thereby driving the motor to reciprocate up and down; the clock storage module uses the DS12887 clock chip and DS1225 static storage SRAM to store the measurement date, time, water surface elevation and evaporation volume of each measurement in real time.

[0052] The measurement system adopts a separate design of the host and sensor, and the host and sensor are electrically connected through cables. The host chassis and sensor finished products are shown. The sensor is mainly composed of a stainless steel cover and a precision screw. Since the maximum elevation change of the water surface line in the farmland measurement pit does not exceed 10cm, the effective stroke of the sensor screw is designed to be 10cm.

[0053] The internal hardware of the sensor is mainly composed of stepper motor, screw, channel steel, base, upper and lower limit switches, bearings, measuring needles, etc. The internal structure diagram of the sensor is as follows Figure 2 shown.

[0054] Water ingress detection circuit design:

[0055] The water entry signal detection circuit is the most critical and core part of the host control circuit. It needs to accurately reflect the water entry and exit conditions of the probe and convert it into a controllable electrical signal input. When designing the water entry signal detection circuit, it is necessary to solve the problems that may cause the instrument to not work properly, have low sensitivity, and have large measurement errors due to factors such as probe polarization, water surface tension, and changes in water conductivity caused by different regional water temperatures and water qualities.

[0056] The water entry signal detection circuit consists of four parts: oscillation, filtering, shaping, and inverting amplification. The flow chart is as follows: Figure 3 shown.

[0057] The oscillation circuit is composed of 8 NPN three-stage transistors Q1~Q8. When the probe tip does not touch the water surface during the upward or downward movement, the circuit outputs a high-level signal to the MCU input / output (I / O) port. When the probe tip touches the water surface, the oscillation circuit stops oscillating, and after filtering, shaping, and inverting signal processing, it outputs a low level to the MCU input / output (I / O) port. The MCU controls the probe to move upward or downward according to the high and low levels of the input of the detection circuit part.

[0058] The measuring system realizes automatic water level measurement by automatically tracking the water surface by moving the stylus up and down. Current usually needs to be introduced to the stylus. However, the introduction of current to the stylus will cause polarization after the stylus enters the water after running for a period of time. Studies have found that when DC or low-frequency AC current is introduced, the stylus will soon produce polarization after running for a period of time, causing measurement errors and even causing the system to work abnormally. Through continuous research and experiments, it was found that when a 10KHz high-frequency low-voltage AC signal was introduced to the stylus, the polarization problem of the stylus was well solved.

[0059] The oscillation circuit design uses a typical Wien oscillation circuit, but the parameter selection is completely different from the Wien oscillation circuit. The oscillation of the probe entering the water no longer requires the stable oscillation in the Wien oscillation circuit, but requires the oscillation circuit to be sensitive to the water body. An oscillation adjustment potentiometer was introduced in the circuit design process, and the strength of the oscillation can be achieved by adjusting the potentiometer. If the resistance of the potentiometer is adjusted too small, the probe tip will not oscillate even if it is dehydrated, and the probe will continue to move upward; if the resistance of the potentiometer is too large and the oscillation is too strong, the probe tip will vibrate before it is completely dehydrated, causing the probe to continue to move downward. In this way, the probe always moves up and down in the water, and the contact point is not on the water surface. Before the experiment, the potentiometer needs to be adjusted to the point where the probe tip stops vibrating as soon as it touches the water and starts vibrating only when it is completely dehydrated. The potentiometer can be adjusted while the oscillation indicator on the front panel of the host is viewed. When the indicator suddenly swings from the 0 level to the middle position, the probe is out of water. The oscillation is optimal. By adjusting the potentiometer, the needle tip dehydration oscillation can be adjusted to the optimal state in different water bodies. The schematic diagram of the water entry detection circuit is as follows: Figure 4shown.

[0060] In addition, due to the conductivity of the water in the measuring pit, and the conductivity of different water bodies in different areas is different, increasing the gate circuit signal flip time will cause the probe to enter the water to a certain depth before the high and low levels flip. At this time, the probe is no longer tracking the water surface, resulting in significant measurement errors. After repeated tests, the use of magnetic core coils, coil winding ratio TL1:TL2:TL3 = 25:50:33, can effectively reduce the equivalent resistance of the water body, greatly reduce the measurement error caused by the conductivity of the water body, the signal response flip time is less than 1.5ms, and the measurement error caused by the conductivity of the water body is basically eliminated.

[0061] Due to the tension on the water surface, when the probe tip is dehydrated, there is a sticky relationship with the water surface, which can cause large measurement errors. Therefore, the water surface elevation value is read only when the probe touches the water surface, effectively eliminating the measurement error that may be caused by the water surface tension counting.

[0062] Functional control circuit design:

[0063] When designing the control circuit module, the following functions are mainly realized:

[0064] (1) Due to the tension on the water surface, when the probe tip is dehydrated, there is a sticky relationship with the water surface, which will cause a large measurement error. Therefore, it is set that the water surface elevation value is read only when the probe touches the water surface, which effectively eliminates the measurement error that may be caused by the water surface tension counting;

[0065] (2) When the machine is turned on, the probe automatically moves upward until it touches the upper reference switch, then moves downward to automatically find the water surface. After touching the water surface, it measures the water surface elevation 10 times back and forth, and stores the measurement time and water surface average in the solid-state memory;

[0066] (3) The water level in the measuring cylinder may be too low, and the measuring needle has not found the water surface when it moves downward. It should be ensured that when the measuring needle touches the limit switch, the stepper motor immediately moves upward to the upper limit reference switch and stops;

[0067] (4) During normal time, the host LCD screen displays the most recent measurement time and the average water surface elevation;

[0068] (5) If the host loses power, the water surface elevation will be automatically measured again at the first hour after the power is restored.

[0069] Motor drive circuit and sensor screw design:

[0070] The stable and reliable operation of the stepper motor is the key to the actual measurement accuracy of the instrument. The pulse signal output by the host MCU is converted by the drive circuit to drive the stepper motor to work and drive the probe to move up and down. The design requires that the stepper motor has sufficient power to ensure that the motor does not lose steps when running.

[0071] Since the system only measures at the set time, the stepper motor is normally powered off and will not be powered on until the set measurement time. The design uses a relay to control the motor. After the set time is reached, the relay closes, the stepper motor is powered on, and after a delay of 1s, the motor runs and the system starts measuring. Define the MCU P1.0~P1.3 as the motor drive function I / O port. The motor drive circuit schematic is as follows: Figure 5 shown.

[0072] The measurement accuracy of the system is determined by the manufacturing accuracy of the sensor screw. The sensor screw thread lead is 2.4mm. Each revolution of the stepper motor can be subdivided into 240 steps, so the accuracy and resolution of each step of the motor can reach 0.01mm. The sensor screw uses a self-designed and customized anti-backlash nut, triangular flange installation, right-hand thread, 3 / 8 inch screw diameter, and 2.4 thread lead.

[0073] The screw assembly adopts a very compact design to provide rigidity and accuracy for precise positioning applications. The wedge design locks the anti-backlash nut at the appropriate preload without excessive resistance. Nut wear or momentary overload will be compensated by the compensation mechanism, so that positioning accuracy can be maintained in demanding applications. The screw is maintenance-free by using an axially preloaded self-lubricating nut on a 303 stainless steel precision trapezoidal screw.

[0074] Compared with traditional stainless steel screws that require regular lubrication, the design and application of the anti-backlash screw not only greatly reduces the workload, but also avoids the oscillation changes in the water caused by the addition of oil, which may cause errors in system measurement.

[0075] Clock storage circuit design:

[0076] The schematic diagram of the clock storage circuit is as follows: Figure 6 As shown, in order to achieve punctual measurement of the system, the clock circuit design uses the DS12887 clock chip to build a high-precision real-time clock system. The DS12887 clock chip can ensure that the built-in clock can accurately run for more than 10 years without external power supply.

[0077] In order to save the measurement time, water surface elevation and evapotranspiration data, a storage circuit needs to be designed. The DS1225 chip is used for storage circuit design. DS1225 is a completely static non-volatile (NV) SRAM with 8K bytes and built-in power supply. The data can be kept for more than 10 years. In order to further improve the reliability of data storage, a number of protection measures are adopted in the design:

[0078] (1) CS1 and CS2 of DS1225 use an inverter to synchronize the selection signal, avoiding data errors caused by power supply fluctuations at the moment of power-on.

[0079] (2) In software design, passwords are set for data query and data clearing operations. If the password input does not match the system settings, the operation will fail to prevent data loss due to incorrect operations.

[0080] System problem improvement:

[0081] 1. Sensor screw improvement:

[0082] In the early application of the system, the sensor screw used a stainless steel screw and a bronze nut. There is friction between the two during operation. In order to reduce the friction between each other and improve the wear resistance, lubrication is required. Lubrication is generally done by applying lubricating oil between the two, which makes it easy for the grease to drip into the measuring cylinder. During the test, it was found that there was sometimes a layer of oil floating on the water surface of the measuring cylinder. The source of the oil was dripping into the water surface along the narrow gap between the needle tip and the bearing. Since the oil is always on the surface of the water, the water surface height is changed, which causes measurement errors. Through continuous experimental research, a new type of anti-backlash screw was designed and adopted. Compared with the traditional stainless steel screw that needs regular oil lubrication, the anti-backlash screw adopts a self-lubricating nut with axial preload, which can realize maintenance-free screw, thereby fundamentally solving the problem of measurement errors caused by dripping lubricating oil.

[0083] 2. Oscillation circuit improvement:

[0084] During the application of the system, the turbidity of the water in the measuring pit sometimes changes on rainy days, resulting in poor oscillation and dehydration of the measuring needle, causing measurement errors. By changing the oscillation circuit parameters, the system's ability to identify differences in water quality and water conductivity has been improved, improving the stability and reliability of the system.

[0085] 3. The sensor cover must be strictly sealed:

[0086] During the application of the system, sometimes the sensor does not operate normally when the set measurement time is reached. It was observed that when the sensor does not work normally, there are many water droplets condensed inside the sensor. Wipe the water droplets inside the sensor clean, ventilate for a period of time until the inside of the sensor is basically dry, and then restart the instrument to resume normal operation. The reason for the system failure was analyzed to be that the sensor cover was not fixed well, and the temperature difference between day and night caused small water droplets to condense on the inner wall of the cover and adhere to the motor inside the sensor, affecting the signal transmission between the sensor and the host. To avoid similar problems with the system sensor, the sensor cover needs to be fixed and installed to ensure that the inside of the sensor is sealed.

[0087] 4. The measuring pit and the measuring cylinder pipe should be cleaned regularly:

[0088] After the system was used for a period of time, the test observers found that the water level in the measuring cylinder changed slowly, and the data observed manually was very different from the data measured by the system. They suspected that the connecting hose between the measuring pit and the measuring cylinder was blocked. After unblocking, they found that there were indeed a lot of algae and other debris in the hose. The problem was solved by replacing the original 6mm inner diameter hose with a 10mm inner diameter hose and cleaning the hose regularly. The measurement system has been tested many times and solved some problems in the operation process. The subsequent system operation is stable and reliable. The system's water surface elevation measurement resolution is 0.01mm, and the maximum measurement error within the 100mm range is ≤0.01mm. The automatic measurement of evaporation has a good correlation with the manual measurement of evaporation, and the travel time error is ≤±1 minute / month.

[0089] in conclusion:

[0090] Aiming at the demand for automatic measurement of crop water demand in the test pit of farmland irrigation, the present invention has developed a high-precision water surface evapotranspiration measurement system, innovatively designed the water entry detection circuit, solved the measurement errors that may be caused by factors such as polarization of the probe and changes in water conductivity; the function setting is that the water surface elevation value is read only when the probe touches the water surface, effectively eliminating the measurement errors that may be caused by water surface tension; the anti-backlash screw is used to replace the traditional screw rod, and the self-lubricating nut is pre-added on the screw rod, which well solves the problem that the traditional stainless steel screw rod and bronze nut need to be regularly refueled and maintained, which may cause grease to drip into the water surface of the measuring cylinder and cause measurement errors; the system uses the DS12887 clock chip to build a high-precision real-time clock system, and the overall travel time error is ≤±1 minute / month. In the application process, the system solves some measurement errors caused by inconsiderate considerations in the early stage of the design, and after measurement accuracy testing and evapotranspiration manual and automatic correlation comparison, the overall operation of the system is stable and reliable.

[0091] The high-precision water surface evapotranspiration measurement system has been applied in large-scale farmland test pit research, providing instruments and equipment with high automation, good representativeness and high measurement accuracy for the determination of crop water demand, and improving the research level and depth of crop water demand. However, the system lacks continuous large-scale and long-term automatic observation applications, and its stability and reliability still need to be tested by time.

[0092] A method for measuring crop water requirement based on farmland pit measurement is applied to the above-mentioned crop water requirement measurement system based on farmland pit measurement, comprising the following steps:

[0093] The calculation amount and input and output control functions of the system control program are not complicated, and there is no need to pursue high computing power. The host control circuit board MCU uses AT89C52 single-chip microcomputer to achieve all of them. The instrument's measurement and control main program is compiled in assembly language. When compiling the software, we strive to make it fully functional, stable and reliable, simple and clear, and efficient.

[0094] like Figure 7 As shown in the figure, the system uses the DS12887 clock chip as the time reference. The host outputs the I / O command to control the motor according to the preset time. The probe moves downward to find the water surface, and reciprocates to find the water surface 10 times. After the measurement is completed, the measurement time and water surface elevation are stored in the memory SRAM. At the same time, the probe moves upward to the upper reference switch, the motor is powered off and stops running, and the LCD displays the measurement time and the average water surface elevation. The main program includes system startup initialization, sensor power-on, probe upward to find the upper switch reference point, probe downward to find the water surface, reciprocating measurement of the water surface 10 times, measurement time and water surface elevation storage, motor power-off measurement end, measurement time and water surface elevation average display, etc.

[0095] In another preferred embodiment of the present invention, the detection of the cleanliness of the water body is also included:

[0096] The water surface elevation ha measured when entering the water and the water surface elevation hb measured when leaving the water are collected for each measuring point, and the value of hb minus ha is calculated respectively and marked as elevation difference. The measuring points whose elevation difference is within the standard range are marked as suitable water bodies for crops, the water areas of the measuring points whose elevation difference is greater than the standard range are marked as nutrient-poor water bodies, and the water areas of the measuring points whose elevation difference is lower than the standard range are marked as nutrient-rich water bodies. The contour map of the entire measured water area is drawn according to the elevation difference value, and the high-value central area and the low-value central area in the contour map are obtained, and the element content of the water bodies in the area are supplemented and processed respectively. When the high-center area of ​​the elevation difference contour map coincides with the high-center area of ​​the water surface elevation, it is detected whether there is a water source outlet in the area.

[0097] When measuring an area with an elevation difference greater than a preset threshold, that is, the surface tension of the water in this area is large and the water is relatively pure, electrolytes are added to the area after the initial measurement to reduce the water resistance in this area, and the water surface elevation value of the initial measurement is deleted.

[0098] Obtain the water surface elevation variance, water inlet and outlet elevation difference and the inverse of the water surface elevation of each measuring point, perform normalization processing, mark them as detection indicators, establish a forward matrix, convert the forward matrix into a standardized matrix, calculate the Euclidean distance Di+ from each detection indicator Zi in the standardized matrix to the maximum detection indicator Z+, and the Euclidean distance Di- to the minimum detection indicator Z-, the formula is;

[0099] , ;

[0100] The value range of i is the number of measurement points, j∈1,2,3, then the score of each measurement point is ; The detected water areas with scores higher than the preset threshold are marked as abnormal water areas and re-measured.

[0101] The above is a detailed description of an embodiment of the present invention, but the content is only a preferred embodiment of the present invention and cannot be considered to limit the scope of implementation of the present invention. All equivalent changes and improvements made within the scope of the present invention should still fall within the scope of the patent coverage of the present invention.

Claims

1. A crop water requirement measurement system based on farmland measurement pits, characterized in that: include: The water entry signal detection module is used to reflect the water entry and exit conditions of the probe in real time and convert it into a controllable electrical signal output, including a water entry oscillation circuit and a signal processing circuit; Function control module, based on MCU setting every hour, the stepper motor powers on the sensor to run, and controls the probe to move downward toward the water surface. When the probe touches the water surface, it immediately moves upward and leaves the water surface. When the probe leaves the water surface, it immediately moves downward to find the water surface. It searches for the water surface 10 times back and forth, and takes the average of the 10 water surface elevations as the water level measurement value of the measurement. LCD display module, used to display the most recent measurement time and water surface elevation; The motor drive control module is used to control the forward and reverse rotation of the motor through the power amplifier circuit using the pulse signal output by the MCU, thereby driving the up and down reciprocating motion of the stepper motor; The clock storage module is used to store the measurement date, time, water surface elevation and evaporation volume of each measurement in real time; The current introduced by the measuring needle is a 10KHz high-frequency low-voltage AC signal; The water entry oscillation circuit adopts a magnetic core coil, and the coil winding ratio TL1:TL2:TL3=25:50:

33.

2. A crop water requirement measurement system based on farmland pit measurement according to claim 1, characterized in that: The water entry signal detection module consists of four parts: oscillation, filtering, shaping, and inverting amplification. The water entry oscillation circuit consists of 8 NPN three-stage transistors from Q1 to Q8; An oscillation adjustment potentiometer is introduced into the water entry oscillation circuit, and the strength of the oscillation is achieved by adjusting the potentiometer TRW; When the probe tip does not touch the water surface during the upward or downward movement, the circuit outputs a high-level signal to the MCU input / output port; When the needle tip touches the water surface, the water oscillation circuit stops oscillating, and after filtering, shaping, and inverting signal processing, it outputs a low level to the MCU input / output port. The MCU controls the probe to move up or down according to the high and low levels of the input of the detection circuit.

3. The crop water requirement measurement system based on farmland pit measurement according to claim 1 is characterized in that: In the function control module: When the machine is turned on, the probe automatically moves upward until it touches the upper limit reference switch, then moves downward to automatically find the water surface. After touching the water surface, it measures the water surface elevation 10 times back and forth, and stores the measurement time and water surface average in the solid-state memory. When the probe does not find the water surface while moving downward and touches the limit switch, the stepper motor immediately moves upward to the upper limit reference switch and stops.

4. The crop water requirement measurement system based on farmland pit measurement according to claim 1, characterized in that: The process of collecting water level measurement values ​​by the functional control module is as follows: The calculation formula is: ; ; Where H is the elevation of the upper limit switch reference point, l is the screw stroke, i is a constant and i∈[1,10]; Take the water surface height h measured at any two hour periods i and h j Compare and analyze to calculate the crop evaporation in the pit during the corresponding interval E=h i -h j .

5. The crop water requirement measurement system based on farmland pit measurement according to claim 1, characterized in that: In the motor drive control module: The motor is controlled by a relay. When the set hourly time is reached, the relay is closed, the stepper motor is powered on, and after a delay of 1s, the motor starts running and the system starts measuring. P1.0~P1.3 of the MCU are defined as the motor drive function I / O ports.

6. The crop water requirement measurement system based on farmland pit measurement according to claim 1, characterized in that: The clock storage module includes a clock circuit and a storage circuit: The clock circuit design uses the DS12887 clock chip to build a high-precision real-time clock system; The storage circuit design uses the DS1225 chip. CS1 and CS2 of DS1225 use an inverter to synchronize the selection signal. Passwords are set for data query and data clearing operations. If the password input does not match the system setting, the operation fails.

7. A method for measuring crop water requirement based on farmland pit measurement, applied to a system for measuring crop water requirement based on farmland pit measurement as claimed in any one of claims 1 to 6, characterized in that: The following steps are involved: Using the DS12887 clock chip as the time reference, the function control module outputs I / O commands to the motor drive control module based on the MCU at the scheduled time, driving the stepper motor to operate and drive the probe downward to find the water surface, and reciprocates to find the water surface 10 times; The water entry signal detection module measures the water surface elevation. After the measurement is completed, the measurement time and water surface elevation are stored in the memory SRAM. At the same time, the probe moves upward to the upper limit reference switch, the stepper motor is powered off and stops running, and the LCD display module displays the measurement time and the average water surface elevation.