User's Manual
DRAFT TrimTrac 1.5 Technical Manual v0.3ab 52
TrimTrac State Machine
Introduction
In most applications, motion-based reporting is the fundamental operating
premise of the TrimTrac 1.5 as shown in Figure 4. This generally means that the
unit computes and reports new GPS position fixes only if the unit is in motion and
once more after coming to rest.
To conserve power and minimize communication costs, the TrimTrac 1.5
attempts to be in a sleep mode as much as possible. Sleep modes occur both
during the IDLE and DELAY states. In general, the TrimTrac 1.5 will spend a
majority of its time in the IDLE state during periods of no motion. How
frequently the unit computes a new position fix while in motion is determined
predominantly by the setting of the DELAY Timeout, T4.
Idle
T1
Fix
T2
Status
TX
T3
Query
T5
Delay
T4
Sleep
Completed
Comms
Timeout
Motion
Wake
Query
Timeout
Motion
Wake
Comms
Success
RTC
Wakeup
or
Motion
Report Flag
Motion
Wakeup
Fix Made
or Timeout
Status
Retrieved
Invalid
Motion
T7
Motion
Report Flag
Comms
Timeout
RTC
Wake
Query
Timeout
RTC
Wake
Figure 4, Summary TrimTrac Operational State Diagram
State Machine Overview
In most applications, motion-based reporting is the fundamental mode of operation.
The TrimTrac state machine transitions through each state shown in Figure 4 based
on motion, external inputs, timeouts, and as a result of completing defined actions
(i.e. communicating to the server), as follows assuming default configuration:
IDLE: The TrimTrac 1.5 spends the majority of its time in the IDLE state.
Detection of Motion results in a transition to the FIX state if the Motion Report Flag