Electronic postage meter and method and apparatus for controlling erasure and writing of data in non-volatile memory

Abstract: Comprises monitoring an input power signal to provide an output enable signal when the input power signal reaches a first predetermined threshold voltage, transmitting a reset sig­ nal to a microprocessor (38) to inhibit the generation of a write signal prior to the input signal reaching the threshold voltage, transmitting a non-volatile erase signal from the microproces­ sor (38) subsequent to the input power signal reaching the threshold voltage, applying a bias voltage to a terminal of the non-volatile memory (58) to allow the erasure of data there­ from only during a coincidence between the non-volatile mem­ ory erase signal and the output enable signal, perferably pro­ viding a low voltage warning signal to the microprocessor when the input power signal falls below a specified value, re­ moving the output enable signal when the input power signal falls below a second predetermined threshold voltage, trans­ mitting a non-volatile memory write signal from the micropro­ cessor subsequent to receiving the low voltage warning signal and prior to removal of the output enable signal, applying a bi­ as voltage to a terminal of the non-volatile memory to allow the writing of data therein only during a coincidence between the non-volatile memory write signal and the output enable signal and providing a reset signal to the microprocessor coincident with the removal of the output enable signal to inhibit the gene­ ration of any spurious write or erase signals by the micropro­ cessor.

