Electronic postage meter having redundant memory

Information

  • Patent Grant
  • 4916623
  • Patent Number
    4,916,623
  • Date Filed
    Friday, November 25, 1988
    36 years ago
  • Date Issued
    Tuesday, April 10, 1990
    34 years ago
Abstract
An electronic postal meter has an accounting unit with redundant nonvolatile random access memories controlled by a microprocessor system. The redundant random access memories have separate groups of address and data lines to minimize identical errors in data stored therein. The data transfer may occur at different times to and from the memories, with respect to any given byte of data. The system may incorporate redundant microprocessors, and critical parameters may be checked at periodic intervals in the main program of the accounting microprocessor system.
Description

This invention relates to electronic accounting systems, and is especially directed to an electronic postage meter having a microprocessor controlled electronic accounting unit with non-volatile random access memory.
An electronic postage meter having an accounting unit with a microprocessor, and nonvolatile memory for storing accounting data, is disclosed, for example, in U.S. Pat. No. 4,301,507, issued Nov. 11, 1981, and assigned to the assignee of the present application. In this system the accounting data is stored in the random access memory and retrieved from the random access memory by way of common address and data lines of the microcomputer system. While in most instances it can be assured that the accounting data stored in the memory will be correct, there are certain conditions that can occur that can result in nondetectable errors in the data.
In order to overcome such problems, it has been proposed to employ redundant memories. The microprocessor program for the postal meter thus includes a subroutine for comparing the data stored in the redundant memories, to provide an error indication if the stored data in the two memories is different. While this technique increases the reliability of the stored data, there are certain conditions in which even this type of a redundant system will not enable the determination of an error. It must, of course, be emphasized that, in a postage meter, it is essential that the highest degree of reliability of the accounting data be obtained.
The present invention is therefore directed to the provision of an electronic postage meter having redundant memory in the nonvolatile accounting memory wherein the possibility of error conditions that are not detectable is minimized.
Briefly stated, in accordance with one aspect of the invention, redundant nonvolatile memories are provided in the accounting unit of an electronic postage meter, the accounting unit having a microprocessor controlled to store accounting data redundantly in the two memories. In order to minimize the possibility of nondetectable errors, the two redundant memories are interconnected with the microprocessor, i.e., the microcomputer bus, by way of entirely separate groups of data and address lines. As a result of the complete separation of the addressing and data, various error conditions, such as the shorting of a pair of address lines, will not result in the erroneous addressing of both of the memories. Accordingly, under such conditions, the shorting of a pair of address lines will not result in the storage of the same data in both of the memories, so that a comparison of stored data will result in the detection of the error condition.
In accordance with a further embodiment of the invention, corresponding data is applied redundantly to the redundant memories at different times. This may be effected by separately applying the data sequentially to the two memories. Alternatively, data may be simultaneously applied to or retrieved from the two memories, with the data transferred at any instant with respect to the two memories corresponding to different information. As a result, instantaneously occurring transients on the transmission lines will not be likely to affect the corresponding data stored in the two memories in the same fashion. This system thereby minimizes the possibility of nondetectable and/or noncorrectable errors resulting from transients.
In accordance with a still further embodiment of the invention, the redundancy of the accounting system may be increased by also employing redundant microprocessors for controlling the two memories.
In order to still further minimize the possibility of printing postage without accounting, the program of the microprocessor may be directed to the periodic testing of various critical parameters within the microprocessor, as part of a main routine, the testing routine only being interrupted, if necessary, during a conventional postage printing operation such as the printing of postage and accounting therefor. As a consequence, the routine of the postage meter enables the continuous testing of such parameters, so that the postage meter may be disabled as soon as a condition exists that threatens the integrity of the accounting data. The error checking on a periodic basis may test not only the physical parameters, such as positions of various mechanical elements, but also may effect the comparison of the data stored in the two memories, as well as performing control sum checks to determine if the data stored in each memory is in accordance with determined relationships.





