GB2056139A - Memory system - Google Patents

Memory system Download PDF

Info

Publication number
GB2056139A
GB2056139A GB8032498A GB8032498A GB2056139A GB 2056139 A GB2056139 A GB 2056139A GB 8032498 A GB8032498 A GB 8032498A GB 8032498 A GB8032498 A GB 8032498A GB 2056139 A GB2056139 A GB 2056139A
Authority
GB
United Kingdom
Prior art keywords
counter
data
memory
signals
rate
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.)
Granted
Application number
GB8032498A
Other versions
GB2056139B (en
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.)
Pitney Bowes Inc
Original Assignee
Pitney Bowes Inc
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
Priority claimed from US05/889,627 external-priority patent/US4224506A/en
Application filed by Pitney Bowes Inc filed Critical Pitney Bowes Inc
Publication of GB2056139A publication Critical patent/GB2056139A/en
Application granted granted Critical
Publication of GB2056139B publication Critical patent/GB2056139B/en
Expired legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1441Resetting or repowering
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K21/00Details of pulse counters or frequency dividers
    • H03K21/18Circuits for visual indication of the result
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K21/00Details of pulse counters or frequency dividers
    • H03K21/38Starting, stopping or resetting the counter
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K21/00Details of pulse counters or frequency dividers
    • H03K21/40Monitoring; Error detection; Preventing or correcting improper counter operation
    • H03K21/403Arrangements for storing the counting state in case of power supply interruption

Abstract

A volatile electronic counter receives input data and produces address and data signals. A non- volatile memory receives the address signals and stores the data signals when power fails. The data is returned to the counter when the power is restored. The system has a variable rate clock connected to transfer counts from the memory 21 to the counter at a first rate and to apply data signals from the counter to the memory at a second rate substantially slower than said first rate.

Description