Description: The present invention relates to electronic postage meters, and to a method and apparatus for controlling the erasure and writing of data in non-volatile memory of an electronic postage meter. The present application is related to copending European Application EP-A-0,111,322 in the names of Pitney Bowes, Inc., which describes one type of postage meter in which the present invention may be utilized. Various electronic postage meter systems have been developed, as for example the systems disclosed in U.S. Patent 3,978,457 for Microcomputerized Electronic Postage Meter Systems, in U.S. Patent 3,938,095 for Computer Responsive Postage Meter and in European Patent Application EP-A-0,019,515, filed May 5, 1980 for Electronic Postage Meter Having Improved Security and Fault Tolerance Features. Electronic postage meters have also been developed employing plural computing systems; such a system is shown in U.S. Patent 4,301,507 for Electronic Postage Meter Having Plural Computing Systems and assigned to Pitney Bowes, Inc. of Stamford, Connecticut. Electronic postage meters include non-volatile memory capability to store critical postage accounting information. This information includes, for example, the amount of postage remaining in the meter for subsequent printing or the total amount of postage already printed by the meter. Other types of accounting or operating data may also be stored in the non-volatile memory, as desired. The non-volatile memory in electronic postage meters provides a storage function accomplished in prior mechanical type postage meters by mechanical accounting registers. However, postage meters with mechanical accounting registers are not subject to the many problems encountered by electronic postage meters. Conditions do not normally occur in mechanical type postage meters that prevent accounting or a printing cycle or which result in the loss of data stored in the mechanical accounting registers. Moreover, in mechanical postage meters it is not necessary to electronically monitor the position of the mechanical components associated with the printing of postage. The position is however different with electronic postage meters. Conditions can occur in electronic postage meters where information stored in non-volatile memory may be permanently lost. Conditions such as a total line power failure or fluctuation in voltage conditions can cause the microprocessor associated with the meter to operate erratically and either cause erasure of data or the writing of spurious data in the non volatile memory. The erasure of data or the writing of spurious data in the non-volatile memory may result in a loss of information representing the postage funds stored in the meter. Since data of this type changes with the printing of postage and is not permanently stored elsewhere, there is no way to recapture or reconstruct the lost information. Under such circumstances, it is possible that a user may suffer a loss of postage funds. To minimize the likelihood of a loss of information stored in the non-volatile memory, efforts have been expended to ensure the high reliability of electronic postage meters. Some systems for protecting the critical information stored in the meter are disclosed in the above-noted patents and applications. An additional arrangement to protect the postage meter accounting information is disclosed in U.S. Patent 4,285,050 for Electronic Postage Meter Operating Voltage Variation Sensing System, assigned to Pitney Bowes, Inc., and in GB-A-2,062,311. It will be understood that it is desirable to provide a power supply for electronic postage meters which is physically associated with and part of the meter. In the event of an external power failure, the power supply within the secure housing of the postage meter should continue to generate a sufficient, regulated power, for a long enough time to orderly and accurately transfer critical information from the volatile memory (RAM) to the non-volatile memory. The problem of ensuring proper power during a power down cycle is compounded because certain non-volatile memories need several different voltage levels for proper operation. As an example, one type of solid state memory requires the presence of three different voltage levels to accomplish a write or erase operation. While the microprocessors used in electronic postage meters can be reset and become inoperative below a predetermined voltage level, such microprocessors may become active again at even lower voltage levels. The microprocessors may be turned off below a predetermined voltage level and thereafter within a lower range turn on again and be capable of outputting data. The microprocessors will again turn off below the lower predetermined range. Because of this unreliable operation with respect to reset or turn off the accounting information within the postage meter can be destroyed by the inadvertent erasing of data or writing of spurious data during a power down cycle when the microprocessor is believed to be inoperative. Moreover, the cost of carefully testing and selecting microprocessor component for postage meters to avoid this problem can greatly increase the cost of such parts, both because of the cost of testing and because of the rejection of the microprocessor devices that exhibit this characteristic. Systems have been designed to preserve information stored in electronic memory units when power fails. Examples of systems of this type are shown in United States Patent 3,859,638 for a Non-Volatile Memory Unit with Automatic Standby Power Supply; United States Patent 4,049,951 for Data Detection Apparatus; and United States Patent 3,676,717 for Non-Volatile Flip-Flop Memory Cell. These systems, in part, involve sensing power failure and taking measures to ensure data is not lost such as by employing an auxiliary standby power supply or by loading the data into a non-voiatile memory. Other United States patents which show systems to protect stored information are United States Patent 3,801,963 for Method and Apparatus for Transferring Data from a Volatile Data Store Upon the Occurrence of a Power Failure in a Computer; United States Patent 3,959,778 for Apparatus for Transferring Data from a Volatile Main Memory to a Store Unit Upon the Occurrence of an Electrical Supply Failure in a Data Processing System; United States Patent 3,810,116 for Volatile Memory Protection; and United States Patent 3,980,935 for Volatile Memory Support System. Power failure protection systems have been incorporated in electronic postage meter systems. A postage meter power failure protection system is shown and described in United States Patent 3,978,457 for Microcomputerized Electronic Postage Meter System. In this system, when a voltage drops below a threshold level, a signal is generated which initiates a shut down routine. As part of the shut down routine, the contents of a working random access memory are transferred to a non-volatile memory. The maximum time to detect the shut down signal and the time to transfer the register contents from the work memory to the non-volatile memory is a function of the circuit components including the power supply filter capacitors. It is known that during "power-up" and "power-down" the micro-processor may not function predictably and, therefore, that the memory must be protected. The protection is accomplished by gates. Our copending European Patent Application No. 82 108 662.6. filed on September 20, 1982, provides a memory protection circuit which protects against unreliable microprocessor operation when power failure occurs for any reason. The memory protection circuit maintains the integrity of the accounting data stored in the meter by ensuring that information is not inadvertently written into or erased from the non-volatile memory during a power down cycle. Further, this patent application describes the various voltage levels necessary for writing into different types of non-volatile memories and the requirement to maintain such voltages for a long enough time during the power down cycle to provide an orderly and accurate transfer of critical information from the volatile memory (RAM) to the NVM. However, in accordance with this patent application, although the NVM is protected during the power down cycle from the writing of spurious data therein, there is no such protection afforded to the NVM during normal meter operation when a fluctuation in voltage conditions may cause the microprocessor to operate erratically, causing the erasure of data or the writing of spurious data in the non-volatile memory. In accordance with the above-mentioned European patent applocation bias voltages are maintained on the non-volatile memory for sufficient time during the power down cycle to provide an orderly and accurate transfer of critical information from the RAM to the NVM if the power supplied has reached its expected output voltage. However, should a power failure occur during power up shortly after the write terminal of the NVM is energized, it is possible that critical information may be lost since the write terminal voltage is removed at the same point on the power supply output voltage curve during the power down cycle as it is applied to the write terminal during power up. In aforementioned United States Patent 4,285,050 an operating voltage variation sensing system is disclosed for an electronic postage meter using hysteresis for the power down and power up cycles. Although such circuit provides control of the application of an enable voltage to the non-volatile memory during power up and power down of the meter, it is relatively complex and expensive to implement. Further, such circuit utilizes the architecture of the microprocessor to provide the power down cycle threshold voltage, and does not supply a low voltage warning signal and a power down cycle threshold voltage to the microprocessor external therefrom. GB-A-2,062,311 discloses a method for controlling the erasure and writing of data in non-volatile memory of an electronic postage meter, comprising the steps of (a) monitoring a regulated input power signal to provide an output enable signal when said input power signal reaches a first predetermined threshold voltage; (b) removing the output enable signal when said input power signal falls below a second predetermined threshold voltage; (c) transmitting a reset signal (RESET) to a micro-processor for inhibiting the generation of a memory control signal for the non-volatile memory prior to said input power signal reaching said first predetermined threshold voltage; (d) applying a bias voltage to a terminal of the non-volatile memory to render it operable; (e) operating the micro-processor in its power-down cycle when the second predeterined threshold is reached for transferring information to the non-volatile memory, after which the bias voltage is decoupled from the non-volatile memory; and (f) transmitting the memory control signal from the microprocessor subsequent to the input power signal reaching the first threshold voltage. GB-A-2,062,311 also discloses apparatus for controlling the erasure and writing of data in non-volatile memory of a microprocessor controlled electronic postage meter, comprising: comparator means arranged to provide a predetermined control output voltage at its output terminal at a first specified voltage level during a power up cycle and to remove the predetermined control output voltage from its output terminal at a second specified voltage level during a power down cycle, the first specified voltage level being greater than the second specified voltage level; reset signal means for electrically coupling the output terminal of said comparator means to the microprocessor to inhibit generation of memory enable control signals from a microprocessor control terminal in the absence of a predeterined control output voltage at the output of said comparator means; erase and write control means for electrical coupling between said control terminal of the microprocessor and the output terminal of said comparator means; and non-volatile memory switching means electrically coupled to said erase and write control means for supplying an enabling voltage to a non-volatile memory. However, the non-volatile memory of this system is enabled to receive or erase data whenever the source of operating power is above the first threshold value. In some conditions, as discussed above, this may not provide adequate security for memory contents. An object of the present invention is to provide a non-volatile memory protection circuit which protects the NVM during power-up and power-down of an electronic postage meter, as well as during normal meter operation. A further object of the present invention is to provide a non-volatile memory protection circuit which interacts with the microprocessor during meter operation. A still further object of the present invention is to provide a non-volatile memory protection circuit in which a low voltage warning signal and power down cycle threshold voltage are applied to the microprocessor external therefrom. A further object of the present invention is to provide a non-volatile memory protection circuit which is reliable and simple in design, yet inexpensive to implement. According to one aspect of the invention there is provided an apparatus for controlling the erasure and writing of data in non-volatile memory of a microprocessor controlled electronic postage meter, comprising: comparator means arranged to provide a predetermined output enable signal at its output terminal at a first specified voltage level during a power up cycle and to remove the predetermined output enable signal from its output terminal at a second specified voltage level during a power down cycle, the first specified voltage level being greater than the second specified voltage level; reset signal means for electrically coupling the output terminal of said comparator means to the microprocessor to inhibit generation of memory control signals from a microprocessor control terminal in the absence of said predetermined output enable signal at the output of said comparator means; erase and write control means for electrical coupling between said control terminal of the microprocessor and the output terminal of said comparator means; and non-volatile memory switching means electrically coupled to said erase and write control means for supplying a bias voltage to a non-volatile memory; characterised in that said non-volatile memory switching means is arranged to be activated to supply said bias voltage as aforesaid to allow erasure of data from the non-volatile memory, in response to a control signal from the erase and write control means generated upon coincidence of the presence of a memory control signal from the control terminal of the microprocessor and the presence of the predetermined control output voltage at the output of said comparator means. In a preferred embodiment of the invention, the apparatus is characterised by low voltage warning means for providing a low voltage warning signal to the microprocessor during the power down cycle when the input voltage has decreased to a preset voltage level, said microprocessor being arranged to supply said memory control signal as a write command subsequent to receiving the low voltage warning signal and prior to removal of said output enable signal, and said non-volatile memory switching means being arranged to supply said bias voltage to allow writing of data only during coincidence between said memory control signal and said output enable signal. According to another aspect of the invention, there is provided a method of operating apparatus according to said preferred embodiment of the invention for controlling the erasure and writing of data in non-volatile memory of an electronic postage meter, comprising the steps of: (a) monitoring a regulated input power signal to provide an output enable signal when said input power signal reaches a first predetermined threshold voltage during a power up cycle; (b) removing the output enable signal during a power down cycle when said input power signal falls below a second predetermined threshold voltage being smaller than said first predetermined threshold voltage; (c) transmitting a reset signal (RESET) to a microprocessor for inhibiting the generation of a memory control signal for the non-volatile memory prior to said input power signal reaching said first predetermined threshold voltage; (d) applying a bias voltage to a terminal of the non-volatile memory to render it operable; (e) operating the microprocessor in its power down cycle when the second predetermined threshold is reached for transferring information to the non-volatile memory, after which the bias voltage is decoupled from the non-volatile memory; and (f) tranmitting the memory control signal from the microprocessor subsequent to the input power signal reaching the first threshold voltage; characterised by: applying said bias voltage to said terminal of the non-volatile memory to allow the erasure of data therefrom only during a coincidence between the memory control signal and output enable signal; providing a low voltage warning signal to the microprocessor when the input power signal falls below a specified value; transmitting the memory control signal from the microprocessor as a write command subsequent to receiving the low voltage warning signal and prior to removal of the output enable signal; applying said bias voltage to said terminal of the non-volatile memory to allow the writing of data therein in response to said write command only during coincidence between the memory control signal and the output enable signal; and providing the reset signal to the micro-processor coincident with the removal of the output enable signal to inhibit the generation of any spurious write or erase signals by the micro-processor. Other objects, aspects and advantages of the present invention will be apparent to those skilled in the art from the following detailed description of preferred embodiments of the invention considered in conjunction with the accompanying drawings in which: Figure 1 is a circuit diagram of a portion of the non-volatile memory protection circuit; Figure 2 is a circuit diagram of the low voltage warning circuitry of the non-volatile memory protection circuit; and Figure 3 is a graph of the D.C. input voltage and the voltage signals which occur during application of the D.C. input voltage. Figure 1 illustrates a non-volatile memory protection circuit 10 for non-volatile memory (NVM) 58. This circuit 10 includes a comparator generally designated as 12 which receives a +23.9V input from a 24V regulator, see Figure 2. The comparator 12 includes a first voltage divider 14 having a first resistor 16 electrically coupled between the +23.9V input and the inverting input terminal of an operational amplifier 18, and a second resistor 20 connected between the inverting input terminal of the operational amplifier 18 and ground. A second voltage divider 22 includes a resistor 24 coupled between the +23.9V input and one terminal of a Zener diode 26. The Zener diode 26 has a breakdown voltage of 6.8V and its other terminal is grounded. A second resistor 28 is coupled between the resistor 24 and the non-inverting input terminal of the operational amplifier 18. Finally, a third resistor 30 is coupled between the resistor 28 and the output of the operational amplifier 18. The resistors 28 and 30 are electrically connected at a reference point designated 31. The output of the operational amplifier 18 is coupled to the base terminal of an NPN transistor 32 through a current limiting resistor 34. The emitter terminal is grounded and the collector terminal is coupled to a +5V bias through a current limiting resistor 36. The output from the collector terminal is applied to a RESET terminal of a microprocessor 38. Also coupled between the collector terminal and ground is a timing capacitor 40. Also coupled to the output of the operational amplifier 18 is a PNP transistor 42. The base terminal of the transistor 42 is coupled to the output of the operational amplifier 18 through a current limiting resistor 44. The emitter terminal of the transistor 42 is coupled to the collector terminal of a PNP transistor 46. The emitter of the transistor 46 is coupled to a +5V bias. A resistor 48 is coupled between the emitter and base terminals of transistor 46. The base terminal of the transistor 46 is coupled to an ERASE or WRITE control terminal of the microprocessor 38 through a current limiting resistor 50. The collector terminal of the transistor 42 is coupled to the base of an NPN transistor 52 through a current limiting resistor 54. The emitter terminal of the transistor 52 is coupled to a negative voltage supply, here -30V, and a biasing resistor 56 is coupled between the emitter terminal of a transistor 52 and the collector terminal of transistor 42. The collector terminal of transistor 52 is coupled to the NVM 58. Also coupled between the collector terminal of the transistor 52 and ground is a filtering capacitor 60. Referring to Figure 2, a low voltage warning circuit is illustrated generally at 70. Initially, unregulated D.C. is supplied to a 24V regulator 72 for regulation. The output of the 24V regulator 72 is applied to a +5V wide range switching regulator 74, such as a SH1605 available from National Semiconductor Corporation, for providing a constant +5V output when the input voltage is within the range of +8 to +35V. An energy storage capacitor 76 is coupled between the output of the +24V regulator 72 and ground. The output of the +24V regulator 72 is coupled to the N terminal of a Zener diode 78 having a breakdown voltage of 20V. The P terminal of the Zener diode 78 is coupled to the inverting input terminal of an operational amplifier 80 through a current limiting resistor 82. Another resistor 84 also couples the P terminal of the Zener diode 78 to ground. Another Zener diode 86 having a breakdown voltage of 3.9V has its N terminal coupled to the P terminal of Zener diode 78 and its P terminal coupled to the +24V regulator 72 to provide feedback control of the output voltage from the regulator 72. A resistor 88 also couples the P terminal of the Zener diode 86 to ground. The non-inverting input terminal of the operational amplifier 80 has a +5V bias applied thereto through a current limiting resistor 90. A resistor 92 is also coupled between the non-inverting input terminal of the operational amplifier 80 and ground. A feedback resistor 94 is coupled between the output of the operational amplifier 80 and its non-inverting input terminal. The output of the operational amplifier 80 is coupled to the low voltage warning terminal of the microprocessor 38. The output of the amplifier 80 is normally held at +5 volts through a +5V bias voltage applied thereto through a current limiting resistor 96. Referring to Figure 3, the D.C. input voltage curve designated 100 is shown with the pertinent voltage signals during power up, power down and normal meter operation related thereto. Specifically, during power up, and with reference also to Figures 1 and 2, the output COMP of the comparator 12 attains its high state as the input voltage rises toward 6.8V. At this point, the Zener diode 26 conducts and holds the output of the operational amplifier 18 at a constant 6.8V. When a high output is present at the output of the operational amplifier 18, the transistor 32 conducts providing a RESET signal (true low) to the microprocessor 38. The presence of the RESET signal inhibits the microprocessor 38 from generating an ERASE signal until the RESET signal is removed. Further, during this period the transistors 46 and 42 are biased out of conduction so that the transistor 52 does not conduct. Therefore, there is no output applied to the -30V terminal of the NVM 58. This condition is true from the time the comparator 12 becomes operational (about 2-3 volts) until the input voltage reaches +20.4 volts. However, when the input voltage reaches 20.4V, the output voltage 102 of the operational amplifier 18 abruptly switches to zero as seen in Figure 3. This is caused by the voltage divider 14 which due to the arrangement of resistors 16 and 20 supplies 1/3 of the input voltage or 6.8 volts to the inverting input terminal of the operational amplifier 18. Since the non-inverting input terminal is also held at 6.8 volts, the operational amplifier 18 switches to a zero volt output. The output of the operational amplifier 18 then remains at zero during the remainder of the power-up cycle and during normal meter operation since the voltage present at the inverting input terminal of the operational amplifier 18 is greater than the voltage present at the non-inverting input terminal. The presence of a zero voltage at the output of the operational amplifier 18 turns off transistor 32 allowing the micro-processor 38 to come out of the reset condition after a short delay provided by timing capacitor 40. Also, during power up, a low voltage warning signal is supplied to the microprocessor 38 by operational amplifier 80 until the input voltage exceeds 20 volts and Zener diode 78 conducts. The switching regulator 74 supplies a positive bias to the non-inverting input of the operational amplifier 80 resulting in a high or warning signal. As the input voltage exceeds 20 volts, Zener diode 78 starts to conduct causing the output of comparator 80 to go low. The microprocessor 38 coming out of the reset condition, loops under program control until the output of the operational amplifier 80 goes low indicating the conclusion of a successful power up sequence. During power up, after the input voltage has surpassed the threshold voltage of 20.4V, the microprocessor 38 under program control applies an ERASE control signal (true low) to the base terminal of transistor 46. This causes the transistor 46 to conduct providing a positive output voltage at its collector terminal. The presence of the positive output voltage at the collector terminal of the transistor 46 biases the transistor 42 into conduction since its base terminal is held at 0 volts. Thus, a positive voltage appears at the base terminal of transistor 52. Since -30V is present at the emitter terminal, the transistor 52 conducts supplying -30V to the WRITE terminal of the NVM 58 for erasing data therefrom, see Fig. 3. During power down, as the input voltage decreases a low voltage warning signal appears at the output of the differential amplifier 80 when the voltage decreases to 20V. At this point, the Zener diode 78 no longer conducts. Since the positive terminal of the operational amplifier 80 is pulled toward +5V, a high output appears at the output of the operation amplifier 80, thereby warning the microprocessor 38 that the voltage is decreasing. At nominally +8V output from the regulator 72, the wide range switching regulator 74 no longer supplies a +5V output. Therefore, the low voltage warning voltage output decays below +8V. However, prior to reaching nominally +8V, but after the D. C. input voltage has fallen below +20V, the microprocessor 38 provides a WRITE control signal to the transistor 46 resulting in the application of -30V to the WRITE terminal of the NVM 58 due to conducticn by the transistor 52. Thus, data is written into the NVM 38, e.g., from a RAM (not shown). When the D. C. voltage level falls to another threshold voltage, here 10.2V, the output of the comparator 12 abruptly switches to 6.8V since the voltage on divider 14 falls below the 3.4 volt reference of divider 22. This precludes conduction by the transistors 42 and 52 and thus prevents the application of -30V to the NVM 58. Similar to power up, when the output of the comparator 12 rises to +6.8V, the transistor 32 conducts applying a RESET signal to the microprocessor 38 which inhibits the generation of an ERASE signal from the microprocessor 38 until after the RESET signal is absent which occurs when the output of the comparator 12 is zero, i.e., at a D. C. input voltage of 20.4V, during power down, when the output of the comparator again rises to +6.8V, i.e., at a D. C. input voltage of 10.2V, the transistor 32 conducts applying a RESET signal to the microprocessor 38 which further inhibits the generation of a WRITE signal from the micro-processor 38 until a power up cycle is entered. During the normal operating cycle of the meter, i.e., after the input voltage has stabilized at +24V, the RESET signal is high so that the micro-processor 38 can generate a WRITE or ERASE signal as required for the NVM 58. Additionally, the zero volt enabling signal 102 in Fig. 3 is present at the output of the operational amplifier 18. Thus, a WRITE or ERASE signal from the microprocessor 38 will cause the transistors 46 and 42 to conduct. Conduction of transistor 42 causes transitor 52 to conduct. This results in the application of -30V to the NVM 58, enabling the same for the writing of data therein or erasure of data therefrom. Some instances in which it may be desired tc erase or write data in NVM during normal meter operation include recharging the registers, e.g., the ascending registers in NVM, changing the combination in VRMRS meters, operating the meter in the service mode to interrogate and change parameters in the NVM, and storing a fault in the NVM. It should be understood for the purpose of the present application that the term "postage meter" refers to the general class of devices for the imprinting of a defined unit value for governmental or private carrier delivery of parcels, envelopes, or other like application for unit value printing. For example, although the term "postage meter" is utilized, it is employed in the trade as a general term for devices utilized in conjunction with services other than those exclusively employed by governmental postage and tax services. For example, private, parcel and freight services purchase and employ such meters as a means to provide unit value printing and accounting for individual parcels.

