# US 2020/0350778 A1 · Wireless power self harvesting control device and system and method for wirelessly reprogramming the same

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2020/0350778 A1
- Document ID: US20200350778A1
- Status: Published application
- Kind: A1
- Application number: 16/402,140
- Filed: 2019-05-02
- Published: 2020-11-05
- Earliest claimed: 2019-05-02
- Assignees: WaterBit, Inc.
- Applicants: WaterBit, Inc
- Inventors: Craig Nemecek; Alan Steven Broad; Robert William Coates; David Ray Taylor; Luis Hector Garcia Jimenez
- Web page: https://patentgrep.com/patent/US20200350778A1

## CPC

- H04L 67/34: {involving the movement of software or configuration parameters (network booting or remote initial program loading [RIPL] G06F9/4416)}
- A01G 25/167: {Control by humidity of the soil itself or of devices simulating soil or of the atmosphere; Soil humidity sensors}
- G05B 19/18: Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of program data in numerical form (G05B19/418 takes precedence)
- G06F 8/65: Updates (security arrangements therefor G06F21/57)
- H04L 67/12: specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04W 4/027: {using movement velocity, acceleration information}
- H04W 4/029: Location-based management or tracking services
- H04W 4/50: Service provisioning or reconfiguring
- H04W 4/70: Services for machine-to-machine communication [M2M] or machine type communication [MTC]
- G05B 2219/2625: Sprinkler, irrigation, watering
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- Y04S 40/18: Network protocols supporting networked applications, e.g. including control of end-device applications over a network
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- A01G: HORTICULTURE; CULTIVATION OF VEGETABLES, FLOWERS, RICE, FRUIT, VINES, HOPS OR SEAWEED; FORESTRY; WATERING (picking of fruits, vegetables, hops or the like A01D46/00; propagating unicellular algae C12N1/12)
- G05B: CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS (systems for controlling or regulating non-electric variables G05D; systems for regulating electric or magnetic variables G05F; control devices or systems insofar as characterised by mechanical features only G05G)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y04S: SYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS

## Abstract

Embodiments of the present invention provide wireless control devices that operate in-field wirelessly without removable batteries, have power self-harvesting components, and can be wirelessly programmed over long ranges without interfering with the normal operation of the control devices. Only control devices that have sufficient power available to perform a reprogram cycle (and can function normally until a next power harvest cycle) are selected. Control devices can be selected for wireless reprogramming based on the upcoming functions to be performed by the control device, the amount of energy stored in the control device, the rate of power generation of a solar panel of the control device, and current and upcoming weather conditions, etc. The wireless programming can include updating a firmware of the control device, a bootloader of the control device, and an application program image. A bootloader image can be downloaded to update the bootloader, and the bootloader is executed to download one or more images for updating the firmware of a communication sub-system of the control device and/or an application program image to update a management sub-system of the control device.

## Claims

### Claim 1

A method of programming remote electronic devices, said method comprising:
a server system checking reported levels of energy stores of a plurality of control devices;
the server system determining expected future workloads of said plurality of control devices;
based on said reported levels of energy stores and said expected future workloads, the server system determining a subset of said plurality of control devices that are suitable for a programming cycle;
the server system transmitting ready signals to said subset of control devices via a wireless network to prepare said subset of control devices for the programming cycle and wherein control devices of said subset remain in power up state awaiting programming subsequent to receiving said ready signals; and
the server system performing said programming cycle by transmitting programming information over said wireless network to said subset of control devices for programming thereof until all control devices of said subset of control devices report successful programming thereof, and
wherein said plurality of control devices comprise remotely installed in-field electronic devices that comprise respective components and electronics to perform power self harvesting, wherein no external power source or supply is required for performance of operations of said plurality of control devices.

### Claim 2 (depends on 1)

The method as described in claim 1 wherein each control device of said plurality of control devices periodically reports update information to said server system over said wireless network during a respective update period and also listens for communication from said server system during said respective update period, wherein said update information comprises: an indication of a level of energy store for a respective control device; an identification code of the respective control device; and an indication of sensor data and valve state data associated with the respective control device.

### Claim 3 (depends on 2)

The method as described in claim 2 wherein each control device of said subset of control devices also receives said ready to program signal during said respective update cycle.

### Claim 4 (depends on 1)

The method as described in claim 1 wherein said reported levels of energy stores of said plurality of control devices comprise reported voltage levels of supercapacitors of the plurality of control devices.

### Claim 5 (depends on 1)

The method as described in claim 1 wherein said expected future workloads of said plurality of control devices comprise, for each control device, scheduled valve control operations and scheduled sensor reading operations expected to be performed by each control device before a next expected power recharge event for power self harvesting operations of each control device.

### Claim 6 (depends on 1)

The method as described in claim 1 further comprising, during said programming cycle, each control device of said subset of control devices performing programming of a plurality of integrated circuit devices associated therewith based on downloaded programming information from said server system.