SPECIFICATION Memory system Many industrial systems require counters at various stages therein for retaining a count of operations performed. These counters are often mechanical or electromechanical in nature and have the disadvantage of being unreliable, costly, and bulky. However, they have the advantage of retaining a count during periods of electrical shutdown, power loss or power failure. Electronic counters with optical readouts would often be preferable for the reasons that they are highly reliable; relatively inexpensive, and much smaller in size. Such counters include a memory and a visual readout display.
The memories are "volatile" which means that they function only so long as power is on and data is lost when power is off. This makes them undesirable for any use in which a count must be maintained over such power loss periods.
It would be desirable to provide apparatus which enables data to be fed from a memory to a counter at a first rate and to be fed into the memory at a second, slower rate.
In accordance with the present invention, there is provided a memory system comprising a first electronic counter connected to receive input data for producing address and data signals, a memory coupled to receive said address signals and having data terminals, condition responsive means for selectively producing read and write signals for controlling said memory to apply stored data to said data terminals and to store data therein applied to said data terminals, a variable rate clock means connected to be enabled in response to the read and the write signals for enabling said first counter to store counts read out of said memory at a first rate and to be enabled in response to the write signals for applying data signals to said data terminals at a second rate substantially slower than said first rate.
Advantageously, there may be included a multi-digit display coupled to receive address and data signals from said first counter, said first counter having an internal clock for stepping said address signals at a third rate different than said first and second rates for effecting display of data on said display means.
In an embodiment of the invention, there is included a second counter, means stepping said second counter at rates determined by said clock means, and means responsive to determined counts of said second counter for resetting said condition responsive means. Such an arrangement further may comprise means responsive to equality of the count of said counter and data stored in determined addresses of said memory for stepping said second counter to response to said write signals.
The first counter is preferably a volatile counter and the memory a non-volatile memory, said condition responsive means being coupled to be responsive to operating voltages applied to said system.
The invention will be better understood from the following particular description of an illustrative embodiment, given with reference to the accompanying drawings in which: FIGS. 1 A-i F combine to form a schematic diagram of one example of apparatus in accordance with the present invention; FIG. 2 illustrates the relationship of the various sheets of drawings (1A--l F inclusive) comprising FIG. 1; and FIGS. 3-6 are timing diagrams illustrating the operation of the apparatus of the invention.
With power on, the circuit of this invention operates as a conventional electronic counter with strobed BCD output. However, when power is disconnected or lost, a special detection and control circuit causes the data contained in the counter to be transferred to the memory and thereafter retained.
When power is restored, the data is automatically transferred back to the counter.
The circuit requires only 95-130 V AC 60 Hz at about 0.1 amp for operation. Input count is a 1 5-20 MA current pulse which is optically coupled to the counter circuitry. There are eight output lines driven by CMOS 4050 buffer drivers. Four lines contain BCD data and the other four are digit strobe lines which indicate which digits data is on the BCD lines.
With particular reference to FIG. 1, there is illustrated a circuit in accordance with this invention.
The major elements of the circuit comprise a power supply 1 0 which is supplied by a transformer 12 having secondary windings 1 4a, 1 4b to supply +5,-I 2, and -28 volts to the remainder of the circuit.
Other elements of the circuit include: power on circuit 16, 1 6a, 1 6b; power down circuit 18; memory enabling circuit 20; non-volatile memory circuit 21; mode selector 22, 22a; comparator 24; volatile counter and display driver 26; display 28; input circuit 30; dual frequency oscillator 32; manual set control 34; divider and distributor 36; test circuits 38a, 38b, and output 40. It is believed that the circuit can be best understood by reference to the drawings coupled with an explanation of its actual functioning.For a complete understanding of the invention, the various circuit elements have been assigned reference designations and are described in the following table: Reference Designation Description U101 4 Digit Ctr/Display Driver (General Instrument AY 4007A) U102 CMOS Quad 2-in NAND schmitt Triggers U203, U21 4 CMOS Dual-D F1--F1 U104 Hi Volt/Current Darlington Drivers U105 CMOS 4-Bit Mag Comparator U 106, U216 CMOS Quad Bilateral SW U103, U201, U202, U204, U215, U21 7 CMOS Quad 2-in NAND Gate U206 CMOS Hex Inverter U208, U207 CMOS Quad 2-in OR Gate U209 CMOS Quad 2-in NOR Gate U210 CMOS Triple 3-in NAND Gate U21 1, U213 CMOS Decade Ctr/Driver U212 CMOS Quad 2-in AND Gate U218 MNOS 512 Bit Alterable Read Only Memory U219, U220 CMOS Hex Buffer The operation of the circuit of the invention in its various modes will now be described.
Count mode In this mode, the counter functions in the usual manner to keep and display a count.
A counter 50 is incremented by a 20 milliamp current puise to input circuit 30. An optical coupler 42 transmits this pulse to gate 44 and, if enabled by signal CS over line 46, this gate passes the count pulse to gate 48. The enabling signal CS will be present provided no mode other than "count" is present. Gate 48 acts as an "OR" gate so that a "O" on any one of its three normally high inputs will cause a count to pass to the counter 50. Counter and display driver 26, which includes counter 50, provides all the necessary logic and drive to present four decades of digital data to the display 28 which includes four seven segment numerical elements 52a-d. The outputs of counter 50, supplied through resistors 54a-g, provide segment drive to the display 28, while the outputs of counter 50 which connect to the Darlington drivers 56 provide digit drive.
In the COUNT mode an internal oscillator in counter 50 causes data to be strobed to the display at a rate of from 1 KHz to 4 KHz. This strobing sequences from the most significant to the least significant digit. That is, strobe line 103 goes to a "1" (102, 101, and 100 at "0") which turns on its associated Darlington driver which, in turn, enables numerical element 52d. The data on the seven segment lines from counter 50 are now displayed by element 52d for a time of about 500 microseconds. During this time the other three digits are "OFF". Next, strobe line 102 goes to a "1" (103, 101, 100 at "O"), the seven segment data has changed to reflect the value of the hundreds count in counter 50, numerical element 52c is enabled and the other three digits are off. This sequence of strobing continues with 10', then 10 and back to 103 etc. at the 1 4 KHz rate as long as the COUNT mode is in operation.
In addition to seven segment data being strobed to the display, BCD data (2b, 21, 22, 23) is also strobed to the ouput 40, which may be connected to an external device such as a printer or data collection device.
Write mode In this mode, a loss of power causes a displayed count to be rapidly "written" into a non-voiatile memory.
This mode is initiated by a loss of AC line power for a period in excess of about 30 milliseconds.
Hence, either a momentary power loss or complete loss will trigger the control circuitry. Power down circuit 1 8, detects a power loss directly at the secondary 1 4a of the transformer 12 via diodes 58a and 58b, divider resistors 60 and 62, and capacitor 64. The capacitor charge is maintained at a level above a "0" such that when current ceases to flow into it from the secondary of transformer 12 through diodes 58a, 58b and resistor 60, capacitor 64 discharges through resistor 62. As a result of the RC time constant, a "O" is applied to gate 66 after about 30 milliseconds of power loss. The output of gate 66 goes to a "1" which turns on transistor 68, very quickly discharging capacitor 70 and thereby conditioning the "power on" circuit 1 6 in the event that power loss is momentary.
The "1" from gate 66 is also applied to gate 72 enabling that gate so that at the next 102 digit strobe signal it receives, its output to gate 74 will go to a "O". Since the other pin of gate 74 is at a "1" (controlled by the time constant of a resistor 76 -- capacitor 78 combination) this will cause the output of gate 74 to go from a "O" to a "1". This transition is differentiated by capacitor 80 and a "1" pulse is generated, which is coupled through gates 82, 84, 86, 88 to reset pins of flip flops 90, 92 in the mode select circuit 22. This causes the two "Q" outputs of the flip flops to go to "O". These are connected to the Cl, C2 inputs of a memory chip 94. "O's" on both these inputs condition the memory for a "write data" operation.In addition, the Q outputs of flip flops 90, 92, through gates 95 and 114 and transistor 97, disable the display 28 to conserve power.
CS is the "chip select" input of the memdory 94 and it must be high to enable the device for any data transfer. CS is high at this time since it is derived from flip flops 90, and 92 via gates 95, 96, 98, 100, and 102 (in Memory Enable Circuit 20). One pin of gate 102 receives a "1" from output "Q" of a flip flop 104 set at "power on". This allows the output of gate 102 to go to a "1" when a "1" is received from gate 100.
The normal output from counter 50 has a frequency of approximately 1 KHz. This is much faster than memory 94 can handle. Accordingly, the CS output of gate U 206 also enables the dual frequency oscillator 32 via line 46 and gate 106 while disabling the input circuit 30 through gate 44. In addition, a switch 108 in oscillator 32 is put into its low impedance state in either the WRITE or ERASE mode as decoded by gate 114 (in Mode Select 22) and switched by gate 11 6. This causes a capacitor 110 to become part of the active oscillator circuitry in parallel with a capacitor 112, resulting in low frequency (about 200 Hz) oscillations.The CS signal also causes a switch 11 8 in divider 36 to become low impedance which stops the internal oscillator of counter 50 through its "DSC" pin allowing the external oscillator to override the internal one.
A counter 120 in divider and distribution circuit 36 divides the oscillator frequency by 10 and provides separation of control signals. The "0" pin of counter 120 is the "0" count and it is used to clock the digit select clock (DSC) pin of counter 50. After thus selecting the next digit, the "2" pin output of counter 120, (which in the READ mode causes counter 50 to count via gate 1 22 and gate 48), is inhibited by a switch 124 controlled through a gate 126.
The BCD data present at the output of counter 50 is now switched to the B inputs of a comparator 128 in comparator circuit 24 and to the inputs of memory 94 through switches 1 30 a-d which are "on" in either the WRITE or ERASE modes.
Since identical data is then present at the A and B inputs of comparator 1 28, the comparison is true and the "equal" output goes to a "1". This enables a counter 134.
When the count in counter 120 reaches 4, the "4" output goes to a "1", but this signal is only functional in the READ mode. It is inhibited by gate 132 and memory 94 during WRITE and ERASE.
When the count in counter 120 reaches 6, the "6" output goes to a "1" and is gated via gate 132 to counter 134. Since the "enable" input of counter 1 34 is connected to the "equal" output of the comparator 128, via inverter 136, the count is allowed to increment counter 134. As counter 120 continues to cycle, each "0" selects a new digit in counter 50 and each "6" advances counter 1 34.
When counter 1 34 reaches the count of 4, its "4" output goes to a "1" which is gated to the clock inputs of flip flops 90 and 92 through a gate 1 38. This clocking causes both flip flops 90 and 92 to toggle (since Q is connected to D) and each Q goes to a "1".
At this time all four digits of data have been written into the memory 94. The four bits of each digit are located in four memory locations (4 bits per location). The memory locations are selected by decoding the digit strobe outputs 103, 102, 101, 100 of counter 50 through gates 140 and 142. Thus as the four different digits are selected, four unique address codes are presented at AO and Al on memory 94. The data out of counter 50 which is switched to the B inputs of comparator 128 is also connected to the data inputs of memory 94 and as the digit strobes sequence through the four digits (approx. 50 milliseconds per digit) each digit change results in a different address for each of the four memory locations. After flip flops 90, 92 toggle, "CS" returns to a "0" putting memory 94 in standby, a "safe" state in which to remain while power is going down.
Read mode In this mode, power resumption causes the count stored in the non-volatile memory to be "read" back into the display.
When power is reapplied to the primary of transformer 12, capacitor 70 in the "power on" circuit 1 6, begins to charge. When the Zener voltage of diode 144 is reached, transistor 146 begins conduction which turns off transistor 148. The "1" which then appears on the collector of transistor 148 is differentiated by capacitor 150, and the resulting "1" pulse is on the "power on" pulse. This pulse occurs some 300--400 milliseconds after the primary circuit is energized.
To be sure that no transition states affect memory 94 as voltage is being established, flip flop 104 (in Memory Enable Circuit 20) is held reset by circuit 16b. This insures a "O" CS signal to memory 94 until subsequently, the "power on" pulse changes it to a "1". Power on also causes the "Q" output of flip flop 92 to go to a "1 " by a direct set through gates 152 and 154. Similarly, the "Q" output of flip flop 90 goes to a "O" by a direct reset through gate 86. Thus C1 and C2 of memory 94 are at "1" and "0" respectively, which is the read mode for memory 94.
The oscillator 32 is enabled through gate 106 and, since this is the READ mode, switch 108 is "off" or in its high impedance state which establishes the high frequency oscillation mode of the oscillator. Also, switches 1 30 a-d are "off" so that the A and B inputs to comparator 128 are connected to the counter 50 and the memory 94 respectively. The functioning of the counter 120 in divider circuit 36, the oscillator 32, counter 134, and counter 50 is now similar to that of the WRITE mode, except that comparaor 128 has different inputs, the oscillator is faster (50K--100K Hz) and the "2" count which was inhibited in WRITE is now gated through gate 122 which also has an input connected to the 100 output of counter 50. Thus, the "2" count increments counter 50 at every 100 strobe time.In this manner, four digit strobes occur for every count up pulse to counter 50. This arrangement allows a digit for digit comparison between the counter 50 and memory 94. Counter 134 is reset each 100 strobe time and is incremented at each equality of A's and B's in comparator 128, at the count of "6" from the counter 120 in divider 36. Since counter 1 34 is reset at every 10 strobe time, it must "see" four consecutive equalities from comparator 128 before its "4" output goes to a "1".
This will only occur when the four digit number present in counter 50 is equal to the four digit number stored in memory 94 from the previous WRITE cycle. When there is such an equality, both of the flip flops 90, 92 are toggled by this "1 " through gate 138. This causes the "0" outputs of flip flops 92 and 90 to change to "O", "1" respectively, which conditions the memory for an ERASE cycle.
Erase mode During the ERASE time counter 134 is inhibited from reset via gate 96, inverter 1 56, gate 132, inverter 1 58, and gate 1 60, hence the count of four is retained (from the preceding READ). The oscillator 32 is set to its low frequency mode as it was for WRITE. Counter 50 is inhibited from counting, and switches 130 a-d are turned on so that the "A" inputs are connected to the "B" inputs of comparator 128, as in WRITE. Thus the memory 94 will now be cycled through its four addresses (by the decoding of strobe lines with gates 140, 142). Because of the "on" condition of switches 1 30, each of the four strobe times will result in an equality in comparator 128 and counter 134 will continue to count up from four through the same gating as in WRITE.After the fourth strobe time counter 134 will reach the count of eight which puts a "1 " on gate 1 52 and on the "S" input of flip flop 92, changing its.
"Q" output (C1) to a "1". Since the "Q" output of flip flop 90 (C2) was already at a "1 " the system is now returned to the COUNT mode, ready to function as a normal counter.
Test mode The purpose of this mode is to enable a service person to check the system in a static mode; it has no affect on any of the operating modes.
When switch 162 in test circuit 38b is changed from "RUN" to "TEST", switch 118 in divider circuit 36 is turned on through gate 164. This stops the internal oscillator of counter 50 and, since the external oscillator is off (assuming the COUNT mode), the display strobing ceases at whatever digit was on when the switch was changed. Thus a single digit is displayed and static BCD and strobe data appears at the output 40. To change the static data, the digit select switch 1 66 in test circuit 38a is actuated. This causes the next digit to be displayed and new PCD data appears on the output. This manual digit select is accomplished through gate 168 and switch 118, to the digit select clock (DSC) input of counter 50.
Manual set mode The display 28 may be set manually to a particular number by means of four push button switches in the manual set circuit 34. The direction of count is normally up. However, actuation of DOWN switch 170 will cause the count direction to be reversed. This is useful during initial setting. A FAST switch 1 72 will cause counter 50 to operate at a high rate by overriding its internal oscillator. A SLOW switch 1 74 causes counter 50 to count at a slow rate and will normally be utilized after the fast switch or if the count is to be changed by relatively few numbers. A SINGLE switch 1 76 will advance or decrement counter 50, one count by each actuation.
Timing As a further aid in understanding the operation of this invention, reference is made to the timing charts of FIGS. 3-6. These illustrate, respectively, the wave forms and timing of the COUNT, WRITE, READ and ERASE modes. As these charts merely illustrate functions already described in detail, it is believed that they will be self explanatory to those skilled in the art.