In order that the invention will be more clearly understood, it will now be disclosed in greater detail with reference to the accompanying drawings, wherein:
FIG. 1 is a block diagram of one embodiment of an electronic postage meter in accordance with the invention;
FIG. 2 is a time diagram illustrating the sequence of addressing the redundant memories in accordance with another embodiment of the invention;
FIG. 3 is a time diagram illustrating another sequence for addressing the redundant memories in accordance with the invention;
FIG. 4 is a block diagram of a portion of a modification of the system of FIG. 1;
FIG. 5 is a block diagram of a further modification of a portion of the system of FIG. 1; and
FIG. 6 is a block diagram of a further modification of the invention.





Referring now to the drawings, and more in particular to FIG. 1, therein is illustrated an electronic accounting system, such as may be employed in an electronic postage meter. The system incorporates a central processing unit 10, such as a microprocessor, and a read only memory 11 storing programs for operation of the system. The central processing unit 10 is coupled to one or more peripherals, such as, for example, the printing unit 12 and control unit 13 of an electronic postage meter such as disclosed in U.S. Pat. No. 4,301,507 issued 11-17-81. In the system of FIG. 1 a secured housing 14 surrounds various components of the system, such as the central processing unit 10 and printing unit 12. As a consequence, it is necessary to provide ports between the central processing unit and external control unit 13, in order to enable two-way communication between these units. Preferably, the ports are in the form of a pair of one-way transmission paths with opto couplers 15 and 16 at the secure housing, in order to inhibit the application of any electric potentials to the accounting unit without showing evidence of attempts to damage the unit. The opto couplers preferably provide for two-way serial intercommunication between the units on a bit-by-bit basis, in order to minimize the number of ports necessary in the housing.
In addition, it is desirable, as discussed in U.S. Pat. No. 4,301,507, to enable intercommunication between the printing unit and central processing unit 10 by way of a similar pair of opto coupling devices 17 and 18, these opto couplers preferably enabling serial two-way transmission on a bit-by-bit basis.
The printing unit, as well as the control unit may, if desired, have separate microprocessors incorporated therein, enabling the use of a plurality of dedicated microprocessor systems. This not only enhances the security of the system, but also increases its reliability by restricting the required tasks of each microprocessor to a specific portion of the overall operation of the system. For example, the possibility of conflicting program requirement is thereby greatly reduced.
As illustrated in FIG. 1, a pair of random access memories 20, 21 is also provided within the secure housing. The random access memories 20 and 21 are preferably nonvolatile memories of conventional nature, so that accounting data may be stored therein without loss even though external power to the system may be lost. For example only, the random access memories may be of the type employing battery back-up, EAROM or EEPROM.
In accordance with the invention, the random access memory 20 is connected to the central processing unit 10 by way of a plurality of address lines 22 and a plurality of data lines 23. The random access memory 21 is coupled to the central processing unit 10 by way of another plurality of address lines 24, and another plurality of data lines 25. In accordance with the invention it is necessary that both the address lines and the data lines coupled to the random access memories be different. For example, address lines A0-A7 are of a conventional microprocessor system and may be coupled to the random access memory 20, while address lines C0-C7 are coupled to the random access memory 21. Similarly, conventional data lines B0-B3 may be coupled to the random access memory 20, with data lines D4-D7 being coupled to the random access memory 21.
In an accounting system that requires both security and reliability, it is desirable to provide redundancy. A certain degree of redundancy may be obtained if the random access memories are connected to the central processing unit by separate data lines, although employing the same address lines. In such a system, the same data may be stored or retrieved from the two random access memories by way of their respective separate data lines, either simultaneously or at different times under control of the respective chip enable signals. While in many instances such an arrangement will enable the detection of errors, upon comparison of data in the two memories, there are in fact possibilities of error that cannot be detected. For example, if two of the address lines are inadvertently shorted together, either in the microprocessor itself or externally thereof, the same erroneous data will be stored in the two random access memories, so that comparison of the data stored in the two memories will not reveal an error condition.
The present invention overcomes this problem by employing an entirely different set of address lines of the address bus for addressing the two random access memories. Preferably, of course, the number of address lines, and the number of data lines, connected to each of the random access memories is the same. If, now, two address lines of the system are shorted together, for example, there is little likelihood that the resultant data stored in the two memories will be the same, so that the reliability of the system, in detection of errors, is greatly increased.
While the two random access memories may be simultaneously addressed, employing their separate address lines, for the storage or recovery of the same information, this may also result in errors that could not be detectable or correctable. For example, it is possible that a transient on the bus lines could interfere, in the same manner, with the simultaneously transmitted data. Accordingly, in accordance with a further feature of the invention, as illustrated in FIG. 2, the two memories are addressed, with respect to the same data, in a sequential manner. For example, all of the sequential bytes of a message may be first applied to, or received, from the first memory, i.e., memory 1. Following the transfer of this message, with respect to the first memory, the same message is then transmitted with respect to the second memory. It will, of course, be apparent that the term "byte" herein refers to data of a length equal to the number of data lines connected to each memory.
In order to reduce the time necessary for updating or reading the memory, each memory may be updated or read simultaneously but with different data being transmitted to or from each memory at any instant, as illustrated in FIG. 3.
FIGS. 2 and 3 hence illustrate two techniques for minimizing the occurrence of undetectable errors resulting from the occurrence, for example, of transient pulses. It is apparent that it would be unlikely for the same interference to occur with sequentially transmitted data.
In a still further embodiment of the invention, the data may be stored in the two memories in a different form. For example, the data stored in one or both of the memories may be coded, in order to further minimize the occurrence of errors undetectable by comparison of the data stored in the two memories. For example, as illustrated in FIG. 4, a coder/decoder 30 may be employed to code and decode the data stored in the random access memory 20, applied to and received from the data bus 23. A coder/decoder 31 may optionally be provided for coding and decoding data in the random access memory 21. If such an additional coder/decoder is employed, it is preferably that it have a different coding than that of the coder/decoder 30.
It is, of course, apparent that the programs of the microprocessor have appropriate subroutines to determine, when a comparison between the data shows an inconsistency, which memory bears the greater likelihood of correctness. In addition, further routines may be provided in the event of an inability of the system to determine which of the data entries are error free, to provide an error indication that inhibits further operation of the system.
In the embodiment of the invention illustrated in FIGS. 2 and 3, the two memories are addressed under the control of a fixed program responsive, for example, to a determined condition in the system. As a consequence, a determined relationship necessarily exists between the addressing times for the two memories. As a further modification, when separate memory units are provided, each memory unit may be made independently responsive to determined conditions. For example, when the accounting system is interconnected as illustrated in FIG. 1 to form a postage meter, the two memories may be independently responsive to each feedback of a printer setting, in order to update the separate memories, with an overriding subroutine being provided for cross-checking, i.e., comparing the data stored in the two memories. The independent control may be, for example, in the form of a memory controller. By thus making the two memory units operable more independently from one another, the chances of a greater error-free operation are substantially enhanced.
In order to insure proper operation, and thereby to maintain the integrity of the accounting information stored therein, electronic postage meters are provided with a plurality of sensors, such as the sensors 50, 51 and 52 illustrated coupled to the central processing unit 10 in FIG. 1. These sensors may be employed for checking a number of conditions within the meter, such as the position of a shutter bar blocking operation of the meter, the positions of various interposers controlling operation of the postage meter, and various other condition sensors such as temperature and humidity. In known electronic postage meters of the type employing microprocessors for control, such as disclosed in U.S. Pat. No. 3,978,457 (case B-200), certain of these sensors are interrogated by a software routine upon the initial application of power to the meter. The positions of the various shutter bars and interposers, for example only, are also determined by software routines initiated by various externally originating conditions, such as, for example, manually controlled operations for initiating the printing of postage. The error checking routines for checking such sensors, as well as for checking additional conditions such as the correctness of data stored in the memories, are hence invoked only when specifically requested in response to external stimuli. Thus, even though a condition may have occurred between operations of the postage meter, that would eventually cause it to cease operation, i.e., upon the next call for printing of postage the meter may still deceptively appear externally to be operable.
In accordance with a further feature of the invention, a program for the microprocessor effects the checking of the registers of the random access memory, as well as the various sensors, which may be optical switches, and all other critical data indicators at regular times during the course of operation of the postal meter, rather than simply checking these parameters at startup of the meter and as called for by external stimuli. By thus providing periodic checks, the possibility of error-free operation is even more greatly enhanced. In other words, the main routine of the postage meter, to which it always returns following the completion of, for example, a postage printing operation, includes software subroutines that periodically check critical parameters, such as the proper positioning of mechanical elements in the meter and the correct comparison of data in memories, as well as the correctness of the data in accordance with control sum data. This technique enables the additional advantageous periodic checking of further sensors mounted, for example, to detect mechanical violation of the security of the housing.
For this purpose, as illustrated in FIG. 5, the sensors 50, 51 and 52 may be connected to set a plurality of stages of a shift register 55. It will, of course, be understood that the number of such sensors may be greater than the three illustrated. The shift register 55 is coupled to be addressed and read out by the central processing unit 10 at determined times in the main program. A coded bit pattern is provided in the read only memory 11, corresponding to the correct error-free conditions of the sensors. At the times during the program when the sensors are to be tested, the shift register, under control of the central processing unit, shifts out the existing bit pattern for comparison with the stored bit pattern in the read only memory 11. Thus, the status of the various sensors in the meter may be continually determined, so that the meter may be disabled as soon as a condition exists that threatens the integrity of the meter.
The shift register may be, of course, shifted under the control of the microprocessor, by the conventional clock source in the system. Alternatively, the shift register may be preprogrammed, in accordance with a determined unique pattern, so that the output of the shift register may be compared with a predetermined "good" condition. The information available from an eight or 16 bit pattern code, in accordance with this embodiment of the invention, may thus provide a very large degree of sophistication for the determination of any appropriate error checking for diagnostic purposes, using signature analysis techniques. This form of error checking may be imposed upon various system constraints for both diagnostic and possible error correction on an automatic basis.
In the system illustrated in FIG. 1, as discussed above, the printing unit 12 and control unit 13 may include dedicated microprocessors for controlling the specific function of these units, thereby enabling the use of a dedicated system for the accounting unit including the central processing unit 10, read only memory 11 and random access memories 20 and 21. In further embodiments of the invention, the printing unit 12 may further incorporate a random access memory 90, and/or the control unit 13 may include a nonvolatile random access memory 91.
In a further embodiment of the invention, as illustrated in FIG. 6, the nonvolatile random access memories 20, 21 of the accounting system are intercoupled with separate microprocessors 60 and 61, each of the microprocessors having a separate read only memory 62, 63 respectively, for storing the operating programs for the respective microprocessor. It will, of course, be apparent in the arrangement of FIG. 6, as well as in the arrangement of FIG. 1, that the read only memory, as well as other components of the system, may be incorporated in the same integrated circuit as the microprocessor. Since the two microprocessors are separately controlled, and have separate address and data lines 64, 65 respectively, the two random access memories are thereby entirely independently controlled. The two microprocessors separately communicate with the control unit 13 and printer 12 by way of separate selecting switches 70 and 71 addressed by the respective microprocessors 60 and 61. As a consequence, each of the microprocessors may receive signals from the printer and control unit, and each of them may also transmit messages. In addition, data processed in the two microprocessors may be compared by means of a data latch 72 controllable by either of the microprocessors.
In the arrangement of FIG. 6, input data received, for example, from the keyboard 73 or other peripheral device coupled to the control unit 13, is applied by way of the opto couplers 15 and 16 and the selecting switches 70 and 71 to the two microprocessor systems. Alternatively, of course, the data may be input to the two microprocessors in response to an interrupt signal. The two microprocessors, in response to the input information, perform the necessary accounting procedures independently of one another, with respect to the data stored in the respective random access memories. The programs of the two microprocessors enable interchange of accounting data for comparison, for example, on a contention basis, by way of the data latch 72. The programs of the two microprocessors may enable, for example, only one of the microprocessors to control the display 75 coupled to the control unit 13, and/or to control the printer 12. Alternatively, of course, redundant control may be employed, whereby the control of a printer function, or the control of a display, may require the common occurrence of the output function from the two microprocessors. This may be effected, for example, in the manner disclosed in U.S. Pat. No. 4,301,507 issued Nov. 17, 1981, and assigned to the assignee of the present application, by controlling a pair of series transistors separately by the two microprocessors, whereby the common output of the series transistors effects the desired control. It is, of course, apparent that other techniques may be employed for this purpose.
The arrangement of FIG. 6 thereby increases the redundancy of the system, so that even a failure in a microprocessor will enable the determination, with great reliability, the occurrence of an error condition that may require the disabling of the meter.
In the system of FIG. 6, the printer 12 is more completely shown as comprised of a microprocessor 80 coupled to the opto couplers 17 and 18, and controlling a print setter 81. The print setter 81 sets the printwheels in a printer 82, the setting of the printwheels being fed back to the microprocessor 80 by way of a feedback path 83. This feedback enables the printer unit to determine if an error has occurred in the setting of the printwheels, and thereby to disable the meter in the event of an erroneous setting. The feedback setting may be applied from the microprocessor 80 to the opto couplers 17 and 18, thereby enabling the two microprocessors in the accounting system to be separately responsive to the feedback signals, for accounting for postage to be printed.
It is, of course, apparent that suitable control lines are provided connected to the microprocessor and random access memories, in the disclosed systems of the invention, in the conventional manner, for controlling the systems.
The function of disabling the meter, in the illustrated embodiments of the invention, may be effected by inhibiting, under program control, operation of the mechanical elements of the meter. Alternatively, the existence of an error requiring disabling of the meter may direct the routines of the microprocessor to perform an endless loop. Errors that do not require disabling of the meter may be displayed, under control of the microprocessor, by means of the display 75 coupled to the external control unit.
While the invention has been disclosed and described with reference to a limited number of embodiments, it will be apparent that variations and modifications may be made therein, and it is intended in the following claims to cover each such variation and modification as falls within the true spirit and scope of the invention. Other types of memory can, of course, be employed instead of RAM such as serial memory.
Claims
  • 1. In an electronic postage meter system having a microprocessor connected to a plurality of address lines, a plurality of data lines, and control line means, and random access memory means connected to said address and data lines and to said control line means to enable storage of data in said random access memory means and reading of data from said random access memory means under control of said microprocessor; the improvement wherein said random access memory means comprises first and second random access memories each connected to separate groups of said address lines and separate groups of said data lines, whereby data may be transferred to and from said first and second random access memories independently of any common interconnection.
  • 2. The electronic postage meter system of claim 1 further comprising permanent memory means for storing postage meter routines for controlling said microprocessor, said routines addressing said first and second random access memories time sequentially for transfer of identical data thereto.
  • 3. The electronic postage meter system of claim 1 further comprising permanent memory means having postage meter programs for controlling said microprocessor, said programs addressing said first and second random access memories with time overlap, to transfer identical data to and from said first and second random access memories respectively whereby the identical data is transferred to and from said first and second random access memories at different times while both of said random access memories are addressed in a plurality of successive addressing cycles of said microprocessor and different data is transferred to and from said first and second random access memories at a common time when both random access memories are accessed.
  • 4. The electronic postage meter system of claim 1 wherein said microprocessor has first and second coding/decoding means for coding data applied to and decoding data retrieved from said first and second random access memories, respectively via said separate groups of data lines, said first and second coding/decoding means having different coding whereby data is stored in a different form in said first and second random access memories.
  • 5. In an electronic postage meter system having a microprocessor with a plurality of address lines a plurality of data lines, and control line means, and random access memory means connected to said address and data lines and control line means to enable transfer of data between said random access memory means and microprocessor, said postage meter having a printer connected to be controlled by said microprocessor, and feedback means for signalling the setting of the printing means to the microprocessor; the improvement wherein said random access memory means comprises first and second random access memories, and a control means connected to said first and second random access memories and to said feedback means, said control means being responsive to feedback from said feedback means to update independently the accounting data in each of said first and second random access memories.
  • 6. In an electronic postage meter having a printing unit and an accounting unit connected to said printing unit for accounting for the printing of postage; the improvement wherein said postage meter accounting unit comprises first and second microprocessors, said first and second microprocessors having programs for separately updating their respective accounting registers, to account for the printing of postage by said meter, and means for comparing the accounting results in said first and second accounting registers for disabling said postage meter in the absence of a proper comparison.
  • 7. The electronic postage meter of claim 6 wherein said printing unit comprises a further microprocessor having a postage printing program for controlling printing of said postage meter.
  • 8. A microprocessor system including an address bus having a plurality of address lines, a data bus having a plurality of data lines, and a control bus having a plurality of control lines, a microprocessor connected to each of the address lines and data lines respectively of said address and data buses, and coupled to said control bus, first and second random access memories, each being connected to different lines of said address bus and different lines of said data bus, whereby said first and second random access memories may be separately addressed.
  • 9. The microprocessor system of claim 8 wherein said microprocessor has first and second coding/decoding means for coding data applied to and decoding data retrieved from said first and second random access memories, respectively via said different lines of said data bus, said first and second coding/decoding means having different coding whereby data is stored in a different form in said first and second random access memories.
  • 10. The microprocessor system of claim 8 further including a program memory for controlling the operation of said microprocessor and having a program for addressing said first and second random access memories to store the same data therein during different time intervals.
  • 11. The microprocessor system of claim 10 wherein said program addresses corresponding storage locations of said first and second random access memories, wherein corresponding data is stored in or read therefrom at different times.
  • 12. The microprocessor system of claim 11 wherein said program simultaneously stores different data in said first and second random access memories at noncorresponding address locations.
  • 13. The microprocessor system of claim 8 wherein said first and second random access memories are nonvolatile memories.
  • 14. The microprocessor system of claim 13 further comprising means responsive to differences in data stored in first and second random access memories for disabling further operation of said microprocessor.
  • 15. In an electronic postage meter system having a microprocessor connected to a plurality of address lines, a plurality of data lines, and control line means, and random access memory means connected to said address and data lines and to said control line means to enable writing of data into said random access memory means and reading of data stored in said random access memory means under control of said microprocessor; the improvement wherein: said random access memory means comprises first and second separate and independent random access memories, said plurality of address lines comprises first and second entirely separate groups of address lines, said plurality of data lines comprises first and second entirely separate groups of data lines, said first random access memory is connected only to the first of said first and second groups of address and data lines of said plurality of address and data lines, and said second random access memory is connected only to the second of said first and second groups of address and data lines of said plurality of address and data lines, whereby data may be stored into and read from said first and second random access memories independently of any common interconnection.
  • 16. A microprocessor system having a microprocessor connected to a plurality of address lines, a plurality of data lines, and control lines means, and random access memory means connected to said address and data lines and to said control line means to enable writing of data into said random access memory means and reading of data stored in said random access memory means under control of said microprocessor; the improvement wherein: said random access memory means comprises first and second separate and independent random access memories, said plurality of address lines comprises first and second entirely separate groups of address lines, said plurality of data lines comprises first and second entirely separate groups of data lines, said first random access memory is connected only to the first of said first and second groups of address and data lines of said plurality of address and data lines, and said second random access memory is connected only to the second of said first and second groups of address and data lines of said plurality of address and data lines, whereby data may be stored into and read from said first and second random access memories independently of any common interconnection.