### Claim 7 (depends on 6)

The method as described in claim 6 wherein said plurality of integrated circuit devices, for each control device, comprise: a PSoC controller; and a wireless communication radio device coupled to said PSoC controller.

### Claim 8 (depends on 7)

The method as described in claim 7 wherein said performing programming of said plurality of integrated circuit devices for a respective control device comprises programming a wireless communication radio device of said respective control device by:
downloading a bootloader image into a PSoC controller associated with said respective control device;
executing the bootloader in the PSoC controller;
using the bootloader to download a first image into non-volatile memory of the PSoC controller;
programming a wireless communication radio device of said respective control device using the PSoC controller and the first image;
using the bootloader to download a PSoC application to the non-volatile memory of the PSoC controller; and
executing the PSoC application on said PSoC controller.

### Claim 9 (depends on 8)

The method as described in claim 8 wherein said first image and said PSoC application are downloaded from said server system to said respective control device in a plurality of discrete chucks and wherein each chuck is verified by checksum.

### Claim 10 (depends on 7)

The method as described in claim 7 wherein said performing programming of said plurality of integrated circuit devices for a respective control device comprises programming a PSoC controller of said respective control device by:
downloading a bootloader image into the PSoC controller;
executing the bootloader in the PSoC controller;
using the bootloader to download a PSoC application into memory of the PSoC controller; and
executing the PSoC application.

### Claim 11 (depends on 10)

The method as described in claim 10 wherein said PSoC application is downloaded from said server system to said respective control device in a plurality of discrete chucks wherein each chuck is verified by a checksum.

### Claim 12 (depends on 1)

The method as described in claim 1 wherein the wireless network is a wireless network based on the LoRa wireless communication standard.

### Claim 13 (depends on 1)

The method as described in claim 1 wherein the server system determining a subset of said control devices that are suitable for a programming cycle comprises:
the server system utilizing the expected future workloads to compute power consumption levels for said plurality of control devices;
the server system subtracting the power consumption levels from the levels of energy stores to obtain residual energy levels for said plurality of control devices; and
the server system examining said residual energy levels of said plurality of control devices to determine which control devices have sufficient residual energy levels to allow for programming thereof and including only those control devices into said subset.

### Claim 14 (depends on 1)

The method as described in claim 1 wherein each control device of said plurality of control devices comprise:
an enclosure defining an interior space and comprising a first opening; a second opening and a third opening, wherein the enclosure is sealed to restrict water entry to the interior space;
a power harvesting device sealed with respect to the first opening to restrict water entry to the interior space, the power harvesting device operable to generate and provide power;
a plurality of super capacitors disposed within the interior space and operable to receive and store power generated from the power harvesting device;
control electronics disposed within the interior space and comprising a processor and re-programmable memory, the control electronics coupled to receive power from the plurality of super capacitors and operable for capturing sensor data, operable for generating valve control information and further operable to communicate with a remote control station;
a wireless communication device disposed within the interior space and coupled to the control electronics and operable to provide wireless communication for the control electronics; and
input/output circuitry operable for generating signals responsive to the control electronics to control exterior valves and further operable for receiving sensor data from exterior sensors, wherein the input/output circuitry is disposed within the interior space and coupled to ports disposed at the second and third openings.

### Claim 15

A wirelessly reprogrammable irrigation control system, said irrigation control system comprising:
a plurality of control devices;
a server configured to determine levels of energy stores and expected future workloads of the plurality of control devices; and
a local gateway configured to facilitate communication between said server and the plurality of control devices wherein said local gateway communicates wirelessly with the plurality of control devices via a radio network; and
wherein the server is further operable to:
determine a subset of said plurality of control devices that are suitable for a programming cycle based on said levels of energy stores and said expected future workloads;
transmit ready signals to said subset of control devices via the local gateway to prepare said subset of control devices for the programming cycle; and
perform said programming cycle by transmitting programming information to said subset of control devices via said local gateway for programming thereof until all control devices of said subset of control devices report successful programming thereof.

### Claim 16 (depends on 15)

The control system described in claim 15 wherein said plurality of control devices comprise remotely installed in-field electronic devices that comprise respective components and electronics to perform power self harvesting, wherein no external power source or supply is required for performance of operations of said plurality of control devices.

### Claim 17 (depends on 15)

The control system described in claim 15 wherein control devices of said subset remain in power up state awaiting programming subsequent to receiving said ready signals.

### Claim 18 (depends on 15)

The control system described in claim 15 wherein the server determines a subset of said plurality of control devices that are suitable for a programming cycle based on rejection criteria associated with the plurality of control devices, and wherein the rejection criteria for a respective control device comprises at least one of: a current time of day, a soil type associated with the respective control device, historical power generation information associated with the respective control device, and expected weather conditions.

### Claim 19 (depends on 15)

