INK DROP COMPENSATION IN INK JET PRINTERS

Abstract: The flight path of drops from an ink jet printer nozzle are corrected to reduce print position error on the print media. Compensation values are stored and retrieved for use by the printer to correct the flight of a drop to the print media. The compensation values are based on the pattern of print data representing the drops in the ink stream with the drop being compensated. To reduce the number of variables that must be dealt with, one or more portions of the print data can be grouped into one or more blocks and each block treated as having a single effect on the drop being compensated. How­ ever, basing the compensation value on one predetermined treatment of print drops as having individual effects or as having individual effects in combination with one or more group effects on the drop being compensated does not pro­ duce the optimum print appearance for all combinations of print data. Accordingly, one of a plurality of modes (Mode 1, Mode 2, Mode 3) of treating the data in the print data register 70 is selected based upon the pattern of print data represent­ ing drops in the ink stream. Depending on the number of drops in the flight path with the drop being compensated, the drops may be treated as each having an individual effect, an individual effect by some drops and a single group effect by the remaining drops or an individual effect by some drops and group effects by multiple groups of the remaining drops. The compensation values are stored in store 75 and more storage space is allotted for compensation values based on the com­ binations treated as multiple groups because these combina­ tions produce the most visible print error.

Description: INK DROP COMPENSATION IN INK JET PRINTERS This invention relates to correcting the flight paths of ink drops in an ink jet printer to compensate for the effects of charge repulsion between ink drops, induced charges on the ink drops and aerodynamic drag on the ink drops. The three effects that can change the flight path of an ink drop in an ink jet printer are charge repulsion between drops, charge induction between drops and aerodynamic drag. The ink drop is charged as it breaks off from the ink stream. This is typically accomplished by grounding the ink, which is conductive, and surrounding the ink stream at the drop breakoff point with a charge ring connected to some predetermined voltage. The voltage between the ink stream and the charge ring creates electrical charges in the ink stream which are trapped in the drop as the drop breaks off from the stream. The magnitude of this charge trapped on the drop is used to control the flight path of the drop by placing an electric field in the flight path to deflect the charged drop. Thus, a change in the voltage potential applied to the charge ring can change the charge in the drop and the flight path of the drop. Charge induction errors in the flight path are caused by previously charged drops in the vicinity of the drop breakoff point inducing a charge on the drop currently breaking off. The charge placed on a drop is predominantly controlled by the charge ring but an error charge can be placed on the drop due to a previously charged drop near the drop breakoff point. The error in charging the drop then causes an error in the flight path of the drop to the print media. The charge repulsion error effect is created by drops of the same charge repelling each other as they fly towards the print media. The repelling forces between the drops change their flight paths and thus change the point at which the drops strike the media creating an error in printing. The aerodynamic drag on a drop can change the flight time of a drop to the print media. The faster the print media is moving relative to the drop stream, then the greater will be the errors in print position due to changes in flight time of a given drop. The amount of drag experienced by a drop depends upon the pattern of drops flying in front of the print drop or reference drop. Each of the above three effects can create errors in precision ink jet printing. Which effect is dominant largely depends on the distance from the drop breakoff point to the print media and the relative velocity between the ink drops and the print media. If the velocity of the print media is slow relative to the ink drop velocity the predominant errors in printing are due to charge induction and charge repulsion. As the flight time of ink droplets increase and as the velocity of the print media relative to the droplets increase, aerodynamic drag becomes the more predominant source of error in printing. This is especially true in a binary ink jet system using uncharged drops as the print drops and charged drops as the gutter drops. Since the uncharged drops are the print drops the error effects due to induced charges and charge repulsion are small compared to the errors due to the aerodynamic drag on the drops. In addition, the error effect of induced charges or charge repulsion is limited to substantially the three or four drops immediately in the vicinity of the reference drop. It is known for example that the charge induction effect falls off nonlinearly with distance from the reference drop (drop breaking off). The fourth drop away from the reference drop is the last drop that usually needs to be considered (for example, see U.S. Patent Specification No. 4,032,924). Similarly, the charge repulsion effect between drops decreases as an inverse function of the squared distance between the drops. Thus, the charge repulsion effect on print error need be considered only for drops immediately in the vicinity of the reference drop. On the other hand, the aerodynamic error effect, when it is predominant has been found to be a long term effect. In some situations drops in excess of 30 drop positions in front of the reference drop can have an effect on the aerodynamic drag on the reference drop. One problem in trying to correct for relatively long term aerodynamic drag effects is the number of patterns to be corrected for. If drops as far as 30 drop positions away from the reference crop have an effect, then the number of possibilities requiring correction are 230. Clearly storing a charge compensation value for each and every possibility is not practical. A basic solution to the above problem is to compensate the reference drop for each and every drop in the immediate proximity g , the reference drop and to summarize the effect of groups of dLlops more remote from the reference drop. However, further improvement of print quality can be achieved with the same limited memory space if tradeoffs are made between print data patterns taking into account the print error distribution produced by the pattern combinations. Accordingly, the invention provides an ink jet printer having a charge electrode and a deflection electrode to control the flight of each ink drop in accordance with print data for that drop, and flight compensation apparatus for modifying the potential applied to the deflection electrode to compensate the flight path of the ink drop to reduce print position error, the flight compensation apparatus comprising: print data buffering means for storing the print data pattern relating to an ink drop stream containing a reference drop R the flight of which is to be compensated; memory means for storing compensation values each of which can be addressed for application to the printer to modify the flight path of an ink drop; and the compensation apparatus being characterised by logic means responsive to the print data in the buffering means to form an address for the memory means; and mode selection means responsive to a predetermined portion of the print data in the buffering means to select one of a plurality of different modes of operation of the logic means. The print data pattern is monitored and the one of a plurality of print data blocking or grouping techniques is dynamically selected to determine the compensation effect to be used to correct the flight path of the ink drop. In one mode, the correction is based only on individual drops in close proximity to the reference drop. This mode is used when a high percentage of the drops close to the reference drop will be flying in the same path as the reference drop to the print paper. In another selectable mode, the effect of drops in close proximity to the reference drop are individually corrected for and the more remote drops are corrected for as a single large block. In yet another selectable mode, the more remote drops instead of being corrected for as a large group are divided into sub-blocks and the effects of the drops in the sub-blocks are corrected for. Where the more remote drops are grouped as sub-blocks, the correction is based upon the pattern of print data that acts as a link or a bridge between the remote drops and the drops in close proximity to the reference drop. The advantage in dynamically selecting print data blocks for correction effects is that storage space consumed to store correction values for patterns producing little or no error can now be reallocated to store correction values for patterns producing a large error. In other- words, in a situation where many of the drops in close proximity to the reference drop are flying in the same flight path they will tend to isolate the reference drop from the effects of more remote drops. Accordingly, there are fewer combinations of print patterns producing a sizable error that need to be taken into consideration and stored as correction values. The storage locations, which are saved, can be used to store compensation values for patterns where the more remote drops have a stronger effect on the flight path of the reference drop. As a result for the same stored quantity of correction values, a higher print quality appearance can be achieved by dynamically selecting the correction modes based on print data. In the accompanying drawings, FIGURES 1 and 3 represent systems which do not employ dynamic selection of the grouping of print data. These two systems serve as background to assist in understanding the invention. In the drawings: FIGURE 1 is a diagram of a system in which the print data for the drops more remote from the reference print drop are grouped into three blocks of increasing size to reduce the number of print data patterns compensated for; FIGURE 2 is a diagram of one example of logic that can be used to implement the block B logic in FIGURE 1; FIGURE 3 is a diagram of a simpler system in which only one block of remote print data is combined to reduce the print data patterns used to retrieve the compensation signal to be applied to the charge electrode; FIGURE 4 is a graph of print error distributions for different size data pattern samples; ; FIGURE 5 is a diagram of a first embodiment of the present invention wherein the grouping of print data is dynamically changed depending upon the print data patterns; FIGURE 6 is a more detailed diagram of the embodiment of FIGURE 5; FIGURE 7 is a diagram of a second embodiment of the present invention, which uses a computer to implement the grouping or blocking of print data patterns for compensation effect; FIGURE 8 is a timing diagram with examples of waveforms appearing in the embodiment of FIGURE 7; and FIGURES 9 and 10 show program flow diagrams indicating program control for the computer in FIGURE 7 to implement the dynamic grouping or blocking of print data patterns of FIGURE 5. In FIGURE 1, ink jet head 10 is printing on a media mounted on drum 12. As drum 12 rotates ink jet head 10 is indexed parallel to the axis of the drum so as to print the entire page mounted on the surface of the drum 12. Ink in the head 10 is under pressure and thus issues from the nozzle 14 as an ink stream. In addition, a transducer in the head 10 provides a vibration in the ink cavity inside head 10. This vibration or pressure variation in the ink causes the stream 16 to break-up into droplets. The transducer in head 10 is driven by drop generator driver 17. The clock signal applied to driver 17 controls the frequency of the drops and the drop period--distance between drops. To synchronize the system, the clock signal is also applied to the shift register 30 and to the drum motor driver 19. Shift register 30 is shifted by the leading edge of the clock signal. The speed of drum 12 and motor 21 is held steady to the clock by feedback from tachometer 23 through phase locked loop circuit 25 to motor driver 19. Charge ring 18 surrounds the ink stream 16 at the point where the ink stream breaks into droplets. Nozzle 14 and ink 16 are electrically conductive. With nozzle 14 grounded and a voltage on charge ring 18, electrical charges will be trapped on the ink droplet as it breaks off from stream 16. As the droplets fly forward they pass through an electrical field provided by deflection electrodes 20. If the drops carry a charge they are deflected by the electrical field between electrodes 20. Highly charged drops are deflected into a gutter 22, while drops with little or no charge fly past the gutter to print a dot on the media carried by drum 12. Ink caught by gutter 22 may be recirculated to the ink system supplying ink to head 10. In FIGURE 1 the print drops have no charge placed on them due to data. If there were no error effects, the print drops would be uncharged. However, because of the error effects, compensation charge is applied to the print drops. This compensation charge varies from print drop to print drop depending upon the correction required to obtain the proper flight path to the media on the drum 12. The charge voltage applied to charge ring 18 is either a gutter (no-print) voltage or a compensation voltage. Switching circuit 24 receives the gutter print voltage from gutter voltage generator 26 and the compensation voltage from digital te analog converter 28. A zero bit in the reference drop R position of shift register 30 indicates the reference drop DR should be guttered. Accordingly, a binary zero from the reference drop stage of shift register 30, causes switch 24 to connect the gutter voltage generator 26 to the charge electrode amplifier 34. On the other hand, if the reference drop is to be printed, the R stage in shift register 30 will have a binary one stored therein. A binary one applied to switch 24 causes the switch to connect the compensation signal from the digital-to-analog converter 28 to the charge electrode amplifier 34. Digital-to-analog converter 28 receives a digital compensation signal from the read only memory 32. The size of the digital word from memory 32 depends upon the capacity of the memory. Typically a 9 bit word representative of a compensation signal with 512 possible levels might be used. The 9 bit word is converted into an analog signal by the converter 28 and applied to the switch 24. The signal from switch 24 is amplified by the charge electrode amplifier 34 and applied to the charge ring 18. To generate the compensation signal, read only memory 32 211 contains 2 memory addresses with each address containing a compensation voltage for a particular print data pattern of drops. In the embodiment of FIGURE 1, one drop is monitored behind the reference drop and 30 drops are monitored in front of the reference drop. The shift register 30 thus has 32 stages to temporarily store the print data for the reference drop and the additional 31 drops being monitored. Drop Do is the trailing drop. Drops D1 to D30 are the drops immediately preceding the reference drop DR. Since FIGURE 1 is a schematic representation and not to scale, the distance shown from the reference drop DR to the print drum 12 is not 30 drops. In actual operation the distance would be in excess of 30 drop periods (a drop period in distance equals the velocity of the drops multiplied by the period of the drop generation frequency). Leading drops D1 to D7 and trailing drop Do are applied individually to the address register 33 for read only memory 32 at clock + At time. The time, clock + At, occurs a short time after the shift register 30 has shifted but before the reference drop DR breaks off during the clock cycle. Each of these drops is close enough to the reference drop DR so that each variation in their print data pattern has a significant individual error effect on the flight time of the reference drop. The quantity of leading drops for which an individual correction is made is a design trade-off between the size of the memory 32 and the effect that the next most remote drop has on the reference drop. One guideline that may be used to determine when to start grouping the leading drops is as follows. If the last drop which is individually corrected for has an error effect on the reference drop that requires a compensation signal of z volts, then the next n number of drops, which together are responsible for a correction of z volts can be grouped together into a single compensation bit decision. This is only one of many ways in which to select the grouping of drops for making a block compensation signal. Other alternatives will be discussed hereinafter. In FIGURE 1, the remaining leading drops are grouped as follows. Block or group A includes leading drops D16 throughD30. Block B includes drops D11 through D15. Block C includes drops 15 D8, D and D Each of these blocks is responsible for generating 9 10 one bit of the address used by address register 33 in read only memory 32. In FIGURE 1 the criteria for designating a block as a one or zero address bit based on the print data in the block is indicated at the output of each block logic. For block C logic 36, if any of the drops D8 to D10 are a print drop then the Block C logic will have a one output. In other words, n is greater than 0 where n is the number of binary ones in block C. The block C logic 36 could simply be an OR circuit to generate an output binary one in the event any of the stages Dug, Dg, or D of register D8, D9, 10 30 contains a binary one. The block B logic 38 monitors stages D11 through D15 of shift register 30 for a total number of binary ones in excess of one. If two or more of the drops Dll through D15 are print drops, block B logic 38 will have a binary one output. Similarly, block A logic 40 monitors stages D16 through D30 of the shift register 30 for a total of binary one's greater than 4. Thus, if 5 or more of the drops D16 through D30 are print drops, block A logic 40 will have a binary one output. An example of the logic to implement block B logic 38 is shown in FIGURE 2. AND gate 42 in combination with OR circuit 44 looks for a print condition for drop D15 in combination with a print condition for any of the drops D11 through D14. AND gate 46 in combination with OR circuit 48 looks for a print condition for drop D14 in combination with a print condition for any of the drops D11 through D13. Similarly, AND gate 50 in combination with OR circuit 52 looks for a print condition on drop D13 in combination with a print condition on drop D11 or D12. Finally, AND gate 54 looks for the combination of drops D11 and D12 being printed. All of these possibilities are logically collected by OR circuit 56 to generate the n greater than 1 indication as the output from block B logic 38. Of course, any number of logic designs might be used to determine if 2 or more of the droplets D11 through D15 are print drops. A variety of techniques may be used to determine the number of ones in a block or group which are necessary before assigning a single bit code to the output of a group. The criteria, n greater than 0 for block C, n greater than 1 for block B, and n greater than 4 for block A, were all determined empirically. The test procedure involved monitoring the compensation voltage necessary to bring a print drop to the correct position for particular patterns. The patterns chosen for each block were consecutive print drops from 0 up to the maximum size of the block with the consecutive drops being centred in the block. All drops, other than the reference drop, outside the block of drops being observed were gutter drops. A correction voltage for each pattern in each block was taken. The maximum and minimum correction voltages were averaged. Patterns requiring a correction voltage less than the average value were then designated as a one bit for the group. Patterns requiring a correction greater than the average value were then designated as a zero bit for the group. For example, in the Block A Logic if the number of drops was 4 or less, the correction voltage was greater than half of the average correction voltage for the block. If the number of drops was 5 or greater than the correction voltage was less than half of the average for the block. The operation of the apparatus in FIGURE 3 is substantially the same as the operation in FIGURE 1. The print data for drops in the ink stream are buffered in shift register 60. Trailing drop Do and preceding drops D1 through D10 are applied directly to the address register 62 of read only memory 64. Drops Dll through D17 are analyzed by logic 67. Logic 67 generates a binary one if three or more of the drops D11 through D17 are print drops, i.e., binary one stored in at least three of the shift register positions D11 through D17 As in FIGURE 1, the shift register is shifted at the beginning of each drop clock cycle. Shortly thereafter (clock plus At) the values from the shift register 60 and the logic 67 output are loaded into the address register 62. Thus the address register 62 is loaded with a new pattern address prior to the breakoff time. The compensation value retrieved by the address in the address register is a 9-bit value which is passed to the digital-to-analog converter 66. The nine bits can then be converted by converter 66 to one of 512 analog values. These analog compensation values are amplified by the charge electrode amplifier and applied to the charge electrode (FIGURE 1). If the reference drop bit is a binary zero (a gutter drop), the gutter voltage is generated by converter 66. The binary zero from the reference drop bit signals converter 66 to generate its maximum output voltage irrespective of the value from ROM 64. The drop is charged with the maximum voltage and deflected to the gutter as shown in FIGURE 1. If the reference drop bit is a binary one (a print drop), converter 66 will generate the charge electrode voltage based on the compensation value received from memory 64. An analysis of print error distribution, as a function of the total number, sample size NT, of droplets preceding the reference drops that are individually monitored and as a function of print density, leads to the present invention which further improves the print quality. FIGURE 4 is a graph of print error values versus the number of print combinations producing the error value for various sample sizes NT. Each curve or function represents a different NT As will be described hereinafter, this analysis T shows that further improvement in print quality can be achieved by dynamically adjusting the blocking depending upon the pattern of print data for drops preceding the reference drop. The curves in FIGURE 4 are representative and not precise. The NT=ll curve indicates the distribution of the print error when T 11 drops preceding the reference drop are individually monitored. The NT"8 curve indicates the distribution of the print error when 8 drops preceding the reference drop are monitored. Generally, as fewer drops are monitored, the distribution curve becomes flatter and wider and the centre point or highest number of combinations is at a point further out on the print error axis in the graph. From the standpoint of print quality, it is the right-hand portion of the distribution curves that represents the most objectionable errors on the printed page. Print errors in the left-hand portion of the error distribution curve tend to not be visible to the eye while those in the righthand portion stand out on the printed page. The curves show that if a very large memory were available so that more drops could be monitored individually, the print error distribution could be squeezed down to a spike and moved left on the graph to or near zero print error. Of course, such a system is not practical because of the large size memory required. Within the limitation of a 4K memory, only 12 drops can be monitored. As previously discussed, fewer drops immediately preceding the reference drop could be monitored individually and more remote drops monitored as groups. In FIGURE 4, choosing to monitor 8 drops individually instead of 11 drops moves the print error distribution to the right. However, the print error distribution for Nut'8 can be divided into T regions based upon print density, the number of print drops in the eight bit sample. The cross-hatched region in the right-hand portion of the curve represents all combinations where the number of print drops is equal to or less than 3 (n < 3) a low print density. The left-hand cross-hatched portion in NT=8 represents all print T drop combinations where five or more of the eight drops are print drops (n > 5) a high print density. The n > 5 portion of the distribution confirms the expectation that if a large number of the drops adjacent the reference drop are print drops, they provide an aerodynamic shield for the reference drop as it travels to the print media. Conversely, if three or less of the drops out of the eight drops are print drops, there is much less shielding for the reference drop as it flies to the print media, and the print error increases. If storage locations in memory for the patterns where n > 5 could be borrowed and given to the patterns where n < 3, it would be possible to lower the worst case print error. Stated another way, the drops more remote than 8 drops from the reference drop have a stronger effect when three or less of the drops in the eight drops preceding the reference drop are print drops. Therefore, for all cases where five or more of the drops in the first eight are print drops, only pattern changes in the eight drops will be monitored to address the read only memory for charge correction values. The memory saved by not using bits 9, 10 and 11 may then be used to store more correction values when three or fewer of the first eight drops are print drops. Referring again to FIGURE 4, the dashed curve for NT= 8(3:5) shows a print error distribution for the above memory exchange method. In effect, the NT=8 waveform is squeezed to form the NT= 8(3:5) waveform. As a result, there is an improvement in worst case error as compared against NT=ll waveform, but there is also a degradation in the smaller print errors. Since the larger print errors are the most visible to the eye, this is an attractive tradeoff for improving overall print quality. In effect, the memory space exchanging divides the NT=8 waveform into three portions requiring different optimum print error pattern monitoring for optimum use of the memory for storing compensation values. A first mode for addressing the memory would be where five or more of the drops in the first eight drops preceding the reference drop are print drops. A second mode would be where four of the drops of the first eight preceding the reference drop are print drops. Finally, the third mode would be where three or less of the drops of the first eight drops are print drops. In other words, depending upon the number of print drops in the first eight drops, the pattern monitored in the print data and the blocking or grouping of print data to address the memory may be dynamically changed. Apparatus embodying the present invention, using dynamic grouping of the print data, is shown in FIGURE 5. This apparatus divides the NT-8 curve into the three portions shown in FIGURE 4. To do this the eight drops immediately preceding the reference drop have their print data monitored by a mode selection logic 72. Print data register 70 contains the print data for the reference drop R, one trailing drop Do and 17 drops D1-D17 preceding the reference drop. Mode controlled gating 73 responds to the mode signals from logic 72 to form the addresses used by the compensation storage device 75. In the embodiment of my invention in FIGURE 5, storage device 75 is addressed by 12 bits. The 12 bits are formed by the mode control gating 73 from the print data bits in the print data register 70. The mode control gating circuits receive data bits Do and 0 D through D17 from the print data register. In mode 1, where the 1 17 number of binary one's in D1 through D8 is equal to or greater than five as signalled by the mode selection logic 72, the gating circuits use Do and D1 through D8 as the address for the storage device 75. The last three bits in the address are set to zero. Setting these three bits to zero saves memory space which can be subsequently used during mode 3. In mode 2, where the number of binary one's in D1 through D8 is equal to 4, the mode controlled gating circuits group the print data bits from D11 through D17. These data bits are formed into a single data bit B for the entire group or block. Accordingly, in mode 2 the gating circuit 73 form the address for storage 75 as D,, D1 through D10 and bit B. In mode 3, where the number of binary one's in D1 through D8 is less than or equal to three, the gating circuits 73 make use of the memory locations saved during mode 1. Further, mode 3 operates in two phases or two levels of addressing of the storage device 75. In the first phase of addressing, the gating circuit 73 simply uses data bits Do and D1 through D11 to address the storage device 75. The compensation value addressed is loaded into VCE storage device 77. The gating circuits then proceed to the second phase of addressing if two conditions exist in the print data--Dg, D1 and D11 are not all binary one's and D12 through D17 are not all binary zeros. If either Dg, D10 and D11 are all binary ones or D12 through D17 are all binary zeros, then mode 3 addressing stops at phase 1. Under these conditions looking for fluctuations in data patterns at more remote drop positions is not necessary. Phase 2 or second level addressing during mode 3 proceeds if D91 D10 and D11 are not all binary Ïne's and if there are any binary one's in D12 through D The address in phase 2 is generated 17 by inverting data bits D1 through D8 and pairing data bits D12 through D17 into three block bits; B1, B2 and B3. The trailing bit data bit Do is also used at the first bit position in the address. The fact that B1, B2 and B3 bits will have one or more binary ones and the fact that D1 through D8 data bits have been inverted means the second level or second phase address will be identical to the addresses saved during mode 1 on a one-to-one basis. To use the compensation values accessed by the addresses generated by gating circuits 73, storage devices 77 and 79, bridging logic 81 and adder 83 are used. In all situations except mode 3, phase 2, the final compensation value is stored in the VCE storage device 77. From there VCE is passed through adder 83 to be applied eventually to the charge electrode. In mode 3, phase 2, adder 83 adds a ss VCE increment to the VCE voltage. This is accomplished by loading compensation values from storage device 75 into the A VCE storage device 79 during phase 2 of mode 3. Each mode-3 phase-2 address accesses in storage device 75 three incremental compensation values A V VCE one of which may be added to the compensation value in storage device 77. Which one of the three ss VCE voltages is to be added to the VCE voltage is controlled by bridging logic 81. Bridge logic 81 is so named to reflect the fact that the binary pattern in data bits Dg, Dlo, and D has a bridging effect between the data bits D1 through D and 11 1 8 data bits D12 through D17. In other words, the strength of the effect of the pattern of drops D12 through D17 on the reference drop will depend upon the bridging effect of drops Dg, Dlo, and Dull. Logic 81 selects one of the A VcE increments from storage 11 CE device 79 to be added to the charge electrode voltage VCE based upon whether the number of binary one's in Dg, Dlo, and D11 is zero, one or two. Thus, the apparatus in FIGURE 5 has dynamically selected various print data bit groupings depending upon the print data pattern. Further, those print data combinations producing small errors have had their memory storage space reallocated to those print data patterns which contribute large errors. In this way, the exchange of storage space between mode 1 and mode 3 produces an overall reduction in the worst case print error. In FIGURE 6, a more detailed drawing of the FIGURE 5 embodiment of the invention is shown. Shift register 70 and mode selection logic 72 in FIGURE 6 correspond to the print data register 70 and mode selection logic 72 in FIGURE 5. The mode selection logic 72 monitors drops D1 through D8 to detect the three conditions--n greater than or equal to 5, n equals 4 and n less than or equal to 3 where n is the number of binary one's in the print data for drops D1 through D8. Mode 1 where n > 5 utilizes only the variations in print patterns in the first eight drops, D1 through D8, to change the address in the read only memory 74. Mode 2 where n=4, treats the trailing drop and the ten drops immediately preceding the reference drop individually and treats drops D11 through D17 as a group, i.e., mode 2 operates exactly as the apparatus shown in FIGURE 3. Mode 3 where n < 3 makes use of the addresses saved during mode 1 and changes the data blocking or data grouping of drops Dg through D17 based upon the pattern of drops in Dg through D17. In mode 1 and all other modes, the print data for the trailing drop Do is passed directly to the zero order position in address register 76. Also, the print data from drops D1 through D8 is passed to the address register 76 via the invert switch 78. The invert switch 78 is active to invert the print data for drops D1 through D8 only during mode 3 as will be discussed hereinafter. Normally the invert switch 78 passes the print data for drops D1 through D8 directly from the shift register 70 to the address register 76. In addition, in mode 1, the signal line representing the condition n > 5 is used to enable gate 80. Gate 80 passes binary zeroes to OR circuits 82, 84 and 86 which in turn pass the binary zeros to the ninth, tenth and eleventh order positions of the address register 76. Thus, in mode 1, the three highest address register positions are forced to zero and this space saved during mode 1 will be subsequently used during mode 3 as hereinafter described. In mode 2, the print data in the shift register 70 is monitored in the same manner as the print data was monitored in FIGURE 3. The mode 2 signal or n=4 condition signal is used to activate or enable gate 88. Gate 88 passes the print data bit from Dg to OR circuit 82, from D10 to OR circuit 84 and a bit generated by logic 90 to OR circuit 86. The last address bit is generated from the group analysis of data positions D11 through D17 by the n > 3 logic 90. The address positions for the ninth, tenth and eleventh order bits in the address register are then passed by OR's 82, 84 and 86 to the address register 76 of the read only memory 74. The first address position in the address register 76 is from the trailing drop position Do in the shift register 70. The next eight positions in the address register are from drop data positions D1 through8 in shift register 70. In other words in mode 2, the trailing drop and the ten drops immediately preceding the reference drop are monitored individually while drops D11 through D17 are grouped into a single data bit for addressing the read only memory 74. This operation is identical to that previously described for FIGURE 3. In mode 3, the read only memory 74 is addressed in two phases or two levels. The blocking or grouping of the data in this twophase addressing for drops Dg through D17 depends upon the pattern of print data in D9 through D17. If Dg, 10 and D11 all contain binary one's, then only one phase of addressing is used during mode 3. Also if drops D12 through D17 are all binary zeros, only one phase of addressing is used in mode 3. If neither of these conditions are satisfied, then two phases of addressing are used during mode 3. In phase 1 of mode 3, gate 92 is enabled to pass the print data from stages Dg through Dll to address register 76. 9 ugh D11 register Simultaneously binary bits for stages Do and D1 through h D are 0 1 throug also passed to the address register 16. Thus, the first phase or first level addressing of memory 74 uses the individual data bits for Do and D1 through D11 At clock phase 1 time plus At (Clk Ph 1 + Atl) AND gate 94 is enabled and provides a set signal for register 96. Register 96 then stores the binary bits for Dg, D10 and D11 passed by gate 92. The Clk Ph 1 + tt1 signal is used so that transients in the logic die out before setting register 96 with the contents of Dg, D10 and D11 from shift register 70. Shift register 70 is shifted by the leading edge of the clock phase 1 (Clk Ph 1) signal. The At interval occurs early during the duration of the clock phase 1 signal. At clock phase 1 plus At (Clk Ph 1 + At ), the compensation 2 2 value addressed in memory 74 during phase 1 is loaded into a register 98. The tt2 interval occurs during clock phase 1 duration shortly after the ttl interval pulse occurs during clock phase 1. Note that address register 76 is set by C1k Ph 1 + At via OR 100. As a result, the address register is set at Atl during phase 1 and the compensation value read out from memory 74 is loaded into register 98 at At2 during phase 1. In summary, in phase 1 mode 3, at time At1 print data for Do through D11 are loaded into the address register 76. At phase 1 At2 time, the compensation value for this first level addressing of memory 74 is stored in register 98. Also register 96 is set at ht2 time to store the contents of Dg, D10 and D11. These binary values will be used as described hereinafter during phase 2 of mode 3. A mode 3 phase 2 condition is signalled by AND gate 102. The inputs to AND gate 102 are the mode 3 signal from logic 72, the clock phase 2 (Clk Ph 2) signal and the output of NOR 104. NOR 104 has an output only if Dg, D101 D11 are not all binary one's and only if D12 through D17 are not all binary zeros. D12 through D17 are paired to form three blocks or groupings of two by OR circuits 110, 112 and 114. OR 110 will have an output if either D12 or D13 contains a binary one. OR circuit 112 will have an output if either D14 or D15 contain a binary one. OR circuit 114 will have an output if either D16 or D17 contains a binary one. NOR 108 monitors the output of the paired blocks and has an output itself if OR circuits 110, 112 and 114 all have zero outputs. AND gate 106 monitors Dug, Dlo and D and has an output only if Dg D9, D10 11 9 through D1 are all binary one's. NOR 104 then collects the output from AND 106 and NOR 108 and has an output only if there is zero output from both AND 106 and NOR 108. Thus a one output from NOR 104 means that Dg through D11 are not all l's and D12 through D17 are not all 0's. This is the phase 2 mode 3 condition which has an output at Clk Ph 2 time AND 102. This mode 3 phase 2 signal is used to enable gate 116, to switch invert switch 78 and to enable AND gates 118 ard 120. Enabling invert switch 78 means that the inverted data bit pattern from D1 through D8 in shift register 70 is applied to bit positions 1 through 8 in t address register 76. Enabling AND gate 118 means that at Clk Ph 2 time plus Atl (Clk Ph 2 + htl) address register 76 will be set to the value on the input lines to the address register. ttl is a timing pulse occurring some time during the duration of Clk Ph 2. Enabling AND gate 120 means that at Clk Ph 2 + At time (shortly after Clk Ph 2 + Atl) Av register 2 CE 122 will be loaded with the compensation value addressed at Clk Ph 2 + At time. Enabling gate 116 means that the paired grouping output from D12 through D17 is passed by gate 116 through OR's 82, 84 and 86 to the address register 76. These bits are the address inputs for bits 9, 10 and 11 in the address register 76 during the phase 2 or second level addressing. In summary, the second level address for the read only memory 74 is the trailing bit D01 the inverted data pattern for D1 through D8 and the paired groupings from D12 through D17. At Clk Ph 2 + At2 time, AND gate 120 will have an output since it has been enabled by AND gate 102. This output from AND -gate 120 sets AVCE register to load the nine bits of compensation stored at the address accessed during the second level addressing. Thus, in mode 3 at the end of clock phase 2, the VCE register 98 contains a compensation value and the Av register 122 also contains values CE for compensating the charged drop. The values in the Av register are divided into three portions. CE Memory 74 has a nine-bit output so these nine bits may be divided into three groups of three bits and stored in Av register 122. CE One of the three bit values in register 122 will be added to the VCE nine bit value in register 98 by the digital adder 124. Which one of the three bit values in register 122 is added depends upon the contents of register 96. Register 96 is analyzed by the Av logic 126. Depending CE upon whether the number of one's in print data bits D9, D10 and D11 is 0, 1 or 2, gate 128 will gate one of the three bit values in register 122 to the digital adder 124. The selected AVCE compensation value is added to the VCE compensation value and passed to the digital-to-analog converter 130. The output of the converter 130 goes to the switch 24 which performs the same function as described in FIGURE 1. To summarize mode 3, if the number of binary one's in bits D1 through D8 is less than or equal to 3 and bits Dg, D10 and D11 are all one's or bits D12 through D17 are all zeros, the pattern is sufficiently isolated that the memory 74 is addressed by the trailing bit and bits D1 through Dull. However, if the bits Dg through D11 are not all one's and the bits D12 through D17 are not all zeros, various patterns of compensation will occur. The strength of the bridging of compensation effects from D1 - D8 to D12 - D17 will depend upon the number of one's in Dg, Dlo, and Dull. Accordingly, a Av compensation is added to a V compensation by CE CE two-level addressing of memory 74. The values for the VCE in the first level depend upon the data pattern from D1 through D11 while the values in the second level for the Av increments CE depend upon the data pattern in D12 through D17 grouped in pairs and the strength of the bridging as represented by the number of binary one's in Dg, D10 and D11. In the first level of addressing, a 9-bit word read from the memory 74 defines the value for VCE In the second level of addressing, the 9-bit word read from memory is partitioned into three 3-bit words--one three bit word for each AVCE increment. Thus, the second level 9-bit word is partitioned so that there is a three-bit incremental compensation word for each of the three possible bridging effects (Dg, D10 and D11 contain 0, 1 or 2 binary ones). Note that the tVcE register 122 is reset at Clk Ph 1 + At 2 time. Accordingly, register 122 is reset to zeros near the end of each Clk Ph 1 time. Therefore, register 122 will have values in -it only if there is a mode 3 phase 2 condition as indicated by AND 102. Under all other conditions the compensation value applied to the converter 130 is represented only by the digital value in. VCE register 98. In the above described manner, FIGURE 6 implements the waveform N = 8(3:5) shown in FIGURE 4. As described earlier, this print T error distribution produces an improvement in the worst case condition and, thus, an improvement to the eye of an observer of the printed document. The embodiment of FIGURES 5 and 6 may be implemented by use of a computer. A computer controlled system to retrieve the compensation values to be applied to the charged electrode amplifier is shown in FIGURE 7. Waveforms occurring in FIGURE 7 and illustrative of the timing of the system are shown in FIGURE 8. In FIGURE 7, timing for the system is provided by the timing oscillator 132. Oscillator 132 generates a cycle clock signal (waveform A of FIGURE 8) which is used to control the cycles of the computer 134. The cycle clock signal is divided by a frequency divider 136 to generate a drop clock signal (waveform B FIGURE 8). The division factor M for the frequency divider circuit 136 is selected to provide the desired drop frequency and also to allow the computer sufficient time during a drop cycle to find the compensation value to be used during the next drop cycle. Sync logic 138 is controlled by computer 134 to generate a sync pulse (waveform C of FIGURE 8) to synchronize the system with the time of occurrence of drop breakoff of the ink drop from the ink stream. Waveform D in FIGURE 8 is an example of the charge electrode voltage building up during each cycle between sync pulses. Sync logic 138 under control of computer 134 generates the sync pulse at a time sufficiently ahead of the drop breakoff time to allow the charge electrode voltage to build to a stable level. Typically, the sync pulse will be generated such that it occurs during the first one-fourth of the drop cycle while the drop breakoff point occurs approximately three-fourths of the period through the drop cycle. The sync pulse is used as a clocking pulse for the data source 140 and shift register 142. Serial data from the data source is shifted into the shift register 142 by the leading edge (lye) of the sync pulse. The trailing edge (TE) of the sync pulse enables gate 144 to pass print data bits Do and D1 through D17 to computer 134 for analysis. Thus, the leading edge of the sync pulse is used to shift data into the shift register 142 and the trailing edge is used to gate that data in parallel to the computer. The computer 134 analyzes the print data pattern to retrieve the compensation value from the read only memory 146 before the leading edge of the next sync pulse transfers the compensation value into the VCE register 148. Computer 134 contains a processor and a memory. The computer is program controlled to implement the group blocking of the print data into a pattern which can be used to address the read only memory 146. Gating logic 150 is controlled by the computer to pass the addresses generated by the computer to address the read only memory. Gating logic 150 is also controlled by the computer to access the compensation value stored in the read only memory as addressed and to operate on that compensation value as dictated by the program. The final compensation value is then gated under computer control to the register 148. The register 148 is set to the digital value for the charge electrode voltage by the leading edge of the sync pulse. Since computation time is predetermined to be less than the time between sync pulses, the charge electrode voltage is computed during one cycle between sync pulses and used during the next cycle between the sync pulses. The computer 134 can also be used to store a digital value for the gutter voltage. Thus, in the event that the reference bit R is a no print or zero bit, the computer 134 gates the digital value of the gutter voltage through the sating logic 150 to the register 148. At the leading edge of the next sync pulse, the gutter voltage value is loaded into register 148. The digital-toanalog converter 151 then applies the gutter voltage value to the charge electrode amplifier. If the reference drop R is a print drop, the compensation value will be loaded into register 148, converted by converter 151 to an analog signal and applied to the charge electrode amplifier. The advantage of the apparatus in FIGURE 7 is that computer 134 can be programmed to implement a number of print data grouping or print data blocking techniques to address the memory 146 for compensation values. One example of program control of the computer 134 to implement the embodiment previously described with reference to FIGURES 5 and 6 is illustrated by the program flowcharts in FIGURES 9 and 10. When programmed in accordance with these flowcharts, the computer 134 will dynamically change the group blocking of the print data in accordance with the three modes previously discussed with reference to FIGURES 4 and 5. Various computing systems could be used so long as they are fast enough to complete the addressing within the period of one drop cycle (about 10 used.). Referring now to FIGURE 9, the program starts by checking the reference drop R to determine whether it is a print drop or a gutter drop. If the reference drop is a binary zero, decision block 152 passes control to block 154. Operation block 154 controls the computer to provide a digital value V CE equal to the count 511. The count 511 corresponds to the nine bit digital value of the gutter voltage. Accordingly, when the V CE register 148 (FIGURE 7) is next loaded by the sync pulse, the 511 count would be passed into the register. If the reference drop is a binary one, program control passes to decision block 156. Decision block 156 is the mode 1 decision block. If the number of binary one's for print data bits D1 through D8 is greater than or equal to 5, program control branches to mode 1 implemented by operation block 158. If the number of binary one's in D1 through D8 is less than 5, program control passes to decision block 160 to make the decision between mode 2 and mode 3. In mode 1, operation block 158 sets the 4K address for the read only memory to the binary values for Do through D8 and forces the three highest address bit positions to zero. Program control passes then to operation block 162 where the mode 1 address is used to access the charge electrode voltage from the read only memory. At the next sync pulse this charge electrode value would be loaded into register 148 in FIGURE 7. Mode 2 operation occurs if the decision block 160 indicates the number of binary one's in D1 through D8 is equal to 4. The program control then passes to decision block 164. Decision block 164 represents the group analysis of print data bits D11 through D17. If the number of binary one's in D11 through D17 is equal to or greater than 3, the program passes to operation block 166. If the number of one's in Dll through D17 is less than 3, the program passes to operation block 168. In operation 166, the address bits are set to the values for data bits Do through D101 and the eleventh bit position is set to binary 1 representing data bits D11 through D17 as a group. Operation 168 sets the address to the data bits for Do through D10 and the eleventh bit is set to a binary 0 representing the group of data bits D11 through D17. The mode 2 address from either block 166 or 168 is used by operation block 162 to access the read only memory to obtain the charge electrode voltage. This mode 2 charge electrode voltage is then loaded into the register 148 (FIGURE 7) during the next sync pulse. Mode 3 operation is indicated by a negative decision by decision block 160 in FIGURE 9. If the decision blocks 156 and 160 both produce negative results, then the number of binary one's in D1 through D8 must be less than or equal to 3 which is the mode 3 condition. The mode 3 operation 170 in FIGURE 9 is diagrammed in detail in FIGURE 10. In FIGURE 10, the mode 3 operation starts by blocking or grouping the data bits pairs D12 with D13' D14 with 15' and 16 with D17. If D 2 or D or both contain a binary one, then decision 12 13 block 170 sets a block bit B1 to 1. If both D12 and D13 contain binary zeros, then decision block 170 sets the block bit B1 to zero. Decision blocks 172 and 174 perform the same function for data bits D14 with D15 and D16 with D17, respectively. Block bit B2 is set to one if D14 or D15 contains a binary one; otherwise, block B2 equals zero. Similarly, block bit B3 is set to one if D16 or D17 contain a binary one; otherwise, block bit B3 is set to zero. Next program flow moves to decision block 176 to determine if the number of binary one's in B1 through B3 is equal to zero. If it is, program flow branches to operation block 178. If it is not, program flow branches to decision block 180 to determine if the number of binary one's in data bits Dg through D11 is equal to 3. If it is, the program flow branches to operation block 178. If it is not, program flow branches to mode 3 double phase. In mode 3 single phase, operation block 178 sets the address bits to the data bit pattern for data bits Do through Dull. Computer 134 then controls the gating logic via operation block 182. Operation block 182 causes the computer to address the read only memory with the address bits set by operation 178. The charge electrode voltage obtained from the read only memory is then gated to the register 148 during the next sync pulse. In mode 3 double phase, program flow branches from decision block 180 to operation block 184. In the first phase of the double phase operation, block 184 sets the address bits to the value of the data bits Do through Dull. This address is then used by operation 186 to access the read only memory and get charge V1 electrode voltage V CE for phase 1. Program control passes on to operation block 188 to commence the second phase of the double-phase operation. In operation block 188, the computer inverts the data bits for D1 through D8 and proceeds to operation block 190. In operation block 190, the computer sets the address bits to the bit Dg, the inverted data bits for D1 through D8, and the block bits B1, B2 and B3 for positions 9, 10 and 11 of the address. This second phase address is then used during operation 192 to access the read only memory. In operation 192, the 9 bits of compensation value read from the read only memory are partitioned into three sections, Awl, A2 and A3, of three bits each. Each of these three-bit values may then be added to the V CE charge electrode voltage determined during phase 1. The addition operation depends upon the number of binary one's in the data bit positions Dg, D10 and Dull. The program control flows from operation block 190 to decision block 194. If the number of binary one's in D and If the number of binary one's in Dg, Dlo and Dll is equal to zero, then decision block 194 branches the program to operation block 196. Operation 196 adds Al to the charge electrode voltage V1CE determined during the first phase. If the number of binary one's in Dg through D11 is not equal to 0, program control branches to decision block 198 to determine whether the number of binary one's is equal to 1 or greater than 1. If the number of binary one's in Dg through D is equal to 1, then the charge electrode voltage is formed by operation block 200. Computer 134 in operation block 200 adds the first phase charge electrode voltage V V1CE to A2 to obtain the final charge electrode voltage V CE If the number of binary one's in Dg, D10 and Dll is not equal to zero and not equal to one, the program will branch to operation block 202. In operation block 202, the computer 134 adds the first phase charge electrode voltage V1 to A3 to form the final charge CE electrode voltage VCE As discussed earlier, these A charge electrode increments are different due to the different bridging effect, caused by the number of binary one's in positions Dg, D10 and Dll, on the block pairs represented by binary bits B1, B2 and B3. Once the final charge electrode voltage is determined in the double-phase operation by one of the operation blocks 196, 200 or 202, that charge electrode voltage is loaded into the register 148 (FIGURE 7) during the next sync pulse. By changing the size of the shift register and the read only memory and be changing the group data bit analysis performed by the programmed computer, any number of blocking or grouping patterns might be used to address the read only memory. Further, more or less than three modes of selection to different dynamic blocking or grouping routines could be used. For example, if the data bit pattern being monitored to make the mode selection contained an odd number of data bits, the invention might be implemented by using two modes rather than three modes. In other words, if the first seven data bits preceding the referenced drop were being monitored to make the mode selection, the memory exchange could be made based on a greater-than-or-equal-to four and a less-than-or-equal-to three mode selection. There would be no middle condition between the exchange and, thus, there would only be two modes selected. Furthermore, if more data bits were being monitored, the computer might be programmed to dynamically group more data bits as a function of the bridging effect of the data bit pattern in one group on the data pattern in the next group.

