|Publication number||US3710081 A|
|Publication date||Jan 9, 1973|
|Filing date||Jun 14, 1971|
|Priority date||Jun 14, 1971|
|Publication number||US 3710081 A, US 3710081A, US-A-3710081, US3710081 A, US3710081A|
|Original Assignee||Tamar Electronics Ind|
|Export Citation||BiBTeX, EndNote, RefMan|
|Patent Citations (5), Referenced by (14), Classifications (13)|
|External Links: USPTO, USPTO Assignment, Espacenet|
United States Patent 1 Apitz [451 Jan. 9, 1973  SYSTEM FOR COMPUTING THE Primary ExaminerMalcolm A. Morrison AVERAGE 0F SUCCESSIVE TRAFFIC Assistant Examiner-Jerry Smith MEASUREMENTS Attorney-Sokolski & Wohlgemuth  Inventor: Peter F. Apitz, Fullerton, Calif.  ABSTRACT  Assignee: Tamar Electronics, Inc., Anaheim,
Calif. Successive samplings of digital signals representing traffic measurements are fed to a first digital register,  Filed: June 14, 1971 the signals in this first register being shifted into second and third registers as each successive sampling ] Appl' L789 is received. The input signals as they appear and the signals in each register are sequentially scanned with a  U.S.Cl ..235/150.24,235/92 TC, 340/3l A, scanning counter to produce a pulse output in ac- 340/38 R. 343/112 TC cordanee with the numerical value of the signal at the  Int. Cl. Gofif 15/48 input and that of each of the registers. These signals Field 588ml! 0- 9 C; are appropriately scaled by a factor in accordance 3 31 33 112 C, with the number of samplings taken to produce a 0 26 signal in accordance with an average of these samplings, this pulse count being accumulated in an References Cited accumulator. The signal in the accumulator, which UNITED STATES PATENTS represents the average of each last group of successive samplings evaluated, is continually updated to include 3,506,809 4/l970 Pallat ..235/15() 24 each newly arriving input sampling, with the oldest 3,397,306 8/l968 Aver, Jr. ..340/3l A X sampling being dropped from the computation. The 3.232. 2 10/1970 oto ela a a y v "235/5014 signal in the accumulator is fed to computer circuits 3135622 311323 223325151111; .ifiisiisifsi 9 Claims, 4 Drawing Figures ,12 A3 mmc 232%??? -l REGISTERi w COINCIDENCE LOGIC SHIFT CLOCK GENERATm S EOUENC E R 9 2: 93; SCALING cmcuns couraoc ACCUMU LATOR COMPUTER ClRCUlTS PATENTEDJM 9 I973 CLOCKS I l l SHEU 3 [IF 4 o Q g INVENTOR. PETER E APITZ @KOLSKI a WOHLGEMUTH AT TORNEY S SYSTEM FOR COMPUTING THE AVERAGE OF SUCCESSIVE TRAFFIC MEASUREMENTS This invention relates to traffic control computers, and more particularly to a system for digitally computing the average of a predetermined number of immediately preceding traffic measurements.
In making traffic control measurements, there often are disadvantages in responding to abrupt changes in traffic conditions which might be indicated by a single relatively short term measurement of traffic conditions. This is because a single sampling may not reflect a true traffic trend but may only indicate a very limited short term change in traffic conditions. such as might be cccasioned by a vehicle stalled for a very short period of time, a caravan of cars as in a funeral procession, or brief malfunctioning of a traffic signal. Thus, it is desirable under many circumstances to use an average of several samplings of information in deriving the information to be used for display and computation purposes.
In my recently filed application for TRAFFIC VOLUME COMPUTER, successive sampling computations of the volume of traffic along a roadway as com pared with a reference volume are made. The system of this invention may be used to derive an average of a predetermined number of such volume samplings or of any other similar such digital samplings of traffic conditions which may be taken in a digital traffic control system.
The system of this invention provides an accurate sliding average of the traffic control conditions being measured with an updating of the measurement being provided with each successive input sampling received. The system performs this function with only three memory registers to compute the average of five samples by time sharing these three registers. Further, a scanning counter is utilized which transforms the parallel input information received into serial pulses for easier processing. A sequencing technique is used in handling the successive samplings being averaged so as to accommodate the selection of various numbers of samples in the averaging. The system of the invention thus provides flexibility, high accuracy and continual updating of the sampling information to provide a true average of the traffic conditions under consideration.
lt is therefore an object of this invention to provide more accurate information as to traffic conditions by averaging successively taken samples of traffic measurements.
It is still a further object of this invention to provide means for digitally computing the average of a predetermined number of immediately preceding trafiic measurements.
It is still a further object of this invention to improve the reliability oftraffic measurements.
Other objects of the invention will become apparent as the description proceeds in connection with the accompanying drawings, of which:
FIG. 1 is a functional block diagram illustrating the basic operation of the system of the invention;
FIG. 2 is a detailed block diagram illustrating a preferred embodiment of the system of the invention;
FIG. 3 is a series of waveforms illustrating clock pulses which may be utilized in implementing the preferred embodiment of the invention; and
FIG. 4 is a functional block diagram illustrating the operation of some of the gating control circuits utilized in the preferred embodiment.
Briefly described, the system of the invention utilizes a number of digital registers, this number being three in the preferred embodiment. Signals in accordance with successive samplings of a particular traffic parameter under consideration are fed to the first register, successive samplings being shifted into and retained for a time in each of the registers. A first sampling is scanned by means of a scanning counter to provide a pulse output in accordance with the digital count represented by the register signal in question. This digital signal is appropriately sealed in accordance with the number of samplings to be used in the averaging and this scaled output accumulated in an accumulator. When the first such sampling has been so processed, the samplings in the other registers are successively processed in the same manner, previous samplings having been successively shifted into the various registers. After the input to the first register and each of the other registers has been scanned in this fashion to provide the desired input to the accumulator, a new sampling input is received with the signals in each register being shifted into a succeeding register, this operation being controlled by means of a sequencer. The accumulator and control circuits are then reset to zero and a new averaging cycle commenced with the new sampling being used to replace the oldest sampling. ln this manner, the average is continually updated to include the latest samplings made.
Referring now to FIG. I, the basic operation of the system of the invention is illustrated. The output of traffic parameter computer 5, which may be a binary coded decimal signal representing traffic volume as described in my aforementioned patent application, is fed to digital register 11 which is connected to register [2, the output of register 12 being connected to register l3. Signals may be shifted from register to register by means of shift control 7, which operates in response to sequencer l8. Sequencer 18 is utilized to control successive sequences of operation in which the signals are appropriately processed to provide a digital signal in accordance with the average of the successive samplings, this signal being accumulated in accumula tor 27.
It is to be noted that the various sequences of operation are synchronized by means of a series of successive clock pulses as shown in FIG. 3, these clock pulses being synchronized with those utilized in computer 5 such that a new sampling input will be provided from the computer 5 with each end of sampling pulse (EOS), these pulses appearing between a tenth and a first clock pulse (there being about one EOS pulse for each 10,000 clock pulses).
Let us assume that each of registers l1, l2 and 13 has a signal therein which represents a sampling and there also is a sampling at the input to register 11. During one of the sequences established by sequencer l8, register 13 will be scanned, that is to say, the output of the register is fed through control gates 6 to coincidence logic [6 where it is compared with the output of scanning counter 15. Scanning counter 15 during this sequence receives clock pulses from clock generator 32 through clock gating control 8. Also during this sequence, clock pulses are passed from the clock generator through the gating control to scaling circuits 9 where they are appropriately scaled (divided by a factor in accordance with the number of samplings to be averaged) and fed to accumulator 27. When the count in register 13 is reached by the scanning counter 15, coincidence logic 16 produces a coincidence signal which provides an inhibit signal to clock gating control 8 which inhibits the further passage of clock pulses therethrough to both scanning counter and scaling circuits 9. Thus, the number of pulses passed through the scaling circuits to accumulator 27 during this period is proportional to the count in register 13. Sealing circuit 9, as to be explained more fully in connection with FIG. 2, includes a selector switch for selecting a factor in accordance with the number of samplings to be used in making the average, this factor being divided into the count so that the count in accumulator 27 is appropriately weighted to represent the proportion of the total count in the accumulator contributed by each of the registers and the input to register 11. When the scanning of register 13 has been completed, sequencer 18 advances to a next sequence, scanning counter 15 being reset to zero. The signal in each register is then shifted to a succeeding register. Register 13 is then scanned again as thus described, only this time the signal to the accumulator will represent the sampling previously stored in register 12. In succeeding sequences, register 12, register 11 and the input to register 11 are scanned in similar fashion, with their prorated counts being accumulated in accumulator 27. The signal accumulated in the accumulator will then be the average of the immediately preceding five samples.
After all of the samplings to be used in the averaging have been appropriately scanned and their pro-rated portions accumulated in accumulator 27, the signal in the accumulator is fed to computer circuits 30 and display 31 for appropriate utilization. At the end of the averaging period the accumulator and the scanning counter are reset to zero. With the arrival of a new sampling input at the beginning of a new averaging period, the signals are shifted from register to register by means of shift control 7 in response to the sequencer so that the new sampling input replaces the oldest sampling which had previously been stored in register 13.
Referring now to FIG. 2, a preferred embodiment of the system of the invention is illustrated. Registers ll, 12 and 13 are connected to each other in cascade and receive a parallel shift command from parallel shift and multiplex logic 14. Clock generator 32 provides a series of clock pulses (l-5) and an end of sampling pulse (EOS) as illustrated in FIG. 3, these pulses being fed to sequence, decode and power-interrupt logic 19, from where they are appropriately distributed to control the various functions for each of the sequences of operation. The clock-l pulses are utilized to provide the scanner clock and accumulator clock signals. As already noted, with each new sampling input to register ll, a parallel shift signal is provided in response to the output of sequence decode module 19 to shift the signals into each of the registers successively. Thus, once the system has been placed in operation for at least four input samplings, the registers will each contain one of the samplings with a fourth sampling sitting on the input line to register 1].
Let us now follow through a typical series of sequences. Let us assume that the sample switch of samples/average switch and decode logic 2] is set to 5 to indicate that five samples are to be used in the averaging. Then a first sequence initiated in response to sequencer 18 which provides a control signal to sequence decode and power interrupt logic 19 will cause parallel shift and multiplex logic 14 to couple the output of register 13 to coincidence logic 16 for com parison with the output of scanning counter 15. Scanning counter 15 during this sequence will receive clock pulses (clock-l) which are passed through the logic represented by boxes 17 and 19. These pulses are also fed to AND gate 23. AND gate 23 receives an enable signal from count flip-flop 22 which is set to provide this enable signal by the output of sequencer coincidence logic 20. The output of AND gate 23 is divided by means of divider 24 in accordance with the switch setting on the samples/average switch and decode logic 21 to provide clock pulses for accumulator 27 through divider control and accumulator advance logic 26.
Thus, during this sequence, scanning counter 15 receives clock pulses for each of the clock-l inputs, while accumulator 27 receives inputs for each of these clock impulses divided by the division factor determined by the selected switch setting. When the count in scanning counter 15 reaches the count in register 13, a coincidence signal is developed in coincidence logic l6 which through the logical control circuitry of boxes l7, l8 and 19 provides a reset signal for count flip-flop 22, This produces an inhibit signal from the flip-flop to gate 23 terminating the passage of pulses therethrough to di vider 24 and thus also terminates the pulse flow to accumulator 27. The coincidence signal also provides an inhibit signal to the logical control of box 17 and in hibits the further passage of clock pulses to scanning counter 15. The scanning of register 13 is thus completed and a new scanning sequence commenced.
Before the start of this next scanning sequence, a control signal is provided from sequence decode and power interrupt logic 19 to provide a parallel shift command to registers 11, 12 and 13 to shift these registers once. Thus the signal in register 12 is transferred to register l3 and the signal in register 11 is transferred to register 12. Register 13 is then scanned in the same fashion as just described to provide a new count representing the pro-rated succeeding sample for accumulator 27. When this sequence has been completed, control signals are provided from the sequence decode and power interrupt logic 19 to parallel shift and multiplex logic 14 to scan registers 12 and 11 in succession, in the same manner just described to provide succeed ing signals for the accumulator in accordance with the counts in these registers. Finally, the signal on the input line is scanned and pro-ratedly appears in accumulator 27. The count in accumulator 27 thus represents the average of the five immediately preceding samples fed to the registers.
The contents of accumulator 27 are then parallel shifted into output register 28 in response to a control signal from sequence decode and power interrupt logic 19, this occurring with the initiation of a succeeding sequence. Also during this sequence, the count flip-flop 22, divider 24, accumulator 27 and scanning counter 15 are reset to zero. The signal in output register 28 is fed through output gating logic 29 to computer circuits 30 and display 31 in response to enable signals fed to the output gating logic.
Referring now to H0. 4, the functioning of the logical circuitry in the preferred embodiment is illustrated. Input data which may be in binary coded decimal form is fed in parallel to register 11. The signals are parallel shifted in response to a shift signal fed from logical gating 40 in response to clock-3 at appropriate sequences in the cycle. The outputs of the bits of each of the registers are each fed to a separate AND gate 4la-4ld (only one shown for each register and the input). The AND gates are sequentially enabled during successive sequences in response to enabling signals from logical gating 45. Thus, coincidence logic l6 successively receives the outputs of each of registers 11-13 and the input lines. During each scanning sequence, clock pulses (clock-l) are fed through logical gating control 47 to scanning counter 15 and AND gate 23.
The output of scanning counter 15 is fed to coincidence logic l6 and when the count in the counter reaches that fed to the coincidence logic from the ap propriate register being scanned, a coincidence signal is generated by coincidence logic 16 to provide an inhibit signal to logical gating and control 47, terminating the flow of clock pulses to scanning counter 15 and to gate 23. Gate 23 as already noted provides pulses to divider 24 which are subsequently fed to the aceumulator.
Gate 23 is controlled by the output of count flip-flop 22. At the commencement of the scanning operation, a clock-l pulse provides a reset signal to the count flipflop through logical gating 50, causing the flip-flop to provide an enable signal to gate 23, thus permitting the passage of the clock pulses therethrough. When a coincidence condition has been reached, sequencer coincidence logic provides a set signal to count flipflop 22 in response to the output of coincidence logic 16, thus causing the flip-flop to provide an inhibit signal to gate 23, thus terminating the passage of clock pulses therethrough.
It is to be noted that the control switch of samples/ave switch and decode logic 2] (FIG. 2) can be set to take any number of samples from l to 5. Thus, the system can be operated to use any number of samples up to 5 in the averagingv The system of this invention thus provides a highly accurate technique for obtaining an average of immediately prior samplings of traffic condition. The number of samplings to be taken can be adjusted in the field to suit application requirements. A continuously updated averaging is provided by adding new samplings to the computation as they appear, with the oldest sampling being dropped.
While the system of this invention has been described and illustrated in detail, it is to be clearly understood that this is intended by way of illustration and example only, and is not to be taken by way of limitation, the spirit and scope of the invention being limited only by the terms of the following claims.
I. A system for generating an output signal in ac cordance with the average of a selected number of successive samplings of a vehicle traffic parameter, each of said samplings comprising a coded digital signal, ineluding means for storing each of said signals,
means for sequentially generating trains of pulses, each of said trains having a number of pulses cor responding to a separate one of said stored signals,
means for dividing each of said pulse trains by a factor in accordance with the selected number of samplings, and
means for accumulating the output of said dividing means, the accumulated signal representing the average of said samplings.
2. The system of claim 1 wherein said storing means comprises a plurality of digital registers connected serially to each other and means for shifting the signals from register to register.
3. The system of claim 1 wherein said means for sequentially generating said trains of pulses comprises a clock pulse generator, scanning counter means for receiving the output of said clock pulse generator and means for comparing the count in said counter means with that in each of said storing means in turn and generating a coincidence signal when they are equal and means responsive to said coincidence signal for gating said clock pulses to said dividing means to form said pulse trains.
4. The system of claim 1 wherein is additionally included selector switch means for selecting the number of samplings to be averaged.
5. A system for generating a signal representing the average of a selected number of successive samplings of a vehicle traffic measurement, each of said samplings being represented by a coded digital signal. comprising register means for registering each of said digital signals,
means for generating a train ofclock pulses,
scanning counter means for counting said clock pulses,
means for comparing the count in each of said registers and that held at the input of one of said registers with the count in said scanning counter means and generating a gating control signal when there is coincidence therebetween,
gating means for gating clock pulses in accordance with said gating control signal,
sealing means for dividing the output of said gating means by a factor in accordance with the selected number of samplings, and
accumulator means for accumulating the output of said sealing means whereby the count in said accumulator means represents the average of the samplings.
6. The system of claim 5 wherein said scaling means includes switch means for selecting the number of samplings.
7. The system of claim 5 wherein is additionally in cluded sequencer means for sequentially controlling the feeding of the signals in each of said registers and on the input line to one of said registers to said comparing means and for shifting the signals from register to register.
8. The system of claim 7 wherein said sequence means controls the feeding of a new successive sampling to said registers and the removal of the oldest sample from said registers as each new coded digital signal arrives at the input of said registers.
9. The system of claim and further including display means and computer circuit means for receiving signals representing the count in said accumulator means.
|Cited Patent||Filing date||Publication date||Applicant||Title|
|US3358126 *||Sep 3, 1963||Dec 12, 1967||Gen Signal Corp||Traffic signal controller cycle computer|
|US3397306 *||Dec 1, 1964||Aug 13, 1968||Gen Signal Corp||Apparatus for updating running average of measured traffic parameter|
|US3406395 *||Aug 25, 1966||Oct 15, 1968||Sperry Rand Corp||Vehicle characteristic sensing and measuring apparatus for vehicular traffic control|
|US3506809 *||Feb 21, 1967||Apr 14, 1970||Lfe Corp||Speed averaging circuit|
|US3536900 *||Oct 16, 1967||Oct 27, 1970||Omron Tateisi Electronics Co||Apparatus for detecting traffic delay|
|Citing Patent||Filing date||Publication date||Applicant||Title|
|US3781824 *||Nov 20, 1972||Dec 25, 1973||Gen Motors Corp||Solid state crash recorder|
|US3906438 *||Feb 14, 1973||Sep 16, 1975||Siemens Ag||System for monitoring traffic conditions in connection with the control thereof|
|US3927389 *||Dec 6, 1974||Dec 16, 1975||Automatisme Cie Gle||Device for determining, during operation, the category of a vehicle according to a pre-established group of categories|
|US4680461 *||Sep 12, 1985||Jul 14, 1987||Thomson-Csf||Picture intensifier tube with memorization|
|US5164904 *||Jul 26, 1990||Nov 17, 1992||Farradyne Systems, Inc.||In-vehicle traffic congestion information system|
|US5173691 *||Jul 26, 1990||Dec 22, 1992||Farradyne Systems, Inc.||Data fusion process for an in-vehicle traffic congestion information system|
|US5182555 *||Jul 26, 1990||Jan 26, 1993||Farradyne Systems, Inc.||Cell messaging process for an in-vehicle traffic congestion information system|
|US7908080||Dec 31, 2004||Mar 15, 2011||Google Inc.||Transportation routing|
|US8606514||Apr 23, 2013||Dec 10, 2013||Google Inc.||Transportation routing|
|US8798917||Aug 9, 2013||Aug 5, 2014||Google Inc.||Transportation routing|
|US20050248469 *||Jun 28, 2005||Nov 10, 2005||Dekock Bruce W||System for providing traffic information|
|US20060058941 *||Nov 8, 2005||Mar 16, 2006||Dekock Bruce W||System for providing traffic information|
|US20060074546 *||Oct 28, 2005||Apr 6, 2006||Dekock Bruce W||System for providing traffic information|
|EP0351003A1 *||Jul 6, 1989||Jan 17, 1990||Trt Telecommunications Radioelectriques Et Telephoniques||Device for determining contrasted objects in an image|
|U.S. Classification||701/117, 342/451, 342/456, 701/118, 377/9, 377/49, 340/934|
|International Classification||G06F17/18, G08G1/01|
|Cooperative Classification||G06F17/18, G08G1/0104|
|European Classification||G06F17/18, G08G1/01B|