Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
MARGIN CONTROL FOR LASER PRINTERS
Document Type and Number:
WIPO Patent Application WO/1993/012938
Kind Code:
A1
Abstract:
Circuitry for controlling the margin of a laser printer is provided which times a preset margin on a first scanline of a page at high frequency for high accuracy. Thereafter, subsequent scanlines on the page are positioned responsive to the count generated responsive to the preset margin. Hence, the laser may be directly modulated at speeds higher than the standard frequency without a reduction in the relative accuray of the margin.

Inventors:
ADAMS GREGORY K (US)
Application Number:
PCT/US1992/010783
Publication Date:
July 08, 1993
Filing Date:
December 16, 1992
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
COMPAQ COMPUTER CORP (US)
International Classes:
B41J2/47; (IPC1-7): B41J2/47; B41J29/42
Foreign References:
FR2290306A11976-06-04
EP0012881A21980-07-09
US4364062A1982-12-14
Download PDF:
Claims:
CLAIMS:
1. Apparatus for controlling a print engine comprising: circuitry for defining a margin responsive to one or more signals from the engine for a first line; and circuitry for automatically duplicating said margin for subsequent lines at a high resolution.
2. The control apparatus of Claim 1 and further comprising circuitry for resetting said margin responsive to a control signal.
3. The control apparatus of Claim 1 wherein said circuitry for receiving one or more signals comprises counting circuitry operating at a multiple of a clock associated with said print engine.
4. The control apparatus of Claim 3 wherein said counting circuitry operates at a multiple dependent upon a desired resolution.
5. The control apparatus of Claim 1 wherein said print engine is a laser jet engine.
6. A method of controlling a print engine comprising the steps of: defining a margin responsive to signals from said engine for a first line; automatically duplicating said margin for subsequent lines at a high resolution.
7. The method of Claim 6 and further comprising the step of resetting the defined margin responsive to a control signal.
8. The method of Claim 6 wherein said defining step comprises the step of timing said one or more signals at a frequency which is a multiple of a clock associated with said engine.
9. The method of Claim 8 wherein said timing step comprises the step of timing said one or more signals at a multiple dependent upon a desired resolution.
10. The method of Claim 6 wherein said print engine is a laser jet engine.
11. Circuitry for use with a print engine for precisely aligning the margin between first and second locations of a scanline, said print engine comprising a print medium for generating an image on the scanline, a sensor for generating a first signal responsive to detection of said print medium at the first location and circuitry for generating a second signal indicating movement of the print medium to the second location,comprising: circuitry for generating a number indicative of the elapsed time between the first and second signals; and circuitry, coupled to said number generating circuitry, for generating a start signal for enabling printing responsive to said first signal and said generated number.
12. The circuitry of Claim 11 and further comprising circuitry for receiving a signal indicative of a new page and wherein said start signal generating circuitry comprises circuitry for generating a start signal responsive to said second signal for the first scanline of a new page.
13. The circuitry of Claim 12 wherein said number generating circuitry comprises counter circuitry for counting at a predetermined frequency responsive to said first and second signals.
14. The circuitry of Claim 13 wherein said predetermined frequency is dependent upon the print resolution.
15. The circuitry of Claim 13 wherein said predetermined frequency is a fixed frequency.
16. The circuitry of Claim 13 wherein said number generating circuitry further comprises circuitry for detecting said new page signal such that the counter circuitry is enabled for the first scanline of each page and disabled for subsequent scanlines of such page.
17. The circuitry of Claim 11 wherein start signal generating circuitry comprises counter circuitry for counting at a predetermined frequency responsive to said first signal and for generating the start signal.
18. The circuitry of Claim 17 wherein said counter circuitry comprises presettable counters.
19. The circuitry of Claim 18 and further comprising logic circuitry for generating the l's complement of said generated number and loading said l's complement of said generated number into said presettable counters.
20. The circuitry of Claim 11 wherein said print medium is a laser beam.
21. The circuitry of Claim 11 wherein said print medium is an ink jet head.
22. A printer comprising: a print engine comprising: a print medium for generating an image on the scanline; a sensor for generating a first signal responsive to detection of said print medium at a first location on the scanline; and circuitry for generating a second signal responsive to movement of the print medium to a predetermined second location on the scanline; circuitry for generating a number indicative of the elapsed time between the first and second signals; and circuitry, coupled to said number generating circuitry, for generating a start signal for enabling printing responsive to said first signal and said generated number.
23. The circuitry of Claim 22 and further comprising circuitry for receiving a signal indicative of a new page and wherein said start signal generating circuitry comprises circuitry for generating a start signal responsive to said second signal for the first scanline of a new page.
24. The circuitry of Claim 23 wherein said number generating circuitry further comprises circuitry for detecting said new page signal such that the counter circuitry is enabled for the first scanline of each page and disabled for subsequent scanlines of such page.
25. The circuitry of Claim 22 wherein start signal generating circuitry comprises counter circuitry for counting at a predetermined frequency responsive to said first signal.
26. The circuitry of Claim 25 wherein said counter circuitry comprises presettable counters.
27. The circuitry of Claim 26 and further comprising logic circuitry for generating the l's complement of said generated number and loading said l's complement of said generated number into said presettable counters.
28. A method of precisely aligning a margin between first and second positions of a print engine scanline, comprising the steps of: generating the number indicative of the elapsed time between first and second signals generated by the print engine indicative of movement of said print medium to the first and second positions, respectively; and generating a start signal to enable printing responsive to receiving the first signal after delaying a number of cycles corresponding to said generated number.
29. The method of Claim 28 and further comprising the steps of receiving a signal indicative of a new page and generating the start signal responsive to the second signal for the first scanline of the new page.
30. The method of Claim 29 wherein said number generating step comprises counting at a predetermined frequency responsive to the first signal until the second signal is received.
31. The method of Claim 30 wherein said step of counting at a predetermined frequency comprises the step of counting at a predetermined frequency dependent upon the print resolution.
32. The method of Claim 30 wherein said step of counting at a predetermined frequency comprises the step of counting at a fixed predetermined frequency dependent upon the maximum print resolution.
33. The method of Claim 30 wherein said number generating step further comprises the steps of detecting the new page signal and enabling counting at the predetermined frequency for the first scanline of each new page.
34. The method of Claim 28 wherein said start signal generating step comprises the step of counting at a predetermined frequency responsive to said first signal.
35. The method of Claim 34 and further comprising the step of generating the l's complement of the generated number.
36. The method of Claim 35 wherein said counting step comprises the step of counting at the predetermined frequency starting at said l's complement of the generated number.
Description:
MARGIN CONTROL FOR LASER PRINTERS

