Claims
- 1. In a vehicle presence detection system in which an inductive sensor loop is an element of a tuned circuit in a loop oscillator, a method of discriminating against parameter variations due to environmental changes during the presence of a vehicle, comprising the steps of repeatedly comparing a variable sample number that is a function of the oscillator inductance with a reference number for providing an indication of the arrival or departure of a vehicle, and repeatedly updating the reference number in accordance with detected environmental changes at predetermined rail time intervals dependent of an operational frequency of the system.
- 2. A method according to claim 1, wherein at each updating of the reference number in accordance with detected environmental changes a cyclically repeating updating operation is performed in which the reference number is incremented or decremented repeatedly by a predetermined amount for a number of times determined by the real time that has elapsed since a previous occasion that the reference number was compared with the sample number and as a consequence updated or found not to require updating.
- 3. A method according to claim 2, wherein the reference number is only subjected to said cyclical updating operation for changes in the value of the reference number in one direction.
- 4. A method according to claim 2, wherein the predetermined amount by which the reference number is incremented or decremented at each cycle of the cyclically repeating updating operation is different according to whether the reference number is being incremented or decremented.
- 5. A method according to claim 3, wherein the cyclically repeating updating operation is performed on the reference number only if the difference between the reference number and the sample number does not exceed a predetermined threshold value.
- 6. A method according to claim 5, wherein said predetermined threshold value has a first value when the sample is larger than the reference number and a second and different value when the sample number is smaller than the reference number.
- 7. A method according to claim 5, wherein before comparison of the sample and reference numbers a decision is made as to whether the system is or is not indicating the presence of a vehicle, and if no vehicle is being indicated a detect reference number is compared with the sample and updated if the comparison so indicates, whereas if a vehicle is being indicated a tracking reference number is compared with the sample number and both the detect reference number and tracking reference number are updated if the comparison so indicates.
- 8. A method according to claim 7, wherein when the detect reference number is compared with the sample number and found to be different, the cyclical updating operation is performed on the reference number for changes in value in one direction while for changes in the opposite direction the detect reference number is made equal to the sample number in one step.
- 9. A method according to claim 8, wherein the detect reference number is made equal to the sample number in one step only after two successive comparisons have indicated a requirement for a change of the detect reference number in said opposite direction.
- 10. A method according to claim 7, wherein if a comparison of the sample number and the tracking reference number shows the difference to be in excess of the threshold value, the tracking reference number is made substantially equal in one step to the sample number.
- 11. A method according to claim 10, wherein the tracking reference number and the detect reference number both include fractional bytes, and when a difference between the sample number and the tracking reference number exceeds the threshold value, the tracking reference number is made equal to the sample value plus 1/2 and the fractional byte of the detect reference is set to 1/2.
Priority Claims (1)
Number |
Date |
Country |
Kind |
8234408 |
Dec 1982 |
GBX |
|
Parent Case Info
This is a continuation of application Ser. No. 557,302 filed Dec. 2, 1983 now abandoned.
US Referenced Citations (7)
Continuations (1)
|
Number |
Date |
Country |
Parent |
557302 |
Dec 1983 |
|