GB1603474A - Apparatus for recording events - Google Patents

Apparatus for recording events Download PDF

Info

Publication number
GB1603474A
GB1603474A GB36632/80A GB3663280A GB1603474A GB 1603474 A GB1603474 A GB 1603474A GB 36632/80 A GB36632/80 A GB 36632/80A GB 3663280 A GB3663280 A GB 3663280A GB 1603474 A GB1603474 A GB 1603474A
Authority
GB
United Kingdom
Prior art keywords
data
recorder unit
recorder
memory
program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
GB36632/80A
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
MANGOOD Ltd
Original Assignee
MANGOOD Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by MANGOOD Ltd filed Critical MANGOOD Ltd
Publication of GB1603474A publication Critical patent/GB1603474A/en
Expired legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • G08G1/0125Traffic data processing
    • G08G1/0129Traffic data processing for creating historical data or processing based on historical data
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • G08G1/0108Measuring and analyzing of parameters relative to traffic conditions based on the source of data
    • G08G1/012Measuring and analyzing of parameters relative to traffic conditions based on the source of data from other sources than vehicle or roadside beacons, e.g. mobile networks

Landscapes

  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Time Recorders, Dirve Recorders, Access Control (AREA)
  • Traffic Control Systems (AREA)
  • Recording Measured Values (AREA)

Description