Claims: Apparatus for controlling the erasure and writing of data in non-volatile memory (58) of a microprocessor controlled electronic postage meter, comprising: comparator means (12) arranged to provide a predetermined output enable signal at its output terminal at a first specified voltage level during a power up cycle and to remove the predetermined output enable signal from its output terminal at a second specified voltage level during a power down cycle, the first specified voltage level being greater than the second specified voltage level; reset signal means (32) for electrically coupling the output terminal of said comparator means (12) to the microprocessor (38) to inhibit generation of memory control signals from a microprocessor control terminal in the absence of said predetermined output enable signal (102) at the output of said comparator means (12); erase and write control means (42,46) for electrical coupling between said control terminal of the microprocessor (38) and the output terminal of said comparator means (12); and non-volatile memory switching means (52) electrically coupled to said erase and write control means (42,46) for supplying a bias voltage to a non-volatile memory (58); characterised in that said non-volatile memory switching means (52) is arranged to be activated to supply said bias voltage as aforesaid to allow erasure of data from the non-volatile memory (58), in response to a control signal from the erase and write control means (42, 46) generated upon coincidence of the presence of a memory control signal from the control terminal of the microprocessor (38) and the presence of the predetermined control output voltage at the output of said comparator means (12). Apparatus according to claim 1 characterised by low voltage warning means (80) for providing a low voltage warning signal to the microprocessor (38) during the power down cycle when the input voltage has decreased to a preset voltage level, said microprocessor (38) being arranged to supply said memory control signal as a write command subsequent to receiving the low voltage warning signal and prior to removal of said output enable signal, and said non-volatile memory switching means (42, 46) being arranged to supply said bias voltage to allow writing of data only during coincidence between said memory control signal and said output enable signal. Apparatus according to claim 2 characterised in that said low voltage warning means includes an operationsl amplifier (80) and a pair of Zener diodes (78, 86) electrically coupled to said operational amplifier (80) to provide a low voltage warning signal to the microprocessor (38) when the input voltage to said low voltage warning means falls below the voltage breakdown value of one said Zener diodes. Apparatus according to claim 1, 2 or 3 characterised in that said comparator means (12) includes an operational amplifier (18), a Zener diode (26) and a voltage divider network (24, 28, 30), said Zener diode and voltage divider network establishing the value of the predetermined control output voltage. Apparatus according to any one of claims 1 to 4 characterised in that said reset signal means includes a transistor (36) which is biased to conduct when the predetermined control output voltage is absent at the output terminal of said comparator means (12). Apparatus according to any one of claims 1 to 5 characterised in that said erase and write control means includes a pair of interconnected transistors (42, 46) for receiving a control signal from the microprocessor (38) as one input and the output of said comparator means (12) as the other input. Apparatus according to any one of claims 1 to 6 characterised in that said non-volatile memory switching means includes a transistor (52) having a bias voltage applied to a first terminal and the output of said erase and write control means (42, 46) applied to a second terminal, the third terminal being for connection to the non-volatile memory (58). A method of operating the apparatus of claim 2 or 3 or any of claims 4 to 7 as dependent on claim 2 for controlling the erasure and writing of data in non-volatile memory (58) of an electronic postage meter, comprising the steps of: (a) monitoring a regulated input power signal (100) to provide an output enable signal (102) when said input power signal reaches a first predetermined threshold voltage during a power up cycle; (b) removing the output enable signal (102) during a power down cycle when said input power signal falls below a second predetermined threshold voltage being smaller than said first predetermined threshold voltage. (c) transmitting a reset signal (RESET) to a microprocessor (38) for inhibiting the generation of a memory control signal for the non-volatile memory (58) prior to said input power signal reaching said first predetermined threshold voltage; (d) applying a bias voltage to a terminal of the non-volatile memory (58) to render it operable; (e) operating the microprocessor in its power down cycle when the second predetermined threshold is reached for transferring information to the non-volatile memory (58), after which the bias voltage is decoupled from the non-volatile memory; and (f) transmitting the memory control signal from the microprocessor (38) subsequent to the input power signal reaching the first threshold voltage; characterised by: applying said bias voltage to said terminal of the non-volatile memory (58) to allow the erasure of data therefrom only during a coincidence between the memory control signal and output enable signal (102); providing a low voltage warning signal to the microprocessor (38) when the input power signal falls below a specified value; transmitting the memory control signal from the microprocessor (38) as a write command subsequent to receiving the low voltage warning signal and prior to removal of the output enable signal (102); applying said bias voltage to said terminal of the non-volatile memory (58) to allow the writing of data therein in response to said write command only during coincidence between the memory control signal and the output enable signal; and providing the reset signal to the micro-processor (38) coincident with the removal of the output enable signal to inhibit the generation of any spurious write or erase signals by the micro-processor. A method according to claim 8 characterised by providing a stable input voltage to the micro-processor (38) during normal meter operation between the first and second predetermined threshold voltages. An electronic postage meter characterised by apparatus according to any one of claims 1 to 7 in combination with a non-volatile memory (58) and a microprocessor (38).

Inventors: ECKERT ALTON B, NAMBUDIRI, ECKERT, ALTON B., NAMBUDIRI, EASWARAN, C.N.
Applicants: PITNEY BOWES INC, PITNEY BOWES INC.
Application year: 1984
Main classification: G11C5
IPC codes: G07B17, G11C16, G06Q50