Programmable clock module for postage metering control system

Abstract: An electronic postage meter includes a printing unit which is responsive to a plurality of motors (552) for printing postage indicia in response to control circuit. The control circuit is comprised of a programmable microprocessor (13) in bus communication with an accounting means having memory units (MU) for accounting for the postage printed by the printing unit responsive to the programming of the microprocessor (13). An integrated circuit (15) includes an address decoding module (20) for generating a unique combination of control signals in response to a respective address placed on the bus (18) by the microprocessor (13). A timer register is responsive to ones of the control signals from the address decoding module (20) to enable writing of the timer data into the timer registers by the microprocessor (13). The timer unit is responsive to the timer data for generating one of a plurality of timing signal in accordance with timer data. The data also includes motor data. Motor register units are responsive to other ones of the control signals from the address decoding module (20) to enable writing of the motor data into the timer registers by the microprocessor (13). A motor control unit is responsive to the motor data for generating a plurality of motor control signals in accordance with the motor data.

Description: The present invention relates to a control system for an electronic postage metering system. European patent applications of even date are filed concurrently herewith corresponding to the following US applications commonly assigned to Pitney Bowes Inc.: US Patent Application Serial No. 08/163,627, entitled MULTIPLE PULSE WIDTH MODULATION CIRCUIT; US Patent Application Serial No. 08/165,134, entitled DUAL MODE TIMER-COUNTER; US Patent Application Serial No. 08/137,460, entitled DYNAMICALLY PROGRAMMABLE TIMER-COUNTER; US Patent Application Serial No. 08/163,774, entitled MEMORY ACCESS PROTECTION CIRCUIT WITH ENCRYPTION KEY; US Patent Application Serial No. 08/163,811, entitled MEMORY MONITORING CIRCUIT FOR DETECTING UNAUTHORIZED MEMORY ACCESS; US Patent Application Serial No. 08/163,771, entitled MULTI-MEMORY ACCESS LIMITING CIRCUIT FOR A MULTI-MEMORY DEVICE; US Patent Application Serial No. 08/163,790, entitled ADDRESS DECODER WITH MEMORY ALLOCATION FOR A MICRO-CONTROLLER SYSTEM; US Patent Application Serial No. 08/163,810, entitled INTERRUPT CONTROLLER FOR AN INTEGRATED CIRCUIT; US Patent Application Serial No. 08/163,812, entitled ADDRESS DECODER WITH MEMORY WAIT STATE CIRCUIT; US Patent Application Serial No. 08/163,813, entitled ADDRESS DECODER WITH MEMORY ALLOCATION AND ILLEGAL ADDRESS DETECTION FOR A MICRO-CONTROLLER SYSTEM; and US Patent Application Serial No. 08/163,629, entitled CONTROL SYSTEM FOR AN ELECTRONIC POSTAGE METER HAVING A PROGRAMMABLE APPLICATION SPECIFIC INTEGRATED CIRCUIT. The disclosures of these European applications are hereby incorporated herein by this reference. It is conventional to design a unique control system for each module of an electronic postage metering system. The control system is configured to meet the needs of the particular model of postage metering system in a cost efficient manner. The conventional electronic postage meter is comprised of a programmable microprocessor, a plurality of memory units and an application specific integrated circuit (ASIC). The ASIC function is to generate a plurality of system control signals in response to address instruction from the microprocessor. It is therefore conventional to design the ASIC to operate synchronously with the microprocessor. For example, a high speed electronic postage meter control system may include a 32 megahertz microprocessor and compatible application specific integrated circuit. In contrast, a less complex electronic postage meter control system, like that of the Pitney Bowes model 6900 Postage Meter, will include a 8 megahertz microprocessor and compatible ASIC. As a result of this and other variations between EPM models, it is customary to develop a specific ASIC for each EPM model. It is an objective of the present invention to present an ASIC having a programmable timer-clock module which generates clock pulses at one of a plurality of frequencies depending on the programming in order to match the ASIC clock rate to that of the microprocessor chosen. According to the invention, there is provided an electronic postage meter control system having, a printing means having a plurality of prime movers for printing of a postage indicia in response to control circuit, a programmable microprocessor in bus communication with an accounting means having memory units (MU) for accounting for said postage printed by said printing means, program memory means for generating data, and an integrated circuit, characterised by, said data including timing data, said integrated circuit having an address decoding module for generating a unique combination of ASIC control signals in response to a respective address placed on said bus by said microprocessor, timer registers responsive to ones of said control signals from said address decoding module to enable writing of said timer data into said timer registers by said microprocessor, and timer means responsive to said timer data for generating one of a plurality of timing signals. In one embodiment of the invention, said data includes motor data. Motor registers are provided to be responsive to ones of said control signals from said address decoding module to enable writing of said motor data into said registers by said microprocessor, and motor control means responsive to said motor data are provided for generating a plurality of motor control signals in accordance with said motor data. For a better understanding of the invention and to show how the same may be carried into effect, reference will now be made, by way of example, to the accompanying drawings, in which: Fig. 1 is a schematic of a microcontroller system for a thermal printing EPM in accordance with one embodiment of the present invention; and Fig. 2 is a schematic of a programmable system clock for use in the system of Fig. 1. The control system for an electronic postage meter (EPM) is comprised of a programmable microprocessor in bus communication with memory units for accounting for the postage printed by a printing unit responsive to the programming of the microprocessor. An integrated circuit which forms a part of the control system includes an address decoding module for generating a unique combination of ASIC control signals in response to a respective address placed on the bus by the microprocessor. The ASIC also includes a clock timer module. The clock timer module includes timer registers which are responsive to ones of the control signals from the address decoding module to enable writing of the timer data into the timer registers by the microprocessor. The timer module is responsive to the timer data for generating one of a plurality of timing signals of varying frequencies in accordance with the timer data. The ASIC also includes a PWM module having PWM registers. The PWM registers are responsive to other ones of the control signals from the address decoding module to enable writing of the PWM motor data into the PWM registers by the microprocessor. The PWM module is responsive to the PWM data for generating a plurality of PWM control signals in accordance with the motor data to the motor controller for effecting the operation of the respective motors. In combination, the programmability of the ASIC clock-timer module and PWM module enables a single ASIC to be utilized with any combination of clock frequency microprocessors for controlling the printing of a postage indicia and accounting for the postage printed. Other benefits of the system will be appreciated from a reading of the following detailed description. Referring now to Fig. 1 in more detail, a microprocessor control system, generally indicated as 11, which is preferably intended to control a thermal printing postage meter (not shown), is comprised of a microprocessor 13 in communication with an application specific integrated circuit (ASIC) 15 and a plurality of memory units (MU) via data bus 17 and address bus 18. The ASIC 15 is comprised of a number of integrated circuits, for example, ASIC signal manager 19, address decoder 20, clock 1100, timer module 600, UART module 300, user I/O 1200, keyboard and display interface 1000, interrupt control 700, encryption and decryption engine 800, memory controller 400, multi-PWM generator and sensor interface 500, a slogan interface 200 and CCD interface 1250. It should be appreciated that it is within the contemplation of the present invention that the IC modules which make up the ASIC 15 may vary and the modules here identified are intended to illustrate the preferred embodiment of the invention. The ASIC has an internal data bus (IDB) and a plurality of control lines CL, one group of which control lines are module interrupt lines IR. Certain of the modules are in communication with a buffer 50 via the bus IB. The buffer 50 is in bus communication with a coupler 23. The coupler 23 is in communication with various meter devices, such as, the key board display KDI, print head buffer PHB and motor drivers 550 which drive respective motors 552. In Fig. 1, the bus lines IDB and IB, and control lines IR and CL are depicted in simplified manner for the purpose of clarity. Referring to Fig. 2, the clock module 1100 includes a first flip-flop 1102 having its high output directed to an X OR gate 1104. The low output of the flip-flop 1102 is directed back to the data input of that flip-flop. The system oscillator is directed to the clock input of flip-flop 1102. The high output from flip-flop 1102 is also directed to one input of a multiplex switch 1108 and a multiplex switch 1112. The output from the X OR gate 1104 is directed to the data input of a flip-flop 1106 which also receives the oscillating signal at its clock input. The high output from the flip-flop 1106 is directed to the other input of the X OR gate 1104 and the other input of the multiplex switch 1108. A clock reset is directed to the resets of both flip-flops 1102 and 1106. The output from the multiplex switch 1108 is directed to a amplifier 1110 whose output is designated as system clock for the system clock use and is also directed to the other input of the multiplex switch 1112. The output of multiplex switch 1112 is directed to an amplifier 1114 whose output is designated as the 8 megahertz clock. Included are a register 1116 having a data input, write input and a clear input. One of the outputs from the register 1116 is directed to the multiplex switch 1108 and the other output is directed to the multiplex switch 1112. It is now observed that upon power-up of the system, the microprocessor causes a write to the registers 1116 by addressing the address decoder module 20 which then write enables the register 1116 in a conventional manner. The microprocessor puts the appropriate data on the data lines for writing into the register 1116 in a customary manner. Depending on the data write, the output from the registers places the multiplex switches in the appropriate switching position to drive the clock frequencies set forth in Table 1 depending on the frequency of the oscillating crystal, as specifically indicated in Table 1. CRYSTAL SCR SYSCLK CLK 8MHz b0 b1 32MHz 0 0 16MHz 16MHz 0 1 8MHz 8MHz 1 0 16MHz 8MHz 1 1 8MHz 4MHz 16MHz 0 0 8MHz 8MHz 0 1 4MHz 4MHz 1 0 8MHz 4MHz 1 1 4MHz 2MHz Therefore, it is observed that with any given crystal frequency, one will achieve the clock frequencies indicated in Table 1 under the system clock column or the clock 8 MHz column. As a result, the system offers the advantage of allowing the ASIC to be utilized with larger systems by replacing the crystal with a 32MHz crystal to receive 16MHz and 4MHz signals or utilizing a 16MHz clock to get 8MHz or 4MHz clocking frequency combinations. The above description represents the preferred embodiment and should not be viewed as limiting. The scope of the invention is presented in the appended claims.