Claims (5)

1. A memory system comprising a first electronic counter connected to receive input data for producing address and data signals, a memory coupled to receive said address signals and having data terminals, condition responsive means for selectively producing read and write signals for controlling said memory to apply stored data to said data terminals and to store data therein applied to said data terminals, a variable rate clock means connected to be enabled in response to the read and the write signals for enabling said first counter to store counts read out of said memory at a first rate and to be enabled in response to the write signals for applying data signals to said data terminals at a second rate substantially slower than said first rate.
2. A system according to Claim 1 including a multi-digit display coupled to receive address and data signals from said first counter, said first counter having an internal clock for stepping said address signals at a third rate different than said first and second rates for effecting display of data on said display means.
3. A system according to Claim 1 or 2 further comprising a second counter, means stepping said second counter at rates determined by said clock means, and means responsive to determined counts of said second counter for resetting said condition responsive means.
4. A system according Claim 3 further comprising means responsive to equality of the count of said counter and data stored in determined addresses of said memory for stepping said second counter to response to said write signals.
5. A system according to any preceding claim in which the first counter is a volatile counter and the memory is a non-volatile memory, said condition responsive means being coupled to be responsive to operating voltages applied to said system.
GB8032498A 1978-03-24 1979-03-21 Memory system Expired GB2056139B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US05/889,627 US4224506A (en) 1978-03-24 1978-03-24 Electronic counter with non-volatile memory
GB7909861A GB2019065B (en) 1978-03-24 1979-03-21 Electronic counter with non-volatile memory

