Skip to Content

From the Moon to your lawn

How math from 1960 helps Verdant handle jumpy temperature data.

Table of contents

No titles in the blog post

What do the Apollo missions and your lawn have in common? Both have to make decisions from measurements that are never quite perfect. And both get help from the same piece of math: a Kalman filter.

The trouble with a single number

Temperature is one of the main ingredients in working out how thirsty your lawn is. But temperature data can be jumpy. A forecast gets revised. A thermometer catches a burst of afternoon sun. An odd value slips in.

Suppose your controller's best estimate is 84°F, and the next update says 95°F. Maybe the day really is heating up that quickly. Maybe it isn't. From that one number, you can't tell.

Accept every new number completely and the estimate lurches with each jump. Ignore the surprises and you miss real changes in the weather. Neither is a good way to decide how much to water.

A better way to change your mind

In 1960, Rudolf Kálmán published a better answer. His method keeps a running best estimate, along with a sense of how sure it is. When a new measurement arrives, it weighs the two against each other and lands somewhere in between.

It's what a sensible person does with surprising news: don't swallow it whole, and don't dismiss it. Move partway, and see what comes next. If the next few updates agree, move further.

The idea soon caught the attention of NASA's Ames Research Center, where Stanley Schmidt saw how it could help Apollo, and a version of it became part of the Apollo navigation computer. Today, Kalman filters are used in robotics, in signal processing and in systems that hold ships in position at sea.

What it does in your Verdant controller

Verdant uses a Kalman filter to smooth incoming temperature data before it goes into the calculation of evapotranspiration, or ET: the water your lawn loses to the sun, heat, wind and dry air.

  • A brief jump gets softened. One odd value nudges the estimate instead of taking it over.
  • A real change comes through. When updates keep pointing the same way, the estimate follows.
  • Old readings fade. The longer it's been since the last update, the more weight the new one gets. After more than a day without updates, the filter starts fresh.
  • It works with every ET model. Whichever of Verdant's three ET models is in use, it gets the smoothed temperature. (More in our post on ET.)

There's nothing to set up and nothing to adjust.

It starts with weather you chose

You choose the weather source Verdant uses, and if you own a supported weather station, you can use that. The controller connects to your source directly. The weather data never passes through our servers. (More in our post on weather sources.)

The filter runs on the controller too, like every watering decision Verdant makes. The math happens in your garage, not in our cloud.

Why we're telling you

We could have left it at "smart" and moved on. But we've said before that you deserve to know how your water is being decided, and that includes what happens to the data before the equations see it.

It also means being clear about what a filter can't do. It doesn't predict the weather, and it can't turn a poor source into a good one. What it does is keep one jumpy number from having too much say.

What it means for your yard

Weather data jumps around. Your lawn's water needs shouldn't lurch along with it. Verdant weighs each new temperature against what it already knows, quietly, on the controller, with well-established math that anyone can look up.

See every feature on the Features page, or find an installer near you.

The Verdant team

Archive

Soak and cycle, timed right
Soak and cycle saves water but can stretch a program out for hours. Verdant's patent-pending scheduling gets the timing right.