GB1603475A - Reader instrument for reading data from a recorder unit - Google Patents

Reader instrument for reading data from a recorder unit Download PDF

Info

Publication number
GB1603475A
GB1603475A GB36633/80A GB3663380A GB1603475A GB 1603475 A GB1603475 A GB 1603475A GB 36633/80 A GB36633/80 A GB 36633/80A GB 3663380 A GB3663380 A GB 3663380A GB 1603475 A GB1603475 A GB 1603475A
Authority
GB
United Kingdom
Prior art keywords
data
reader instrument
program
recorder unit
memory
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
GB36633/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 GB1603475A publication Critical patent/GB1603475A/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) 1603475 ( 21) Application No 36633/80 ( 22) Filed 31 March 1978 ( 19) ( 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 GO 6 F 13/00 ( 52) Index at acceptance G 4 A 10 P 15 A 2 16 D 16 J 17 B 17 P 18 Y IC 2 AY 2 F 11 2 F 6 5 X 9 F 9 X KB ( 54) READER INSTRUMENT FOR READING DATA FROM A RECORDER UNIT ( 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 to a reader instrument for reading data from a recorder unit which unit may be located at a surveillance site, for recording and collection of data based on vehicular flow The reader instrument claimed herein forms a part of an apparatus claimed in our co-pending application number 12675/78 (Serial No.
1 603 473) and attention is also directed thereto A further part of said apparatus is a recorder unit which is claimed in our copending application number 8036632 (Serial No 1603474).
This invention has general utility in measurement and recording systems at a surveillance site where data relating to events or conditions is to be counted and classified such as on 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 systems 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 50 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 55 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 60 cassette or reel of magnetic tape on which the data is recorded.
Central data recorder systems usually employ cables or telephone line connections from the apparatus at the site which is 65 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 70 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 75 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 80 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 85 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 mechanism or other mechanical device being re 90 tn 1,603,475 quired 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 reader instrument 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 reader instrument for reading data representative of events recorded by a recorder unit, which recorder unit is located adjacent a surveillance site, the recorder unit having a memory for storage of data, said reader instrument including a housing containing connection means for connection to the recorder unit; data processor means operable under program control; memory means for storing a program of instructions for said reader instrument data processor means; a display device; and input/output circuit means interfacing said connection means, display device, data processor means and memory means; said data processor means being operable under the control of a program of instructions stored in said memory means for generating and transmitting read commands to the recorder unit whereby, in response to the read commands, event data may be read from the memory of the recorder unit and displayed by said display device.
The invention will now be described by way of example with reference to the accompanying drawings, wherein: 70 Figure 1 illustrates a recorder unit connected by a cable to a separate, manually portable reader instrument in accordance with this invention, Figure 2 is an overall system diagram 75 illustrating different methods for using the recorder unit and reader instrument and showing that data read by a reader instrument from a plurality of local recorder units and re-recorded on a recording device in the 80 reader instrument, is transferrable by subsequent readout from the reader instrument to another recording medium for subsequent processing, such as a disk recorder, a computer, an IBM (R T M) compatible tape 85 unit, etc Alternatively, with an acoustical coupler from the reader instrument, the recorded data in the recording device of the reader instrument may be transferred over telephone lines to a central processor The 90 system also illustrates direct transfer to telephone lines from the recorder units for transmittal to a central processing unit, or other peripheral device.
Fig 3 is a schematic diagram illustrating a 95 local recorder unit connected to vehicle detectors on a roadway, at a road site and connected by a cable to a reader instrument, the basic circuitry of the recorder instrument and reader instrument being illustrated in 100 block diagram form.
Figs 4 A and 4 B taken together illustrate in schematic form the circuitry for a recorder unit, and reader instrument of the present invention 105 Figs 5 A and 5 B depict a flow diagram which the data processing system of the recorder unit.
Fig 6 depicts a general flow diagram for a recorder unit program for deriving and 110 storing vehicle classification data.
Fig 7 illustrates detector relay contacts for multiple detector systems.
Fig 8 illustrates diagrammatically the relation between detector outputs and flag 115 control signals.
Figs 9 A-9 D depict a flow diagram for a recorder unit program, showing in more detail than in Fig 6, a sequence for deriving and storing vehicle classification data 120 Figs l OA-l OB depict a flow diagram which the data processing system of the reader instrument of this invention utilizes.
While the invention has utility in various fields for measurement and recording of data 125 relating to events or conditions that require counting and classifying, such as in the field of pollution control where it is desired to detect, classify and record data as to pollutants (particulare or gases) in the atmo 130 1,603,475 sphere, or in the field of noise control where it is desired to detect, classify and record noise levels both inside buildings and out-ofdoors, 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 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 semi-conductor 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 1 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 70 under conditions of normal use in the field.
Access to the internal operating components of the recorder unit is provided by way of the "modem" and "detector" receptacles and the terminal receptable 30 on the outside of the 75 recorder unit casing The reader instrument 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 80 collection of data stored in recorder unit memory by persons charged with that task.
Also illustrated in Fig 2 are other aspects of the apparatus with which the reader instrument of this invention may be utilised 85 Thus, 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 equipment such as a disk recorder, 90 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 removed from the reader instrument 95 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 may be transferred over telephone lines 100 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 may be achieved with the recording unit of our co-pending application 105 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 processor center 110 Recorder units 20 are supplied with signals from detectors or sensors that represent the event or condition under surveillance In the field of traffic surveillance, vehicle representing signals are provided by detectors actu 115 ated by vehicles on the roadway Such detectors may be pressure responsive devices, inductance loop type detectors, or other devices for providing vehicle representing signals as desired For purposes of describing 120 the invention, the recorder unit 20 in Fig 1 is shown connected by the cable 22 to inductance loop type detectors on the highway, and signals from the detectors provide via the cable input signals to the recorder unit 125 circuitry Various arrangements of such inductance loop type detectors may be utilized depending on the data required For example, to count vehicles and record count data, the simplest case, a single inductance type 130 1,603,475 loop detector in each lane of, illustratively, a two-lane highway having north and south bound lanes, will provide the requisite signals for counting vehicles in each lane To derive more complex data, such a vehicle velocity, two detectors are installed in a lane at a known spacing, for example, 16 feet from the leading edge of 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 thedetector 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 1 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.
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) 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.
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 70 and data storage means 50 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 75 be used It is preferred, however, to operate a programmable processor under program control to perform the various functions carried out by the recorder unit, alone and in association with the reader instrument 24 80 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 reader instrument of this invention Where 85 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 the highway without interrupting 90 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 as to read data stored in the 95 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 will appear from the follow 100 ing.
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 of this invention 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 125 recorded by and without affecting the ongoing recording process carried out in the recorder unit The reader instrument 24 of this invention further includes means for calibrating the recorder unit and for loading 130 1,603,475 programs into the memory 50 interfaced 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 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 or 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 punch cards, printed records or otherwise processed.
With the system employing the reader instrument of this invention, on the other hand, the person charged with data collection carries the portable reader instrument 24 to each recorder unit site and couples the cable 26 to a weather-proof 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, In keeping with the invention, 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 yecorder unit 20 and performing the verification and header 70 procedures with the aid of the manual controls of the reader instrument 24.
The apparatus of this invention facilitates the data collection procedure as well as the procedure of processing the data, by using 75 in the reader 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 Using, as preferred, cassettes of magnetic 80 tape as the 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 85 number of 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 mag 90 netic tape is 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 95 (lanes 1 and 2, detectors #1, #2), it is 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 100 length, and recording such traffic data in the 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 105 from the reader instrument For example, the 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; 110 the recorder unit 20 is operative to read 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 115 the programs in the program memory component 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 120 received from the reader instrument-a 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 125 recorder unit is operative.
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 re 130 1,603,475 record mode, a display mode, a recorder calibration mode, a recorder diagnostic mode The reader instrument is also operable to set up or reset the recorder unit for its recording mode of operation.
As stated above, various conventional CPU's and memory devices may be used for the recorder unit 20 and receiver instrument 24 to carry out, under program control, the functions of these devices Intersil brochure M 8/75 describes the IM 6100 microprocessor previously referred to as a suitable and preferred CPU for both the recorder unit and reader instrument Briefly summarizing the description contained in said brochure, the
IM 6100 CPU is a single address, fixed word length, parallel transfer microprocessor using 12-bit, two's complement arithmetic The internal circuitry is static and designed to operate at any speed between DC and the maximum operating frequency The CPU is supplied with external crystal clock signals.
These signals are utilized to establish the timing and state signals internally by the timing and state control circuit The CPU is also supplied with pulses on a frequency related to real time, and through the program control of the CPU provides a time base synchronized with time of day and permitting under program control, storage of traffic or other data in separate memory locations of predetermined fixed time intervals, such as one half hour or one hour, so that when subsequently read out an additional item of data is provided, namely, the time of day of traffic flow conditions.
The CPU is diagrammatically illustrated in Figs 4 A and 4 B as comprising an accumulator (AC) which is a 12-bit register with which arithmetic and logical operations are performed Data words may be fetched from RAM memory to the accumulator or stored from the accumulator into memory The accumulator also serves as an input/output register and all programmed data transfer passes through the accumulator.The 12-bit memory address register
(MAR) contains the address of the memory location that is currently selected for reading or writing The MAR is also used as an internal register for microprogram control during data transfers to and from memory and peripheral devices The 12-bit program counter (PC) contains the address of the memory location from which the next instruction is fetched During an instrument fetch, the PC contents are transferred to the memory address register and the PC is then incremented by one Branching normally takes place under program control, however, during an input/output operation, a peripheral device may specify a branch address.
Under program control, a skip instruction increments may be achieved with the PC, and a peripheral device can also cause the next sequential instruction to be skipped via the PC.
The arithmetic and logical unit (ALU) performs both arithmetic and logical operations-two's complement binary addition, 70 AND, OR and complement.
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 75 a time-multiplexed basis.
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 80 of the CPU for the appropriate instruction.
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 85 next instruction in sequence or service one of a plurality of external request lines.
The memory and device control unit provides external control signals to communicate with peripheral devices, memory and 90 other registers.
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 95 transferred into and out of the CPU via the multiplexer and accumulator The IM 6100 microprocessor has a basic addressing capacity of 4 K 12-bit words, which may be expanded A memory system is organized in 100 4 K word blocks called memory 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 105 address of the memory location within 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 110 one so that it contains the address of the 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 115 memory system are directly addressed by the MAR contents, and locations on other pages are indirectly addressed by a pointer address in a directly addressable location on the current page 120 There are three general classes of memory instructions, referred to as memory reference instructions (MRI), operate instructions (OI), and input/output transfer instructions (IOT).
The memory reference instructions (MRI) 125 operate on the contents of a memory location or use the contents of a memory location to operate on the accumulator or the program counter The operate instructions ( 01) consist of groups of microinstructions used to 130 1,603,475 perform logical operations on the contents of the accumulator, to test the contents of the accumulator or to perform logical operations on the contents of the accumulator and other registers.
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 system for a recorder unit 20 constructed using an IM 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 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 identified 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 70 programmer can write the software and 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, 75 illustrative programs are described hereinafter 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 80 programs, this apparatus may be suited for measurement and recording in the other fields mentioned hereinbefore.
The various functions carried out by the recorder unit 20 and reader instrument 24 85 under program control may best be understood 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 90 type to implement these flow charts.
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 95 may be used, more complex programs are shown in 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 100 recorder unit.
The recorder unit may be considered 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 105 operate the recorder unit, a program for vehicle counting 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 110 the lane detectors, which is the desired traffic data, and store vehicle count for each lane for one-hour periods in separate locations in the memory system.
Referring again to Fig 5 A, it will be seen 115 that with the power turned on in the recorder 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 120 appearing on the data input ports of the CPU 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 125 from the accumulator on a time multiplexed 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 130 1,603,475 program provides for counting vehicles in a 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, but 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 " 0 '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 reflected 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 70 " O ") Under program control the CPU looks 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 75 response to each such negative transition or 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 80 In the program shown on Fig 5 A, provision 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 cate 85 gory counter register" is successively incremented 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 accu 90 mulated count is transferred to data storage.
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 dis 95 crete components, and the locations in memory 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-in 100 put 12 contacts) after an interval described 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 105 Any new contacts?' In this step, the 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 110 yes', the program enters a 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 115 by-bit in serial order to the 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; 120 the circuitry performs the "'Exclusive OR" function and produces a "high" or " 1 " output responsive to any such change which represents a vehicle to be counted Thus after the step "rotate contacts", there is 125 shown the step "increment 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 incre 130 1,603,475 mented twice as the accumulator 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-5 B, 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 or 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 5 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 11-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 11-bit characters for as many program cycles as fit 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 70 is not slowed down or interrupted for reading, 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 75 all data stored in the memory of the recorder 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 80 without interruption during the longer gaps in vehicle flow.
As shown in Fig 5 B, the program proceeds with the input/output control port of the CPU being checked for commands from the 85 reader instrument The next step is the "clock 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 90 category counter registers each having the 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 95 returns to reiterate the counting sequence.
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 100 bits of data (for example, the 11-bit character 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, 105 which is incremented following each character 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 110 The program, as shown in Fig 5 B, also 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 115 response to such other control signals or 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 120 page locator "B" at the bottom of Fig 5 With the reader status high, the program returns to the counting sequence commencing with the "input 12 contact" step of Fig 5 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 1,603,475 "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 O 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.
Another consideration in the establish 75 ment 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 intermediate results based on those signals, and after 80 the vehicles have cleared the zones over the detectors to calculate and derive the desired traffic data (velicity, length) based on the intermediate results This contemplates that with all foreseeable traffic flow conditions on 85 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 following vehicles arrive over the detectors, 90 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 lanes 1 and 2 are routed by means of the 95 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 of the two detectors in each lane It is not 100 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 Fig 6 and also Fig 9 A, is the question 105 "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".
This program contemplates accumulating 110 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 Fig 6 as "Increment Lane Counters, etc ", 115 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 the order of 1 34 milliseconds, which pro 120 gram 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 shown on Fig 6 and Figs 9 A-9 B, the lane 125 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 duration of time a vehicle is over the first 130 1,603,475 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 "vehicle 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 1-B flag".
Referring to Fig 8, the A flag is set forduration 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 pass the first detector in the lane Referring again to Fig 9 A, the step "clear lane 1-B flag" 70 refers to the clearing of the B flag for lane 1.
Next the question is asked "lane 1 contact 1-1 set?"; this refers to the detector #1 contacts in lane 1 If the answer is "yes", both A and B flags for lane 1 are set (as shown in 75 Fig 8) and the question is then asked "lane 1 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 after a vehicle has left the zone of detector 80 #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 detector #1 contacts in lane 2 If the answer 85 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 set, representing that a vehicle has left the 90 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, the contacts for the dual detectors in both 95 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 is set, as indicated in Fig 8 If a vehicle has 100 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 detector, is reset The steps of setting and 105 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.
8, the A flag signal is maintained for the 110 duration of time T 1 while the B flag signal is maintained for only the duration of time T 2.
The continuation of the flow chart on Fig 9 B reveals the successive steps of incrementing lane counters in response to set flags Thus, 115 the question is asked "Flag A, lane 1 set?" If "yes", lane 1 counter A is incremented Then the question is asked "Flag B, lane 1 set?" If the answer is "yes", the lane 1 counter B is incremented Similarly, the A and B flags for 120 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 is "no" indicating that for either lanes 1 or 2, 125 one or the other of the A or B flags is set, then the program returns to the step "clear lanes 1-B flag" of Fig 9 A, after a resolution delay determined by the desired resolution of the detector signals Recognizing that the pro 130 1 1 1,603,475 gram 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 T, 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 1 contains a number, the program proceeds through a calculation to derive vehicle velocity for a vehicle in lane 1, 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 1 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 categoryusual 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 1 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 1-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.
The next steps involves the calculation of 70 dividing the number in lane 1-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 to increment the length category register 75 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.
Turning to Fig 9 D, a similar sequence of 80 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 16 to produce an intermediate result "X"' 85 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 2 Again, the program illustrates that a 90 display mode may be selected, on command from the reader instrument and entered to display the accumulated total in the length categroy registers for lanes 1 and 2 It will be observed that with the display mode entered, 95 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 recorder unit After the display mode se 100 quence is completed, the program returns to the start point on Fig 9 A.
Referring to Fig l OA, a flow chart of certain operations of the reader instrument carried out under program control is there 105 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 keyboard matrix is scanned and the test is 110 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 traffic data may continue without interrup 115 tion 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 a preliminary to transferring data from the 120 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 recorder operative, using control and special 125 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 and displaying it on the reader instrument 130 1,603,475 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 1 OA, 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 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 IOA and 10 B. Thus, the system 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 70 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 75 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, 80 illustratively inductance loops in roadway lanes (Figs 1 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 85 processor control means 46 of the recorder unit 20 includes an arithmetic and logical means (ALU) for deriving data (such as count data used in traffic surveillance) in response to input signals received at the CPU 90 input/output ports, in accordance with instructions of a program stored in the memory means 50 The control means 46 and the memory means 50 are connected for transferring instructions to the control means 46 95 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 for a connect cable 26 leading to the reader instrument 24 The control means 46 in 100 cludes means for reading count data stored in the memory means 50 in accordance with the program of instructions in response to read commands received from the reader instrument 24, and for transferring count data so 105 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 receptacle 58 on the outside for the connect cable 26 110 The data processor control means 52 of the reader instrument 24 is effective under a program of instructions from the memory means 53 to generate display, record and read commands in response to selective 115 activation of the keys of the keyboard 36, and for transmitting read commands over the connect cable 26 to the recorder unit control means 46 The reader instrument control means 46 also includes means actuated in 120 response to record commands for operating the recording device 44 for re-recording on record medium (tape stored in cassettes), count data received from the memory means of the recorder unit 20 in response to such 125 read commands The control means 52 of the reader instrument is also operable to actuate the display 42 to display count data in response to such display commands.
1,603,475

Claims (10)

WHAT WE CLAIM IS:-
1 A reader instrument for reading data representative of events recorded by a recorder unit, which recorder unit is located adjacent a surveillance site, the recorder unit having a memory for storage of data, said reader instrument including a housing containing connection means for connection to the recorder unit; data processor means operable under program control; memory means for storing a program of instructions for said reader instrument data processor means; a display device; and input/output circuit means interfacing said connection means, display device, data processor means and memory means; said data processor means being operable under the control of a program of instructions stored in said memory means for generating and transmitting read commands to the recorder unit whereby, in response to the read commands, event data may be read from the memory of the recorder unit and displayed by said display device.
2 A reader instrument as claimed in claim 1 further including a recording device interfaced with said input/output circuit means and arranged to record event data in response to said read commands.
3 A reader instrument as claimed in claim 2, wherein said recording device includes a movable recording medium.
4 A reader instrument as claimed in claim 3, wherein said movable recording medium is a magnetic tape.
A reader instrument as claimed in any preceding claim, wherein the recording device is part of a record/play tape deck and said deck is operable in conjunction with a magnetic program tape to re-program said recorder unit.
6 A reader instrument as claimed in any preceding claim having means for connection to other peripheral devices for transmittal of data from the recorder unit.
7 A reader instrument as claimed in any preceding claim wherein said memory means is a semi-conductor memory.
8 A reader instrument as claimed in any preceding claim which is manually portable.
9 A reader instrument as claimed in claim 6, wherein the means for connection includes an acoustic device arranged for transmittal of data over a telephone line.
10 A reader instrument substantially as herein described with reference to and as illustrated in Figures 1, 2, 3, 4 A, 4 B and l OA-l OB of the accompanying drawings.
Printed for Her Majesty's Stitionery 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.
LANGNER PARRY, Chartered Patent Agents, High Holborn House, 52-54 High Holborn, London, WC 1 V 6 RR.
Agents for the Applicants.
GB36633/80A 1977-04-21 1978-03-31 Reader instrument for reading data from a recorder unit Expired GB1603475A (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
GB1603475A true GB1603475A (en) 1981-11-25

Family

ID=25147583

Family Applications (3)

Application Number Title Priority Date Filing Date
GB12675/78A Expired GB1603473A (en) 1977-04-21 1978-03-31 Apparatus for recording events
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

Family Applications Before (1)

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

Family Applications After (1)

Application Number Title Priority Date Filing Date
GB36632/80A Expired GB1603474A (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) GB1603473A (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
AR225598A1 (en) 1982-04-15
GB1603474A (en) 1981-11-25
BR7802495A (en) 1978-12-05
FR2388345A1 (en) 1978-11-17
CA1096505A (en) 1981-02-24
GB1603473A (en) 1981-11-25
FR2388345B1 (en) 1984-05-04

Similar Documents

Publication Publication Date Title
US4201908A (en) Measurement and recording apparatus and system
CN100594521C (en) Method and apparatus for detecting data recording
KR890017579A (en) Photocopy surveillance system
EP0077147A2 (en) Monitor unit for data processor
US4730314A (en) Logic analyzer
EP0150173B1 (en) An apparatus for recording the speed of a vehicle
GB1603475A (en) Reader instrument for reading data from a recorder unit
HU180636B (en) Digital recorder of run for motor vehicles
US4712199A (en) Process for controlling the storage of data received by a seismic recording system and a device for implementing same
CN100458711C (en) Data pickup processing method for logic analyzer and apparatus thereof
JP3137476B2 (en) Gate monitor
WO2002099756A1 (en) Unified method for evaluating the efficiency of large-scale systems and automated device for carrying out said method
RU2125238C1 (en) Data registration system
SU1710418A1 (en) Device for receiving data about railway traffic
JPH044640B2 (en)
SU1534469A1 (en) Device for modelling data collection system
SU634291A1 (en) Wiring checking arrangement
JP3185911B2 (en) Remote monitoring device
SU1571593A1 (en) Device for checking digital units
SU777654A1 (en) Device for control of magnetic disk-based storage
SU758208A1 (en) Device for registering passengers
SU1108554A1 (en) Device for checking thyristors of high-voltage rectifier
SU1249526A1 (en) Graphic visual display unit with checking
SU563697A1 (en) Device for monitoring long-time memories
RU2024968C1 (en) Device for diagnostic inspection of playback channel of digital magnetic recording equipment

Legal Events

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