Direction processing based on multi-state inputs
First Claim
1. A system for determining the direction of a moving object, the system comprising:
- a sensor having a plurality of inputs and configured to monitor the direction of the moving object as it moves across the sensor, anda computer in communication with the sensor, the computer comprising circuitry, memory, and a processor configured to execute non-transient programming instructions which when executed perform the operations of;
a. assigning an initial value to a direction variable;
b. monitoring state changes of the inputs as the moving object passes across the sensor;
c. upon detection of a state change of a particular input from a lowest state to a higher state, comparing the magnitude of the state changes of the particular input to its immediately adjacent and enabled inputs in the order in which a forward-moving object would cause inputs to switch to a particular state;
d. for each comparison, incrementing the value of the direction variable by a fixed amount to indicate a forward-moving object, and decrementing the value of the direction variable by the fixed amount to indicate a reverse-moving object;
e. monitoring the order of state changes for all inputs until all inputs return to their lowest state and thereby indicating passage of the moving object; and
f. assigning a direction of movement to the moving object on the basis of the final value of the direction variable after the object has moved past the sensor.
1 Assignment
0 Petitions
Accused Products
Abstract
A computer-implemented method for determining the direction of a moving object across a sensor having a plurality of inputs is disclosed. The invention determines the direction of a moving object, such as a vehicle on a roadway, based on inputs provided by sensors along the object'"'"'s path. The methods involve monitoring state changes of the inputs as the object passes the sensor and comparing the magnitude of state changes in the order in which a forward-moving object would cause inputs to switch to a particular state. For each state change comparison, a direction variable is adjusted to indicate forward or reverse movement. After passage of the object, a direction of movement is assigned to the moving object on the basis of the final value of the direction variable. The invention provides a high degree of accuracy, is simple to reconfigure, and more economical than other methods.
11 Citations
16 Claims
-
1. A system for determining the direction of a moving object, the system comprising:
-
a sensor having a plurality of inputs and configured to monitor the direction of the moving object as it moves across the sensor, and a computer in communication with the sensor, the computer comprising circuitry, memory, and a processor configured to execute non-transient programming instructions which when executed perform the operations of; a. assigning an initial value to a direction variable; b. monitoring state changes of the inputs as the moving object passes across the sensor; c. upon detection of a state change of a particular input from a lowest state to a higher state, comparing the magnitude of the state changes of the particular input to its immediately adjacent and enabled inputs in the order in which a forward-moving object would cause inputs to switch to a particular state; d. for each comparison, incrementing the value of the direction variable by a fixed amount to indicate a forward-moving object, and decrementing the value of the direction variable by the fixed amount to indicate a reverse-moving object; e. monitoring the order of state changes for all inputs until all inputs return to their lowest state and thereby indicating passage of the moving object; and f. assigning a direction of movement to the moving object on the basis of the final value of the direction variable after the object has moved past the sensor. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A computer program product comprising a computer-readable medium having non-transient computer readable programming instructions embodied therein which when executed cause a computer equipped with circuitry, memory, and a processor to determine the direction of a moving object across a sensor electrically connected to the processor, the programming instructions causing the processor to perform the operations of:
-
a. assigning an initial value to a direction variable; b. monitoring state changes of the inputs as the moving object passes across the sensor; c. upon detection of a state change of a particular input from a lowest state to a higher state, comparing the magnitude of the state changes of the particular input to its immediately adjacent and enabled inputs in the order in which a forward-moving object would cause inputs to switch to a particular state; d. for each comparison, incrementing the value of the direction variable by a fixed amount to indicate a forward-moving object, and decrementing the value of the direction variable by the fixed amount to indicate a reverse-moving object; e. monitoring the order of state changes for all inputs until all inputs return to their lowest state and thereby indicating passage of the moving object; and f. assigning a direction of movement to the moving object on the basis of the final value of the direction variable after the object has moved past the sensor. - View Dependent Claims (16)
-
Specification