This invention relates in general to computer peripherals, and more particularly to a method and device for accurately and automatically locating margins produced by a laser printer.

Laser printers form an image on paper similar to that of a photocopy device. A photocopy device forms an image on a print drum by exposing chemicals on the drum to a light source. The chemicals are then washed off, except in the regions of exposure. The exposed regions will pick up ink and transfer the ink to paper which is pressed against the drum.

A laser printer exposes an electrically charged drum which is permanently coated with a photosensitive insulator. The exposed regions electrically attract particles of ink or "toner". This toner is then transferred to paper by applying a charge to the paper causing the toner to move from the drum to the paper. Typically, laser printers are designed around a print engine manufactured by a third party. The basic components of the print engine are the laser, a drum, and a rotating mirror which directs the laser beam in a straight line across the drum (the "scanline") . In order

to generate the image, the laser beam is pulsed on and off as desired while the mirror rotates to expose dots on the drum.

Importantly, each print engine is adjusted at the factory to ensure that the first dot on each scanline is precisely aligned. In most cases, the laser scans across the drum from left to right; however, the alignment problem exists regardless of the direction of the scanning. In order to align the first dots on each scanline, a sensor placed to the left of the drum detects the laser beam prior to the beginning of the scan. Once the laser beam is detected by the sensor, the beam is disabled for a predetermined number of clock cycles. When the predetermined number of clock cycles have expired, the laser is enabled to begin pulsing to form the image across the scanline. The distance between the sensor and the start of printing is referred to as the "margin". It should be noted that the number of clock cycles between sensing the laser beam and enabling the laser will vary depending upon the paper size.

Accordingly, a number of predetermined margins are supported by the engine to accommodate various standard paper sizes.

Each print engine is tuned at the factory, by adjusting the number of clock cycles of delay after sensing the beam, such that the left margin will typically be accurate within 1/4 of a dot using the print engine standard frequency. Thus, for a 300-dot per inch print engine, the left margin will be accurate within 1/1200th of an inch.

Many print engines also allow direct control of the modulation frequency of the laser beam, thereby determining the resolution of the printer. For example, for a 300-dot per inch laser print engine, doubling the modulation frequency of the laser would result in a