Claims: An electronic postage meter control system having: a printing means having a plurality of prime movers (552) for printing of a postage indicia in response to a control circuit; a programmable microprocessor (13) in bus communication with an accounting means having memory units (MU) for accounting for said postage printed by said printing means; program memory means for generating data; and an integrated circuit (15); characterised by: said data including timing data; said integrated circuit (15) having an address decoding module (20) for generating a unique combination of control signals in response to a respective address placed on said bus by said microprocessor (13); timer registers responsive to ones of said control signals from said address decoding module (20) to enable writing of said timing data into said timer registers by said microprocessor (13); and timer means (600) responsive to said timing data for generating one of a plurality of timing signals. An electronic postage meter control system as claimed in claim 1 further comprising: said data including motor data; motor registers responsive to other ones of said control signals from said address decoding module (20) to enable writing of said motor data into said motor registers by said microprocessor; and motor control means responsive to said motor data for generating a plurality of motor control signals in accordance with said motor data. An electronic postage meter control system as claimed in any preceding claim wherein: said memory units include a non-volatile memory unit; said non-volatile memory unit is responsive to other ones of said control signals from said address decoding module (20) to enable said non-volatile memory unit to receive data from said microprocessor; and said integrated circuit (15) includes non-volatile memory access timer means for causing said control signal from said address decoding module (20) to enable said non-volatile memory unit to stay active for a predetermined time of said non-volatile memory access timer. An electronic postage meter control system as claimed in any preceding claim further comprising: timer registers means responsive to ones of said control signals from said address decoding module (20) to enable writing of timer data into said timer registers by said microprocessor; and timer means responsive to said timer data for generating one of a plurality of timing signals. An electronic postage meter or mailing machine system comprising a control system according to any preceding claim.

Inventors: LEE YOUNG W, MOH SUNGWON, MULLER ARNO, LEE, YOUNG W., MOH, SUNGWON, MULLER, ARNO
Applicants: PITNEY BOWES INC, PITNEY BOWES INC.
Application year: 1994
Main classification: G07B17
IPC codes: G07B17