PATENT SPECIFICATION
( 11) 1603474 ( 21) Application No 36632/80 ( 22) Filed 31 March 1978 ( 19) ( 62) Divided out of No 1603473 ( 31) Convention Application No 789416 ( 32) Filed 21 April 1977 in ( 33) United States of America (US) ( 44) Complete Specification published 25 Nov 1981 ( 51) INT CL 3 G 06 M 3/06 GO 7 C 5/00 ( 52) Index at acceptance G 4 D BD ( 54) APPARATUS FOR RECORDING EVENTS ( 71) We, MANGOOD LIMITED, a British company, of Polo Field Estate, Penteg, Pontypool Gwent NP 4 5 YP, Wales, do hereby declare the invention, for which we pray that a patent may be granted to us, and the method by which it is to be performed, to be particularly described in and by the follow-
ing statement:-
This invention relates generally to instruments for measurement and recording, and more particularly, to a recorder unit for measurement of events or conditions at a surveillance site, and for recording and collection of data based on such measurement The recorder unit claimed herein forms part of an apparatus claimed in our copending application number 12675/78 (Serial No 1603473) and attention is directed thereto A further part of said apparatus is a reader instrument claimed in our further copending application Number 8036633 (Serial No 1603475).
This invention has general utility in the measurement and recording at a surveillance site of data relating to events or conditions that require counting and classifying, such as vehicle traffic on highways, pedestrian traffic through halls and malls, product movement on production or processing lines, the type and amounts of particular material or gases (CO and NOÄ) in the atmosphere and the incidence of high noise levels adjacent highways, airport runways or in factories In a preferred form, the invention is applicable specifically to the recording and collection of vehicle traffic data, for which it is particularly well suited.
In general, it will be recognized that measurement and recording of data as to events and conditions of the kind described have been carried out heretofore with the use of both local and central type system With both types of systems, sensors or detectors are typically employed at surveillance sites for detecting the conditions or events under surveillance and supplying signals to apparatus at the sites Local data recorder systems use apparatus of many different types The simplest type of such apparatus includes counters which are incremented by signals from the detectors and accumulate a total count which is displayed on a dial More complex apparatus provides for processing the signals from the detectors to derive other data, for example, in the case of highway vehicle monitoring systems, velocity, vehicle type and other traffic data which are recorded on paper or magnetic tape To collect the data, personnel visit the surveillance sites and read the instrument dials or remove the records in the form of a roll of paper tape or cassette or reel of magnetic tape on which the data is recorded.
Central data recorded systems usually employ cables or telephone line connections from the apparatus at the site which is utilized to transmit the data over such cables or lines to a central processor and recorder.
In such central systems, the apparatus at the site may be solely electrical or electronic apparatus for processing the signals from the detectors and converting those signals to a form suitable for line transmission to the central processor and recorder.
Local recorder systems, in general, have a number of advantages such as lower initial equipment cost and lower installation cost, and greater flexibility since the individual field recorder units may be shifted from one location to another as the need changes for information Central recorder systems, while more costly in initial equipment and installation, are generally capable of obtaining and recording data of more complex character In addition, because the unit at each site location of a central recorder system, serves only to process and transmit the data to a central recorder, the transmitter unit, in general, is of relatively simple construction and may be totally electronic with no recorder mecha1 1 1 r0 " 1 1 Fi' ' 1 ' 1 ': ' 1.
1 1 ' 11' 1 'I1 1 1 ' 1 ' ' 1,603,474 nism or other mechanical device being required as a component.
In the case of local recorder systems, the mechanical parts of recorder devices in the recorder units raise problems in system operation These problems range from reliability and maintenance problems, particularly where the recorder units are out-ofdoors and subjected to moisture, vibration, vandalism, temperature variations, etc, which may cause interruptions in operation or affect data reliability; to problems in data collection Personnel charged with the responsibility of collecting the data travel to each site, remove the paper tape or magnetic tape record, replace the used record, and inspect the units to determine whether they are operating properly Most local recorder units are desirably self-powered by batteries, and such recorder mechanisms consume substantial power and drain the batteries so that battery recharging or replacement on a frequent basis is necessary.
Thus, both local and central data recorder methods have their advantages and disadvantages The disadvantages of the local recorder system revolve mainly about the practical problems of physically collecting the recorded data and maintaining the local recorder units due to their mechanical complexity and relatively heavy power consumption to insure consistent operation and reliable data Furthermore, local recorder systems as presently known are not capable of processing detector signals to derive and classify data as to events or conditions of widely varying types without replacing the field units or components thereof.
It is an object of this invention to provide a local recorder unit for use in a system which affords certain, although not all, advantages of central recorder systems while retaining the advantages of local recorder systems and eliminating their principal disadvantages.
According to this invention there is provided a recorder unit for location adjacent a surveillance side and arranged to be connected to detector means located at the surveillance site and providing signals representative of events occurring at said site, said recorder unit including memory means for storage of data, circuit means operable to record data in said memory means and to read data from said memory means, said circuit means including means for accumulating counts of said events in response to signals from said detector means, terminal means connected to said circuit means and for connection to an external device, and means for operating said circuit means to read data from said memory means in response to read instructions received from said external device via said terminal means, and to transmit such data to said external device via said terminal means.
The invention ill now be described by way of example with reference to the accompanying drawings, wherein:
Figure 1 illustrates a recorder unit in accordance with this invention connected by 70 a cable to a separate, manually portable reader instrument, Figure 2 is an overall system diagram illustrating different methods for using the recorder unit with a reader instrument and 75 showing that data read by a reader instrument from a plurality of local recorder units and re-recorded on a recording device in the reader instrument, is transferrable by subsequent readout from the reader instrument to 80 another recording medium for subsequent processing, such as a disk recorder, a computer, an IBM (R T M) compatible tape unit, etc Alternatively, with an acoustical coupler from the reader instrument, the 85 recorded data in the recording device of the reader instrument may be transferred over telephone lines to a central processor The system also illustrates direct transfer to telephone lines from the recorder units for 90 transmittal to a central processing unit, or other peripheral device.
Fig 3 is a schematic diagram illustrating a local recorder unit connected to vehicle detectors on a roadway, at a road site and 95 connected by a cable to a reader instrument, the basic circuitry of the recorder instrument and reader instrument being illustrated in block diagram form.
Figs 4 A and 4 B taken together illustrate in 100 schematic form the circuitry for a recorder unit and reader instrument.
Figs SA and 5 B depict a flow diagram which the data processing system of the recorder unit of this invention 15 utilizes 105 Fig 6 depicts a general flow diagram for a recorder unit program for deriving and storing vehicle classification data.
Fig 7 illustrates detector relay contacts for multiple 20 detector systems 110 Fig 8 illustrates diagrammatically the relation between detector outputs and flag control signals.
Figs 9 A-9 D depict a flow diagram for a recorder unit program, showing in more 115 detail than in Fig 6, a sequence for deriving and storing vehicle classification data.
Figs l OA-IOB depict a flow diagram which the data processing system of the reader instrument which may be used with 120 this invention.
While the invention has utility in various fields for measurement and recording of data relating to events or conditions that require counting and classifying, such as in the field 125 of pollution control where it is desired to detect, classify and record data as to pollutants (particulate or gases) in the atmosphere, or in the field of noise control where it is desired to detect, classify and record noise 130 -?-3 1,603,474 3 levels both inside buildings and out-of-doors, for the purpose of setting forth a preferred embodiment, the invention is shown in the drawings, and will be described hereinafter embodied in apparatus for vehicle traffic surveillance.
Referring to Fig 1, a recorder unit 20 is connected by a cable 22 to detectors 1, 2, 1 ', 2 ' providing output signals to the recorder unit 20 In this field of: use, the detector output signals represent vehicles passing on the roadway which are to be counted and classified In other fields of use, sensors or detectors will be used in a similar manner to produce signals representing the event or condition under surveillance Included within the recorder unit 20 is a central processor unit (CPU) and semi-conductor memory for program and data storage, the CPU being operated under program control to process the signals received from the sensors or detectors and store in the semiconductor memory data derived from the detector output signals Applied in the field of traffic surveillance, traffic data in the form of vehicle count and classification is derived from the detector outputs and such traffic data is stored within the semi-conductor memory of the recorder unit for subsequent readout, Also shown in Fig I is a portable reader instrument 24 which can be interconnected with the recorder unit 20 by a cable 26 A plug on one end of the connecting cable 26 is insertable into and removable from a terminal receptacle 30 on the recorder unit casing 32, and by means of this connecting cable 26 the reader instrument 24 may be interconnected with an individual one of a number of different recorder units, each adapted to be placed at a surveillance site, such as a roadside location, in the case of traffic surveillance.
The reader instrument 24 has a control panel 34, as indicated in Fig 1, providing a keyboard 36 for manually controlling the reader instrument, and via the connecting cable 26, the recorder unit 20 Also provided on the control panel 34 of the reader instrument 24 are pushbutton switches 38, toggle switches 40, a visual display device 42, and a tape recording device 44 Included within the reader instrument 24 is a central processor unit (CPU) and semi-conductor memory for storage of programs Programs are stored for operating the CPU of the reader instrument 24 under program control to read data from the memory component of the recording unit 20, under command from the reader instrument, and re-record such data on magnetic tape by means of the recording device 24.
Programs are also stored in the reader instrument memory for transfer and loading into the program storage memory of the recorder unit 20.
Both the recorder unit 20 and reader instrument 24 are housed in weather-proof casings, the recorder unit casing being sealed since access into the unit is not required under conditions of normal use in the field 70
Access of the internal operating components of the recorder unit is provided by way of the "modem" and "detector" receptacles and the terminal receiptacle 30 on the outside of the recorder unit casing The reader instrument 75 casing has a hinged cover which when closed provides a weather-proof casing, and the reader instrument 24 is manually portable for carrying from one site to another for collection of data stored in recorder unit 80 memory by persons charged with that task.
The reader instrument 24 is also provided with the capability of reading data stored on recording medium such as magnetic tape and transmitting it to standard receiving equip 85 ment such as a disk recorder, a computer, a tape recorder, or other similar unit of a processor center The processor center may be equipped with a tape reader, and in such event a cassette of magnetic tape may be 90 removed from the reader instrument recording device, and the data on the cassette tape read in the processor center With an acoustical coupler, the recorded data on tape in the recording device of the reader instrument 95 may be transferred over telephone lines to a processor center, as shown in Fig 2 Direct transfer to telephone lines from the recorder units for transmittal to a central processing unit is achieved with the recording unit of 100 this invention having included therein a device DAA for reading data from the memory component of the recorder unit 20 and converting such data into form suitable for direct telephone line transmission to a 105 processor center.
Recorder units 20 of this invention are supplied with signals from detectors or sensors that represent the event or condition under surveillance In the field of traffic 110 surveillance, vehicle representing signals are provided by detectors actuated by vehicles on the roadway Such detectors may be pressure responsive devices, inductance loop type detectors, or other devices for providing 115 vehicle representing signals as desired For purposes of describing the invention, the recorder unit 20 in Fig I is shown connected by the cable 22 to inductance loop type detectors on the highway, and signals from 120 the detectors provide via the cable input signals to the recorder unit circuitry Various arrangements of such inductance loop type detectors may be utilized depending on the data required For example, to count vehicles 125 and record count data, the simplest case, a single inductance type loop detector in each lane of, illustratively, a two-lane highway having north and south bound lanes, will provide the requisite signals for counting 130 II 1,603,474 1,603,474 vehicles in each lane To derive more complex data, such as vehicle velocity, two detectors are installed in a lane at a known spacing, for example, 16 feet from the leading edge on the first detector (detector #1) and the leading edge of the second detector (detector 2) in the direction of travel of the vehicles With two conventional inductance loop detectors in each of lanes I and 2, each detector with its associated circuitry may be connected, as shown diagrammatically in Fig 7, to actuate relay contacts 1-1, 1-2 and 2-1, 2-2, and produce an output signal representing a vehicle moving over the detector When the vehicle reaches the leading edge of the detector, the relay contacts are closed, and such contacts remain closed until the vehicle leaves the detector Referring to the diagrammatic timing diagram Fig 8, vehicle representing signals from the two detectors (detectors # 1 and #2) in a lane are shown as pulses or voltage levels established and maintained by the detector contacts 1-1, 1-2 From detector #1 (the first detector in a lane in the direction of vehicle travel), a pulse is supplied for the duration a vehicle is over detector #1 From detector #2 (the second detector in the same lane), a pulse is supplied for the duration a vehicle is over detector #2.
As will be explained hereafter, with the distance between the leading edge of detector #1 and detector 2 being known, and the time for the vehicle to travel that distance being represented by the time interval T, between the leading edge of the first pulse and the leading edge of the second pulse, velocity for that vehicle may be derived.
Moreover, in carrying out the invention, with the velocity having been derived for a vehicle, and the duration of time T 2 for the vehicle to move over detector #1 being represented by the length of the first pulse, the length of the vehicle may be derived to provide vehicle length data.
In accordance with the present invention, the recorder unit 20 is constructed as shown in Fig 3 using a central processor unit (CPU) 46 preferably directly connected with program and data storage means (memory) 50.
The input/output circuitry 48 interfaces with the peripheral devices to which the recorder unit 20 is connected, such as vehicle detectors and a reader instrument 24 As earlier noted, the recorder unit 20 may be connected via lines with other peripheral devices in a processor center (see Fig 2) such as a CRT terminal, a computer, disk storage unit or the like through a modem.
In keeping with the preferred form of the invention, the CPU 46, program and data storage means 50 and input/output circuitry 48 are implemented with semi-conductor chips and for the CPU 46 it is preferred to utilize a microprocessor, Intersil IM 6100 having been found suitable and being preferred for that purpose A standard RAM memory system organized in a plurality of memory fields is preferably employed to provide the program and data storage means 70 It is recognized, however, that other microprocessors, and other forms of program and data storage, or data processing and memory storage circuits constructed using discrete components, may be used and the 75 invention is not limited to the specific components described hereinafter It is preferred, however, to operate a programmable processor under program control to perform the various functions carried out by the recorder 80 unit, alone and in association with the reader instrument 24 and other peripheral devices.
It has been found that recorder units so constructed and operated provide many advantages when used in the field with the 85 reader instrument Where the recorder units are utilized to derive and store traffic data, the reader instrument may be utilized to monitor and display the velocity and other traffic data concerning vehicles passing on 90 the highway without interrupting the ongoing recording process, to calibrate the recorder units based on operator observation, to reprogram the recorder units to change the type of traffic data derived and stored, as well 95 as to read data stored in the recorder units and re-record it in the reader instrument The combination of recorder units and reader instrument provides a more facile system for collecting traffic data How that is achieved 100 will appear from the following.
The reader instrument 24, like the recorder unit 20, is constructed using a central processor unit (CPU) 52, data storage means 53, with input/output circuitry 54 for interfacing 105 with the devices on the control panel 34 including the visual display device 42, such as an LED or LCD display and also the peripheral devices to which the reader instrument is connected, principally the recorder 110 unit 20 as shown in Fig 3 It will be recalled, however, that the reader instrument 24, as shown in Fig 2, may be connected to other peripheral devices for transmittal of data recorded in the recording device 56 of the 115 instrument The block diagram of Fig 2 of the circuitry of the reader instrument will be recognized, as will the block diagram for the recorder unit circuitry, as conventional block diagrams for microprocessor based products 120 The reader instrument 24 is operable to monitor the operation of the recorder unit 20 and display to the operator on the display 42 one or more of the various traffic conditions being recorded, as they are recorded by and 125 without affecting the ongoing recording process carried out in the recorder unit The reader instrument 24 further includes means for calibrating the recorder unit and for loading programs into the memory 50 inter 130 II 1 1 1,603,474 faced with the programmable processor of the recorder unit, the data storage means 53 of the reader instrument being provided for recorder unit program storage as well as program storage required for program control of the functions of the reader instrument.
While heretofore, local recorder units have had a single mode of operation to record data as to traffic conditions, means are provided in the reader instrument to change the operating mode of the recorder unit of this invention from a recording mode to a transmitting or readout mode, such that the recorder unit and reader instrument operate in combination to provide for recording data and for reading out the data for subsequent processing, analysis and use.
The data collection procedure with this invention can be readily contrasted with that presently used Presently, the person charged with data collection travels to each recorder unit site, opens the recorder unit case, removes the paper tape or cassette of magnetic tape with the recorded data from the unit, and writes information in a notebook or tag as to the station number, data, etc A new roll of paper tape of fresh section of unused tape is threaded into the printed device, or a fresh cassette is inserted into the recorder unit and the unit is reset for ongoing recording The batteries must be inspected as well as the machine overall to insure it is operating properly The record tape is carried to the central recorder station where the data is then converted to bunch cards, printed records or otherwise processed.
With the system employing the recorder unit of this invention, the person charged with data collection carries the portable reader instrument 24 to each recorder unit site and couples the cable 26 to a weatherproof receptacle 30 on the outside of the case of the recorder unit (Fig 1) This automatically connects the reader instrument 24 and the recorder unit 20 electrically The reader instrument keyboard 36, pushbuttons 38 and toggle switches 40, through the circuitry provided in the instrument, are operable to transmit commands to the recorder unit over the cable 26, and also to record on the record medium in the recording device 44 of the reader instrument, station number, date and other header data as a preliminary to reading data from the recording unit The data stored in the memory of the recorder unit 20 may also be verified for station number, time, date and validity, to determine whether the recorder unit has been operating properly.
Provision is thus made for determining whether the recorder unit 20 is malfunctioning, and if so, the unit may be replaced in the field.
The collection procedure with checking for proper operation of the recorder unit 20 and validity of the stored data is a very simple and rapid procedure with the present invention, involving only plugging in the reader instrument cable 26 to the recorder unit 20 and performing the verification and header procedures with the aid of the manual 70 controls of the reader instrument 24.
The apparatus of our aforesaid co-pending application facilitates the data collection procedure as well as the procedure of processing the data, by using in the reader 75 instrument 24 a recording device 44 having a data storage capacity which is much greater than the data storage capacity of the individual local recorder units 20 Using, as preferred, cassettes of magnetic tape as the 80 storage medium in the reader instrument 24, data gathered from a plurality of local recorder units 20 may be recorded on a single cassette of tape This not only facilitates collection of data by reducing the number of 85 cassettes required to be handled in the field, but also facilitates the processing of data at the processing center and eliminates errors since the data read from each local recorder unit 10 and recorded on the magnetic tape is 90 clearly identified on the tape itself.
The recorder unit 20 is operative in a number of different modes When connected only to the detectors of an adjacent highway (lanes I and 2, detectors # 1, #2), it is 95 operative in a recording mode involving processing under program control signals received from the detectors to derive traffic data, such as vehicle count, velocity and/or length, and recording such traffic data in the 100 memory components of the recorder unit.
When also connected to the reader instrument 24, the recorder unit 20 is operative in one of several different modes under control from the reader instrument For example, the 105 recorder unit is operative to continue recording of traffic data and also to display such data on the visual display device 42 provided by the reader instrument a display mode; the recorder unit 20 is operative to read 110 traffic data from its memory components, which data is re-recorded in the recording device 44 included in the reader instrument a read mode; it is operative to change the programs in the program memory compo 115 nent of the recording unit, such new programs being transferred from the reader instrument a re-programming mode; it is operative to be calibrated by instructions received from the reader instrument a 120 calibration mode; it is operative to check its programs and processing routines and subroutines a diagnostic mode These are exemplary of the various modes in which the recorder unit is operative 125 With regard to the reader instrument, when connected to the recorder unit it is operative in corresponding modes to those described for the recorder unit, i e, a read rerecord mode, a display mode, a recorder 130 1 ' X ', ' 1,603,474 calibration mode, a recorder diag mode The reader instrument is also op to set up or reset the recorder unit recording mode of operation.
As stated above, various conven CPU's and memory devices may be us the recorder unit 20 and receiver instn 24 to carry out, under program contn functions of these devices Intersil brc 40 M 8/75 describes the IM 6100 mici cessor previously referred to as a suitab preferred CPU for both the recorder un reader instrument Briefly summarizii dscription contained in said brochure, t 6100 CPU is a single address, fixed length, parallel transfer microprocessor 12-bit, two's complement arithmetic internal circuitry is static and desigr operate at any speed between DC ar maximum operating frequency The C supplied with external crystal clock si These signals are utilized to establis timing and state signals internally E timing and state control circuit The C also supplied with pulses on a freq related to real time, and through the prn control of the CPU provides a time synchronized with time of day and p ting under program control, storage of or other data in separate memory locati predetermined fixed time intervals, st one half hour or one hour, so that subsequently read out an additional it data is provided, namely, the time of traffic flow conditions.
The CPU is diagrammatically illus in Figs 4 A and 4 B as comprising an acc lator (AC) which is a 12-bit registei which arithmetic and logical operation performed Data words may be fetched RAM memory to the accumulator orl from the accumulator into memory.
accumulator also serves as an input/c register and all programmed data tr; passes through the accumulator.
The 12-bit memory address rc (MAR) contains the address of the m( location that is currently selected for re or writing The MAR is also used internal register for microprogram ci during data transfers to and from m( and peripheral devices The 12-bit prccounter (PC) contains the address c memory location from which the ne:
struction is fetched During an instri fetch, the PC contents are transferred memory address register and the PC is incremented by one Branching nor takes place under program control, ho% during an input/output operation, a pi eral device may specify a branch ad Under program control, skip instri increments may be achieved with th and a peripheral device can also caul next sequential instruction to be skippi the PC.
The arithmetic and logical unit (ALU) performs both arithmetic and logical operations two's complement binary addition, AND, OR and complement 70 The 12-bit input/output multiplexer handles data, address and instruction transfers, into and out of, the CPU, from or into, the main memory and peripheral devices on a time-multiplexed basis 75 During an instruction fetch, the instruction to be executed is loaded into the instruction register (IR) The programmed logic array (PLA) is then used for the correct sequencing of the CPU for the appropriate instruction 80 After an instruction is completely sequenced, the major state generator scans the internal priority network, the state of which decides whether the machine is going to fetch the next instruction in sequence or service one of 85 a plurality of external request lines.
The memory and device control unit provides external control signals to communicate with peripheral devices, memory and other registers 90 The instructions of a program for control of the CPU are 12-bit words stored in memory The CPU makes no distinction between instructions and data which are transferred into and one of the CPU via the 95 multiplexer and accumulator The preferred IM 6100 microprocessor has a basic addressing capacity of 4 K 12-bit words, which may be expanded A preferred memory system is organized in 4 K word blocks called memory 100 fields Each memory field is subdivided into pages numbered sequentially The high order bits of a 12-bit memory address denote the page number and the lower order bits specify the address of the memory location within 105 the given page During an instruction fetch cycle, the contents of the program counter are transferred to the memory address register and the program counter is incremented by one so that it contains the address of the 110 next sequential instruction.
The CPU utilizes a technique of addressing a location pointed to by the contents of the PC Locations on a current page of the memory system are directly addressed by the 115 MAR contents, and locations on other pages are indirectly addressed by a pointer address in a directly addressable location on the current page.
There are three general classes of memory 120 instructions, referred to as memory reference instructions (MRI), operate instructions (OI), and input/output transfer instructions (IOT).
The memory reference instructions (MRI) operate on the contents of a memory location 125 or use the contents of a memory location to operate on the accumulator or the program counter The operate instructions (OI) consist of groups of microinstructions used to perform logical operations on the contents of 130 1,603,474 the accumulator, to test the contents of the accumulator or to perform logical operations on the contents of the accumulator and other registers.
- 5 The input/output transfer instructions (l OT) are used to initiate the operation of peripheral devices and to transfer data between peripheral devices and the CPU The IM 6100 provides for three types of data transfer with peripheral devices; programmed data transfer; interrupt transfers used in interrupt systems to service several peripheral devices simultaneously permitting computational operations to be performed concurrently with data transfer operations; and direct memory access by which variblesize blocks of data are transferred between peripheral devices and the memory with a minimum of program control.
After an instruction is completely sequenced, the major state generator scans the internal priority network, the state of the priority network deciding the next sequence of the machine This priority network is connected to wait and reset lines If no signals appear on such lines, the CPU fetches the next instruction pointed to by the contents of the program counter.
While various memory systems may be utilized, a preferred system for a recorder unit 20 constructed using an TM 6100 CPU which has a basic addressing capacity of 4 K 12-bit words, employs integrated circuit RAM semi-conductor chips providing a full 32 K words of memory, to provide capacity for storing large amounts of program instructions and traffic data The data is represented in memory location in unsigned integer notation in the preferred memory system.
With the maximum number ranges for such a notation being 4094, it will be noted that since the maximum vehicle count per lane on the heaviest traveled highway does not exceed 2000 vehicles per hour, the accumulated vehicle count for two lanes may be stored in one memory location without overflowing, when accumulated for separate one hour periods Optionally, with double precision, the maximum number range will be about ( 4 K)2, and a greater vehicle count may in such case then be stored.
The memory system also provides the "registers" referred to in connection with the programs detailed later Thus, the memory system provides memory locations, rather than requiring discrete memory registers, serving the category register functions wherein vehicle velocity and vehicle length data, for example, are accumulated for periods of time followed by the transfer of accumulated totals to separate memory locations.
Further details on the memory system architecture and organization may be obtained by referring to the previously identifled brochure for the CPU IM 6100, 40 M 8/75 Said brochure also provides information as to how to program this particular CPU With the use of such information, a programmer can write the software and 70 program this CPU to carry out desired functions Of course, the software will vary depending on the particular functions to be performed In order to explain this invention, illustrative programs are described here 75 inafter for the recorder unit and receiver instrument CPU's when used in the field of traffic surveillance, but it should be understood that by modifying and changing the programs, this apparatus may be suited for 80 measurement and recording in the other fields mentioned hereinbefore.
The various functions carried out by the recorder unit 20 and reader instrument 24 under program control may best be under 85 stood by referring to program flow charts on Figs 5, 6, 9 and 10 It is well within the capability of one having ordinary skill in the art to program a microprocessor of standard type to implement these flow charts 90 A program for vehicle counting is shown in Figs 5 A-5 B, and will be used as a simple example to explain various functions of the recorder unit While other programs may be used, more complex programs are shown in 95 Figs 6, 9 and 10, for controlling the recorder unit to derive and store more complex traffic data, and for controlling the reader instrument when connected to the recorder unit.
The recorder unit may be considered 100 located at a roadside site and connected to single detectors in each lane of a two-lane road to monitor traffic in both lanes To operate the recorder unit in accordance with the invention, a program for vehicle counting 105 described in the flow chart of Figs 5 A-5 B is stored in the recorder unit memory to operate the CPU to derive vehicle count from vehicle representing signals from the lane detectors, which is the desired traffic data, 110 and store vehicle count for each lane for onehour periods in separate locations in the memory system.
Referring again to Fig 5 A, it will be seen that with the power turned on in the recorder 115 unit and after the recorder unit processor executes a clear routine in response to the reset switch being actuated, the step is executed to transfer the detector input signals appearing on the data input ports of the CPU 120 to the accumulator The incoming signals from the detectors are routed by the input/ output circuitry to specific processor ports which are used for transfer of data to and from the accumulator on a time multiplexed 125 basis, while other ports transmit and receive control and clock signals.
In the case of the vehicle counting program flow charted in Figs 5 A and 5 B, this program provides for counting vehicles in a 130 1,603,474 multiple lane highway adjacent the site at which the recorder unit is located and contemplates counting vehicles in up to 12 lanes of traffic The input/output circuitry thus provides for transfer of the outputs from single detectors in each of up to 12 lanes to separate processor ports The preferred CPU of the recorder unit has an accumulator (AC) which is a 12 bit register to which up to 12 detector outputs are transferred via 12 specified input/output ports in the form of a positive or a zero voltage level (" 1 " or " O ") representing the state of the detector contacts.
Referring to Fig 5 A, the program there illustrated shows as the first step "clear read flag" In this program, reading of vehicle count data from memory and transfer of such data to the read instrument on command, is interleaved with measurement and recording of vehicle count, so that the ongoing measurement and recording process proceeds without interruption as the read operation is carried out Thus, with the reader instrument connected to the recorder unit, by operating the reader instrument keyboard to issue a read command, a flag signal is established which will result in the transfer of vehicle count data stored in semiconductor memory of the recorder unit, to the reader instrument for re-recording As a first step in this program, however, the read flag if established is cleared, so that the measurement and recording process may proceed.
Thus, the next step is "input 12 contacts", which represents that the detector outputs for as many lanes as are being monitored and which are connected by the input/output circuitry to corresponding processor ports, are transferred as " I's" or " O 's" to the accumulator of the CPU of the recorder unit.
The program compares the contents of the accumulator each program cycle, with the contents the previous program cycle A change in any bit, when caused by a vehicle passing from the zone over the detector, is counted as a vehicle One practical problem arises because of detector relay contact bouncing in the periods of transition between states which produce multiple changes in bits of input data The next step in the program is "debounce delay", an interval introduced to permit successive scans of the processor ports during the same program cycle in order to determine whether any change in voltage level is the result of detector relay contact bouncing, which represents a spurious change of state of the contacts rather than an actual change of state of the detector outputs representing a vehicle entering or leaving the zone over a detector and thus, a vehicle which should be counted In the present case, a vehicle is counted when it leaves the zone over the detector in the lane the vehicle is traveling That is reficted by a negative transition of the pulse produced by the detector relay contacts, from a positive voltage level to a zero voltage level (a "I" to a " O ") Under program control the CPU looks 70 for the trailing edge of the detector contact output pulse in each lane, ignores pulse oscillations caused by contact bouncing as spurious signals, and increments a counter in response to each such negative transition or 75 trailing edge of a pulse to count vehicles.
In some cases of traffic surveillance, it is desired to accumulate vehicle count in groups of lanes rather than in separate lanes.
In the program shown on Fig 5 A, provision 80 is included for subdividing the 12 lanes of a highway into groups of lanes as desired, using a "category counter register" to accumulate vehicle count in such lanes A "category counter register" is successively incre 85 mented each program cycle to store the vehicle count for multiple lanes After the count for that group of lanes has been accumulated for a period of time, the accumulated count is transferred to data storage 90 The counter and register functions, as well as the data storage function, is served by locations in memory, in the preferred form of the invention, rather than by separate discrete components, and the locations in mem 95 ory are pointed to by pointers.
As shown in Fig 5 A, each program cycle the 12 input/output ports of the processor are successively scanned (input 12 contacts input 12 contacts) after an interval described 100 as "debounce delay", until any oscillation of the relay contacts has passed, and the contents of the accumulator have stabilized for that program cycle Then the question is asked "Any new contacts?" In this step, the 105 contents of the accumulator are compared with the contents of the accumulator the previous program cycle to determine whether any bit in the accumulator register has changed If "yes", the program enters a 110 sequence to count vehicles in groups of lanes.
The first step is to "rotate contacts" The accumulator is rotated, i e, a shift operation is performed to transfer the contents of the accumulator bit-by-bit in serial order to the 115 link, a one-bit register, and under program control each bit in the accumulator is compared with the corresponding bit in the accumulator during the previous cycle to determine any change; the circuitry performs 120 the "Exclusive OR" function and produces a "high" or "I" output responsive to any such change which represents a vehicle to be counted Thus, after the step "rotate contacts", there is shown the step "increment 125 group counter" The group counter is utilized to keep track of the number of lanes making up a group Thus, if the lanes are to be grouped into two 6-lane groups, the group counter is incremented twice as the accumu 130 1,603,474 lator is rotated once If the lanes are to be divided into four 3-lane groups, the group counter is incremented three times while the total 12 bits of the accumulator are shifted through the link Each sub-sequence, therefore, the group counter is incremented and the question is asked "End of group" If "no", the question is asked "contact high?".
As noted above, if any bit of the accumulator contents when compared with the same bit the preceding cycle shows a change representing a vehicle to be counted, the "contact high?" question is answered "yes" and the category counter register is incremented If the answer is "no", representing for that particular lane no vehicle to be counted, the sub-sequence loops and the next bit of the accumulator is looked at At the end of each group, the "end of group?" question is answered "yes" The category pointer is then incremented so that the count for the next subgroup of lanes will be stored in a new location in memory serving the "category counter register" function At the end of the categories, the counter and pointer are reset and the program returns to the start.
It will thus be seen that in addition to vehicle count, a classification function is performed in that the vehicle counts are, or may be, classified into groups of lanes as desired.
As shown in Figs 5 A-SB, the reading of data from the recorder unit memory by the reader instrument, in response to a read command from the reader instrument, is interleaved with the registering and recording of vehicle count in the recorder unit memory The timing of each cycle of scanning input/output ports of the processor, and counting vehicles represented by a change in state of the voltage level appearing on any one of more of the input/output ports, is established by the internal timing circuitry of the CPU, and with a standard CPU such as the INTERSIL 6100 may be set to about one millisecond The program gives priority to counting vehicles over reading stored data and, therefore, until a check of the detector contacts indicates no change in state of any one of the contacts (any new contacts? no), the program loops; when a check of the detector contacts (as represented by the voltage levels in the data input/output ports) indicates "no change", the program exits from the loop (or does not enter the loop) and continues to the segment shown on Fig.
B where any read command from the reader instrument results in a read operation.
In this program, the data stored in memory is read in small blocks, for example, in I l-bit characters each program cycle It will be seen that depending on traffic flow conditions, the gaps in vehicle flow may be shorter or longer.
The transfer of data takes place in I l-bit characters for as many program cycles as fit 1 -I',__ into a gap, and the read process is interrupted and the program waits for the next gap before the read process continues In this manner, the counting and recording process is not slowed down or interrupted for read 70 ing, and missing a vehicle is avoided.
During heavy traffic flow conditions, the readout process proceeds at a slow rate and may require several minutes to fully read out all data stored in the memory of the recorder 75 unit, interleaved during such gaps in vehicle flow Under lighter traffic flow conditions, the read process will proceed more rapidly since many more characters may be read out without interruption during the longer gaps 80 in vehicle fow.
As shown in Fig 5 B, the program proceeds with the input/output control port of the CPU being checked for commands from the reader instrument The next step is the "clock 85 ready?" The program branches once each minute to increment the clock counter At the end of each hour (or other shorter or longer time interval, as desired), the contents of the category counter registers each having the 90 accumulated vehicle count for a group of lanes, are transferred to memory locations via the data table pointer, the data table pointer is incremented and the program returns to reiterate the counting sequence 95 If the answer to the "clock ready?" question is "no", and a read flag is set by a read command received from the reader instrument, one character composed of multiple bits of data (for example, the I l-bit character 100 mentioned hereinbefore) stored in recorder unit memory, is transferred to the reader instrument The particular bits of data transferred are addressed by a character pointer, which is incremented following each charac 105 ter transfer to address the next set of bits to be transferred With the character pointer at a terminator, representing all data transferred, the read flag is cleared.
The program, as shown in Fig 5 B, also 110 contemplates transfer from the reader instrument of other control signals or commands besides read commands, and operation of the recorder unit under program control in response to such each control signals or 115 commands Thus, as shown in Fig 5 B, with the read flag not set, and the reader status low, the program enters the reader instrument program on Fig l OB as indicated by the off-page locator -B" at the bottom of Fig 120 B With the reader status high, the program returns to the counting sequence commencing with the "input 12 contact" step of Fig.
A.
Turning to Fig l OB, with a reader instru 125 ment connected to the recorder unit and the cable "field mode", the program sequence is there shown for the reader instrument to carry out its various functions in conjunction with a recorder unit For example, with the 130 -, r 1,603,474 "start key" of the reader instrument not actuated, and the "display key" of the reader instrument actuated, the mode is entered for active count register display from the recorder unit without interrupting the ongoing recording mode of the unit.
With the start key actuated, the reader instrument is operated to execute a series of steps leading to transfer of stored data from the recorder unit memory and re-recording on the cassette tape of the recording device of the reader instrument The sequence of steps, in response to successive actuating of the start key, contemplates displaying by means of the keyboard, identification, time and date data and recording such data on the cassette tape, followed by the steps of requesting data transfer and inputting and recording the traffic data on the cassette tape as shown on Fig 10 B This sequence also contemplates altering the set-up date, after the traffic data transfer and recording process for resetting the recorder unit for subsequent processing and recording of traffic data.
The illustrated programs for the reader instrument also provide for special operations as shown on Fig 10 B Thus, with the "start key" not actuated and the "rewind key" actuated, the subprocess is executed of recording an end of tape (EOT) code on the cassette tape in the recording device and rewinding the cassette tape Control keys -8 when actuated cause the execution of different processes For example, "control start" key when actuated calls for a program transfer to the recording unit, to change the program stored in its memory and thereby change the type of parameter data derived and stored in the recorder unit Operation of "control 3 " key calls for direct data transfer from the recorder unit memory with the data displayed on the reader instrument display device By actuating "control 2 " a signal is transmitted to the recorder unit to speed up the data transfer step and immediately cause accumulated data in the lane registers to be transferred to memory Actuating control keys 4-8 calls for operations such as time display, diagnostic procedures, and recorder unit adjustments.
Referring now to Fig 6, a program for operating the recorder unit to derive more complex traffic data, and to classify and store such data in semi-conductor memory, is shown in this general flow chart A more detailed flow chart of the same program is shown in Figs 9 A-9 B To derive as shown in Figs 6, 9 A-9 B, vehicle velocities and length, dual detectors in each of two highway lanes provide vehicle representing signals to the recorder unit The concept behind the program is to set for each lane a control flag for the duration of time a vehicle is over the first detector, and another control flag for the duration of time required for a vehicle to travel from the leading edge of the first detector in a lane (in the direction of travel of the vehicle) to the leading edge of the second detector in the same lane The setting and clearing of such flags is diagrammatically 70 illustrated in Fig 8 Utilizing such flag signals in the course of the program, vehicle velocity and length traffic data is derived, classified in categories, and stored in memory 75 Another consideration in the establishment of this program for deriving velocity and length data and classifying and storing such data, is to process the signals representing vehicles in both lanes and store interme 80 diate results based on those signals, and after the vehicles have cleared the zones over the detectors, to calculate and derive the desired traffic data (velocity, length) based on the intermediate results This contemplates that 85 with all foreseeable traffic flow conditions on a two-lane highway, for example, a "window" will be provided during which vehicles in both lanes have cleared the zones over the detectors and during that "window" before 90 following vehicles arrive over the detectors, the vehicle velocity and length is calculated, classified and stored Thus, referring to Fig.
6, at the start of the program, the vehicle representing signals from the detectors in 95 lanes I and 2 are routed by means of the input/output circuitry to input ports of the CPU This means in the case where dual detectors are in each of two highway lanes, a signal may be produced by one or the other 100 of the two detectors in each lane It is not contemplated that two vehicles will be actuating the dual detectors in a lane since only 16 feet separates the detectors.
The next step in the program, as shown in 105 Fig 6 and also Fig 9 A, is the question "reader connected?" If "yes", the program branches to the reader instrument program on Fig l OB With the reader instrument not connected, the question is asked "new hour" 110 This program contemplates accumulating classification data for one hour, and at the end of each hour transferring data stored in registers to new locations in memory The next processing step, generally indicated in 115 Fig 6 as "Increment Lane Counters, etc ", involves incrementing lane counters each cycle of a program loop which is precisely timed to take a fixed period established for vehicle classification systems, preferably on 120 the order of 1 34 milliseconds, which program loop is not terminated until the vehicles in both lanes have cleared both detectors, indicated by the decision point "All Flags Reset?" in Fig 9 B In this program loop, as 125 shown on Fig 6 and Figs 9 A-9 B, the lane counter B is incremented successively each cycle, for the period of time the B flag is set, as shown in Fig 8, so that the number accumulated in the B counter represents the 130 lo _' 2 ' ' ' ' ' 1 V ' '-; 1 7 1; 1-, 1 1 '" 111 1,603,474 duration of time a vehicle is over the first detector in lane 1; lane counter A is incremented each cycle of the program loop for the period of time the A flag is set, so that the number accumulated in the A counter represents the duration of time of travel for the same vehicle to travel between the leading edge of the first detector in the lane to the leading edge of the second detector in the lane Separate A and B lane counters are provided for both lanes The program exits from the loop when a vehicle in one lane has cleared the zones over the detectors, or when vehicles are traveling past the detectors in both lanes, when both vehicles have cleared the detectors in both lanes Thus, after the lane counter incrementing process, the question is asked "vehicles cleared both detectors?".
In the more detailed flow chart of the same program in Figs 9 A-9 B, at the corresponding point in the program the question asked is "All Flags Reset?" After vehicles have cleared both detectors in both lanes, and the program exits from the loop, the processes are executed of calculating the velocity of a vehicle in each lane, and based on the velocity calculation, calculating the length of the vehicle knowing the given distance between the detectors The velocity is classified and separate registers for each velocity category are incremented; the vehicle length is classified and separate length registers for each category are incremented Each hour, all velocity and length category registers are transferred to memory as shown by the flow chart.
Turning now to Fig 9 A, for a more detailed illustration of the program steps, the program as there shown includes as a first step "clear all flags" and next "input detector contacts" As noted earlier, when connected to dual detectors in two lanes, it is expected that either one but not both of the detectors in each lane may be actuated during any given machine cycle The next question is "reader connected?" and if "yes", the reader instrument program, depicted on Fig l OB, is entered If "no", the question is asked "clock ready?", and if the answer is "yes", the steps are executed, first of incrementing the clock counter and then, if a new hour, executing the step of transferring to different memory locations the accumulated counts in the category registers, a data table pointer serving the function of addressing the desired locations in memory The data table pointer is incremented, so that the data table pointer has the starting address for the memory locations where the registers are to be transferred at the end of the next hour The program loop exits at the step "clear lane I-B flag".
Referring to Fig 8, the A flag is set for the duration of time of travel of a vehicle from the leading edge of the first detector in the lane to the leading edge of the second detector in the same lane The B flag is set for the duration of time for the vehicle to passthe first detector in the lane Referring again 70 to Fig 9 A, the step "clear lane I-B flag" refers to the clearing to the B flag for lane 1.
Next the question is asked "lane I contact I-I set?"; this refers to the detector #1 contacts in lane I If the answer is "yes", both 75 A and B flags for lane I are set (as shown in Fig 8) and the question is then asked "lane I contact 1-2 set?", referring to the detector #2 contacts in lane 1 If the answer is "yes", since the detector #2 contacts are set well 80 after a vehicle has left the zone of detector #1, the step is executed to clear the A flag.
Thereafter, the step is executed to clear the B flag for lane 2 The question is then asked "lane 2 contact 2-1 set?", referring to the 85 detector #1 contacts in lane 2 If the answer is "yes", both the A and B flags for lane 2 are set and then the question is asked "lane 2 contact 2-2 set?", referring to the detector #2 contacts in lane 2 If those contacts are 90 set, representing that a vehicle has left the first detector and has actuated the second detector, the next step is executed "clear A flag, lane 2 ".
In summary, to this point in the program, 95 the contacts for the dual detectors in both lanes have been scanned If a vehicle is passing the first detector (detector #1) in either lane, resulting in the first detector contacts being closed, the B flag for that lane 100 is set, as indicated in Fig 8 If a vehicle has entered the zone of the second detector in either lane, thereby closing the second detector contacts, the A flag for that lane, which was set when the vehicle actuated the first 105 detector, is reset The steps of setting and resetting flags are iterated every sub-cycle represented by the program loop, which is a predetermined and fixed period, preferably 1.34 milliseconds so that, as indicated in Fig 110 8, the A flag signal is maintained for the duration of time T, while the B flag signal is maintained for only the duration of time T 2.
The continuation of the flow chart of Fig 9 B reveals the successive steps of incrementing 115 lane counters in response to set flags Thus, the question is asked "Flag A, lane I set?" If "yes", lane I counter A is incremented Then the question is asked "Flag B, lane I set?" If the answer is "yes", the lane I counter B is 120 incremented Similarly, the A and B flags for lane 2 are tested and the lane count is incremented with the flags set The program loop earlier referred to is started at the decision point all flags reset?" If the answer 125 is "no" indicating that for either lanes I or 2, one or the other of the A or B flags is set, then the program returns to the step "clear lanes I-B flag" of Fig 9 A, after a resolution delay determined by the desired resolution of the 130 --,' , i , , ,t;; a i,, _ r ' a _, ,:, ':,,, , K,,, '5,,, ,:
1,603,474 detector signals Recognizing that the program loop involves a passing through the steps on Fig 9 A each 1 34 milliseconds, it will be seen that each lane counter is incremented each 1 34 milliseconds for as long as the corresponding lane flags are set.
Thus, the A counter for each lane will be incremented for as long as the A flag is set and the B counter in the same lane will be incremented for as long as the B flag is set.
The number of counts accumulated in each counter will, therefore, represent in the case of the A counter, the time TI, and in the case of the B counter, the time T 2 With all flags reset, representing that vehicles have left the zones of the dual detectors in both lanes, the program proceeds to the program segment flow charted on Fig 9 C.
As there indicated, the first step involves the question "lane 1-A counter equals zero?" If the A counter for lane 1 contains no number, the next three steps are skipped.
If the A counter for lane I contains a number, the program proceeds through a calculation to derive vehicle velocity for a vehicle in lane I, by dividing a conversion factor by the number accumulated in the A counter for lane 1 The conversion factor is based upon the known distance between the leading edge of the two detectors in lane I described earlier as substantially 16 feet, and thereby converts the number in the A counter which represents accumulated time in increments of 1 34 milliseconds, to velocity in m p h The next step is to find the velocity category usual velocity categories are 35-45, 45-55, 55-65, over 65 and after the particular category has been found, the category register which fits is incremented as the next step in the program.
The program then proceeds to a velocity derivation for a vehicle in lane 2 Thus, the question is asked "lane 2-A counter equals zero?" If the A counter for lane 2 contains a number, the same process steps are followed to find the vehicle velocity represented by the number in the counter, and to increment the category register which fits Following the incrementing of a velocity register for lane 2, the program reaches -a decision point where the question is asked "display mode selected?" This is included to demonstrate that the recorder unit functions, upon command from the reader instrument, to enter and execute a display mode sequence without interruption of the normal recording function Thus, if upon reader command the answer is "yes", the accumulated count in the A registers in both lanes I and 2 will be displayed, and the program will then continue on to the length determination and classification steps flow charted on Fig 9 D.
Thus, as indicated on Fig 9 D, the question is asked "lane I-A counter equals zero?" If the A counter for lane I contains a number, the step is executed of dividing the number in the lane 1-A counter by 16, the distance between the leading edge of detector #1 and the leading edge of detector #2, in order to provide a number "X" representing velocity 70 The next steps involves the calculation of dividing the number in lane I-B counter by the number X, the result of that calculation being the length of the vehicle The next step is to find the length category and thereafter 75 to increment the length category register which fits As desired, the length category registers may be solely for trucks and cars, or may include various categories for different length trucks, etc 80 Turning to Fig 9 D, a similar sequence of steps to derive length data and classification in categories is carried out for lane 2 Thus, the lane 2-A counter is tested and if it contains a number, the number is divided by 85 16 to produce an intermediate result "X"'.
Next, the number in lane 2-B counter is divided by X' to provide vehicle length The length category is found and the appropriate length category register incremented, for lane 90 2 Again, the program illustrates that a display mode may be selected, on command from the reader instrument and entered to display the accumulated total in the length category registers for lanes I and 2 It will be 95 observed that with the display mode entered, there will be visually shown on the reader instrument display, the lengths of vehicles as they pass on the highway, without interrupting the ongoing recording function of the 100 recorder unit After the display mode sequence is completed, the program returns to the start point on Fig 9 A.
Referring to Fig IOA, a flow chart of certain operations of the reader instrument 105 carried out under program control is there illustrated With the power turned on in the reader instrument, the reader instrument as well as the recorder unit being self-powered by means of its own battery source, the 110 keyboard matrix is scanned and the test is made whether the cable is "field mode", i e, connected to a recorder unit If "yes", as earlier noted, the recorder unit operation to process signals from detectors and record 115 traffic data may continue without interruption or, as shown in Fig l OB, with the start key of the reader instrument actuated, a subroutine may be entered for displaying and altering identification of the recorder unit as 120 a preliminary to transferring data from the recorder unit memory to the cassette tape in the reader instrument, followed by data transfer and recording As also shown in Fig.
l OB, with the cable field mode and the 125 recorder operative, using control and special function keys on the reader instrument, various monitoring and diagnostic steps and procedures may be carried out such as requesting time data from the recorder unit 130 ' 1,603,474 and displaying it on the reader instrument display device, and other like functions One major function involves transfer of programs from semi-conductor memory of the reader instrument to semi-conductor memory of the recorder unit One of the control keys, illustratively the "control 1 " key of the reader instrument, as indicated in Fig 10 B, when actuated causes the reader instrument CPU to operate under program control to so transfer program data from the reader instrument to the recorder unit.
Referring again to Fig 10 A, with the cable of the reader instrument "output mode", the system is conditioned for transfer of recorded data from the reader instrument cassette tape This is carried out, as indicated diagrammatically in Fig 2, to transfer the recorded data previously collected from the recorder units and recorded on the cassette tape of the reader instrument, to another cassette tape, a magnetic disk or magnetic tape or other storage unit at a processor center Thus, referring to Fig 10 A, after the cassette tape has been rewound, and with the start key depressed, and the cable "output mode 1 ", transfer of the data on the cassette tape begins with the output heading information followed by data from the cassette tape.
For this purpose, the recording device 44 of the reader instrument 24 includes, preferably, a tape deck provided with tape engaging heads and associated mechanism and circuitry for both recording data on the tape stored in cassettes and reading data from the tape.
Connections through the input/output circuitry 54 are provided from the recording device 44 to an output terminal 56 on the reader instrument, for transmitting data read from the tape to peripheral devices, as shown in Fig 3.
As indicated, the data may be transferred from the tape directly to peripheral devices, or, as an option, the data on the tape may be converted to a different format For example, the data may be converted to a format readable by a computer by means of the reader instrument CPU operating under program control stored in the program storage means of the reader instrument The reformated data may be fed directly to a computer or transferred to a magnetic disk or magnetic tape storage device and re-recorded in the altered format Whether transferred in the format originally recorded on the cassette tape or in an altered format, after transfer of the data and the generation of the end of the tape code (EOT), the process exits from the data output mode and returns, as indicated on Fig 10 A, to the start of the program cycle.
Other program checking and diagnostic subroutines are carried out under control of the keyboard, as indicated in the flow chart on Figs 10 A and 10 B. Thus, the apparatus of our co-pending , application provides a recorder unit 20 and reader instrument 24 each having programmable data processors 46, 52 (CPU's) which provide control means to carry out the functions of the respective units Separate programs are stored in the recorder unit memory 50 for operating the recorder unit control means 46 and in the reader instrument memory 53 for operating the reader instrument control means 52 The detector contacts 1-1, 1-2, etc, shown in Fig 7, may be mounted in a separate enclosure but are preferably mounted inside the recorder unit case and connected to the I/O circuitry 48 Signals produced by the detector contacts in response to vehicle or "event" signals from the detectors or sensors, illustratively inductance loops in roadway lanes (Figs I and 3), are carried by the I/O circuitry 48 to the input/output ports of the recorder unit CPU 46.
Referring to Figs 3 and 4 A, the data processor control means 46 of the recorder unit 20 includes an arithmetic and logical means (ALU) for deriving data (such as 90 count data used in traffic surveillance) in response to input signals received at the CPU input/output ports, in accordance with instructions of a program stored in the memory means 50 The control means 46 and the 95 memory means 50 are connected for transferring instructions to the control means 46 and for transferring derived count data to the memory means 50 A reader receptacle 30 is also on the outside of the recorder unit case 100 for a connect cable 26 leading to the reader instrument 24 The control means 46 includes means for reading count data stored in the memory means 50 in accordance with the program of instructions in response to read 105 commands received from the reader instrument 24, and for transferring count data so read to the reader receptacle 30 The portable reader instrument 24 which is separate from the recorder unit 20, as shown in Fig 1, has a 110 receptacle 58 on the outside for the connect cable 26.
The data processor control means 52 of the reader instrument 24 is effective under a program of instructions from the memory 115 means 53 to generate display, record and read commands in response to selective activation of the keys of the keyboard 36, and for transmitting read commands over the connect cable 26 to the recorder unit control 120 means 46 The reader instrument control means 46 also includes means actuated in response to record commands for operating the recording device 44 for re-recording on record medium (tape stored in cassettes), 125 count data received from the memory means of the recorder unit 20 in response to such read commands The control means 52 of the reader instrument is also operable to actuate the display 42 to display count data in 130 1,603,474 response to such display commands.

Claims (9)

WHAT WE CLAIM IS:-
1 A recorder unit for location adjacent a surveillance site and arranged to be connected to detector means located at the surveillance site and providing signals representative of events occurring at said site, said recorder unit including memory means for storage of data, circuit means operable to record data in said memory means and to read data from said memory means, said circuit means including means for accumulating counts of said events in response to signals from said detector means, terminal means connected to said circuit means and for connection to an external device, and means for operating said circuit means to read data from said memory means in response to read instructions received from said external device via said terminal means, and to transmit such data to said exteral device via said terminal means.
2 A recorder unit as claimed in claim I wherein said circuit means is adapted to be re-programmable for accumulating predetermined types of events, said re-programming signals being applied, in operation, through said terminal means.
3 A recorder unit as claimed in claim 2 wherein said reprogramming signals are derived from a magnetic tape.
4 A recorder unit as claimed in claim 1, 2 or 3 wherein the memory means is a semiconductor memory means having separate locations for data storage.
A recorder unit as claimed in claim 4 further including timer means connected to said circuit means and means for operating said circuit means to transfer counts from the means for accumulating counts on a time interval basis to separate locations in said memory means.
6 A recorder unit as claimed in claim 2 wherein said types of events include one of vehicle counting, vehicle length counting and vehicle speed.
7 A recorder unit as claimed in any preceding claim wherein said circuit means includes a central processor unit.
8 A recorder unit as claimed in any preceding claim wherein said circuit means is arranged to read data from said memory means and to convert said data into a form suitable for transmission over a telephone line.
9 A recorder unit as claimed in any preceding claim in combination with a detector means which is arranged to provide signals representative of events occurring at a surveillance site.
A recorder unit substantially as herein described with reference to Figs 1-8 and 9 A-9 D of the accompanying drawings.
LANGNER PARRY, Chartered Patent Agents, High Holborn House, 52-54 High Holborn, London WC 1 V 6 RR.
Agents for the Applicants.
Printed for Her Majesty's Stationery Office by Burgess & Son (Abingdon) Ltd -1981 Published at The Patent Office.
Southampton Buildings, London, WC 2 A l AY, from which copies may be obtained.
N S z 1 1, '17' ' 1 1:4
GB36632/80A 1977-04-21 1978-03-31 Apparatus for recording events Expired GB1603474A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US78941677A 1977-04-21 1977-04-21

Publications (1)

Publication Number Publication Date
GB1603474A true GB1603474A (en) 1981-11-25

Family

ID=25147583

Family Applications (3)

Application Number Title Priority Date Filing Date
GB36633/80A Expired GB1603475A (en) 1977-04-21 1978-03-31 Reader instrument for reading data from a recorder unit
GB36632/80A Expired GB1603474A (en) 1977-04-21 1978-03-31 Apparatus for recording events
GB12675/78A Expired GB1603473A (en) 1977-04-21 1978-03-31 Apparatus for recording events

Family Applications Before (1)

Application Number Title Priority Date Filing Date
GB36633/80A Expired GB1603475A (en) 1977-04-21 1978-03-31 Reader instrument for reading data from a recorder unit

Family Applications After (1)

Application Number Title Priority Date Filing Date
GB12675/78A Expired GB1603473A (en) 1977-04-21 1978-03-31 Apparatus for recording events

Country Status (5)

Country Link
AR (1) AR225598A1 (en)
BR (1) BR7802495A (en)
CA (1) CA1096505A (en)
FR (1) FR2388345A1 (en)
GB (3) GB1603475A (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2461982A1 (en) * 1979-07-20 1981-02-06 Sisdatex Ag Data processing system for e.g. census taking - uses microprocessor controlled reader, tape recorder and serial interface to check, accumulate and batch transmit data
FR2566561B1 (en) * 1984-06-25 1987-10-09 Simard Williams EVENT REGISTRATION AND RECORDING SYSTEM FOR SECURITY FACILITIES
FR2588087B1 (en) * 1985-09-30 1988-06-17 Alsthom MODULE FOR RECORDING OF MEASURED QUANTITIES IN ANALOGUE FORM
FR2602358A1 (en) * 1986-08-01 1988-02-05 Acticom Monitoring device for a surveillance system
EP0476562A3 (en) * 1990-09-19 1993-02-10 Hitachi, Ltd. Method and apparatus for controlling moving body and facilities
GB2278215A (en) * 1993-05-18 1994-11-23 Alexandra Hairstens Mcgowan Electronic event counter

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3824550A (en) * 1970-10-23 1974-07-16 Honeywell Inc Read-only-memory storage apparatus for controlling data logging apparatus

Also Published As

Publication number Publication date
FR2388345B1 (en) 1984-05-04
AR225598A1 (en) 1982-04-15
GB1603475A (en) 1981-11-25
BR7802495A (en) 1978-12-05
GB1603473A (en) 1981-11-25
CA1096505A (en) 1981-02-24
FR2388345A1 (en) 1978-11-17

Similar Documents

Publication Publication Date Title
US4201908A (en) Measurement and recording apparatus and system
KR890017579A (en) Photocopy surveillance system
EP0150173B1 (en) An apparatus for recording the speed of a vehicle
GB1603474A (en) Apparatus for recording events
US4712199A (en) Process for controlling the storage of data received by a seismic recording system and a device for implementing same
US5551285A (en) Leak checker data logging system
CN112596966A (en) Chip verification method, device, equipment and storage medium
RU2125238C1 (en) Data registration system
SU1534469A1 (en) Device for modelling data collection system
SU1710418A1 (en) Device for receiving data about railway traffic
RU49243U1 (en) ON-BOARD INFORMATION PROCESSING AND REGISTRATION SYSTEM
JP3185911B2 (en) Remote monitoring device
JPS635975B2 (en)
SU1571593A1 (en) Device for checking digital units
RU34244U1 (en) DIGITAL INFORMATION RECORDER
JPH0653912A (en) Serial data receiving monitor device and serial data collection system therefor
SU1285438A1 (en) System for controlling gas flow rate
SU1640723A1 (en) Plane figures geometrical sizes meter
JPH044640B2 (en)
JP3290221B2 (en) Distributed hierarchical data processing system
SU777654A1 (en) Device for control of magnetic disk-based storage
JPH05303376A (en) Trend graph display device
US3230542A (en) Data recording system
SU900287A1 (en) Investigation automation system
JP3148529B2 (en) Remote monitoring device

Legal Events

Date Code Title Description
PS Patent sealed
PCNP Patent ceased through non-payment of renewal fee