Parent Case Info

This application is a continuation of application Ser. No. 692,720, filed Jan. 18, 1985, which is a division of application Ser. No. 343,877, filed 01/29/82, both now abandoned.

US Referenced Citations (8)
Number Name Date Kind
3252149 Weida et al. May 1966
3544777 Winkler Dec 1970
3668644 Looschen Jan 1972
3978327 Huber Aug 1976
4012717 Censier et al. Mar 1977
4358823 McDonald et al. Nov 1982
4375678 Krebs, Jr. Mar 1983
4422148 Soderberg et al. Dec 1983
Foreign Referenced Citations (5)
Number Date Country
0017406 Mar 1980 EPX
0026734 Sep 1980 EPX
0019515 Nov 1980 EPX
3024370 Jun 1980 DEX
2079223A Jul 1981 GBX
Non-Patent Literature Citations (2)
Entry
Hackl et al., "Dynamic Allocation of High Availability Storage", IBM TDB, vol. 10, No. 10, Mar. 1968, pp. 1484-1485.
Chamoff et al., "Nonvolatile Totals Implementation", IBM TDB, vol. 20, No. 10, Mar. 1978, pp. 4071-4072.
Divisions (1)
Number Date Country
Parent 343877 Jan 1982
Continuations (1)
Number Date Country
Parent 692720 Jan 1985