Claims: CLAIMS 1. An ink je printer having a charge electrode and a deflection electrode to control the flight of each ink drop in accordance with print data for that drop, and flight compensation apparatus for modifying the potential applied to the deflection electrode to compensate the flight path of the ink drop to reduce print position error; the flight compensation apparatus comprising: print data buffering means for storing the print data pattern relating to an ink drop stream containing a reference drop R the flight of which is to be compensated; memory means for storing compensation values each of which can be addressed for application to the printer to modify the flight path of an ink drop; and the compensation apparatus being characterised by logic means 73 responsive to the print data in the buffering means to form an address for the memory means 75; and mode selection means 72 responsive to a predetermined portion of the print data in the buffering means 70 to select one of a plurality of different modes of operation of the logic means. 2. An ink jet printer as claimed in claim 1, in which the mode selection means is operable to select a mode of operation of the logic means in dependence upon the number of drops in the ink stream which are in close proximity to the reference drop and which will remain in the flight path to the print media. 3. An ink jet printer as claimed in claim 2, in which the mode selection means comprises: first means for monitoring print data for the drops in close proximity to and immediately preceding the reference drop and generating a first mode signal when the print data indicates more than half of the close-in drops will fly to the print media; second means for monitoring print data for the drops in close proximity to and i.ameately precedinq the reference drop and generating a second mode signal when the print data indicates approximately half of the close-in drops will fly to the print media; third means for monitoring print data for the drops in close proximity to and immediately preceding the reference drop and generating a third mode signal when the print data indicates less than half of the close-in drops will fly to the print media 4. An ink jet printer as claimed in claim 3, in which the logic means comprises: first gating means responsive to the first mode signal to gate only the portion of the print data pattern represented ing drops close to the reference drop as a portion of the address for the memory means and to save other available addresses by forcing the remaining portion of the address to a fixed value; second gating means responsive to the second mode signal to gate the portion of the print data pattern representing drops close to the reference drop as a portion of the address for the memory means and to gate a single grouped representation for the remote drops as the remaining portion of the address; and third gating means responsive to the third mode signal to generate a first address based only on data obtained directly from the print data buffering means and to generate a second address using addresses saved by said first gating means based in part on inverted print data from said buffering means and in part on multiple grouped representations for the remote drops. 5. An ink jet printer as claimed in claim 2, in which the mode selection means is operable when the ink drops in the ink stream remote from the reference drop have a negliaible effect on the flight path of the reference drop to select a first mode of operation of the logic means in which it forms the address for the memory means merely by directly gating a first predetermined portion of the print data pattern. 6. An ink jet printer as claimed in claim 5, in which the mode selection means is operable when the ink drops in the ink stream remote from the reference drop have a significant effect on the flight path of the reference drop to select a mode of operation of the logic means in which it forms part of the address for the memory means by analysing a portion of the print data pattern representing remote drops and forms the remainder of the address by gating the remaining portion of the print data pattern. 7. An ink jet printer as claimed in claim 6, in which the mode selection means is operable when the ink drops in the ink stream remote from the reference drop have such an effect on the flight of the reference drop that they can be treated as a single group of drops to select a second mode of operation of the logic means in which it forms part of the address by analysing the print data pattern of that single group of drops and forms the remainder of the address by directly gating the remaining portion of the print data pattern. 8. An ink jet printer as claimed in claim 5, in which the mode selection means is operable when the ink drops in the ink stream remote from the reference drop have so significant effect on the flight of the reference drop that they cannot be treated as a single group of drops to select a third mode of operation of the logic means in which it forms art of the address for the memory means from individual address bits formed by analysing respective blocks of a plurality of blocks of the print data pattern and forms the remainder of the address by gating the remaining portion of the print data pattern. 9. An ink jet printer as claimed in claim 8, in which: the memory means has locations each containing a set of incremental compensation values stored at one address; the logic means is operable to provide a phase-one address based on the print data pattern so that the memory means retrieves a first compensation value; the logic means is operable to provide a phase-two address based on said individual address bits and on the remaining portion of the print data pattern so that said memory means retrieves a set of incremental compensation values, the logic means is operable to select one of the incremental compensation values depending upon the strength of the bridging effect between drops closest to the reference drop and drops most remote from the reference drop by drops intermediate these two groups of drops; and the compensation apparatus includes means for adding the selected incremental compensation value to said first compensation value and passing the summed value to control the potential applied to the deflection electrode of the printer.

Inventors: TSAO, CHEIN-HWA SCHULER
Applicants: INTERNATIONAL BUSINESS MACHINES CORPORATION
Application year: 1980
Main classification: B41J3
IPC codes: B41J2