Publications (2)

Publication Number Publication Date
GB2056139A true GB2056139A (en) 1981-03-11
GB2056139B GB2056139B (en) 1983-03-02

Family

ID=26270960

Family Applications (2)

Application Number Title Priority Date Filing Date
GB8032498A Expired GB2056139B (en) 1978-03-24 1979-03-21 Memory system
GB8031342A Expired GB2056726B (en) 1978-03-24 1980-09-29 Memory system

Family Applications After (1)

Application Number Title Priority Date Filing Date
GB8031342A Expired GB2056726B (en) 1978-03-24 1980-09-29 Memory system

Country Status (1)

Country Link
GB (2) GB2056139B (en)

Also Published As

Publication number Publication date
GB2056726B (en) 1983-02-23
GB2056726A (en) 1981-03-18
GB2056139B (en) 1983-03-02

Similar Documents

Publication Publication Date Title
US4224506A (en) Electronic counter with non-volatile memory
US4064485A (en) Digital load control circuit and method for power monitoring and limiting system
US3950657A (en) Timer circuits
US3470542A (en) Modular system design
US4190884A (en) Automatic digital water control system
US3903515A (en) Method of and apparatus for controlling the performance of timed functions
US5455923A (en) Memory system for loading peripherals on power up
US4101761A (en) Timing pulse generator
US3651469A (en) Binary touch-tune system with memory
US4301512A (en) Test device for blood pressure monitor
US3965468A (en) Logic pulser
JPH0697429B2 (en) Low voltage blocking controller
US4145617A (en) Control circuit for providing time selected application of A.C. power
GB2056139A (en) Memory system
JPS55130000A (en) Memory unit
US4719598A (en) Bit addressable programming arrangement
CA1132715A (en) Electronic counter with non-volatile memory
US3292036A (en) Controllable digital storage display circuitry
US4447798A (en) Processor select switch
US3329949A (en) Unilateral conductive gate circuit for selective energization of one of two load devices
US3979580A (en) Function selector
US4076399A (en) Control mechanism for a plurality of slide projectors
US5491825A (en) Microprocessor having a functionally multiplexed input and output terminal
GB934306A (en) Tunnel diode logic circuit
SU1569836A1 (en) Data input device

Legal Events

Date Code Title Description
PE20 Patent expired after termination of 20 years

Effective date: 19990320