# US 2004/0073388 A1 · Computerized methods for data loggers

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

- Number: US 2004/0073388 A1
- Document ID: US20040073388A1
- Status: Published application
- Kind: A1
- Application number: 10/271,914
- Filed: 2002-10-15
- Published: 2004-04-15
- Earliest claimed: 2002-10-15
- Assignees: Remote Data Systems, Inc.
- Inventors: Jonathan Dorny; Robert George
- Web page: https://patentgrep.com/patent/US20040073388A1

## CPC

- G06F 1/3203: Power management, i.e. event-based initiation of a power-saving mode
- G06F 8/654: using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- 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

## Abstract

The present invention provides methods for operating data loggers and in particular, software techniques useful for controlling the critical functions of a low-power-battery-operated data logger. One method initializes various memory locations upon a detection of new firmware. Another method allows a processor system belonging to a data logger to receive a high baud rate data stream while being operated in a sleep mode. Yet another method provides a highly efficient process for estimating the remaining battery capacity of a data logger's primary power source. Finally, a method is provided for protecting volatile variables during a disruption of primary power. The protected variables are written to non-volatile memory using parasitic power only.

## Claims

### Claim 1

A computerized method for initializing memory locations in a digital processor system having in-circuit firmware programming capability, said method comprising:
determining the presence of new firmware in said processor system; and
initializing said memory locations with predetermined values upon determining the presence of new firmware.

### Claim 2 (depends on 1)

The computerized method of claim 1, wherein the step for determining the presence of new firmware occurs during an initial system boot-up.

### Claim 3 (depends on 1)

The computerized method of claim 1, wherein the step for determining the presence of new firmware occurs following an initial system boot-up.

### Claim 4 (depends on 1)

The computerized method of claim 1, wherein the step for determining the presence of new firmware includes a step for checking the status of a new program flag contained in a memory location.

### Claim 5 (depends on 1)

The computerized method of claim 1, wherein the step for initializing said memory locations includes a step for changing the status of a new program flag to represent old firmware by altering the contents of a new program flag memory location.

### Claim 6 (depends on 1)

The computerized method of claim 1, wherein the step for initializing said memory locations includes a step of erasing non-volatile random access memory.

### Claim 7 (depends on 1)

The computerized method of claim 1, wherein the step for initializing said memory locations includes a step of erasing flash-based data memory.

### Claim 8 (depends on 1)

The computerized method of claim 1, wherein the step for initializing said memory locations includes a step of erasing electrically-erasable-read-only memory.

### Claim 9 (depends on 1)

The computerized method of claim 1, wherein the step for initializing said memory locations includes a step of setting data memory pointers to a predetermined setting.

### Claim 10 (depends on 1)

The computerized method of claim 1, wherein the step for initializing said memory locations includes a step of setting an alarm interval of a real-time clock belonging to said processor system to a predetermined setting.

### Claim 11 (depends on 1)

The computerized method of claim 1, wherein the step for initializing said memory locations includes a step of erasing ferro-electric random access memory.

### Claim 12 (depends on 1)

The computerized method of claim 1, wherein the step for initializing said memory locations includes a step of erasing user removable flash-based media.

### Claim 13

A computerized method for enabling a battery-powered digital processor to receive a high baud rate serial data stream, said method comprising:
enabling said processor to respond to a communications interrupt;
placing said processor into a sleep mode;
responding to a communications interrupt by disabling said communications interrupt and placing said processor into a communications polling loop;
receiving a high baud rate serial data stream until a termination condition is detected;
ending said communications polling loop;
re-enabling said processor to respond to a communications interrupt; and
returning said processor to a sleep mode.

### Claim 14 (depends on 13)

The computerized method of claim 13, wherein enabling said processor to respond to a communications interrupt is predicated by a step of setting the baud rate of said processor to a value that ranges from 38.4 kbps and 115.2 kbps.

### Claim 15 (depends on 13)

The computerized method of claim 13, wherein the step of receiving a high baud rate serial data stream includes a step for detecting a termination character located at the end of said data stream.

### Claim 16 (depends on 13)

The computerized method of claim 13, wherein the step of receiving a high baud rate serial data stream includes a step for detecting a termination character located within said data stream.

### Claim 17 (depends on 13)

The computerized method of claim 13, wherein the step of receiving a high baud rate serial data stream includes a step for detecting said termination condition by counting a predetermined number of polling loops.

### Claim 18 (depends on 13)

The computerized method of claim 13, wherein the step of receiving a high baud rate serial data stream includes a step for detecting said termination condition by counting the number of characters received from said serial data stream and comparing the count to a predetermined value.

### Claim 19 (depends on 13)

The computerized method of claim 13, wherein the step of receiving a high baud rate serial data stream includes a step for detecting said termination condition by testing the contents of a watchdog timer against a predetermined value.

### Claim 20

A computerized method for estimating the remaining energy capacity of a battery while the battery is powering a digital processor system, said method comprising:
selecting a predetermined battery consumption parameter for a particular processor activity; and
accounting for accumulated battery consumption by arithmetically applying the selected predetermined battery consumption parameter to a battery consumption variable.

### Claim 21 (depends on 20)

The computerized method of claim 20, wherein said predetermined battery consumption parameter is selectable from a database of predetermined battery consumption parameters, each of which are matched to a particular type of processor activity.

### Claim 22 (depends on 20)

The method of claim 20, wherein said accounting for accumulated battery consumption by arithmetically applying the selected predetermined battery consumption variable, includes a step of subtracting the selected predetermined battery consumption parameter from the battery consumption variable.

### Claim 23 (depends on 20)

The method of claim 20, wherein the battery consumption variable is initialized with a predetermined value scaled to represent the full energy capacity of a new battery following the installation of a new battery to power said digital processor system.

### Claim 24 (depends on 20)

The method of claim 20, wherein the predetermined battery consumption parameter is a battery consumption rate value assigned to a particular processor activity; and
wherein the step of accounting for battery consumption further includes a step of multiplying the selected predetermined battery consumption rate value times the duration of the particular processor activity.

### Claim 25 (depends on 20)

The method of claim 20, wherein the predetermined battery consumption parameter is a scaled value for processor activities of fixed duration.

### Claim 26

A computerized method for protecting volatile data from power disruptions, wherein the data is stored within a digital processor system having a primary power source and a parasitic power source, said method comprising:
copying data from a non-volatile memory block to a volatile memory block while the processor is being powered by the primary power source;
erasing the non-volatile memory block while the processor is being powered by the primary power source;
recognizing a disruption of processor system power coming from the primary power source; and
protecting the data stored in the volatile memory block during the primary power source disruption by copying the volatile memory block data to the non-volatile memory block while the processor is being powered by the parasitic power source.

### Claim 27 (depends on 26)

The method of claim 26, further including a step of providing a battery for said primary power source.

### Claim 28 (depends on 26)

The method of claim 26, further including a step of providing a filter capacitor to store energy for said parasitic power source.

### Claim 29 (depends on 26)

The method of claim 26, further including a step of providing an inductor to store energy for said parasitic power source.

### Claim 30 (depends on 26)

The method of claim 26, wherein recognizing disruption of processor system power coming from the primary power source includes a step of interrupting said processor in response to a drop in primary power source voltage below a predetermined threshold.
