Detailed Description of the Invention
[0018]
The following description sets forth specific details to provide a thorough understanding of various embodiments. Those skilled in the art will appreciate that embodiments may be practiced without some of these details, and that the features described in connection with one embodiment may be combined with features of other embodiments. Like reference numerals refer to like elements throughout the drawings.
[0019]
As used herein, "soil moisture" refers to the volumetric water content (VWC) of soil, expressed as a percentage of soil volume, and changes in soil moisture are expressed in percentage points. A depth of applied water is expressed in millimeters (mm); one liter of water spread over one square meter corresponds to a depth of one millimeter. The term "about," when applied to a numerical value, means within plus or minus ten percent of that value.
System Overview
[0020]
Referring to FIG. 1, an irrigation system 100 includes an irrigation controller 102 that controls the delivery of water from a supply to a plurality of irrigation zones, illustrated as a first irrigation zone 120a, a second irrigation zone 120b, and a third irrigation zone 120c. Although three irrigation zones are shown, the irrigation system 100 may include any number of irrigation zones.
[0021]
The irrigation controller 102 includes a processor 104, a memory 106, a valve driver circuit 110, and a network interface 112. The processor 104 may be a microcontroller, a microprocessor, or another programmable logic device. The memory 106 is a non-transitory computer-readable medium, such as flash memory, that stores instructions executable by the processor 104 and stores zone response models 108, one for each irrigation zone. The valve driver circuit 110 includes switching elements, such as triacs or relays, that energize the solenoids of 24 VAC irrigation valves in response to commands from the processor 104.
[0022]
Water from the supply flows through a mainline 116. A master valve 118 on the mainline 116 controls whether any water reaches the irrigation zones, and a flow sensor 114 downstream of the master valve 118 measures the flow rate through the mainline 116. In one embodiment, the flow sensor 114 is a pulse-output flow meter whose pulse rate is proportional to flow rate, and the irrigation controller 102 receives the flow signal through a flow-sensor input. Branches of the mainline 116 supply a first zone valve 122a, a second zone valve 122b, and a third zone valve 122c, which control delivery of water to the first irrigation zone 120a, the second irrigation zone 120b, and the third irrigation zone 120c, respectively. The valve driver circuit 110 is connected to the master valve 118 and to each zone valve 122a, 122b, 122c.
[0023]
A first soil-moisture sensor 124a, a second soil-moisture sensor 124b, and a third soil-moisture sensor 124c are installed in the root zones of the first irrigation zone 120a, the second irrigation zone 120b, and the third irrigation zone 120c, respectively. In one embodiment, each soil-moisture sensor is a battery-powered capacitance probe installed at a depth of about 6 inches (15 cm) that reports soil moisture wirelessly to the network interface 112 every five minutes, and every minute while its zone is being irrigated. In other embodiments, the soil-moisture sensors may be wired to the irrigation controller 102 or may use other sensing principles, such as time-domain reflectometry or tensiometry, with tension readings converted to soil moisture.
[0024]
The network interface 112 connects the irrigation controller 102 to a network 128, such as the Internet, through which the irrigation controller 102 receives weather forecasts from a weather service 126 and communicates with a user device 130, such as a smartphone running a companion application. Through the user device 130, a user may enter the area of each irrigation zone, define permitted watering windows, view predicted and observed soil moisture, and receive notifications.
[0025]
In some embodiments, some or all of the operations described below as performed by the irrigation controller 102 are performed by a remote server in communication with the irrigation controller 102 through the network 128. In such embodiments, the remote server may store the zone response models 108 and transmit irrigation schedules to the irrigation controller 102 for execution.
Zone Response Model
[0026]
Each zone response model 108 describes how soil moisture in its irrigation zone responds to irrigation, rainfall, and evapotranspiration. In one embodiment, the zone response model 108 for a zone includes the following parameters: a response gain g, expressed in percentage points of soil moisture per millimeter of applied water; an upper moisture threshold θU, which approximates the field capacity of the soil at the location of the soil-moisture sensor; a drainage rate kd, which characterizes how quickly soil moisture above the upper moisture threshold drains away; a zone crop coefficient Kz, which relates the zone's water use to the reference evapotranspiration ET0 reported by the weather service 126; an infiltration rate limit imax, expressed in millimeters per hour; and an effective-rainfall fraction β, which is the fraction of forecast precipitation that reaches the root zone.
[0027]
Using these parameters, the irrigation controller 102 predicts soil moisture θ at successive time steps of duration Δt according to:
θ(t + Δt) = θ(t) + g · [I(t) + β · P(t) − Kz · ET0(t)] · Δt − kd · max(0, θ(t) − θU) · Δt
where I(t) is the irrigation application rate, P(t) is the precipitation rate, and ET0(t) is the reference evapotranspiration rate, each expressed in millimeters per hour. The first bracketed term captures water added by irrigation and rain and water removed by plants and evaporation, and the last term captures the relatively fast drainage of water held above the upper moisture threshold θU. Other model forms may be used, for example a multi-layer model in which water moves between a surface layer and a root-zone layer, provided that the model can be updated from observed responses as described below.
Learning the Model from Observed Responses
[0028]
The irrigation controller 102 treats each irrigation event it performs as an opportunity to refine the zone response model 108 for the irrigated zone. Referring to FIG. 3, a graph 300 shows soil moisture measured in the first irrigation zone 120a over time. The observed response 302 includes a rise in soil moisture during an irrigation event and a post-irrigation decay 312 following the event.
[0029]
The irrigation controller 102 determines the volume of water applied to the first irrigation zone 120a during the event by integrating the flow signal from the flow sensor 114 over the period during which the first zone valve 122a was open, and divides that volume by the area of the first irrigation zone 120a to obtain an applied depth d. The irrigation controller 102 measures the rise Δθ in soil moisture from the start of the event to the end of the final soak interval, when redistribution of the applied water near the sensor is substantially complete, and computes an observed response gain as gobs = Δθ / d.
[0030]
The irrigation controller 102 fits a two-segment model to the post-irrigation decay 312. When soil moisture after an event exceeds field capacity, the decay includes an initial drainage-dominated segment, in which soil moisture falls relatively quickly as water drains below the root zone, followed by an evapotranspiration-dominated segment, in which soil moisture falls slowly as water is taken up by plants and evaporates. The soil-moisture level at the breakpoint between the two segments provides an observation of the upper moisture threshold θU, the decay constant of the first segment provides an observation of the drainage rate kd, and the slope of the second segment divided by the product of the response gain g and the forecast or measured reference evapotranspiration ET0 provides an observation of the zone crop coefficient Kz. Because the irrigation controller 102 ordinarily targets a level below the upper moisture threshold θU, as described below, events that rise above θU occur mainly during commissioning, after heavy rain, or when the controller deliberately schedules an occasional calibration event.
[0031]
The irrigation controller 102 estimates the infiltration rate limit imax from the rate at which soil moisture rises during irrigation. The water-application rate of a zone is the flow rate divided by the zone area. While the application rate is below the infiltration capacity of the soil, the rate of rise in soil moisture increases with the rate of water application; when the application rate exceeds the infiltration capacity, the rate of rise stops increasing, because the excess water ponds or runs off rather than entering the soil. The irrigation controller 102 identifies the water-application rate above which the rate of rise ceases to increase, for example by comparing the rate of rise during the first minutes of pulses of different durations or during events at different times since the previous event, and uses that rate as an observation of the infiltration rate limit imax.
[0032]
The irrigation controller 102 learns the effective-rainfall fraction β in a similar manner, by dividing the rise in soil moisture observed after a rainfall event by the product of the response gain g and the rainfall depth reported by the weather service 126 or by a local rain gauge.
[0033]
Each model parameter is updated as a recursive estimate weighted by a forgetting factor λ. For example, the response gain is updated as g ← λ · g + (1 − λ) · gobs, where λ is about 0.8. Observed responses to more recent irrigation events are therefore weighted more heavily than observed responses to earlier events, so that the zone response model 108 tracks seasonal changes in soil structure, root depth, thatch, and plant water use. The irrigation controller 102 may reject an observation as an outlier when it differs from the current estimate by more than a predetermined amount, for example when rain fell during the irrigation event.
[0034]
The lower moisture threshold θL may be set at a management-allowed depletion, for example 50 percent, of the available water between the upper moisture threshold θU and a lower bound. The lower bound may be a default value associated with the sensed soil, a value entered by a user, or a value refined from the lowest soil moisture at which the zone has been observed without plant stress.
Predictive Scheduling
[0035]
FIG. 2 illustrates a method 200 of scheduling irrigation of an irrigation zone, which the irrigation controller 102 performs for each zone. The method 200 is described with reference to the first irrigation zone 120a.
[0036]
At step 202, the irrigation controller 102 receives soil-moisture readings from the first soil-moisture sensor 124a and flow data from the flow sensor 114.
[0037]
At step 204, the irrigation controller 102 identifies, from the soil-moisture readings, the observed response 302 of the first irrigation zone 120a to a prior irrigation event, including the rise in soil moisture during the event and the post-irrigation decay 312 that follows it.
[0038]
At step 206, the irrigation controller 102 updates the zone response model 108 for the first irrigation zone 120a based on the observed response 302 and on the volume of water applied during the prior irrigation event, as described above.
[0039]
At step 208, the irrigation controller 102 obtains, through the network interface 112, a weather forecast for the location of the first irrigation zone 120a from the weather service 126. In one embodiment, the weather forecast includes hourly reference evapotranspiration and precipitation for the following 72 hours.
[0040]
At step 210, the irrigation controller 102 predicts a future soil-moisture trajectory 314 of the first irrigation zone 120a by stepping the zone response model 108 forward in time from the latest soil-moisture reading, using the forecast reference evapotranspiration and the forecast precipitation scaled by the effective-rainfall fraction β. As illustrated in FIG. 3, the predicted soil-moisture trajectory 314 may steepen during a forecast period of high evapotranspiration. If forecast rain is predicted to keep soil moisture above the lower moisture threshold 306 throughout the forecast horizon, no irrigation is scheduled.
[0041]
At step 212, the irrigation controller 102 determines an irrigation start time and an irrigation volume. The irrigation start time is determined based on the time at which the predicted soil-moisture trajectory 314 reaches the lower moisture threshold 306, shown as the crossing point 316 in FIG. 3. Where the user has defined a permitted watering window, for example 10:00 p.m. to 6:00 a.m., the irrigation controller 102 selects the irrigation start time within the permitted watering window such that delivery of the irrigation volume is completed within the permitted watering window and before the time of the crossing point 316. Selecting the latest such start time minimizes the time the applied water spends near the surface, where it is most subject to evaporation. The irrigation volume is the volume that the zone response model 108 predicts will raise soil moisture from its predicted value at the irrigation start time to a target level 318 below the upper moisture threshold 304; that is, an applied depth of (θT − θ(tstart)) / g multiplied by the zone area, where θT is the target level 318. In one embodiment, the target level 318 is one percentage point below the upper moisture threshold 304. Targeting a level below the upper moisture threshold 304 avoids applying water that would drain below the root zone.
[0042]
At step 214, the irrigation controller 102 divides the irrigation volume into pulses and soak intervals, as described below with reference to FIG. 3.
[0043]
At step 216, the irrigation controller 102 causes the valve driver circuit 110 to actuate the first zone valve 122a according to the resulting pulse schedule, beginning at the irrigation start time. The method 200 then returns to step 202, so that the response observed during this irrigation event refines the zone response model 108 used to schedule the next one.
Pulsed Irrigation
[0044]
Referring again to FIG. 3, the irrigation volume is delivered as a series of pulses 308 separated by soak intervals 310. When the application rate r of the first irrigation zone 120a, which is the baseline flow rate of the zone divided by its area, is at or below the infiltration rate limit imax, the irrigation volume may be delivered in a single pulse. When the application rate r exceeds the infiltration rate limit imax, the irrigation controller 102 limits the pulse duration tp of each pulse so that the water applied in excess of the infiltration rate limit during the pulse does not exceed a surface-storage allowance S, which represents the depth of water the soil surface can hold in depressions and thatch without running off:
tp = S / (r − imax)
and sets the duration ts of each following soak interval 310 to be sufficient for that excess to infiltrate:
ts = (r − imax) · tp / imax
[0045]
Each pulse 308 thus applies a depth of r · tp, and the number of pulses is the applied depth required for the irrigation volume divided by r · tp, rounded up. The surface-storage allowance S may be a default value, for example 2 mm, that the irrigation controller 102 reduces if the soil-moisture readings indicate that less of the applied water is reaching the root zone than the response gain predicts.
[0046]
Because the mainline 116 supplies all of the zone valves, the irrigation controller 102 may deliver water to another zone during each soak interval 310. For example, while the first irrigation zone 120a soaks, the irrigation controller 102 may open the second zone valve 122b to deliver a pulse to the second irrigation zone 120b, interleaving the pulse schedules of the zones so that the total time needed to irrigate all of the zones is shorter than if each zone's pulses and soak intervals were run in sequence.
Fault Detection and Classification
[0047]
Because the zone response model 108 predicts how soil moisture should respond to a given volume of water, the irrigation controller 102 can detect when the irrigation system 100 is not behaving as expected. FIG. 4 illustrates a method 400 of detecting and classifying fault conditions, which the irrigation controller 102 performs during delivery of the irrigation volume.
[0048]
At step 402, the irrigation controller 102 measures the flow rate of water supplied to the open zone valve using the flow sensor 114 during a pulse 308.
[0049]
At step 404, the irrigation controller 102 computes an expected soil-moisture response from the zone response model 108 and the measured flow, that is, the rise in soil moisture that the response gain g predicts for the depth of water actually delivered.
[0050]
At step 406, the irrigation controller 102 compares the observed soil-moisture response, determined from the soil-moisture readings, with the expected soil-moisture response to generate a response residual. In one embodiment, the response residual is the difference between the expected and observed rise, normalized by the expected rise and evaluated at the end of the soak interval 310 following the pulse.
[0051]
At step 408, the irrigation controller 102 determines whether the response residual exceeds a residual threshold, for example 50 percent. If it does not, the method 400 returns to step 402 for the next pulse.
[0052]
If the response residual exceeds the residual threshold, then at step 410 the irrigation controller 102 classifies a fault condition of the zone based on the response residual and on the deviation of the measured flow rate from a baseline flow rate of the zone, which the irrigation controller 102 learns as a running average of the flow rate measured during normal irrigation of that zone. In one embodiment, the classification proceeds as follows. When the flow rate exceeds the baseline flow rate by more than a tolerance, for example 15 percent, and the observed soil-moisture response is less than the expected soil-moisture response, water is leaving the system without reaching the root zone near the sensor, and the fault condition is classified as a leak, such as a broken lateral line or a missing sprinkler head. When the flow rate is less than the baseline flow rate by more than the tolerance and the observed soil-moisture response is less than the expected soil-moisture response, the fault condition is classified as an obstructed-flow condition, indicative of a clogged emitter, a valve that opens only partially, or a failed valve. When the flow rate is within the tolerance of the baseline flow rate, the water is being delivered normally but the sensor is not reporting the expected response, and the fault condition is classified as a sensor fault, such as a failed, disconnected, or displaced soil-moisture sensor.
[0053]
At step 412, the irrigation controller 102 takes a responsive action corresponding to the classified fault condition. In response to a leak, the irrigation controller 102 causes the valve driver circuit 110 to close the master valve 118, so that no further water is lost, and transmits a notification to the user device 130. In response to an obstructed-flow condition, the irrigation controller 102 suspends irrigation of the affected zone and transmits a notification to the user device 130 identifying the zone. In response to a sensor fault, the irrigation controller 102 continues to irrigate the zone but schedules subsequent irrigation from the zone response model 108 and the weather forecast without using the soil-moisture readings, until the soil-moisture readings are again consistent with the zone response model 108, and transmits a notification recommending that the sensor be inspected. While the sensor fault persists, the irrigation controller 102 also suspends updating the zone response model 108 for that zone, so that erroneous readings do not corrupt the learned parameters.
Example
[0054]
In one example, the first irrigation zone 120a is a 120 square meter lawn on clay loam irrigated by spray heads, and its baseline flow rate is 76 liters per minute, giving an application rate r of 38 mm per hour. After two weeks of operation, the zone response model 108 for the first irrigation zone 120a has converged to a response gain g of 0.6 percentage points per millimeter, an upper moisture threshold 304 of 32 percent, and an infiltration rate limit imax of 10 mm per hour, and the lower moisture threshold 306 is 23 percent.
[0055]
A forecast of hot, dry weather predicts that soil moisture will reach the lower moisture threshold 306 at about 2:00 p.m. on the following day. The irrigation controller 102 therefore schedules irrigation within the permitted watering window that ends at 6:00 a.m. that day, when soil moisture is predicted to be 24.6 percent. To reach the target level 318 of 31 percent, the zone requires an applied depth of (31 − 24.6) / 0.6, or about 10.7 mm, which corresponds to an irrigation volume of about 1,280 liters. With a surface-storage allowance of 2 mm, each pulse 308 lasts 2 / (38 − 10) hours, or about 4.3 minutes, and applies about 2.7 mm, so four pulses are scheduled. Each soak interval 310 lasts 28 × 0.0714 / 10 hours, or about 12 minutes, during which the second irrigation zone 120b and the third irrigation zone 120c receive their own pulses. The irrigation event shown in FIG. 3 reflects this schedule.
[0056]
Compared with a fixed schedule delivering the same seasonal water requirement, scheduling of this kind applies water only when the zone approaches the lower moisture threshold 306, avoids applying water that would drain below the root zone, and avoids runoff from applying water faster than the soil can absorb it.
Additional Embodiments
[0057]
In some embodiments, a single soil-moisture sensor serves several irrigation zones that share similar soil and plants, and the irrigation controller 102 learns, for each zone without a sensor, a scaling factor relating that zone's water use to the water use observed in the sensed zone.
[0058]
In some embodiments, the zone response model 108 includes a temperature correction for the soil-moisture readings, learned from the diurnal variation of readings during periods without irrigation or rain.
[0059]
In some embodiments, the irrigation controller 102 adjusts the lower moisture threshold 306 of a zone in response to user feedback received through the user device 130, for example lowering it to conserve water during drought restrictions, and adjusts its schedules to comply with watering-day restrictions received from a water utility.
[0060]
In some embodiments, the irrigation system 100 delivers water through drip emitters rather than sprinklers, in which case the application rate is typically below the infiltration rate limit and irrigation is delivered in a single pulse, while fault classification proceeds as described above.
[0061]
The operations described herein may be implemented as instructions stored on a non-transitory computer-readable medium, such as flash memory, read-only memory, random-access memory, magnetic or optical storage, or a combination thereof, and executed by one or more processors, which may be located in the irrigation controller 102, in a remote server, or distributed between them.
[0062]
The embodiments described above are illustrative and not restrictive. The scope of the invention is defined by the appended claims, and all changes that come within the meaning and range of equivalency of the claims are intended to be embraced therein.