scanline resolution of 600-dot per inch. However, alignment of the left margin is accurate only within 1/4 dot at the standard frequency. Thus, for a 300-dot per inch engine, the accuracy of the left margin is within 1/4 of a 300 dpi dot, or 1/2 of a 600 per inch dot. Consequently, while the print engine is controlled externally at a higher frequency, the relative accuracy of the margin control will suffer.

A current method of externally controlling the left margin requires that the engine communicate, via a serial communications channel, the number of dots for the margin. This value is typically stored in non-volatile memory inside the print engine. This data is determined for each engine at the time of manufacture. The engine, when requested, transmits this information to the controller. The controller then replicates the margin at the desired resolution ensuring precise margin placement. This process, however, requires that the controller microprocessor and the engine microprocessor communicate this information for each page. This consumes hardware resources and slows the controller microprocessor in its main task of generating the image in memory.

Thus, a need has arisen in the industry to provide an accurate, automatic method and device for determining an accurate margin in a laser printer.

In accordance with the present invention, a method and apparatus is provided for accurately defining a margin in a print engine. Sensing circuitry in the print engine senses the engine's print medium at a first location on a scanline and generates a first signal responsive thereto. The time between the first signal and movement of the print medium to a second location on

the scanline is measured. Thereafter, for each scanline, a control signal to enable printing is generated after receiving the first signal and waiting for the measured elapsed time to expire. The present invention provides significant advantages over the prior art. Because the initial margin is timed at a high accuracy, the alignment of the margin will be accurate within a predetermined error margin relative to the scan rate. Thus, the print engine may be modulated at a various frequencies without affecting the accuracy of the margins. In addition, the accurate placement of the margin is done without intervention by the engine or controller microprocessors, thus allowing faster overall operation of the printer as a whole.

For a more complete understanding of the present invention, and the advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:

FIGURE 1 illustrates a schematic representation of the major components of a print engine; FIGURE 2a illustrates a margin setting circuitry used in the print engine of FIGURE 1;

FIGURE 2b is a timing diagram illustrating the signals generated by the margin setting circuit of FIGURE 2a; FIGURE 2c shows a block diagram of a current circuit for alignment of left margin;

FIGURES 3a-c illustrate page layouts demonstrating the problems associated with operating the print engine of FIGURE 1 at a high scan rate;

FIGURE 4 illustrates a block diagram of the margin setting circuit of the present invention for providing accurate margin placement at a higher scan rates;

FIGURE 5 illustrates a state diagram describing operation of the circuit of FIGURE 4;

FIGURE 6 illustrates a detailed schematic representation of the circuit of FIGURE 4; and

FIGURE 7 illustrates a timing diagram for the circuit of FIGURE 6.

The preferred embodiment of the present invention and its advantages are best understood by referring to FIGURES 1-7 of the drawings, like numerals being used for like and corresponding parts of the various drawings.

FIGURE 1 illustrates a schematic representation of the major components of a laser print engine 10. Print engine 10 comprises laser 12 which reflects beam 14 off rotating mirror 16 onto drum 18. In the illustrated embodiment, mirror 16 rotates such that beam 14 scans from left to right across drum 18. Prior to impinging drum 18, the reflected beam 14 impinges sensor 20. Responsive to sensing the reflected laser beam 14, sensor 20 outputs control signal (SOS) . The SOS signal signifies that the reflected beam 14 has reached a predetermined position in its path. From this predetermined position, the left margin 22 (the lateral position on the drum 18 at which printing begins) may be determined.

FIGURES 2a-b illustrate the print engine's circuitry 23 for setting the left margin 22, and timing diagrams of the signals generated thereby, respectively. In FIGURE 2a, a clock 24 decrements a counter 26 which has been previously set to a predetermined count. The counter is

enabled upon the trailing edge of the SOS signal. The laser beam is disabled responsive to the SOS signal. When the counter reaches zero, a line sync (LSYNC) signal is output. On the leading edge of the LSYNC signal, the laser 12 is enabled such that printing to the drum 18 may begin. As shown in FIGURE 2b, LM represents the time that it takes the reflected laser beam to rotate from the sensor 20 to the desired left margin 22. It should be noted that the position of the desired left margin 22 may vary depending upon the paper size being used.

FIGURE 2c illustrates prior art circuitry for generating the left margin externally from the print engine. The print engine microprocessor 100 retrieves a number from non-volatile memory 102 indicating the number of dots for the left margin. This information is sent to the controller microprocessor 104 via a serial channel. The controller microprocessor 104 loads the information to the counter 106 which replicates the left margin at the desired resolution. This process must be repeated for each page. This circuitry places an additional burden on the controller microprocessor 104, reducing the performance of its main task of generating the image in memory.