The control system described in claim 15 wherein said server comprises a cloud computing device and wherein further said local gateway executes a Linux operating system and can perform functionality of the server in case the server is unavailable and wherein further the local gateway is configured to communicate with the server via a cellular communication network.

### Claim 20

A method of wirelessly reprogramming a control device, said method comprising:
using a server, determining that a control device is in condition to download and install the update according to a stored energy level of the control device and rejection criteria associated with the control device;
using the server to broadcast data indicating that an update is available for the control device;
provided the control device is in condition to download and install the update, performing the following:
using said server, wirelessly transmitting a first update image of said update to said control device;
updating a bootloader of said control device using said first update image;
using said control device to execute said bootloader;
downloading a second update image to said control device; and
using said bootloader executed by said control device to update a sub-system of said control device with the second update image.

### Claim 21 (depends on 20)

The method described in claim 20 wherein said sub-system comprises a PSoC management sub-system and wherein said second update image comprises an application program image for programming said PSoC management sub-system.

### Claim 22 (depends on 20)

The method described in claim 20 wherein said sub-system comprises an xDoT communication sub-system and wherein said second update image comprises a firmware image for programming said xDoT communication sub-system and wherein further said using said bootloader executed by said control device to update a sub-system of said control device with the second update image comprises said boot loader copying said second image into said xDoT communication sub-system.

### Claim 23 (depends on 22)

The method described in claim 22 further comprising:
downloading a third update image to said bootloader; and
using said bootloader executed by said control device to update a PSoC management sub-system of said control device.

### Claim 24 (depends on 20)

The method described in claim 20 wherein said control device comprises a remotely installed in-field electronic device that comprises respective components and electronics to perform power self harvesting, wherein no external power source or supply is required for performance of operations of said control device.

### Claim 25 (depends on 20)

The method described in claim 20 wherein control device remains in a power up state awaiting programming subsequent to said determining that said control device is in condition to download and install the update according to a stored energy level of the control device and rejection criteria associated with the control device.

### Claim 26 (depends on 20)

The method described in claim 20 wherein said rejection criteria comprises at least one of: a time of day, an expected future workload of the control device, a soil type, historical power generation information, and a weather condition.

### Claim 27

A method of wirelessly updating firmware of a control device, said method comprising:
determining if said control device is suitable to participate in an update cycle and therefore has sufficient energy to participate;
provided said control device is suitable to participate in said update cycle, transmitting a ready signal to said control device via a wireless network;
responsive to said ready signal, said control device remaining in a wake state;
transmitting a new program wirelessly to said control device using said wireless network; and
said control device updating internal memory with said new program and executing said new program, wherein said control device is a remotely installed self-contained electronic device operating at low power.

### Claim 28 (depends on 27)

A method as described in claim 27 wherein said determining if said control device is suitable to participate in an update cycle comprises:
checking previously reported and stored data from said control device indicating an energy store of said control device and a schedule of work that said control device is expected to perform.

### Claim 29 (depends on 27)

A method as described in claim 27 wherein said determining if said control device is suitable to participate in an update cycle further comprises checking at least one of: measured and reported soil conditions of said control device; known soil types of said control device; weather conditions; and a charging rate of a power harvesting component associated with said control device.

### Claim 30 (depends on 27)

A method as described in claim 27 wherein said control device comprises:
a wireless communication system at a first power domain;
a processor system comprising a memory at said first power domain;
an input/output system at a second power domain and for controlling external actuators and for reading data from external sensors, wherein said first power domain is a low power domain; and
a power harvesting component coupled to store harvested power to a power store wherein said power store supplies power for said first and second power domains.

### Claim 31 (depends on 30)

A method as described in claim 30 wherein said power harvesting component is a solar panel, wherein said power store is a super capacitor, wherein said external actuators are configured to turn on/off irrigation valves and wherein said first power domain is substantially at 0.7-3.0 volts.

### Claim 32 (depends on 27)

A method as described in claim 27 wherein said wireless network is compatible with the LoRa wireless network standard.

### Claim 33 (depends on 27)

A method as described in claim 27 further comprising a remote server system and wherein said control device comprises: a processor system comprising a processor and memory; and a communication system, and wherein said transmitting, said updating and said executing comprise:
said server system wirelessly transmitting a bootloader to said memory of said control device;
said control device using said bootloader to download an application program from said server for storage into said memory of said control device; and
said processor of said control device executing said application program from said memory.

### Claim 34 (depends on 27)

A method as described in claim 27 further comprising a remote server system and wherein said control device comprises: a processor system comprising a processor and memory; and a communication system, and wherein said transmitting, said updating and said executing comprise:
said server system wirelessly transmitting a bootloader to said memory of said control device;
said control device using said bootloader to download a program image from said server for storage into said memory of said control device;
said bootloader copying said program image from said memory to said communication system;
said communication system executing a program of said program image;
said control device using said bootloader to download an application program from said server for storage into said memory of said control device; and
said processor of said control device executing said application program from said memory.
