A method for targeted irrigation linkage control of pak choi seeding
By establishing a pulse timestamp and displacement coordinate mapping, combined with photoelectric and water pressure detection, the timing of seed detachment characteristics is identified and valve delay is compensated, thus achieving precise control of targeted irrigation for Chinese cabbage sowing. This solves the problems of landing point offset and water volume superposition in the sowing system, and improves irrigation accuracy and resource utilization.
Patent Information
- Application Number
- CN202611624482.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-20
- Publication Date
- 2026-11-27
AI Technical Summary
Existing targeted irrigation systems for seeding suffer from variable speed movement of machinery and lag in response at multiple stages, causing the irrigation point to deviate from the seed position. Furthermore, they do not consider the cumulative effect of residual water volume across cycles, which reduces the accuracy of water volume control.
By establishing a mapping relationship between pulse timestamps and continuous displacement coordinates, and combining photoelectric detection signals and water pressure sampling sequences, the system identifies the characteristic moments of seed detachment, calculates the valve opening delay and displacement error during flight time, and monitors and compensates for the sprayed water volume in real time, thereby achieving precise irrigation control.
It improves the spatial accuracy of targeted spraying, compensates for the effects of unit speed change and mechanical lag, avoids water volume overlap between adjacent irrigation points, and improves the control accuracy and resource utilization rate of water volume for single fixed-point irrigation.
Smart Images