FIGURES 3 -c illustrate the problems with operating the print engine of FIGURE 1 at a higher frequency to obtain a higher print resolution. In FIGURE 3a, each dot at the left margin is aligned within 1/4 of a dot at the standard frequency of the print engine. However, as shown in FIGURE 3b, at twice the frequency (and hence, twice the resolution) , the margin setting circuit of

FIGURE 2a aligns the higher resolution dots within 1/4 dot of a standard frequency dot. At twice the standard frequency, the dots will be aligned only within 1/2 of the higher resolution dot. The resultant effect is illustrated in FIGURE 3c wherein a vertical line will

appear to have perturbations along its length where one or more dots are misaligned.

FIGURE 4 illustrates a margin control circuit 28 which operates in conjunction with a print engine 10 to provide accurate margin settings without intervention of the engine microprocessor or controller microprocessor. The margin control circuit 28 receives four control signals: LSYNC and SOS from the margin setting circuit 23 of the laser print engine 10, CPAGE, which is received from the print engine and indicates the start of a new page, and 4*MAX_CLOCK which is generated external from the print engine. The 4*MAX_CL0CK signal is a clock which is set to four times the frequency for a given resolution. For example, if a 15kHz clock signal is used for 300 dpi resolution, then a clock signal of 30kHz would be used for 600 dpi resolution. The 4*MAX_CLOCK signal would then be set to 120kHz. The four control signals are input to first stage counter and logic circuitry 30. The output of first stage counter and logic circuitry 30 is input to the second stage counter and logic circuitry 32 along with the 4*MAX_CLOCK and SOS control signals. F_LSYNC, representing LSYNC for the first scanline of a page is output from first stage counter and logic circuitry 30 to laser control logic 34. The output of second stage counter and logic circuitry 32 (S_LSYNC) , representing the start of each subsequent scanline, is input to logic 34, along with the F_LSYNC signal. The output of logic 34 is the LMEND signal, which enables the laser 12 to start printing. Operation of the margin control circuit 28 is described in connection with the state diagram of FIGURE 5. When the CPAGE signal indicates that a new page has been encountered, the margin control circuit 28 transitions to state 36, indicative of placement at the first line of a new page. On receiving the SOS signal,

indicating that the beam has impinged sensor 20, the margin control circuit 28 transitions to state 38. In state -38, the first stage counters are incremented at the 4*MAX_CL0CK frequency. The counters are incremented until receiving the LSYNC signal from the laser print engine 10. Hence, in state 38, the first stage counters have timed the interval between SOS and LSYNC at a resolution of four times the frequency which will be used to control the laser 12. On receiving the LSYNC signal from the print engine 10, the first stage counters are stopped and the F_LSYNC signal is enabled (state 40) . For the first scan of a new page, logic 34 passes the F_LSYNC signal to the laser 12 to enable printing. The l's complement of the number derived by the first stage counters is loaded into the second stage counters 32 in state 42. Upon receiving the SOS signal, indicating that the laser has impinged the sensor 20 on the second scan, the second stage counters 32 are incremented responsive to the 4*MAX_CLOCK signal (state 44) . When the second stage counters reach zero, the S_LSYNC signal transitions high. For the second and subsequent scans, the logic 34 passes the S_LSYNC signal to the laser 12. Hence, when the second stage counters reach zero, the laser is enabled in state 46. While CPAGE is low, the second stage counters will be reloaded with the l's complement of the number derived by the first stage counters in state 42. Hence, each scan subsequent to the first scan will use the second stage counters to determine the left margin. The cycle between states 42, 44 and 46 will continue until CPAGE transitions high, indicating a new page. At this point, the margin control circuit 28 will return to state 36.

Hence, the margin control circuit 28 uses the factory set margin of the laser print engine 10 to define the left margin on the first scan. All subsequent scans