Figure CN123166085A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of agricultural planting and irrigation technology, specifically a method for targeted irrigation linkage control of bok choy sowing. Background Technology
[0002] Targeted precision irrigation is a crucial technology for water conservation and efficiency improvement in modern agriculture. In precision sowing operations such as bok choy, achieving coordinated physical positioning of sowing and irrigation is essential for improving seed germination rates. Existing targeted irrigation systems typically control nozzle movement using fixed-distance triggering or fixed-delay methods. In actual field operations, the seeder's speed is constantly changing due to surface undulations and fluctuations in machine traction. From seed detection to seed descent, to the mechanical response of the water valve, and finally to the fluid's flight from the nozzle outlet to the ground surface, there are inherent mechanical delays and fluid spatial lags. These multi-stage time lags translate into spatial displacement deviations during machine speed changes, causing the actual irrigation landing point to deviate from the seed's physical location. Furthermore, existing descent detection methods often rely on single photoelectric sensors, which are susceptible to random motion such as collisions and tumbling within the seed metering tube, making it difficult to accurately determine the initial moment when the seed truly leaves the metering tray, further amplifying the positioning error of the target landing point.
[0003] Furthermore, in continuous high-frequency sowing operations with small-diameter seeds, the interval between two adjacent sowing cycles is short. Existing control methods typically control each irrigation action independently according to a fixed opening duration, without considering the physical process of valve opening and closing. Due to the mechanical lag when the valve closes and the attenuation of pipeline pressure, the nozzle will continue to spray residual water even after the closing command is issued.
[0004] When the seeding frequency is high, residual water from the previous cycle often falls into the target area of the next cycle, resulting in localized water accumulation. Current technology lacks a monitoring and compensation mechanism for residual water during multi-cycle continuous operation, causing the actual irrigation volume at a single point to exceed the target value, thus reducing the accuracy of target water volume control. Summary of the Invention
[0005] To address the shortcomings of existing technologies, this invention provides a targeted irrigation linkage control method for Chinese cabbage sowing, which solves the problems of target landing point deviation caused by the variable speed movement of machinery and the lag in response of multiple links in the system in existing targeted irrigation technology, as well as the inaccurate control of single-point irrigation water volume caused by the failure to consider the superposition of residual water bodies across cycles.
[0006] To achieve the above objectives, the present invention provides the following technical solution: The first aspect of this invention provides a method for targeted irrigation linkage control of bok choy sowing, comprising the following steps: Obtain the unified time base timestamp of the displacement pulse signal and establish the mapping relationship between the pulse timestamp and the continuous displacement coordinates; The seed detachment characteristic moment is identified based on the photoelectric detection signal and the negative pressure sampling sequence of the seed metering chamber, and the corresponding detachment displacement coordinates are obtained by calling the mapping relationship; Extract the water pressure sampling sequence of the previous operation cycle to identify the actual valve opening characteristic moment, combine the mapping relationship to calculate the valve opening delay displacement of the previous operation cycle, and obtain the chassis displacement estimation error during the flight time of the previous operation cycle. The flight time of the jet stream is calculated based on the current water pressure sampling value, and the chassis displacement estimate during the flight time of the current operation cycle is calculated by querying the historical time interval based on the mapping relationship. By combining the seed removal displacement coordinates, chassis displacement estimates, valve opening delay displacement from the previous work cycle, and chassis displacement estimation errors during the flight time of the previous work cycle, the opening trigger displacement coordinates are calculated. When the current continuous displacement coordinate reaches the activation trigger displacement coordinate, an activation command is sent, and the sprayed water volume of the current operation cycle is accumulated in real time; the effective residual water volume expected to fall into the current target irrigation area is calculated based on the previous operation cycle, and when the sum of the accumulated sprayed water volume and the effective residual water volume reaches the standard irrigation water volume, a deactivation command is sent.
[0007] Furthermore, the process of establishing the mapping relationship between pulse timestamps and continuous displacement coordinates includes: For a historical event moment, locate the adjacent pulse timestamps that meet the conditions, and perform linear interpolation based on the time ratio of the historical event moment between the adjacent pulse timestamps to obtain the continuous displacement coordinates corresponding to the historical event moment. For the current moment of the system, read the two most recently recorded pulse timestamps to calculate the current local pulse period, and estimate the current continuous displacement coordinates corresponding to the current moment of the system based on the time that has elapsed relative to the most recent pulse timestamp.
[0008] Furthermore, after establishing the mapping relationship between pulse timestamps and continuous displacement coordinates, before identifying the seed detachment characteristic moment, the process also includes the step of obtaining initial compensation parameters: During the stationary start-up phase of the unit before continuous seeding operations begin, pipeline pre-spraying is performed, and the time of the pre-spraying start command and the time of the pre-spraying stop command are recorded. The initial actual start characteristic time of pre-spraying is identified by the water pressure sampling sequence. The initial valve opening response delay time is obtained by subtracting the initial actual opening characteristic time from the pre-jet opening command time. After the nearest adjacent pulse time interval is formed, the initial valve opening response delay time is converted into the initial valve opening delay displacement. At the same time, the chassis displacement estimation error, effective residual water volume and chassis displacement estimation during the flight time are initialized.
[0009] In a preferred embodiment of the present invention, identifying the seed detachment characteristic moment specifically includes: Using the photoelectric detection time as the time positioning reference, the negative pressure feature search time interval is determined by combining the preset upper limit and lower limit of seed delivery time; The first-order discrete difference is obtained from the negative pressure sampling sequence of the seed metering chamber within the negative pressure feature search time interval, and the continuous positive difference interval with the largest cumulative difference is extracted. When the cumulative difference between consecutive positive difference partitions reaches the preset effective pulsation threshold, the first-order difference value of each sampling point in the interval is used as the weight to calculate the weighted average time of the difference amplitude in the interval, and the weighted average time of the difference amplitude is used as the seed removal characteristic time.
[0010] Furthermore, based on the water pressure sampling sequence of the previous work cycle, the actual valve opening characteristic moment is identified, and the valve opening delay displacement of the previous work cycle is calculated by combining the mapping relationship, specifically including: The first-order discrete difference is obtained from the water pressure sampling sequence of the water supply pipeline in the previous operation cycle; Select the continuous negative difference interval with the largest cumulative absolute value between the opening command time and the closing command time. When the cumulative absolute value of the difference in the interval reaches the preset valve action pressure difference judgment threshold, use the amplitude of the water pressure difference value in the interval to calculate the weighted average to obtain the actual opening characteristic time of the valve. Substitute the actual valve opening characteristic moment and the opening command moment into the mapping relationship to obtain the corresponding continuous displacement coordinates, and then subtract them to obtain the valve opening delay displacement of the previous working cycle. Select the continuous positive difference interval with the largest cumulative absolute value after the closing command time. When the cumulative absolute value of the difference in the interval reaches the valve action pressure difference judgment threshold, use the amplitude of the water pressure difference value in the interval to calculate the weighted average and obtain the valve actual closing characteristic time.
[0011] Furthermore, the chassis displacement estimation error during the flight time of the previous operation cycle is obtained, specifically including: Once the unified time base time reaches the sum of the actual valve opening characteristic moment and the flight time of the jet water flow in the previous cycle, the historical continuous displacement coordinates between the actual valve opening characteristic moment and the sum of the actual valve opening characteristic moment and the flight time of the jet water flow in the previous working cycle are extracted, and the actual displacement of the chassis is calculated. The difference between the actual chassis displacement and the chassis displacement estimate corresponding to the previous operation cycle is used to obtain the chassis displacement estimation error during the flight time of the previous operation cycle.
[0012] In a preferred embodiment of the present invention, calculating the jet stream flight time based on the current water pressure sampling value specifically includes: Calculate the initial jet velocity at the nozzle based on the current water pressure sampling value, liquid density, and preset nozzle velocity coefficient; By combining the initial jet velocity at the nozzle, the vertical height of the nozzle from the ground surface, and the gravitational acceleration constant, the flight time of the jet water flow from the nozzle outlet to the ground surface is calculated; when the current water pressure sample value is lower than the preset minimum effective water supply pressure, the minimum effective water supply pressure is used to replace the current water pressure sample value in the calculation.
[0013] Further, the activation trigger displacement coordinates are calculated, specifically including: The target irrigation displacement coordinates are calculated by adding the seed threshing displacement coordinates to the pulse number corresponding to the horizontal spacing. The pulse number corresponding to the horizontal spacing is determined by the pulse number corresponding to the fixed geometric horizontal spacing from the seed threshing reference position to the theoretical water drop position of the nozzle, and the pulse number corresponding to the average displacement correction along the direction of unit travel during the period from when the seed leaves the seed metering plate to when it actually falls into the seed bed. The target irrigation displacement coordinates are calculated by subtracting the chassis displacement estimate, valve opening delay displacement, and chassis displacement estimate error during flight time from the target irrigation displacement coordinates.
[0014] Furthermore, based on the previous operating cycle, the expected effective residual water volume falling into the current target irrigation area is calculated, specifically including: Extract the closing command time of the previous work cycle as the lower limit of integration, and determine the termination time of the residual water integration based on whether the actual closing characteristic of the valve has been identified before the opening command of the current cycle is generated. Within the time interval between the lower limit of integration and the termination time, effective sampling points whose expected landing displacement coordinates are located within the current target irrigation area are selected by combining the target irrigation displacement coordinates of the current operation cycle and the number of pulses corresponding to the allowable half-width. Based on the preset nozzle flow coefficient, effective flow area of the nozzle, fluid density, and the instantaneous gauge pressure of the water supply pipeline at the effective sampling point after applying a non-negative limit to the pressure sampling value, the outflow volume corresponding to the effective sampling point is accumulated to obtain the effective residual outflow volume.
[0015] Furthermore, after sending the start command, it also includes: Real-time monitoring of the system clock's time span since the start command of the current job cycle; When the time span exceeds the preset maximum allowable opening time, regardless of whether the sum of the cumulative sprayed water volume and the effective residual water volume reaches the standard irrigation water volume, a low-level shutdown command is output and the water supply pressure abnormal flag is set.
[0016] A second aspect of the present invention provides a targeted irrigation linkage control system for bok choy sowing, the system comprising: The control module is used to receive the detection signals output by the displacement detection module, seeding detection module and water pressure detection module, perform displacement coordinate mapping, valve opening position calculation, cross-cycle error feedback compensation and cumulative control of spray water volume, and output water valve opening and closing commands to the irrigation execution module. The displacement detection module is used to detect the displacement of the seeder chassis along the direction of the unit's movement and output displacement pulse signals to the control module. The seed metering detection module is used to collect the photoelectric detection signal generated when the seeds in the seed metering tube pass through the photoelectric detection position, as well as the negative pressure sampling sequence in the air chamber of the seed meterer; The water pressure detection module is used to collect water pressure sampling sequences in the water supply pipeline and provide the current water pressure sampling value to the control module. The irrigation execution module is used to control the water circuit to open or close according to the water valve opening and closing commands output by the control module, and to execute the water spraying action.
[0017] This invention provides a method for targeted irrigation linkage control during the sowing of Chinese cabbage. It has the following beneficial effects: 1. This invention establishes a mapping relationship between a unified time base and continuous displacement coordinates, incorporating multi-sensor monitoring data into a single measurement benchmark. It calculates the seed detachment characteristic time by combining photoelectric detection signals with the discrete differential characteristics of the negative pressure in the seed metering chamber. This eliminates temporal separation interference caused by asynchronous sampling from multiple detection components and overcomes detection errors caused by the randomness of the falling motion of a single seed within the seed metering tube, achieving accurate positioning of the seed detachment displacement coordinates and providing a reliable benchmark for subsequent irrigation control.
[0018] 2. This invention extracts the actual valve action delay and displacement estimation error from the water pressure sampling sequence of the previous operating cycle, and combines this with the fluid flight time calculated from the current instantaneous water pressure and the chassis predicted displacement to comprehensively calculate the opening trigger displacement coordinates. Therefore, it can dynamically compensate for the current cycle using the measured error of the previous cycle, offsetting the impact point deviation caused by unit speed changes, mechanical action lag, and fluid space flight, thereby improving the spatial positioning accuracy of targeted injection.
[0019] 3. This invention calculates the effective residual water volume expected to fall into the current target irrigation area after receiving the closing command in the previous operating cycle, based on the mechanical response hysteresis characteristics of the valve. This residual volume is then combined with the real-time spray volume calculated based on water pressure integration in the current cycle and added together as the basis for controlling the valve closure. This compensates for the localized water accumulation effect caused by overlapping valve cycles, avoids water volume overlap between adjacent irrigation points, and improves the control accuracy of single-point irrigation water volume and the effective utilization rate of water resources. Attached Figure Description
[0020] Figure 1 This is a schematic diagram of the system architecture of the present invention; Figure 2 This is a schematic diagram of the method flow of the present invention; Figure 3 This is a schematic diagram illustrating the principle of spatiotemporal transformation mapping and initial physical state extraction of the present invention; Figure 4 This is a schematic diagram illustrating the principle of gas phase negative pressure characteristic analysis and seed removal spatial position mapping of the present invention; Figure 5 This is a schematic diagram illustrating the principle of liquid-phase mechanical response characteristic analysis and spatial deviation feedback of the present invention. Figure 6 This is a schematic diagram of the fluid space feedforward and command-targeted solution principle of the present invention; Figure 7 This is a schematic diagram of the water balance constraint and cross-cycle cutoff mechanism of the present invention; Figure 8 This is a comparison diagram of the spatial distribution of target impact points under different operating speeds according to the present invention. Figure 9 This is a graph showing the dynamic water pressure response of the valve and the biaxial linkage curve of water volume fraction in this invention. Figure 10 This is a bar chart comparing the single-particle water content deviation and target accuracy under different operating conditions of the present invention. Detailed Implementation
[0021] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0022] Reference Figure 1 This invention provides a targeted irrigation linkage control system for Chinese cabbage sowing, the system comprising: The control module is used to receive the detection signals output by the displacement detection module, seeding detection module and water pressure detection module, perform displacement coordinate mapping, valve opening position calculation, cross-cycle error feedback compensation and cumulative control of spray water volume, and output water valve opening and closing commands to the irrigation execution module. The displacement detection module is used to detect the displacement of the seeder chassis along the direction of the unit's movement and output displacement pulse signals to the control module. The seed metering detection module is used to collect the photoelectric detection signal generated when the seeds in the seed metering tube pass through the photoelectric detection position, as well as the negative pressure sampling sequence in the air chamber of the seed meterer; The water pressure detection module is used to collect water pressure sampling sequences in the water supply pipeline and provide the current water pressure sampling value to the control module. The irrigation execution module is used to control the water circuit to open or close according to the water valve opening and closing commands output by the control module, and to execute the water spraying action.
[0023] Reference Figure 2 This invention provides a method for targeted irrigation linkage control of bok choy sowing, the method comprising the following steps: Step S10: Obtain the unified time base timestamp of the displacement pulse signal output by the displacement detection module, establish the mapping relationship between the pulse timestamp and the continuous displacement coordinates, and obtain the initial compensation parameters before the start of continuous seeding operation through pipeline pre-spraying. Step S20: Determine the negative pressure feature search time interval based on the photoelectric detection signal output by the seed metering detection module. Perform discrete differential processing on the negative pressure sampling sequence of the seed metering chamber within the negative pressure feature search time interval to identify the seed detachment feature moment and call the mapping relationship established in step S10 to obtain the detachment displacement coordinates corresponding to the detachment feature moment. Step S30: Extract the water pressure sampling sequence collected by the water pressure detection module in the previous operation cycle, identify the actual opening characteristic time and the actual closing characteristic time of the valve based on the water pressure change characteristics, and calculate the valve opening delay displacement in the previous operation cycle; compare the chassis displacement estimate obtained during the flight time in the previous operation cycle when the calculation is triggered with the actual chassis displacement obtained after the same flight time has actually passed, and obtain the chassis displacement estimation error during the flight time in the previous operation cycle. Step S40: Calculate the jet water flow flight time based on the current water pressure sampling value provided by the water pressure detection module, and query the historical time interval with the same length as the jet water flow flight time according to the timestamp record to calculate the chassis displacement estimate during the flight time of the current operation cycle; combine the seed threshing displacement coordinate, the number of pulses corresponding to the horizontal distance from the seeding position to the target irrigation position, the chassis displacement estimate, the valve opening delay displacement of the previous operation cycle, and the chassis displacement estimation error during the flight time to calculate the opening trigger displacement coordinate of the irrigation execution module; Step S50: Calculate the expected effective residual water volume to fall into the current target irrigation area based on the closing command time of the previous work cycle, water pressure sampling data, and the actual closing characteristic time of the valve; when the current continuous displacement coordinate of the system reaches the opening trigger displacement coordinate, send an opening command to the irrigation execution module and accumulate the spray water volume of the current work cycle in real time; when the sum of the accumulated spray water volume and the effective residual water volume of the current work cycle reaches the standard irrigation water volume, send a closing command to the irrigation execution module.
[0024] To further clarify the implementation of each technical aspect of the present invention, the following will provide a detailed description of the implementation of each functional module involved above and its internal processing flow.
[0025] Reference Figure 3 To illustrate the process of establishing the mapping relationship between pulse timestamps and continuous displacement coordinates in step S10, and the process of obtaining initial compensation parameters before the start of continuous seeding operations, the following sub-steps are specifically included: Step S101: The control module acquires and stores the equipment parameters, fluid parameters and control parameters required for system operation.
[0026] The control module's non-volatile memory stores equipment geometric parameters, fluid property parameters, and irrigation control parameters. Specifically, this includes the number of pulses corresponding to the horizontal distance along the unit's travel direction from the ground projection point corresponding to the seed detachment reference position from the seed dispensing tray's adsorption hole to the theoretical water landing position of the irrigation execution module's nozzle. Vertical height of the nozzle from the ground surface Standard irrigation water volume required for a single Chinese cabbage seed Liquid density Nozzle velocity coefficient Nozzle flow coefficient Effective flow area of the nozzle ; and the number of pulses corresponding to the allowable half-width of the target irrigation area along the direction of unit travel. .
[0027] In this embodiment, the distance along the unit's travel direction is converted into the pulse count value of the ground wheel encoder, and the pulse count value is used as the unified displacement coordinate reference for subsequent position calculations. Therefore, the fixed geometric distance of the equipment, the seed position, and the activation trigger position of the irrigation execution module can be calculated under the same displacement coordinate system.
[0028] Horizontal spacing corresponds to the number of pulses The pulse count is determined by the fixed geometric horizontal distance from the seed dispensing reference position to the theoretical water drop position of the nozzle, and the pulse count is determined by the average displacement correction amount generated along the direction of the unit's travel during the period from when the seed leaves the seed dispensing plate to when it actually falls into the seed bed.
[0029] After the equipment is installed, the low-frequency seeding method separates adjacent seed events in time, records the chassis displacement coordinates corresponding to the seed detachment characteristic moment of each seed, and measures the actual seed landing position of the corresponding seed.
[0030] The position difference between the actual seed placement location and the chassis displacement coordinates corresponding to the seed threshing characteristic moment along the unit's travel direction is converted into pulse count. The average position difference obtained from multiple seed-by-seed placements is taken to obtain the pulse count corresponding to the average displacement correction along the unit's travel direction.
[0031] The sum of the pulse count corresponding to the average displacement correction and the pulse count corresponding to the fixed geometric horizontal distance from the seed detachment reference position to the theoretical nozzle water drop position is used as the basis for determining the average displacement correction. .
[0032] The target irrigation area allows for half-width corresponding to the number of pulses. The effective wetting area formed by the nozzle under normal operating pressure is determined along the direction of unit travel. Half the width of the effective wetting area is divided by the physical displacement corresponding to a single pulse from the ground wheel encoder to obtain the result. Standard irrigation water volume Determined based on the agronomic water requirement index of the target crop.
[0033] Liquid density Used for calculating injection velocity and instantaneous flow rate. Nozzle velocity coefficient. Used to correct the difference between the actual jet exit velocity and the ideal Bernoulli velocity; nozzle flow coefficient Used to correct the difference between the actual and ideal flow rates of the nozzle. and All parameters are dimensionless. Effective flow area of the nozzle. Determined based on nozzle outlet geometry.
[0034] and This can be obtained by measuring the nozzle jet velocity and the actual water volume per unit time at multiple normal operating pressure points. The subsequent calculation of the jet's flight time will use... When calculating the spray water volume, use and This allows the velocity calculation and volumetric flow rate calculation to use correction parameters that correspond to their physical meanings.
[0035] Step S102: The control module establishes a mapping relationship between pulse timestamps and continuous displacement coordinates.
[0036] The displacement detection module outputs displacement pulse signals to the control module along with the movement of the seeder chassis. The control module is configured with a hardware timer to capture the rising edge of the pulses and allocates a timestamp circular queue in its internal memory to record the unified time base timestamp corresponding to each pulse generation. ,in This is the cumulative integer sequence number of the pulse.
[0037] The photoelectric detection time of the seeding detection module, the negative pressure sampling time of the air chamber, the water pressure sampling time of the water pressure detection module, and the start and stop command times of the irrigation execution module are all recorded using the same hardware timing reference, so that each detection event and control command can be matched and compared on the same system time axis.
[0038] The storage depth of the timestamp circular queue meets the time range required for subsequent displacement mapping and historical displacement queries, ensuring that pulse timestamps that still need to be called are retained in the queue before the relevant calculations are completed. When the queue is full, the earliest recorded timestamp data is overwritten in chronological order.
[0039] To determine the continuous chassis displacement coordinates corresponding to any detected or controlled event, the control module employs a spatiotemporal transformation mapping function. .
[0040] For historical event moments that have already occurred and whose adjacent pulse timestamps have been recorded. The control module retrieves the timestamp circular queue and locates the elements that meet the conditions. The adjacent pulse timestamps, and according to exist and Linear interpolation is performed on the time proportions between the events to obtain the event time. The corresponding continuous displacement coordinates.
[0041] For the current system time Since the next pulse in the current pulse interval has not yet been generated, the control module does not call the future timestamp, but instead reads the timestamps of the two most recently recorded pulses. and ,by and The time interval between them is used as the current local pulse period, according to Compared to The elapsed time is used to estimate the current continuous displacement coordinates.
[0042] Before the next pulse actually arrives, the obtained current continuous displacement coordinates are limited to the [number]th [pulse]. The displacement coordinates corresponding to the first pulse and the second pulse The displacement coordinates corresponding to each pulse are between the pulses; after the next pulse arrives, the current displacement coordinates are corrected according to the actual pulse accumulation sequence number.
[0043] For the historical event moments already recorded by the next adjacent pulse. The displacement coordinate mapping relationship is expressed as follows: ; In the formula, Characterizing time The corresponding continuous displacement coordinates; It is the integer sequence number of the most recent pulse preceding this moment; Representing the A unified time-base timestamp for each pulse; Representing the A unified time base timestamp for each pulse.
[0044] Between two adjacent displacement pulses, the unit's motion is approximated as a locally uniform motion, and interpolation is performed based on the actual time interval between adjacent pulses. Through the above processing, the occurrence times of each detection event and control event can be converted into continuous displacement coordinates along the unit's travel direction, providing a unified position reference for subsequent determination of seed removal position, calculation of valve opening delay displacement, and calculation of opening trigger position.
[0045] In step S103, the control module performs pipeline pre-spraying and obtains the initial compensation parameters before the start of continuous seeding operations.
[0046] During the initial stationary start-up phase before continuous sowing operations begin, i.e., when the pulse frequency output by the displacement detection module is lower than the start-up threshold, the control module sends a pulse with a width of [missing information] to the irrigation execution module. The pre-injection command is used to purge air from the water supply line and establish fluid pressure.
[0047] The starting threshold is set to a frequency value close to zero to characterize the unit being in a stationary or extremely low-speed starting state, for example, 0.01Hz; the pulse width... The value is greater than the opening response delay time of the electromagnetic water valve and meets the time required for the water supply pipeline to fill and build up pressure. In this embodiment, a value in the range of 100 milliseconds to 300 milliseconds is selected.
[0048] The control module simultaneously records the moment the pre-injection initiation command is issued. With the time of the shutdown command .
[0049] During the pre-jet operation, the water pressure detection module acquires a water pressure sampling sequence inside the water supply pipeline using a discrete sampling method. Its sampling frequency is no less than twice the highest effective frequency of the pressure transients to be identified, allowing pressure changes caused by valve opening and closing to be characterized by multiple consecutive pressure sampling points.
[0050] The control module reads the water pressure sampling sequence, performs differential processing on adjacent pressure sampling values, and determines the corresponding characteristic moments based on the pressure change characteristics corresponding to valve opening and closing, thus obtaining the actual opening characteristic moment of the valve core inside the irrigation execution module. With actual closing characteristic moment .
[0051] The control module will acquire the actual start-up characteristic moment. With the pre-injection start command time By performing the difference operation, the initial valve opening response delay time for cycle 0 is obtained. : ; Since the pre-injection action occurs when the unit is stationary or at a very low speed during startup, the valve opening response delay time cannot be converted into the corresponding chassis displacement using the stable motion pulse time interval.
[0052] The displacement detection module then generates at least two valid motion pulses, forming the time interval between the nearest adjacent pulses. Then, the control module follows The initial valve opening response delay time is converted into the initial valve opening delay displacement in the 0th cycle.
[0053] in, The displacement is represented by pulse count, indicating the chassis displacement corresponding to an initial valve opening response delay time. After obtaining the effective motion pulse interval, the control module performs the opening trigger displacement calculation for the first seed.
[0054] After the control module completes the above calculations, it initializes the recursive variables required for subsequent cross-cycle calculations, directly assigning the initial value of the chassis displacement estimation error during the flight time. Initial value of effective residual effluent volume and initial values of chassis displacement estimates during flight time .
[0055] The pre-spraying in cycle 0 is used to fill and pressurize the water supply pipeline and obtain the valve opening response delay. It does not correspond to the fixed-point irrigation cycle of a specific seed. Therefore, there are no chassis displacement estimation errors, effective residual water volume, or chassis displacement estimates during flight time that need to be inherited from the irrigation cycle of the previous seed. The above three variables are set to zero as initial values for cross-cycle calculations.
[0056] The control module will use the initial valve opening delay displacement obtained in cycle 0. ,as well as , and It is stored in memory and called in the displacement calculation and water spray volume control triggered by the activation of the first seed.
[0057] Reference Figure 4 To illustrate the process of determining the negative pressure feature search time interval, identifying the seed detachment feature moment, and obtaining the detachment displacement coordinates in step S20, the following sub-steps are specifically included: Step S201: The control module determines the negative pressure feature search time interval based on the photoelectric detection signal from the seeding detection module.
[0058] During continuous sowing, the seed metering disc inside the seed metering device rotates, adsorbs seeds, and releases them. (For the first...) The fallen seeds, among which If the number is an integer greater than or equal to 1, the photoelectric sensor inside the seeding detection module detects the seed passing through the detection section, generates a photoelectric detection signal, and sends it to the control module. The control module records the photoelectric detection time. .
[0059] The control module is the first Photoelectric detection time of a seed Using time positioning as the benchmark, the negative pressure feature search time interval corresponding to a seed is determined based on the transport time range required for the seed to move from the seed dispensing position on the seed metering tray to the photoelectric detection section.
[0060] During equipment installation and commissioning, the seed metering device is operated at a low frequency, seed-by-seed mode to separate the timing of successive seed events. The key negative pressure recovery moment and the subsequent photoelectric detection moment for the same seed are recorded separately, obtaining the minimum and maximum time differences between the two over multiple trials. Based on these minimum and maximum values, a time margin of at least one pressure sampling cycle is maintained at both ends of the search interval to determine the lower limit of the delivery time. and delivery time limit .
[0061] During continuous operation, the first The search time interval for the negative pressure characteristics of a seed was determined to be from to The time interval.
[0062] If the search intervals of adjacent seeds partially overlap, the control module performs feature matching sequentially according to the order of photoelectric detection times of each seed; the negative pressure change interval that has been determined as the seed removal feature of the previous seed will no longer be used for feature matching of the next seed.
[0063] By limiting the time interval mentioned above, the negative pressure change to be matched is restricted to the time range corresponding to the current seed moving from the seeding position to the photoelectric detection section, without having to limit the seeding characteristic moment of the seed to the time between two adjacent photoelectric detection moments.
[0064] In step S202, the control module performs discrete differential processing on the air chamber negative pressure sampling sequence within the negative pressure feature search time interval to determine the seed removal feature time.
[0065] The control module retrieves the air chamber negative pressure sampling sequence collected by the seed detection module within the aforementioned negative pressure feature search time interval. ,in This represents the sequence number of the discrete sampling point.
[0066] Using a signed gauge pressure representation method with ambient atmospheric pressure as the zero reference, when the air chamber is in a negative pressure state Take the negative value. When the seed leaves the adsorption pore, the pore changes from a blocked state to an open state, and the absolute value of the negative pressure in the gas chamber decreases. The corresponding value rises back towards zero, therefore the corresponding first difference... It is expressed as a positive value.
[0067] To extract the aforementioned negative pressure recovery characteristics, the control module performs a first-order discrete difference operation on the sequence: ; In the formula, For the first The first-order difference value of the negative pressure in the air chamber corresponding to each discrete sampling point. For the first The negative pressure value of the air chamber collected at each sampling point For the first The negative pressure values of the air chambers at each sampling point were collected.
[0068] The control module is based on the difference sequence The sign change divides the difference sequence within the search time interval into several consecutive positive difference intervals and consecutive negative difference intervals.
[0069] The control module extracts all continuous positive difference intervals. For any continuous positive difference interval... Calculate its differential cumulative amount .
[0070] The control module compares the cumulative differences between consecutive positive difference intervals and selects the consecutive positive difference interval with the largest cumulative difference. This interval corresponds to the main negative pressure recovery process after the seed leaves the adsorption pore.
[0071] To prevent background pressure fluctuations in the seed metering device from being misinterpreted as seed detachment, the system presets an effective pulsation threshold. . Calibration can be performed using the negative pressure data of the air chamber collected during the seed metering device's unloaded operation: the negative pressure sampling sequence under unloaded conditions is processed using the same differential and interval accumulation method as the above-mentioned seed detachment feature identification, and the determination is based on the obtained background differential accumulation. In this embodiment, the value is taken as a value between 0.5 kPa and 1.5 kPa.
[0072] Only when The corresponding cumulative difference is greater than or equal to At that time, this interval is determined as the effective seed removal characteristic interval. If no effective continuous positive difference interval is found within the search interval, the control module will photoelectrically detect the time. As an alternative seed removal characteristic moment, to maintain the continuous operation of subsequent control processes.
[0073] Locking valid continuous positive difference intervals Then, the control module uses the first-order difference value of each sampling point within the interval. As a weight, the weighted average time of the difference magnitude in this interval is calculated, and this is used as the first... The moment of seed detachment The calculation formula is: ; In the formula, Sampling points At the corresponding time, the denominator is the sum of the differences within the interval, and the numerator is the sum of the products of the time of each sampling point and its difference amplitude.
[0074] When the calculated denominator term approaches zero, the control module will activate the photoelectric detection time. As an alternative, the characteristic moment of seed excretion.
[0075] By weighting the sampling time using the difference values within the interval, the impact of fluctuations at individual pressure sampling points on the determination of characteristic times can be reduced. Used to characterize the moment when a seed leaves the adsorption hole of the seed metering disc.
[0076] In step S203, the control module determines the corresponding seed removal displacement coordinates based on the seed removal characteristic time.
[0077] After a seed detaches from the seed metering tray, its movement time within the seed metering tube towards the photoelectric detection section varies due to machine vibration and differences in the contact state between the seed and the seed metering tube. If the photoelectric detection moment is directly used as the moment the seed detaches from the seed metering tray, this variation in transport time will be introduced into the seed position determination process.
[0078] The control module will obtain the first The moment of seed detachment Substitute the spatiotemporal transformation mapping function constructed in step S10 In the process, the displacement coordinates corresponding to the moment of seed detachment are obtained: ; In the formula, For the first The displacement coordinates of the seed after detachment.
[0079] The seed removal displacement coordinates are referenced to the continuous displacement coordinates of the unit along the direction of travel, and are used to characterize the first... The location of the unit when a seed leaves the seed metering tray is used as a reference for subsequently calculating the target irrigation location of that seed and the trigger location for the irrigation execution module.
[0080] Reference Figure 5 To illustrate the process of identifying the valve action characteristic moment, calculating the valve opening delay displacement, and obtaining the chassis displacement estimation error during flight time in step S30, the following sub-steps are specifically included: Step S301: The control module identifies the valve action characteristic moment of the irrigation execution module based on the pressure change of the water supply pipeline.
[0081] After the control module outputs the water valve opening and closing command, the valve core of the electromagnetic water valve needs a certain response time to complete the corresponding opening or closing action. This response time is affected by the driving force established by the electromagnetic coil and the mechanical movement process of the valve core.
[0082] The control module reads the previous work cycle, i.e., the [number]th cycle. The control record of the cycle is used to obtain the start command time of the cycle. and the time of the shutdown command .
[0083] The control module retrieves the information from the start command. From the time of the shutdown command During the subsequent extended period, the water pressure sampling sequence of the water supply pipeline collected by the water pressure detection module. .
[0084] The pressure detection end of the water pressure detection module is set on the water inlet side of the electromagnetic water valve and close to the valve body. Its installation distance ensures that the time required for the pressure wave caused by the valve action to travel from the valve body to the pressure detection end is less than one pressure sampling cycle. It is expressed as gauge pressure relative to ambient atmospheric pressure.
[0085] When the solenoid water valve is opened, the fluid upstream of the valve body begins to flow towards the nozzle, resulting in a pressure drop at the pressure detection end. When the solenoid water valve is closed, the flow state changes, resulting in a pressure rise at the pressure detection end. Therefore, the opening and closing of the valve correspond to negative and positive water pressure differential changes, respectively.
[0086] The control module calculates the first-order discrete difference of the water pressure sequence. It is used to extract the pressure change characteristics corresponding to valve actions.
[0087] in, For the first The first-order difference value of water pressure in the water supply pipeline corresponding to each discrete sampling point. For the first Water pressure sampling values of the water supply pipeline at each sampling point For the first Water pressure sampling values of the water supply pipeline at each sampling point.
[0088] At the moment of initiating the command Until the time of the shutdown command Within the corresponding sampling interval, the control module uses the difference sequence The sign change divides the difference sequence into several consecutive negative difference intervals and consecutive positive difference intervals, and selects the interval with the largest cumulative absolute value of the differences from the consecutive negative difference intervals. .
[0089] To prevent misjudgments caused by background pressure fluctuations during water supply pump operation, the system presets a threshold for valve action pressure difference judgment. .
[0090] Calibration can be performed by collecting water pressure sequences from the water supply pipeline while the water pump is operating normally and the solenoid water valve remains inactive. The collected water pressure sequences are processed using the same first-order differential and continuous interval accumulation method as valve action identification. The accumulated differential value is determined based on the background pressure change. In this embodiment, the value is taken between 0.05 MPa and 0.15 MPa.
[0091] When the interval The cumulative absolute value is greater than or equal to At that time, the control module calculates the actual valve opening characteristic moment of the previous work cycle using the following formula. : ; At the time of the shutdown command In subsequent water pressure sampling sequences, the control module uses the same differential interval division method, selecting the continuous positive differential interval with the largest cumulative absolute value of the difference. .
[0092] When it meets the above valve action pressure difference judgment threshold At that time, the control module calculates the actual valve closing characteristic moment of the previous work cycle using the following formula. : ; in, This refers to the sampling time at the corresponding water pressure sampling point. Used to characterize the timing of the main pressure drop process corresponding to valve opening. Used to characterize the timing of the main pressure rise process corresponding to valve closure.
[0093] If no feature interval meeting the threshold condition is found within the search interval, or if the denominator of the weighted formula approaches zero, the control module uses the corresponding opening / closing command time plus the rated mechanical delay constant as the corresponding valve action feature time, so that subsequent displacement compensation calculations can continue.
[0094] For valve action overlap cycles where the previous closing action has not been completed and the next cycle opening command has been generated, the control module records the cycle as an overlap state, does not identify independent reopening pressure change characteristics within the cycle, and does not use the cycle to update the valve opening delay displacement.
[0095] When performing subsequent opening trigger displacement calculations, the effective valve opening delay displacement amount obtained from the most recent non-overlapping cycle that has completed the complete closing and reopening process is called.
[0096] Step S302: The control module calculates the valve opening delay displacement of the previous work cycle.
[0097] Obtain the actual opening characteristic moment of the electromagnetic water valve After that, regarding the first The cycle includes a complete shutdown and reopening action. The control module retrieves the timestamp circular queue and records the actual start time. With the corresponding start command time Substitute the spatiotemporal transformation mapping function established in step S10 into the corresponding values. This yields the continuous displacement coordinates corresponding to the two time points.
[0098] If the first If the cycle belongs to the valve action overlap cycle in step S301, then the cycle will not be recalculated. The effective valve opening delay displacement calculated in the most recent non-overlapping cycle is used as the delay displacement compensation for subsequent cycles.
[0099] The difference between the continuous displacement coordinates corresponding to the actual valve opening characteristic moment and the opening command moment is used to obtain the first... Periodic valve opening delay displacement : ; In the formula, The actual opening characteristic moment of the valve in the previous work cycle The continuous displacement coordinates obtained after spacetime transformation Start the instruction time for the previous work cycle The continuous displacement coordinates obtained after spacetime transformation.
[0100] It is used to characterize the displacement of the seeder chassis along the direction of travel from the time the control module outputs the opening command to the time the valve forms the actual opening pressure characteristic, and is used for valve response delay compensation in subsequent opening trigger displacement calculation.
[0101] Step S303: The control module calculates the chassis displacement estimation error during the flight time of the previous operation cycle.
[0102] In the When the start-up trigger displacement calculation is performed during the operation cycle, the control module obtains the jet water flight time for that cycle based on the historical displacement data already recorded at that time. Corresponding chassis displacement estimate .
[0103] When the valve actually opens, the characteristic moment is taken as the time. Starting from After the actual time has elapsed, the control module uses the recorded displacement pulse timestamps to obtain the actual displacement of the chassis within that time interval and compares it with the previously obtained chassis displacement estimate.
[0104] The control module reads the number stored in the memory. Periodic jet water flight time And the chassis displacement estimate obtained from historical displacements of equal duration when the displacement calculation is initiated during this cycle. .
[0105] When the unified time base time reaches Then, it indicates the actual opening characteristic moment of the valve since the previous cycle. It has already gone through a corresponding jet stream flight time.
[0106] The control module calls the timestamp circular queue to obtain the timestamps respectively. as well as The corresponding historical continuous displacement coordinates are used to calculate the actual displacement of the seeder chassis within that time interval. : ; The control module subtracts the actual displacement from the chassis displacement estimate obtained in the previous cycle when the trigger displacement calculation was initiated, to obtain the result. Chassis displacement estimation error during the flight period : ; when When it is positive, it indicates that the actual displacement of the chassis within the corresponding flight time of the previous cycle is greater than the estimated value obtained from the historical displacement over the same duration; when it is negative, it indicates that the actual displacement of the chassis is less than the estimated value.
[0107] It is used to characterize the estimation error generated when estimating the chassis displacement within the subsequent flight time using historical displacement over a similar duration. It reflects the displacement difference caused by the change in the crew's travel speed within this short time range.
[0108] If the first When the seed performs the activation trigger displacement calculation, the first The cycle has not yet been completed. The control module calls the data obtained from the most recent cycle that has completed the above-mentioned actual displacement verification. As a cross-cycle feedback correction amount; when there is no completed cycle, the initialization in step S103 is invoked. .
[0109] For periods where valve actions overlap and the independent actual opening characteristic moment cannot be determined, this period should not be used for updates. .
[0110] The control module will be effective It is stored in memory and will be called in subsequent job cycles when triggering displacement calculations.
[0111] Reference Figure 6 To illustrate the calculation of the jet water flow flight time, the acquisition of the chassis displacement estimate during the flight time, and the calculation of the trigger displacement coordinate in step S40, the following sub-steps are specifically included: Step S401: The control module calculates the flight time of the jet water flow based on the current water pressure sampling value.
[0112] In processing the first When planting seeds, the control module obtains the current time. Water pressure sampling value collected by water pressure detection module .
[0113] This represents the instantaneous gauge pressure of the water pressure sensor relative to the ambient atmospheric pressure. The water pressure sensor is located on the inlet side of the solenoid water valve, close to the valve body. When the valve is normally open, the pressure at this measuring point is used as the nozzle inlet driving pressure in the calculation of the jet water velocity.
[0114] Affected by vibration of the water supply pipeline and noise from the pressure sensor and data acquisition circuit, Abnormal fluctuations or values below the effective calculation range may occur. Because subsequent calculations involve square root operations, the control module has a minimum effective water supply pressure. . Take the static stabilizing pressure value of the water supply pipeline; when At that time, this calculation used .
[0115] Initial jet velocity at the nozzle of the irrigation execution module according to The calculation can be performed using the formula. The calculation shows that, among which The nozzle velocity coefficient in step S101, in this embodiment, is a dimensionless constant between 0.65 and 0.85, based on the hydraulic characteristics of the selected solid cone nozzle. The density is the liquid density.
[0116] Obtain the initial jet velocity at the nozzle Then, combined with the vertical height of the nozzle from the ground surface and the gravitational acceleration constant The control module calculates the flight time required for the jet water to travel from the nozzle outlet to the ground surface. : ; In this embodiment, the nozzle axis of the irrigation execution module is set in a vertically downward direction, therefore It is directly used as the vertical component of the initial velocity of the fluid in the calculation.
[0117] In step S402, the control module calculates the estimated chassis displacement during the current flight cycle based on historical displacement over equal durations.
[0118] The unit's speed changes during continuous operation. If the chassis displacement during the jet stream's flight time is calculated based on the speed at a single moment, the result will differ from the actual displacement within that time range.
[0119] The control module uses the current time Based on this, the system queries the internally maintained circular queue of timestamps in the historical time direction to locate the point where the time elapsed since the current moment is equal to the jet stream's flight time. A historical moment, namely .
[0120] If historical moments If the earliest timestamp is earlier than the one currently stored in the timestamp circular queue, then that earliest timestamp will be used as the starting time for this historical displacement query, in order to avoid the query exceeding the valid data range of the timestamp circular queue.
[0121] After completing the above time range processing, the control module processes historical moments. Calculate the corresponding continuous displacement coordinates according to the adjacent pulse history interpolation method in step S102, for the current moment. Obtained according to the current continuous displacement coordinate calculation method in step S102 The difference between the two values is then calculated to obtain the estimated chassis displacement during the current flight cycle. : ; In the formula, For a historic moment The corresponding continuous displacement coordinates.
[0122] Reflecting the current jet stream flight time The displacement of the seeder chassis along the direction of travel within a recent historical time interval of equal length. The control module uses this historical displacement of equal length to estimate the chassis displacement during the current jet water flight, and then... Stored in memory.
[0123] In the Before the seed activation command is issued, whenever the displacement detection module generates a new displacement pulse or the water pressure detection module obtains a new water pressure sampling value, the control module re-executes steps S401 and S402 to recalculate based on the updated data. and The triggering displacement coordinates in step S403 are updated accordingly until the triggering conditions are met.
[0124] Step S403: The control module calculates the start-up trigger displacement coordinates of the irrigation execution module.
[0125] The control module retrieves the first generated in step S20. Seed displacement coordinates And add the number of pulses corresponding to the horizontal spacing determined in step S101. Calculate the target irrigation displacement coordinates of the seed in the current cycle. : ; In the formula, The pulse count is determined by the fixed geometric horizontal distance from the seed dispensing reference position to the theoretical water drop position of the nozzle, and the pulse count is determined by the average displacement correction amount along the direction of the unit's travel during the period from when the seed leaves the seed dispensing plate to when it actually falls into the seed bed. Used to characterize the The theoretical seed placement location in a continuous displacement coordinate system.
[0126] The control module further obtains the chassis displacement estimate during the current flight cycle. The valve opening delay displacement obtained in step S30 from the previous operating cycle And the chassis displacement estimation error during the flight time of the previous operation cycle. Calculate the start-up trigger displacement coordinates for the current cycle. : ; in, Used to compensate for the displacement of the seeder chassis during the movement of the sprayed water from the nozzle to the ground surface; Used to compensate for the displacement of the seeder chassis during the period from the issuance of the opening command to the valve forming the actual opening pressure characteristic; It is used to correct the cross-period estimation error caused by estimating chassis displacement during flight time using historical displacement over a similar period.
[0127] when hour, and The initial valve opening delay displacement obtained in step S103 is used respectively. Initial value of chassis displacement estimation error during flight time .
[0128] The control module obtains the start-trigger displacement coordinates. Then, compare it with the continuous displacement coordinates corresponding to the current time. Compare them.
[0129] like This indicates that the calculated activation trigger position has been reached or exceeded by the seeder chassis, and the control module directly sends an activation command to the irrigation execution module; if If so, the task to be started will be kept in the control queue, and the current continuous displacement coordinates will be used to determine whether the start trigger displacement coordinates have been reached.
[0130] The above calculations unify the target irrigation position of the seed, the chassis displacement corresponding to the flight time of the jet water, the chassis displacement corresponding to the valve opening response delay, and the chassis displacement estimation error of the previous working cycle into a pulse count value along the direction of the unit's travel, thereby determining the opening position of the irrigation execution module.
[0131] Reference Figure 7 To illustrate the triggering of the start command in step S50, the calculation of the effective residual water volume in the previous operating cycle, and the shutdown control process based on water accumulation in the current operating cycle, the following sub-steps are specifically included: Step S501: The control module monitors the current continuous displacement coordinates and sends an start command.
[0132] As the displacement detection module continuously outputs displacement pulse signals along with the chassis movement, the control module calculates the current moment using the most recently generated pulse timestamp, following the calculation method for the current continuous displacement coordinates in step S102. Corresponding continuous displacement coordinates .
[0133] The control module will display the current continuous displacement coordinates. The activation trigger displacement coordinates calculated in step S40 Compare them.
[0134] When satisfied At this time, the logic drive port of the control module outputs a high-level signal to the power control side of the irrigation execution module, which energizes the solenoid water valve and initiates the opening process.
[0135] The control module records the corresponding moment while outputting a high-level signal, and uses this moment as the start command moment for the current work cycle. .
[0136] Step S502: The control module calculates the effective residual outflow volume expected to enter the current target irrigation area in the previous operation cycle.
[0137] Issuing the start command for the current period and obtaining Subsequently, considering the response delay of the electromagnetic water valve from receiving the closing command to the valve completing the closing, the previous operating cycle continued to discharge water after the closing command was issued.
[0138] During continuous sowing, some of the water remaining in the effluent falls into the current sowing zone. The target irrigation area corresponding to each seed is included in the current standard irrigation water volume.
[0139] Regarding the first seeds, of which The control module extracts the shutdown command time from the previous work cycle. As the lower bound for integration, the actual shutdown feature time of the previous work cycle obtained in step S30 is extracted. .
[0140] The control module determines the termination time of the residual effluent fraction based on whether the shutdown action of the previous operating cycle was completed before the start command of the current cycle is generated. .
[0141] At the moment when the start command is generated in the current cycle Subsequently, the control module queries the shutdown command time since the previous work cycle. The water pressure data collected up to the present moment.
[0142] If in The actual shutdown characteristic moment of the previous work cycle that meets the condition in step S301 has already been identified. Then As the end time of integration .
[0143] If up to If no valid actual shutdown feature from the previous work cycle is identified, it indicates that the previous shutdown action was not yet completed when the current cycle's start command was generated. In this case, As the end time of integration The current cycle is then marked as the valve action overlap cycle.
[0144] The control module retrieves the shutdown command time from the previous work cycle. Until the end of integration The water pressure sampling sequence of the water supply pipeline collected by the water pressure detection module. .
[0145] For each water pressure sampling point within this time interval, the control module calculates the corresponding jet water flow flight time according to the water pressure sampling value at the corresponding sampling time using the method in step S401, and determines the expected landing displacement coordinates of the corresponding water body by combining the displacement conversion methods in steps S102 and S402.
[0146] Current number The target irrigation area for each seed is defined by the target irrigation displacement coordinates obtained in step S403. Centered on the generator set, its permissible half-width along the generator set's direction of travel is determined by step S101. Sure.
[0147] Only water pressure sampling points whose expected displacement coordinates are located within the current target irrigation area are included in the set of valid sampling point numbers. The system accumulates the effluent volume corresponding to the effective sampling points to obtain the effective residual effluent volume of the previous operating cycle. : ; In the formula, The expected period of delay in the response to the previous work cycle is expected to fall into the current cycle. The effective residual outflow volume of the target irrigation area for each seed; The set of valid sampling point numbers that meet the above time range and expected landing location conditions; The nozzle flow coefficient in step S101; The effective flow area of the nozzle; For the first Instantaneous gauge pressure of the water supply pipeline corresponding to each valid sampling point; For fluid density; The time interval between two consecutive pressure samples from the water pressure detection module; Used to apply a non-negative constraint to the pressure sample value, when When the value is less than zero, it is taken as zero to avoid negative pressure values from participating in square root calculations.
[0148] During the transition of the solenoid water valve from the open to the closed state, the actual flow capacity of the valve changes with the movement of the valve core. This step does not introduce additional real-time valve core opening parameters, but instead uses the parameters from step S101. and Based on the corresponding water pressure sampling values, the residual outflow volume within this time interval is estimated.
[0149] for In this case, the control module does not perform the calculation of the effective residual effluent volume of the previous operation cycle, but directly calls the initial value of the effective residual effluent volume assigned in step S103. .
[0150] In step S503, the control module performs a shutdown control based on the cumulative sprayed water volume and effective residual water volume of the current cycle.
[0151] After the start command is issued, the control module continuously collects the water pressure of the water supply pipeline and calculates the cumulative spray volume of the current operation cycle based on the water pressure sampling value.
[0152] Record the start command moment Then, the control module follows the sampling cycle of the water pressure detection module. Simultaneously extract water pressure sampling values from the water supply pipeline and accumulate them to calculate the cumulative water volume sprayed in the current cycle. : ; In the formula, For discrete sampling periods of water pressure detection, This represents the cumulative number of integral sampling points since the start command was issued. This refers to the instantaneous gauge pressure of the water supply pipeline measured at the corresponding sampling point.
[0153] After each accumulation, the control module performs a water volume comparison and calculates the cumulative sprayed water volume for the current cycle. Compared with the effective residual effluent volume obtained in step S502 Sum the results and determine whether the sum reaches the standard irrigation water volume determined in step S101. : ; When the above conditions are met, the logic drive port of the control module outputs a low level, causing the solenoid water valve of the irrigation execution module to enter the closing process, and the moment of this low-level output is recorded as the closing command moment of the current work cycle. .
[0154] If the result calculated in step S502 is It has already reached or exceeded If the control module completes the judgment, it will immediately output a shutdown command and will no longer maintain the current cycle's on drive.
[0155] By using the above-mentioned water accumulation method, the effective residual water volume expected to enter the current target irrigation area during the shutdown response delay period of the previous operation cycle is included together with the cumulative spray water volume of the current operation cycle in the standard irrigation water volume of the seed, thereby reducing the impact of overlapping water output between adjacent operation cycles on the irrigation amount of a single seed.
[0156] To avoid situations where the cumulative spray volume fails to reach the target for an extended period due to water supply abnormalities or other circumstances. To keep the solenoid water valve continuously in the open drive state, the control module has a maximum allowable opening time. .
[0157] The value is determined based on the maximum allowable irrigation water volume for the target crop per irrigation and the rated flow rate of the nozzle. In this embodiment, the value is between 300 milliseconds and 800 milliseconds.
[0158] When the system clock detects the time span since the start command... Exceed When the control module outputs a low-level shutdown command, it records this moment as the shutdown command moment. At the same time, an abnormal water supply pressure flag is set and the abnormal status is output through the system bus.
[0159] To enable those skilled in the art to more clearly understand the purpose, technical solution, and advantages of this invention, the present invention will be further described in detail below with reference to specific application embodiments, real experimental test data, and corresponding drawings. It should be noted that the embodiments described herein are only for explaining the present invention and are not intended to limit the scope of protection of the present invention.
[0160] The ground wheel encoder of a certain model of bok choy planter has a resolution of 1 mm chassis displacement corresponding to a single pulse (i.e., 1 pulse). 1mm).
[0161] Equipment and agronomic parameters: The fixed horizontal distance from the seed threshing reference position to the nozzle is 500mm, and the measured average seed displacement correction is 20mm. 520 (pulse). Nozzle height. m, standard water requirement for a single bok choy mL.
[0162] Fluid parameters: water density kg / m 3 The selected solid cone nozzle has a flow coefficient speed coefficient Effective circulation area mm 2 .
[0163] Pre-injection in cycle 0: Pre-injection is performed during unit start-up from a standstill. The control module measures the actual valve core opening delay corresponding to the pressure differential characteristic as 15ms. When the unit accelerates to 1.0m / s (1ms interval between adjacent pulses), the calculated initial valve opening delay displacement is... It is 15 (pulse).
[0164] Now, regarding the second seed in the continuous sowing process Calculations show that the chassis speed at this point is approximately 1.0 m / s. Photodetector in The seed signal was captured. The system then searched the negative pressure chamber sampling sequence and found that the largest continuous positive difference interval occurred between 2.448 s and 2.452 s. The seed removal characteristic time was calculated by weighted averaging of the difference amplitudes. s.
[0165] Retrieve the displacement pulse timestamp at this time and map it to obtain the seed removal displacement coordinates. (Pulse). The target irrigation displacement coordinates are... .
[0166] Historical control data of the first seed is extracted during the calculation: The first cycle command activation time is 2.000s, and the actual activation time of the water pressure differential identification is 2.016s, corresponding to the delay displacement. (pulse).
[0167] Estimation error: The estimated chassis displacement during flight in the first cycle was 9 pulses. However, after the same flight duration, actual pulse tracking revealed that the chassis had actually traveled 10.5 pulses. This resulted in a displacement estimation error. (pulse).
[0168] The instantaneous water pressure of the water supply pipeline is currently being read. MPa, which is 200,000 Pa.
[0169] Calculate the initial jet velocity of the nozzle The value is 16.0 m / s.
[0170] Calculate flight time It is approximately 0.0092s, or 9.2ms.
[0171] Query the historical pulse intervals of the past 9.2ms to estimate the current displacement of the flight chassis. (pulse).
[0172] Calculate the trigger coordinates The value is 2943.5 (pulse). When the system detects that the current displacement coordinate has reached 2943.5 pulses, it immediately issues an activation command.
[0173] Residual water introduction: Due to the lag in closing the valve during the first cycle, some water fell into the target area of the second seed (based on the integration of the water pressure sequence). mL).
[0174] Current water requirement: The second pellet only requires an additional spray of 2.0 mL - 0.2 mL = 1.8 mL.
[0175] Real-time shutdown: After the start command is issued, the control module accumulates the instantaneous flow rate (approximately 40.8 mL / s) corresponding to the current pressure at a period of 1 ms. When the accumulation time reaches approximately 44 ms, the current cumulative sprayed water volume reaches 1.8 mL, and the total water volume reaches the standard of 1.8 + 0.2 = 2.0 mL. The system immediately issues a shutdown command, completing the precise irrigation closed loop for the second seed.
[0176] To further illustrate the practical application effect of the technical solution of the present invention, the following detailed explanation is provided in conjunction with specific comparative test data.
[0177] This experiment was conducted using an indoor soil trough platform system. The underlying hardware platform employed a 32-bit microprocessor, and the irrigation execution module used a direct-acting solenoid water valve with a rated response time of 15ms. During the test, the operating speed of the control equipment was randomly fluctuated between 0.8m / s and 1.2m / s to simulate the speed disturbance caused by unevenness in the field. The seeding frequency of the seeder was set to approximately 10 seeds per second (corresponding to a theoretical spacing of approximately 10cm between adjacent seeds), and the cumulative seeding test sample size was 1000 seeds.
[0178] The experimental comparison group was set up as follows: Example: Control was performed using the multi-sensor spatiotemporal mapping and error cross-cycle linkage compensation mode for displacement, water pressure, and seeding proposed in this invention. Comparative Example: A conventional targeted injection control mode with fixed-time delay triggering and fixed-start duration based on existing photoelectric detection signals was used.
[0179] Reference Figure 8 The scatter clusters in the comparative example exhibit a slanted, diffuse shape, deviating from the zero center of the abscissa and showing a large variance, demonstrating droplet tailing and leading under acceleration and deceleration conditions, with a target accuracy of 71.5%. In contrast, the scatter clusters in the embodiment are clustered within ±15mm of the target center, with a target accuracy of 96.8%. This indicates that the present invention overcomes the interference of aircraft speed fluctuations on the landing position in space through dynamic time-of-flight feedforward and cross-cycle displacement estimation error feedback compensation.
[0180] Reference Figure 9 Upon receiving the shutdown command, the instantaneous water pressure in the water supply pipeline did not immediately drop to zero; instead, a response delay interval with a gradual downward slope occurred. As can be seen from the corresponding cumulative jet volume curve on the right, water volume continued to accumulate within this delay interval, which was then converted into a numerical integral to extract the effective residual water volume from the previous operating cycle. This residual volume was then included in the target water volume for the current cycle during continuous operation. This demonstrates that the water balance constraint mechanism of this invention truly reflects the fluid mechanical characteristics and eliminates the error of overlapping water output in adjacent target areas caused by valve hysteresis.
[0181] Reference Figure 10 The upper part of the figure shows that, regardless of changes in operating conditions, the target accuracy of the embodiment remains consistently high at over 95%; the lower part shows small deviations in single-particle water volume and a convergent error band. In contrast, the comparative example shows a decrease in target accuracy and amplified deviations in single-particle water volume under high-frequency disturbances and velocity step changes. This verifies the robustness of the invented linkage control logic, achieving an effective sprinkler irrigation utilization rate of 91.2% while ensuring precise distance and quantity measurement, resulting in an overall water resource saving of approximately 68%.
[0182] While specific embodiments of the present invention have been described above, those skilled in the art should understand that these specific embodiments are merely illustrative. Those skilled in the art can omit, substitute, and modify the details of the above methods and systems in various ways without departing from the principles and essence of the present invention. For example, combining the above method steps to perform substantially the same function and achieve substantially the same result using substantially the same method falls within the scope of the present invention.
Claims
1. A method for targeted irrigation linkage control of bok choy sowing, characterized in that, Includes the following steps: Obtain the unified time base timestamp of the displacement pulse signal and establish the mapping relationship between the pulse timestamp and the continuous displacement coordinates; The seed detachment characteristic moment is identified based on the photoelectric detection signal and the negative pressure sampling sequence of the seed metering chamber, and the corresponding detachment displacement coordinates are obtained by calling the mapping relationship. Extract the water pressure sampling sequence of the previous operation cycle to identify the actual valve opening characteristic moment, combine the mapping relationship to calculate the valve opening delay displacement of the previous operation cycle, and obtain the chassis displacement estimation error during the flight time of the previous operation cycle. The flight time of the jet stream is calculated based on the current water pressure sampling value, and the chassis displacement estimate during the flight time of the current operation cycle is calculated by querying the historical time interval in combination with the mapping relationship. The opening trigger displacement coordinates are calculated by combining the seed removal displacement coordinates, the chassis displacement estimate, the valve opening delay displacement of the previous operation cycle, and the chassis displacement estimation error during the flight time of the previous operation cycle. When the current continuous displacement coordinate reaches the activation trigger displacement coordinate, an activation command is sent, and the sprayed water volume of the current work cycle is accumulated in real time; the effective residual water volume expected to fall into the current target irrigation area is calculated based on the previous work cycle, and when the sum of the accumulated sprayed water volume and the effective residual water volume reaches the standard irrigation water volume, a deactivation command is sent.
2. The targeted irrigation linkage control method for bok choy sowing according to claim 1, characterized in that, The process of establishing the mapping relationship between pulse timestamps and continuous displacement coordinates includes: For a historical event moment, locate the adjacent pulse timestamps that meet the conditions, and perform linear interpolation based on the time ratio between the historical event moment and the adjacent pulse timestamps to obtain the continuous displacement coordinates corresponding to the historical event moment; For the current system moment, the current local pulse period is calculated by reading the two most recently recorded pulse timestamps, and the current continuous displacement coordinates corresponding to the current system moment are estimated based on the time elapsed since the current moment relative to the most recent pulse timestamp.
3. The method for targeted irrigation linkage control of bok choy sowing according to claim 1, characterized in that, After establishing the mapping relationship between pulse timestamps and continuous displacement coordinates, before identifying the seed detachment characteristic time, the step of obtaining initial compensation parameters is also included: During the stationary start-up phase of the unit before continuous seeding operations begin, pipeline pre-spraying is performed, and the time of the pre-spraying start command and the time of the pre-spraying stop command are recorded. The initial actual start characteristic time of pre-spraying is identified by the water pressure sampling sequence. The initial valve opening response delay time is obtained by subtracting the initial actual opening characteristic time from the pre-jet opening command time. After the nearest adjacent pulse time interval is formed, the initial valve opening response delay time is converted into the initial valve opening delay displacement. At the same time, the chassis displacement estimation error, effective residual water volume and chassis displacement estimation during the flight time are initialized.
4. The method for targeted irrigation linkage control of bok choy sowing according to claim 1, characterized in that, The specific moments for identifying seed detachment characteristics include: Using the photoelectric detection time as the time positioning reference, the negative pressure feature search time interval is determined by combining the preset upper limit and lower limit of seed delivery time; The first-order discrete difference is obtained from the negative pressure sampling sequence of the seed metering chamber within the negative pressure feature search time interval, and the continuous positive difference interval with the largest cumulative difference is extracted. When the cumulative difference between the continuous positive difference partitions reaches the preset effective pulsation threshold, the first-order difference value of each sampling point in the interval is used as the weight to calculate the weighted average time of the difference amplitude of the interval, and the weighted average time of the difference amplitude is used as the seed removal characteristic time.
5. The method for targeted irrigation linkage control of bok choy sowing according to claim 1, characterized in that, The step of identifying the actual valve opening characteristic moment based on the water pressure sampling sequence of the previous work cycle, and calculating the valve opening delay displacement of the previous work cycle based on the mapping relationship, specifically includes: The first-order discrete difference is obtained from the water pressure sampling sequence of the water supply pipeline in the previous operation cycle; Select the continuous negative difference interval with the largest cumulative absolute value between the opening command time and the closing command time. When the cumulative absolute value of the difference in the interval reaches the preset valve action pressure difference judgment threshold, use the amplitude of the water pressure difference value in the interval to calculate the weighted average to obtain the actual opening characteristic time of the valve. Substitute the actual valve opening characteristic moment and the opening command moment into the mapping relationship to obtain the corresponding continuous displacement coordinates and subtract them to obtain the valve opening delay displacement of the previous working cycle. Select the continuous positive difference interval with the largest cumulative absolute value after the closing command time. When the cumulative absolute value of the difference in the interval reaches the valve action pressure difference judgment threshold, use the amplitude of the water pressure difference value in the interval to perform weighted average calculation to obtain the valve actual closing characteristic time.
6. The method for targeted irrigation linkage control of bok choy sowing according to claim 5, characterized in that, The chassis displacement estimation error obtained during the flight time of the previous operation cycle specifically includes: Once the unified time base time reaches the sum of the actual valve opening characteristic moment and the flight time of the jet water flow in the previous cycle, the historical continuous displacement coordinates between the actual valve opening characteristic moment and the sum of the actual valve opening characteristic moment and the flight time of the jet water flow in the previous working cycle are extracted, and the actual displacement of the chassis is calculated. The difference between the actual chassis displacement and the chassis displacement estimate corresponding to the previous work cycle is used to obtain the chassis displacement estimation error during the flight time of the previous work cycle.
7. The method for targeted irrigation linkage control of bok choy sowing according to claim 1, characterized in that, The calculation of the jet stream flight time based on the current water pressure sampling value specifically includes: The initial jet velocity at the nozzle is calculated based on the current water pressure sampling value, liquid density, and preset nozzle velocity coefficient. The flight time of the jet water stream required to travel from the nozzle outlet to the ground surface is calculated by combining the initial jet velocity at the nozzle, the vertical height of the nozzle from the ground surface, and the gravitational acceleration constant. When the current water pressure sample value is lower than the preset minimum effective water supply pressure, the minimum effective water supply pressure is used to replace the current water pressure sample value in the calculation.
8. The method for targeted irrigation linkage control of bok choy sowing according to claim 5, characterized in that, The calculation of the activation trigger displacement coordinates specifically includes: The target irrigation displacement coordinates are calculated by adding the seed threshing displacement coordinates to the pulse number corresponding to the horizontal spacing. The pulse number corresponding to the horizontal spacing is determined by the pulse number corresponding to the fixed geometric horizontal spacing from the seed threshing reference position to the theoretical water drop position of the nozzle, and the pulse number corresponding to the average displacement correction along the direction of unit travel during the period from when the seed leaves the seed dispensing tray to when it actually falls into the seed bed. The target irrigation displacement coordinates are calculated by subtracting the chassis displacement estimate, the valve opening delay displacement, and the chassis displacement estimate error during the flight time from the target irrigation displacement coordinates.
9. The method for targeted irrigation linkage control of bok choy sowing according to claim 5, characterized in that, The calculation of the expected effective residual water volume to fall into the current target irrigation area based on the previous operation cycle specifically includes: The closing command time of the previous work cycle is extracted as the lower limit of integration, and the termination time of the residual water integration is determined based on whether the actual closing characteristic time of the valve has been identified before the opening command of the current cycle is generated. Within the time interval between the lower limit of integration and the termination time, effective sampling points whose expected landing displacement coordinates are located within the current target irrigation area are selected by combining the target irrigation displacement coordinates of the current work cycle and the number of pulses corresponding to the allowable half-width. Based on the preset nozzle flow coefficient, effective flow area of the nozzle, fluid density, and the instantaneous gauge pressure of the water supply pipeline at the effective sampling point after applying a non-negative limit to the pressure sampling value, the outflow volume corresponding to the effective sampling point is accumulated to obtain the effective residual outflow volume.
10. The method for targeted irrigation linkage control of bok choy sowing according to claim 1, characterized in that, After sending the start command, it also includes: Real-time monitoring of the system clock's time span since the start command of the current job cycle; When the time span exceeds the preset maximum allowable opening time, regardless of whether the sum of the cumulative sprayed water volume and the effective residual water volume reaches the standard irrigation water volume, a low-level shutdown command is output and an abnormal water supply pressure flag is set.