will begin within 1/4 dot (at the frequency driving the laser) of the margin set on the first scan. Hence all dots in a vertical line will be aligned within 1/4 dot, regardless of the frequency used to modulate the laser. FIGURE 6 illustrates a detailed block diagram of a preferred embodiment for implementing the margin control circuit 28. J-K flip-flops 48 and 50 have clock inputs coupled to the SOS and LSYNC signals, respectively. The J inputs of the flip-flops 48 and 50 are coupled to ground via pull-down resistor 52 and K inputs are coupled to V cc via pull-up resistor 54. The preset input of J-K flip-flop 48 is coupled to the CPAGE signal. The Q output of flip-flop 48 is coupled to the preset input of flip-flop 50. The Q outputs of the flip-flops 48 and 50 are coupled to the inputs of an XOR gate 56. The Q output of flip-flop 48 is referred to as the START_CNT signal and the Q output of flip-flop 50 is referred to as the F_LSYNC signal. Counters 58a-c are coupled such that the ripple carry output of counter 58a is coupled to the T input of counter 58b and the ripple carry output of counter 58b is coupled to the T input of counter 58c. The output of the XOR gate 56 (the LMCNT_EN signal) is coupled to the T and P inputs of counter 58a, and the P inputs of counters 58b and 58c. The CPAGE signal is coupled to the CLEAR inputs of the counters 58a-c. The 4*MAX_CLOCK signal is coupled to the clock inputs of the counters 58a-c. The load inputs of the counters 58a-c are coupled to V cc via pull-up resistor 60. The outputs of the counters are coupled to respective inverters 62, thereby producing the l's complement of the output of the counters 58a-c. The output of the inverters 62 are coupled to respective inputs of counters 64a-c. The 4*MAX_CL0CK signal is coupled to the clock inputs of counters 64a-c. The SOS signal is coupled to the load inputs of the counters 64a-c. The CLEAR inputs of the

counters 64a-c are coupled to a RESET signal provided by the control circuitry of the laser printer. The F_LSYNC signal is coupled to the preset input of D flip-flop 66 via inverter 68. The Q output of D flip-flop 66 is coupled to the T and P inputs of counter 64a and to the P inputs of counters 64b and 64c. The ripple carry output of counter 64a is coupled to the T input of counter 64b; the ripple carry output of counter 64b is coupled to the T input of counter 64c. The Q3 output of counter 64c is coupled to the clock input of flip-flop 66 via inverter 70. The D input of flip-flop 66 is coupled to V cc via pull-up resistor 72. The Q output of flip-flop 66 (the IMEND signal) is coupled to V cc via pull-up resistor 74. The CLEAR input of flip-flop 66 is coupled to the SOS signal.

Operation of the circuit of FIGURE 6 is best understood in connection with the timing diagram of FIGURE 7. Responsive to a pulse by the CPAGE signal, the counters 58a-c are cleared, the Q outputs of flip-flops 48 and 50 are set to "1" and the Q outputs are set to "0". Upon a pulse on the SOS signal, the Q output of flip-flop 48 transitions low, thereby forcing the output of XOR gate 56 (LCNT_EN) high. The LCNT__EN signal remains high until the LSYNC signal is pulsed, thereby forcing the Q output of the flip-flop 50 low, and consequently forcing the LCNT EN signal low. When the LCNT_EN signal is high, counters 58a-c, which are connected to form a 12-bit counter, are enabled to count at the frequency given by the 4*MAX_CL0CK signal. When LSYNC is pulsed, the Q output of flip-flop 66 is forced high, thus generating a high LMEND signal. The LMEND signal starts the printing for each scanned line. The LMEND signal remains high until the subsequent SOS signal is pulsed, which triggers the clear input of flip-flop 66, bringing the LMEND signal low. Simultaneously, the

second stage counters 64a-c are loaded with the outputs of inverter 62 (i.e., the l's complement of the output of counters 58a-c) and the counters 64a-c are enabled to count at the rate provided by the 4*MAX_CLOCK signal. When the count reaches zero, the Q3 output of counter 64c will transition low, thereby clocking D flip-flop 66 and forcing the IMEND signal high. This signal starts the second scanline for the page. Subsequent scanlines are repeated by preloading the counters 64a-c and counting to zero. The cycle continues until CPAGE is enabled, at which time the flip-flops 48, 50 and 66 are reset.

While the present invention has been described herein as using a clock frequency (4*MAX_CLOCK) which is four times the frequency driving the laser, a fixed rate clock which was four times the frequency at the highest resolution could also be used, which will increase the relative accuracy at lower print resolutions. Also, the desired left margin resolution could be varied, i.e., a factor such as 3x or 8x could be used rather than the factor of 4x described herein. Furthermore, while the invention has been described in connection with laser print engines, it could be used with other engines, such as ink-jet print engines, which use a similar positioning mechanism in which the printing medium (the laser for a laser print engine and the print head for an ink-jet printer) can be timed between a determinable sensing location and the desired start of the scanline.

Although the present invention and its advantages have been described in detail, it should be understood that various changes, substitutions and alterations can be made herein without departing from the spirit and scope of the invention as defined by the appended claims.