JP6532330B2 - Correction method of image forming apparatus - Google Patents

Correction method of image forming apparatus Download PDF

Info

Publication number
JP6532330B2
JP6532330B2 JP2015141780A JP2015141780A JP6532330B2 JP 6532330 B2 JP6532330 B2 JP 6532330B2 JP 2015141780 A JP2015141780 A JP 2015141780A JP 2015141780 A JP2015141780 A JP 2015141780A JP 6532330 B2 JP6532330 B2 JP 6532330B2
Authority
JP
Japan
Prior art keywords
pixel
scanning
image
coordinate conversion
positional deviation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2015141780A
Other languages
Japanese (ja)
Other versions
JP2017026657A (en
Inventor
隆一 荒木
隆一 荒木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2015141780A priority Critical patent/JP6532330B2/en
Publication of JP2017026657A publication Critical patent/JP2017026657A/en
Application granted granted Critical
Publication of JP6532330B2 publication Critical patent/JP6532330B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Laser Beam Printer (AREA)
  • Control Or Security For Electrophotography (AREA)
  • Color Electrophotography (AREA)

Description

ディジタル複写機、複合機、レーザプリンタなど、二次元画像の画像形成における歪みや濃度むらの画像形成装置の補正方法に関する。   The present invention relates to a correction method of an image forming apparatus such as a digital copying machine, a multi-function machine, a laser printer, and distortion and density unevenness in image formation of a two-dimensional image.

レーザプリンタや複写機等の電子写真方式の画像形成装置では、レーザ光を走査する光走査装置を用いて、感光体上に潜像形成を行う方式が一般に知られている。レーザ走査方式の光走査装置では、コリメータレンズを用いて平行光にされたレーザ光を、回転多面鏡によって偏向し、偏向されたレーザ光を長尺のfθレンズを用いて感光体上に結像させる。また、1つのパッケージ内に複数の発光素子を有するマルチビーム光源を有し、複数のレーザ光を同時に走査するマルチビーム走査方式がある。   In an electrophotographic image forming apparatus such as a laser printer and a copier, it is generally known to form a latent image on a photosensitive member using an optical scanning device for scanning a laser beam. In a laser scanning type optical scanning device, a collimated laser beam is deflected by a rotating polygon mirror using a collimator lens, and the deflected laser beam is imaged on a photosensitive member using a long fθ lens. Let In addition, there is a multi-beam scanning method in which a multi-beam light source having a plurality of light emitting elements is included in one package, and a plurality of laser beams are scanned simultaneously.

一方、濃度むらやバンディングのない良好な画像を形成するためには、各レーザ光の走査ライン間のピッチは感光体上で等間隔であることが望ましい。しかし、以下の複数の要因によって、走査ライン間のピッチの変動が発生する。例えば、走査ライン間のピッチの変動は、感光体の表面速度の速度変動や、回転多面鏡の回転速度変動等によって生じる。また、走査ライン間のピッチの変動は、回転多面鏡の回転軸に対する回転多面鏡のミラー面の角度のばらつきや、マルチビームレーザチップに配列された発光点の間隔のばらつきによっても生じる。このような要因により発生する濃度むらやバンディングに対して、光走査装置の露光量を制御することでバンディングを補正する技術が提案されている。例えば特許文献1では、感光体近傍に副走査方向のビーム位置検出手段を設け、検出されたビーム位置から得られた走査ピッチ情報に基づき、光走査装置の露光量を調整してバンディングを目立たなくする構成が記載されている。   On the other hand, in order to form a good image free from uneven density and banding, it is desirable that the pitches between scanning lines of each laser beam be equal on the photosensitive member. However, due to the following factors, pitch variation between scan lines occurs. For example, the variation in pitch between scan lines is caused by the variation in surface velocity of the photosensitive member, the variation in rotational velocity of the rotating polygon mirror, and the like. The variation in pitch between scanning lines is also caused by the variation in the angle of the mirror surface of the rotating polygon mirror with respect to the rotation axis of the rotating polygon mirror and the variation in the distance between the light emission points arranged in the multibeam laser chip. There has been proposed a technique for correcting banding by controlling the exposure amount of the optical scanning device against uneven density and banding generated due to such factors. For example, in Patent Document 1, a beam position detection unit in the sub-scanning direction is provided in the vicinity of the photosensitive member, and the exposure amount of the light scanning device is adjusted based on scanning pitch information obtained from the detected beam position to make banding inconspicuous. Configuration is described.

特開2012−098622号公報JP, 2012-098622, A

回転多面鏡によりレーザ光を走査する走査光学系では、光学系部品の配置精度によって、レーザ光の主走査方向の位置毎に回転多面鏡のミラー面の倒れ(以下、回転多面鏡の面倒れという)の量が異なる結果となる。図16に、回転多面鏡のミラー面1によって走査された画像先頭から2000ライン目の走査位置、ミラー面2によって走査された画像先頭から4000ライン目の走査位置、のそれぞれのずれの様子を示す。また、回転多面鏡のミラー面3によって走査された画像先頭から6000ライン目の走査位置、ミラー面4によって走査された画像先頭から8000ライン目の走査位置、のそれぞれのずれの様子を示す。更に、回転多面鏡のミラー面5によって走査された画像先頭から10000ライン目の走査位置のずれの様子を示す。図16では、主走査方向の位置によって、破線で示す理想位置に対して実線で示す走査ラインの走査位置が先頭方向にずれたり、先頭方向とは逆の方向にずれたりしている。また、理想位置に対する走査ラインの走査位置のずれ量も、副走査方向の各走査ラインによってばらついている。このように、レーザ光の副走査方向の走査ライン毎、且つ、主走査方向の位置毎に、回転多面鏡の面倒れの影響が異なり、走査ラインと隣り合う走査ラインの間隔(以下、ピッチ間隔という)は主走査方向の位置毎に異なる。光走査装置では、光走査装置自体の組み付け誤差や、光学部品の製造誤差によって、主走査方向の位置毎にレーザ光の光路が異なる。主走査方向の位置毎にレーザ光の光路が異なることによって、例えばfθレンズ等では結像特性も異なってしまう。このため、回転多面鏡の面倒れの影響が、主走査方向の位置毎に異なるずれ量(以下、単に面倒れ量という)として発生する。   In a scanning optical system that scans a laser beam with a rotating polygon mirror, the mirror surface of the rotating polygon mirror falls (hereinafter referred to as a surface tilt of the rotating polygon mirror) for each position in the main scanning direction of the laser beam. Results in different amounts of). FIG. 16 shows the respective positions of the scanning position of the 2000th line from the image head scanned by the mirror surface 1 of the rotary polygon mirror and the scanning position of the 4000th line from the image head scanned by the mirror surface 2. . Also, the deviations of the scanning position of the 6000th line from the top of the image scanned by the mirror surface 3 of the rotary polygon mirror and the scanning position of the 8000th line from the top of the image scanned by the mirror surface 4 are shown. Further, the situation of deviation of the scanning position of the 10000th line from the head of the image scanned by the mirror surface 5 of the rotary polygon mirror is shown. In FIG. 16, depending on the position in the main scanning direction, the scanning position of the scanning line indicated by the solid line is deviated in the leading direction or deviated in the opposite direction to the leading direction with respect to the ideal position indicated by the broken line. Further, the deviation amount of the scanning position of the scanning line with respect to the ideal position also varies among the scanning lines in the sub-scanning direction. As described above, the influence of the surface tilt of the rotary polygon mirror is different for each scanning line in the sub scanning direction of the laser light and each position in the main scanning direction, and the interval between scanning lines adjacent to the scanning line Is different for each position in the main scanning direction. In the optical scanning device, the optical path of the laser light differs depending on the position in the main scanning direction due to an assembly error of the optical scanning device itself or a manufacturing error of the optical component. When the optical path of the laser beam is different for each position in the main scanning direction, for example, the imaging characteristic is also different in an fθ lens or the like. For this reason, the effect of the surface tilt of the rotary polygon mirror occurs as a shift amount (hereinafter, simply referred to as the surface tilt amount) which is different for each position in the main scanning direction.

従来技術では、このような主走査方向の位置毎に走査ラインのピッチ間隔が異なる課題については、解決手段が開示されていない。画像領域全体でバンディングのない均一な画像を形成するためには、主走査方向の位置毎に異なる位置ずれ量に対する補正が必要となる。   In the prior art, no solution has been disclosed for the problem that the pitch of the scanning lines differs for each position in the main scanning direction. In order to form a uniform image without banding over the entire image area, it is necessary to make corrections for different amounts of misregistration for each position in the main scanning direction.

本発明は、このような状況のもとでなされたもので、主走査方向の位置毎に異なる位置ずれ量に起因する画像の歪みや濃度むらを補正して、良好な画質を得ることを目的とする。   The present invention has been made under such circumstances, and it is an object of the present invention to obtain good image quality by correcting image distortion and density unevenness caused by positional displacement amounts different for each position in the main scanning direction. I assume.

上述した課題を解決するために、本発明は、以下の構成を備える。   In order to solve the problems described above, the present invention comprises the following configuration.

(1)複数の発光素子を有する光源と、第1の方向に回転し、前記光源から出射された光ビームにより潜像が形成される感光体と、前記光源から出射された光ビームを偏向し、前記感光体に照射された光ビームのスポットを前記第1の方向に直交する第2の方向に移動させ走査線を形成する偏向手段と、を備える画像形成装置の補正方法であって、走査線の前記第2の方向に応じた前記第1の方向の位置ずれに関する情報を記憶手段に記憶する記憶工程と、前記記憶手段に記憶された前記情報に基づいて、前記感光体上の走査線の間隔が所定の間隔となるような座標変換を行うことにより、入力画像の画素の位置を変換する変換工程と、前記座標変換後の入力画像の画素の位置に基づいて、入力画像の画素の画素値に畳み込み演算を行い、出力画像の画素の画素値を求めるフィルタ処理工程と、を備えることを特徴とする補正方法。   (1) A light source having a plurality of light emitting elements, a photosensitive member which is rotated in a first direction and on which a latent image is formed by a light beam emitted from the light source, and a light beam emitted from the light source is deflected A correction method of an image forming apparatus, comprising: deflection means for moving a spot of a light beam irradiated to the photosensitive member in a second direction orthogonal to the first direction to form a scanning line, Storing the information on the positional deviation in the first direction according to the second direction of the line in the storage means, and the scanning line on the photosensitive member based on the information stored in the storage means Of the pixels of the input image based on the conversion step of converting the positions of the pixels of the input image by performing coordinate conversion such that the interval of the pixels becomes a predetermined interval, and the positions of the pixels of the input image after the coordinate conversion. Perform convolution operation on pixel values and Correction method characterized by comprising a filtering step of obtaining the pixel value of the pixel of the image.

本発明によれば、主走査方向の位置毎に異なる位置ずれ量に起因する画像の歪みや濃度むらを補正して、良好な画質を得ることができる。   According to the present invention, it is possible to correct image distortion and density unevenness caused by positional displacement amounts different for each position in the main scanning direction, and to obtain excellent image quality.

実施例の画像形成装置全体を示す図、感光ドラムと光走査装置周辺の構成を示す図FIG. 2 is a diagram showing the entire image forming apparatus of the embodiment, and FIG. 実施例の画像形成装置のブロック図Block diagram of image forming apparatus of the embodiment 実施例の走査ラインの位置ずれを示す図The figure which shows the position shift of the scanning line of an Example 実施例のメモリに情報を記憶する工程を説明するブロック図Block diagram illustrating the process of storing information in the memory of the embodiment 実施例の主走査方向の補間演算を示す図The figure which shows the interpolation calculation of the main scanning direction of an Example 実施例の1走査期間のタイムチャートTime chart of one scanning period in the embodiment 実施例の画像形成処理を示すフローチャートFlow chart showing image formation processing of the embodiment 実施例の補正処理を示すフローチャートFlow chart showing correction processing of the embodiment 実施例の画素の位置ずれを分類毎に示す図Diagram showing the misalignment of the pixels of the embodiment for each classification 実施例の副走査方向の画素位置の座標変換を示す図The figure which shows the coordinate transformation of the pixel position of the subscanning direction of an Example 実施例の副走査方向の画素位置の座標変換を示す図The figure which shows the coordinate transformation of the pixel position of the subscanning direction of an Example 実施例の副走査方向の画素位置の座標変換を示す図The figure which shows the coordinate transformation of the pixel position of the subscanning direction of an Example 実施例のフィルタ処理に用いる畳み込み関数を示す図、補正値と係数を説明する図Diagram showing convolution function used for filter processing of the embodiment, Diagram for explaining correction values and coefficients 実施例の位置ずれの分類毎のフィルタ処理を示す図Diagram showing filter processing for each classification of misalignment in the embodiment 実施例のフィルタ処理を示すフローチャートFlow chart showing filter processing of the embodiment 従来例の走査ラインの位置ずれを示す図Diagram showing misalignment of scanning lines in the prior art

以下、図面を参照して、本発明の好適な実施の形態を例示的に詳しく説明する。尚、レーザ光が走査される方向であって感光ドラムの回転軸方向を第2の方向である主走査方向、主走査方向に略直交する方向であって感光ドラムの回転方向を第1の方向である副走査方向とする。   Hereinafter, preferred embodiments of the present invention will be exemplarily described in detail with reference to the drawings. The rotational direction of the photosensitive drum is the second direction, that is, the main scanning direction as the second direction, and the direction substantially orthogonal to the main scanning direction, that is, the first rotational direction of the photosensitive drum. In the sub-scanning direction.

<画像形成装置全体の構成>
図1(a)は、複数色のトナーを用いて画像形成を行うデジタルフルカラープリンタ(カラー画像形成装置)の概略断面図である。図1(a)を用いて実施例の画像形成装置100について説明する。画像形成装置100には色別に画像を形成する4つの画像形成部(画像形成手段)101Y、101M、101C、101Bk(破線部)が備えられている。画像形成部101Y、101M、101C、101Bkはそれぞれ、イエロー、マゼンタ、シアン、ブラックのトナーを用いて画像形成を行う。Y、M、C、Bkは、それぞれイエロー、マゼンタ、シアン、ブラックを表しており、以下、特定の色について説明する場合を除き、添え字Y、M、C、Bkを省略する。
<Configuration of Entire Image Forming Apparatus>
FIG. 1A is a schematic cross-sectional view of a digital full color printer (color image forming apparatus) that forms an image using toners of a plurality of colors. An image forming apparatus 100 according to an embodiment will be described with reference to FIG. The image forming apparatus 100 is provided with four image forming units (image forming units) 101Y, 101M, 101C, and 101Bk (dotted line portions) that form images by color. The image forming units 101Y, 101M, 101C, and 101Bk perform image formation using toners of yellow, magenta, cyan, and black, respectively. Y, M, C, and Bk represent yellow, magenta, cyan, and black, respectively, and the suffixes Y, M, C, and Bk will be omitted hereinafter except in the case of describing a specific color.

画像形成部101には感光体である感光ドラム102が備えられている。感光ドラム102の周りには、帯電装置103、光走査装置104、現像装置105がそれぞれ設けられている。また、感光ドラム102の周りには、クリーニング装置106が配置されている。感光ドラム102の下方には無端ベルト状の中間転写ベルト107が配置されている。中間転写ベルト107は、駆動ローラ108と従動ローラ109、110とに張架され、画像形成中は図中の矢印B方向(時計回り方向)に回転する。また、中間転写ベルト107(中間転写体)を介して、感光ドラム102に対向する位置には、一次転写装置111が設けられている。また、本実施例の画像形成装置100は、中間転写ベルト107上のトナー像を記録媒体である用紙Sに転写するための二次転写装置112、用紙S上のトナー像を定着するための定着装置113を備える。   The image forming unit 101 is provided with a photosensitive drum 102 which is a photosensitive member. A charging device 103, an optical scanning device 104, and a developing device 105 are provided around the photosensitive drum 102. In addition, a cleaning device 106 is disposed around the photosensitive drum 102. Below the photosensitive drum 102, an endless belt-like intermediate transfer belt 107 is disposed. The intermediate transfer belt 107 is stretched around the driving roller 108 and the driven rollers 109 and 110, and rotates in the direction of arrow B (clockwise direction) in the drawing during image formation. Further, a primary transfer device 111 is provided at a position facing the photosensitive drum 102 via the intermediate transfer belt 107 (intermediate transfer member). Further, the image forming apparatus 100 of the present embodiment includes a secondary transfer device 112 for transferring the toner image on the intermediate transfer belt 107 to the sheet S as a recording medium, and a fixing for fixing the toner image on the sheet S. A device 113 is provided.

画像形成装置100の帯電工程から現像工程までの画像形成プロセスを説明する。各画像形成部101における画像形成プロセスは同一であるため、画像形成部101Yを例にして画像形成プロセスを説明し、画像形成部101M、101C、101Bkにおける画像形成プロセスについては説明を省略する。画像形成部101Yの帯電装置103Yにより、図中矢印方向(反時計回り方向)に回転駆動される感光ドラム102Yを帯電する。帯電された感光ドラム102Yは、光走査装置104Yから出射される一点鎖線で示すレーザ光によって露光される。これにより、回転する感光ドラム102Y上(感光体上)に静電潜像が形成される。感光ドラム102Y上に形成された静電潜像は、現像装置105Yによってイエローのトナー像として現像される。画像形成部101M、101C、101Bkでも、同様の工程が行われる。   The image forming process from the charging process to the developing process of the image forming apparatus 100 will be described. Since the image forming process in each image forming unit 101 is the same, the image forming process will be described by taking the image forming unit 101Y as an example, and the description of the image forming process in the image forming units 101M, 101C, and 101Bk will be omitted. The charging device 103Y of the image forming unit 101Y charges the photosensitive drum 102Y rotationally driven in the direction of the arrow (counterclockwise direction) in the drawing. The charged photosensitive drum 102 </ b> Y is exposed by the laser beam shown by a dashed dotted line emitted from the light scanning device 104 </ b> Y. Thereby, an electrostatic latent image is formed on the rotating photosensitive drum 102Y (on the photosensitive member). The electrostatic latent image formed on the photosensitive drum 102Y is developed as a yellow toner image by the developing device 105Y. The same process is performed in the image forming units 101M, 101C, and 101Bk.

転写工程以降の画像形成プロセスについて説明する。転写電圧が印加された一次転写装置111は、画像形成部101の感光ドラム102上に形成されたイエロー、マゼンタ、シアン、ブラックのトナー像を、中間転写ベルト107に転写する。これにより、中間転写ベルト107上で各色のトナー像が重ね合わされる。即ち、中間転写ベルト107に4色のトナー像が転写される(一次転写)。中間転写ベルト107上に転写された4色のトナー像は、二次転写装置112により、手差し給送カセット114又は給紙カセット115から二次転写部に搬送されてきた用紙S上に転写される(二次転写)。そして、用紙S上の未定着のトナー像は定着装置113で加熱定着され、用紙S上にフルカラー画像が得られる。画像が形成された用紙Sは排紙部116に排紙される。   The image forming process after the transfer process will be described. The primary transfer device 111 to which the transfer voltage is applied transfers the yellow, magenta, cyan, and black toner images formed on the photosensitive drum 102 of the image forming unit 101 to the intermediate transfer belt 107. Thus, the toner images of the respective colors are superimposed on the intermediate transfer belt 107. That is, toner images of four colors are transferred to the intermediate transfer belt 107 (primary transfer). The four color toner images transferred onto the intermediate transfer belt 107 are transferred by the secondary transfer device 112 onto the sheet S conveyed from the manual feed cassette 114 or the paper feed cassette 115 to the secondary transfer portion. (Secondary transfer). Then, the unfixed toner image on the sheet S is heated and fixed by the fixing device 113, and a full color image is obtained on the sheet S. The sheet S on which the image is formed is discharged to the sheet discharge unit 116.

<感光ドラムと光走査装置>
図1(b)に、感光ドラム102、光走査装置104、及び、光走査装置104の制御部の構成を示す。光走査装置104は、マルチビームレーザ光源(以下、レーザ光源)201と、コリメータレンズ202と、シリンドリカルレンズ203と、回転多面鏡204とを備える。レーザ光源201は、複数の発光素子によりレーザ光(光ビーム)を発生するマルチビームレーザ光源である。コリメータレンズ202は、レーザ光を平行光に整形する。シリンドリカルレンズ203は、コリメータレンズ202を通過したレーザ光を副走査方向へ集光する。尚、本実施例ではレーザ光源201は複数のビームを配列したマルチビーム光源を例にして記載するが、単一の光源を用いた場合も同様に動作させるものとする。レーザ光源201は、マルチビームレーザ駆動回路(以下、単にレーザ駆動回路)304によって駆動される。回転多面鏡204は、回転動作するモータ部とモータ軸に取り付けられた反射ミラーからなる。以下、回転多面鏡204の反射ミラーの面を、ミラー面という。回転多面鏡204は、回転多面鏡駆動部305によって駆動される。光走査装置104は、回転多面鏡204によって偏向されたレーザ光(走査光)が入射するfθレンズ205、206を備える。また、光走査装置104は、種々の情報が格納された記憶手段であるメモリ302を有する。
<Photosensitive drum and light scanning device>
FIG. 1B shows the configuration of the photosensitive drum 102, the light scanning device 104, and the control unit of the light scanning device 104. The light scanning device 104 includes a multi-beam laser light source (hereinafter, laser light source) 201, a collimator lens 202, a cylindrical lens 203, and a rotary polygon mirror 204. The laser light source 201 is a multi-beam laser light source that generates laser light (light beam) by a plurality of light emitting elements. The collimator lens 202 shapes the laser light into parallel light. The cylindrical lens 203 condenses the laser beam that has passed through the collimator lens 202 in the sub-scanning direction. In the present embodiment, the laser light source 201 is described as an example of a multi-beam light source in which a plurality of beams are arranged, but the same operation is performed when a single light source is used. The laser light source 201 is driven by a multi-beam laser drive circuit (hereinafter simply referred to as a laser drive circuit) 304. The rotating polygon mirror 204 is composed of a rotating motor unit and a reflecting mirror attached to the motor shaft. Hereinafter, the surface of the reflecting mirror of the rotating polygon mirror 204 is referred to as a mirror surface. The rotary polygon mirror 204 is driven by a rotary polygon mirror drive unit 305. The optical scanning device 104 includes fθ lenses 205 and 206 on which the laser light (scanning light) deflected by the rotating polygon mirror 204 is incident. In addition, the light scanning device 104 has a memory 302 which is a storage unit in which various information is stored.

更に、光走査装置104は、回転多面鏡204によって偏向されたレーザ光を検知し、レーザ光を検知したことに応じて水平同期信号(以下、BD信号)を出力する信号生成手段であるBeam Detector207(以下、BD207)を備える。光走査装置104から出射したレーザ光は、感光ドラム102上を走査する。レーザ光が感光ドラム102の回転軸に対して平行に走査されるように、光走査装置104と感光ドラム102の位置決めがなされている。光走査装置104は、回転多面鏡204のミラー面が感光ドラム102上を一回走査する度に、マルチビームレーザの光ビームのスポットを主走査方向に走査させ、レーザ素子数分の走査ラインを同時に形成する。本実施例では、回転多面鏡204のミラー面数は5面であり、レーザ光源201は8つのレーザ素子を有する構成を例にして説明する。即ち、本実施例では、1回の走査で8ライン分の画像形成を行うため、回転多面鏡204は1回転あたり5回走査して、全部で40ライン分の画像形成を行う。   Further, the light scanning device 104 detects a laser beam deflected by the rotary polygon mirror 204, and outputs a horizontal synchronization signal (hereinafter referred to as a BD signal) in response to the detection of the laser beam. (Hereinafter, BD 207). The laser beam emitted from the light scanning device 104 scans the photosensitive drum 102. The optical scanning device 104 and the photosensitive drum 102 are positioned such that the laser beam is scanned parallel to the rotation axis of the photosensitive drum 102. Each time the mirror surface of the rotary polygon mirror 204 scans the photosensitive drum 102 once, the light scanning device 104 scans the spot of the light beam of the multi-beam laser in the main scanning direction and scans the number of scanning lines equal to the number of laser elements. Form at the same time. In the present embodiment, the number of mirror faces of the rotary polygon mirror 204 is five, and the laser light source 201 will be described by way of example of a configuration having eight laser elements. That is, in the present embodiment, since the image formation for eight lines is performed by one scan, the rotary polygon mirror 204 scans five times per one rotation, and image formation for a total of 40 lines is performed.

感光ドラム102は、回転軸にロータリーエンコーダ301を備えており、ロータリーエンコーダ301を用いて感光ドラム102の回転速度の検出が行われる。ロータリーエンコーダ301は、感光ドラム102が1回転する度に1000発のパルスを発生し、内蔵のタイマを用いて発生したパルスの時間間隔を測定した結果に基づく感光ドラム102の回転速度の情報(回転速度データ)をCPU303に出力する。尚、感光ドラム102の回転速度が検出できる構成であれば、前述したロータリーエンコーダ以外の公知の速度検出技術を用いてもよい。エンコーダ以外の方法としては、例えば、レーザドップラー等で感光ドラム102の表面速度を検出する等の方式がある。   The photosensitive drum 102 is provided with a rotary encoder 301 on the rotation shaft, and detection of the rotational speed of the photosensitive drum 102 is performed using the rotary encoder 301. The rotary encoder 301 generates 1000 pulses each time the photosensitive drum 102 makes one rotation, and information on the rotational speed of the photosensitive drum 102 based on the result of measuring the time interval of the generated pulse using the built-in timer (rotation The speed data is output to the CPU 303. Note that any known speed detection technique other than the above-described rotary encoder may be used as long as the rotational speed of the photosensitive drum 102 can be detected. As a method other than the encoder, for example, there is a method of detecting the surface speed of the photosensitive drum 102 by laser Doppler or the like.

<CPUのブロック図>
次に、図2を用いて、光走査装置104の制御を行うCPU303について説明する。図2は、後述する画像の歪みや濃度むらを補正する補正処理を実行するCPU303の機能をブロック図として示した図である。CPU303は、フィルタ処理部501と、誤差拡散処理部502と、PWM信号生成部503とを有する。フィルタ処理部501は、入力された画像データに畳み込み演算を行うことでフィルタ処理を行う。誤差拡散処理部502は、フィルタ処理後の画像データに誤差拡散処理を行う。PWM信号生成部503は、誤差拡散処理後の画像データにPWM変換を行い、光走査装置104のレーザ駆動回路304にPWM信号を出力する。
<Block diagram of CPU>
Next, the CPU 303 that controls the light scanning device 104 will be described with reference to FIG. FIG. 2 is a block diagram showing the function of the CPU 303 that executes correction processing to correct distortion and density unevenness of an image described later. The CPU 303 has a filter processing unit 501, an error diffusion processing unit 502, and a PWM signal generation unit 503. The filter processing unit 501 performs a filtering process by performing a convolution operation on the input image data. The error diffusion processing unit 502 performs error diffusion processing on the image data after filter processing. The PWM signal generation unit 503 performs PWM conversion on the image data after error diffusion processing, and outputs a PWM signal to the laser drive circuit 304 of the optical scanning device 104.

また、CPU303は、フィルタ係数設定部504と、フィルタ関数出力部505と、補正値設定部506とを有する。フィルタ関数出力部505は、畳み込み演算に用いられる関数のデータ(例えば、テーブルのデータ)をフィルタ係数設定部504に出力するもので、畳み込み演算に用いられる関数には、例えば線形補間やバイキュービック補間がある。補正値設定部506は、光走査装置104のメモリ302から読み込んだ位置ずれ量の情報と、面特定部507から入力された面同期信号とに基づいて、走査ラインの位置ずれ量を算出する。補正値設定部506は、走査ラインの位置ずれ量に基づいて補正値を算出し、算出した補正値をフィルタ係数設定部504に出力する。フィルタ係数設定部504は、フィルタ関数出力部505から入力された畳み込み関数の情報と、補正値設定部506から入力された走査ラインの補正値とに基づいて、フィルタ処理部501によるフィルタ処理に用いられるフィルタ係数を算出する。フィルタ係数設定部504は、算出したフィルタ係数をフィルタ処理部501に設定する。   The CPU 303 further includes a filter coefficient setting unit 504, a filter function output unit 505, and a correction value setting unit 506. The filter function output unit 505 outputs data (for example, data of a table) of a function used for the convolution operation to the filter coefficient setting unit 504, and for the function used for the convolution operation, for example, linear interpolation or bicubic interpolation There is. The correction value setting unit 506 calculates the amount of positional deviation of the scanning line based on the information of the amount of positional deviation read from the memory 302 of the light scanning device 104 and the surface synchronization signal input from the surface specifying unit 507. The correction value setting unit 506 calculates a correction value based on the positional deviation amount of the scanning line, and outputs the calculated correction value to the filter coefficient setting unit 504. The filter coefficient setting unit 504 is used for the filter processing by the filter processing unit 501 based on the information of the convolution function input from the filter function output unit 505 and the correction value of the scanning line input from the correction value setting unit 506. Filter coefficients to be calculated. The filter coefficient setting unit 504 sets the calculated filter coefficient in the filter processing unit 501.

更に、CPU303は、面特定部507を有する。面特定部507は、光走査装置104のホームポジションセンサ(以下、HPセンサとする)307から入力されたHP信号と、BD207から入力されたBD信号とに基づいて、回転多面鏡204のミラー面を特定する。面特定部507は、特定したミラー面の情報を面同期信号として補正値設定部506に出力する。   The CPU 303 further includes a surface identification unit 507. The surface specifying unit 507 is a mirror surface of the rotating polygon mirror 204 based on the HP signal input from the home position sensor (hereinafter referred to as HP sensor) 307 of the light scanning device 104 and the BD signal input from the BD 207. Identify The surface identification unit 507 outputs the identified information on the mirror surface to the correction value setting unit 506 as a surface synchronization signal.

図1(b)に示すように、CPU303には、画像データを生成する不図示の画像コントローラから画像データが入力される。また、CPU303は、ロータリーエンコーダ301、BD207、メモリ302、レーザ駆動回路304、回転多面鏡駆動部(以下、ミラー駆動部)305と接続されている。CPU303は、BD207から入力されたBD信号に基づいて走査ラインの書き出し位置を検知し、BD信号の時間間隔をカウントすることで回転多面鏡204の回転速度を検知する。更に、CPU303は、回転多面鏡204が所定の速度となるように、ミラー駆動部305に加速減速を指示するための加速減速信号を出力する。ミラー駆動部305は、CPU303から入力された加速減速信号に応じて、回転多面鏡204のモータ部に駆動電流を供給し、モータ306を駆動する。   As shown in FIG. 1B, image data is input to the CPU 303 from an image controller (not shown) that generates image data. Further, the CPU 303 is connected to the rotary encoder 301, the BD 207, the memory 302, the laser drive circuit 304, and the rotary polygon mirror drive unit (hereinafter, mirror drive unit) 305. The CPU 303 detects the writing position of the scanning line based on the BD signal input from the BD 207, and detects the rotational speed of the rotating polygon mirror 204 by counting the time interval of the BD signal. Further, the CPU 303 outputs an acceleration / deceleration signal for instructing the mirror drive unit 305 to accelerate / decelerate so that the rotary polygon mirror 204 has a predetermined speed. The mirror drive unit 305 supplies a drive current to the motor unit of the rotating polygon mirror 204 according to the acceleration / deceleration signal input from the CPU 303 to drive the motor 306.

図2に示すように、回転多面鏡204にはHPセンサ307が搭載されており、HPセンサ307は回転多面鏡204が回転動作中に所定角度になったタイミングで、CPU303に対してHP信号を出力する。CPU303の面特定部507は、HPセンサ307からのHP信号を検知したタイミングで、回転多面鏡204の5つのミラー面のうち、どのミラー面でレーザ光を走査しているか、即ち走査中のミラー面を特定する。面特定部507は、一度、ミラー面が特定されると、それ以降はBD207から出力されるBD信号に基づいてミラー面を特定し続ける。回転多面鏡204の任意のミラー面がレーザ光を1回走査する度に、BD207はBD信号1パルスを出力するため、CPU303はBD信号をカウントすることで回転多面鏡204のミラー面を特定し続けることが可能となる。   As shown in FIG. 2, an HP sensor 307 is mounted on the rotary polygon mirror 204, and the HP sensor 307 sends an HP signal to the CPU 303 at a timing when the rotary polygon mirror 204 turns to a predetermined angle. Output. The surface specifying unit 507 of the CPU 303 detects which of the five mirror surfaces of the rotary polygon mirror 204 scans the laser light at the timing when the HP signal from the HP sensor 307 is detected, that is, the mirror being scanned Identify the face. Once the mirror surface is specified, the surface specifying unit 507 continues to specify the mirror surface based on the BD signal output from the BD 207 thereafter. Each time the arbitrary mirror surface of the rotating polygon mirror 204 scans the laser light once, the BD 207 outputs one BD signal pulse, so that the CPU 303 counts the BD signal to specify the mirror surface of the rotating polygon mirror 204. It is possible to continue.

メモリ302には、回転多面鏡204のミラー面毎の位置情報と、マルチビームレーザの位置情報が各々格納されており、CPU303によって各情報が読み出される。CPU303は、メモリ302から読み出した情報に基づいて、各走査ラインの位置の算出を行い、算出された各走査ラインの位置と入力された画像データから、各走査ラインの位置を補正する情報を加味した画像データを算出する。CPU303は、各走査ラインの位置が補正された情報が加味された画像データに基づいて、レーザ駆動回路304に発光光量データを出力する。尚、本実施例では、レーザ駆動回路304は、CPU303から入力された発光光量データに基づき、PWM(パルス幅変調)制御により画素毎の点灯時間を制御することで光量制御を行う。尚、光量制御を行う際には、必ずしもPWM制御を用いる必要はなく、画素毎にピーク光量を制御するAM(振幅変調)制御により光量制御を行ってもよい。   The memory 302 stores position information of each mirror surface of the rotary polygon mirror 204 and position information of the multi-beam laser, and the CPU 303 reads each information. The CPU 303 calculates the position of each scanning line based on the information read from the memory 302, and adds information for correcting the position of each scanning line from the calculated position of each scanning line and the input image data. Calculated image data. The CPU 303 outputs the light emission amount data to the laser drive circuit 304 based on the image data to which the information in which the position of each scanning line is corrected is added. In the present embodiment, the laser drive circuit 304 performs light amount control by controlling the lighting time for each pixel by PWM (pulse width modulation) control based on the light emission amount data input from the CPU 303. In addition, when performing light amount control, it is not necessary to necessarily use PWM control, and light amount control may be performed by AM (amplitude modulation) control which controls a peak light amount for each pixel.

<走査位置情報>
次に、図3、表1を用いて、メモリ302に格納された走査位置情報について説明する。図3は、各走査ラインの理想位置からの位置ずれの様子を示す。8つの発光点を有するマルチビームレーザの各レーザが走査する走査ラインを、LD1、LD2、LD3、LD4、LD5、LD6、LD7、LD8とする。ここで、各走査ラインの理想的な間隔は、解像度によって決定される。例えば解像度1200dpiの画像形成装置の場合、各走査ラインの理想的な間隔は、21.16μmとなる。LD1を基準位置とした場合、走査ラインLD1からの走査ラインLD2〜LD8の理想距離D2〜D8は式(1)で算出される。
Dn=(n−1)×21.16μm (n=2〜8)・・・式(1)
例えば、走査ラインLD1から走査ラインLD4までの理想距離D4は、63.48μm(=(4−1)×21.16μm)となる。
<Scan position information>
Next, scanning position information stored in the memory 302 will be described using FIG. 3 and Table 1. FIG. 3 shows the positional deviation of each scanning line from the ideal position. The scanning line which each laser of the multi beam laser which has eight light emission points scans is set to LD1, LD2, LD3, LD4, LD5, LD6, LD7, LD8. Here, the ideal spacing of each scan line is determined by the resolution. For example, in the case of an image forming apparatus with a resolution of 1200 dpi, the ideal interval of each scanning line is 21.16 μm. Assuming that LD1 is a reference position, ideal distances D2 to D8 of scan lines LD2 to LD8 from scan line LD1 are calculated by equation (1).
Dn = (n-1) × 21.16 μm (n = 2 to 8) (1)
For example, the ideal distance D4 from the scan line LD1 to the scan line LD4 is 63.48 μm (= (4-1) × 21.16 μm).

ここで、マルチビームレーザの素子間隔の誤差やレンズの倍率ばらつきによって、走査ラインの間隔は誤差を持つ。理想距離D2〜D8によって決まる理想位置に対する走査ラインLD2〜LD8の位置ずれ量を、X1〜X7とする。回転多面鏡204のA面目について、例えば、走査ラインLD2の位置ずれ量X1は、走査ラインLD2の理想位置(以下、ライン2、他の走査ラインについても同様とする)と実際の走査ラインとの差とする。また、例えば、走査ラインLD4の位置ずれ量X3は、ライン4と実際の走査ラインとの差とする。   Here, the scanning line spacing has an error due to an error in the element spacing of the multi-beam laser and a variation in magnification of the lens. The positional deviation amounts of the scanning lines LD2 to LD8 with respect to the ideal position determined by the ideal distances D2 to D8 are X1 to X7. For the A-face of the rotary polygon mirror 204, for example, the positional deviation amount X1 of the scanning line LD2 is between the ideal position of the scanning line LD2 (hereinafter, the same applies to line 2 and other scanning lines) and the actual scanning line. It will be a difference. Also, for example, the positional deviation amount X3 of the scanning line LD4 is a difference between the line 4 and the actual scanning line.

回転多面鏡204は、回転多面鏡204の各ミラー面の製造ばらつきにより、回転軸に対するミラー面の角度が完全に平行にはならず、ミラー面毎に角度のばらつきを有する。また各ミラー面におけるレーザ光の走査では、主走査方向の位置に応じてずれ量が異なる。本実施例では、主走査方向の画像領域を所定数のブロック、例えば5つのブロックに分割して、メモリ302にミラー面毎に5つのブロックの各々に対応した位置ずれ量を格納する。このように、ブロック単位で位置情報をメモリ302に格納しておくことで、画素ごとに位置情報を保持しておく場合に比べて、容量の削減が可能となる。   Due to manufacturing variations of the mirror surfaces of the rotary polygon mirror 204, the rotary polygon mirror 204 does not have completely parallel angles of the mirror surfaces with respect to the rotation axis, but has angular variations from mirror surface to mirror surface. Further, in the scanning of the laser light on each mirror surface, the amount of deviation differs depending on the position in the main scanning direction. In this embodiment, the image area in the main scanning direction is divided into a predetermined number of blocks, for example, five blocks, and the amount of positional deviation corresponding to each of the five blocks is stored in the memory 302 for each mirror surface. As described above, storing the position information in the block unit in the memory 302 makes it possible to reduce the capacity as compared with the case where the position information is held for each pixel.

回転多面鏡204の各ミラー面における理想位置に対する位置ずれ量は、回転多面鏡204のミラー面数が5面、主走査方向におけるブロック数が5つの場合、Y1A〜Y5Eで表わされる。ここで、A〜Eは回転多面鏡204の5つの面を表し、1〜5は主走査方向の5つのブロックを表している。例えば、回転多面鏡204のA面目のLD1の走査ライン(ライン1)の1〜5ブロック目の理想位置からのずれ量を、Y1A、Y2A、Y3A、Y4A、Y5Aと表す。同様に、回転多面鏡204のB面目のLD1の走査ライン(ライン9)の1〜5ブロック目の理想位置からのずれ量を、Y1B、Y2B、Y3B、Y4B、Y5Bと表す。回転多面鏡204のm面目のミラー面、マルチビームのn番目のレーザ光の主走査方向におけるbブロック目の位置ずれ量をZnbmとする。そうすると、位置ずれ量Znbmは、各走査ラインの副走査方向の位置ずれ量X1〜X7と、各ミラー面の位置ずれ量YA〜YEとを用いて式(2)で表わされる。
Znbm=Ybm+X(n−1)(n=1〜8、b=1〜5、m=A〜E)…式(2)
(ただし、X(0)=0とする)
例えば、回転多面鏡204のA面目の走査ラインLD4の3ブロック目についての位置ずれ量Z43Aは、式(2)からZ43A=Y3A+X3と求められる。また、回転多面鏡204のB面目の走査ラインLD1の5ブロック目についての位置ずれ量Z15Bは、式(2)からZ15B=Y5Bと求められる。
The amount of positional deviation of each of the mirror faces of the rotary polygon mirror 204 with respect to the ideal position is represented by Y1A to Y5E when the number of mirror faces of the rotary polygon mirror 204 is five and the number of blocks in the main scanning direction is five. Here, A to E represent five planes of the rotary polygon mirror 204, and 1 to 5 represent five blocks in the main scanning direction. For example, the amounts of deviation from the ideal position of the first to fifth blocks of the scan line (line 1) of the LD1 on the A-side of the rotary polygon mirror 204 are represented as Y1A, Y2A, Y3A, Y4A, Y5A. Similarly, the amounts of deviation from the ideal position of the first to fifth blocks of the scan line (line 9) of the LD 1 on the B side of the rotary polygon mirror 204 are represented as Y1B, Y2B, Y3B, Y4B, and Y5B. The displacement amount of the b-th block in the main scanning direction of the n-th laser beam of the multi-beam and the mirror surface of the m-th surface of the rotary polygon mirror 204 is assumed to be Znbm. Then, the positional deviation amount Znbm is expressed by Expression (2) using the positional deviation amounts X1 to X7 in the sub scanning direction of each scanning line and the positional deviation amounts YA to YE of the mirror surfaces.
Znbm = Ybm + X (n-1) (n = 1 to 8, b = 1 to 5, m = A to E) Formula (2)
(However, X (0) = 0)
For example, the positional deviation amount Z43A for the third block of the scanning line LD4 on the A side of the rotary polygon mirror 204 can be obtained from the equation (2) as Z43A = Y3A + X3. Further, the positional deviation amount Z15B for the fifth block of the scan line LD1 on the B-side of the rotary polygon mirror 204 can be obtained from the equation (2) as Z15B = Y5B.

式(2)の演算で位置ずれ量Znbmを算出する場合、位置ずれ量Znbmの算出に用いられるデータは、回転多面鏡204のミラー面の数とマルチビームレーザの素子数、主走査方向のブロック数に対応したデータ数を有していればよい。ここで、表1にメモリ302に格納される位置ずれデータのアドレスマップを示す。   When calculating the displacement amount Znbm by the operation of equation (2), the data used to calculate the displacement amount Znbm is the number of mirror surfaces of the rotating polygon mirror 204, the number of elements of the multi-beam laser, and the blocks in the main scanning direction It suffices to have the number of data corresponding to the number. Here, Table 1 shows an address map of misalignment data stored in the memory 302.

Figure 0006532330
Figure 0006532330

表1に示すように、メモリ302のアドレス1からアドレス7までには、走査ラインLD2から走査ラインLD8までの位置ずれ量(位置情報と記す)X1〜X7の情報が格納されている。また、メモリ302のアドレス8からアドレス12までには、回転多面鏡204のミラー面のA面目のブロック1からブロック5までの位置ずれ量Y1A〜Y5Aの情報が格納されている。また、メモリ302のアドレス13からアドレス17までには、回転多面鏡204のミラー面のB面目のブロック1からブロック5までの位置ずれ量Y1B〜Y5Bの情報が格納されている。また、メモリ302のアドレス18からアドレス22までには、回転多面鏡204のミラー面のC面目のブロック1からブロック5までの位置ずれ量Y1C〜Y5Cの情報が格納されている。また、メモリ302のアドレス23からアドレス27までには、回転多面鏡204のミラー面のD面目のブロック1からブロック5までの位置ずれ量Y1D〜Y5Dの情報が格納されている。更に、メモリ302のアドレス28からアドレス32までには、回転多面鏡204のミラー面のE面目のブロック1からブロック5までの位置ずれ量Y1E〜Y5Eの情報が格納されている。   As shown in Table 1, information of displacement amounts (described as position information) X1 to X7 from the scan line LD2 to the scan line LD8 is stored at addresses 1 to 7 of the memory 302. Further, information of displacement amounts Y1A to Y5A from block 1 to block 5 of the A-th surface of the mirror surface of the rotary polygon mirror 204 is stored at addresses 8 to 12 of the memory 302. Also, information of displacement amounts Y1B to Y5B from block 1 to block 5 on the B surface of the mirror surface of the rotary polygon mirror 204 is stored at addresses 13 to 17 of the memory 302. Further, information of displacement amounts Y1C to Y5C from the block 1 to the block 5 of the C surface of the mirror surface of the rotary polygon mirror 204 is stored at the address 18 to the address 22 of the memory 302. Also, information of displacement amounts Y1D to Y5D from block 1 to block 5 on the D-th surface of the mirror surface of the rotary polygon mirror 204 is stored in the address 23 to the address 27 of the memory 302. Further, information of displacement amounts Y1E to Y5E from block 1 to block 5 of the E surface of the mirror surface of the rotary polygon mirror 204 is stored in the address 28 to the address 32 of the memory 302.

(メモリ格納動作)
メモリ302に格納される位置ずれ量の情報は、例えば工場等での光走査装置104の調整工程で測定されたデータを格納するものとする。また、画像形成装置内部にレーザ光源201から出射されたレーザ光により走査される走査ラインの位置を検知する手段を備え、メモリ302に格納されている情報をリアルタイムに更新する構成としてもよい。走査光の副走査方向の位置検出手段としては、公知の技術を用いてよい。例えば、光走査装置内部や感光ドラム近傍に配置したCMOSセンサやPSD(Position Sensitive Detector)によって位置検出を行う方法でもよい。また、光走査装置内部や感光ドラム近傍に配置したPD(photo diode)面上に三角スリットを配置してPDの出力パルス幅から位置検出を行う方法でもよい。
(Memory storage operation)
The information on the amount of positional deviation stored in the memory 302 stores, for example, data measured in the adjustment process of the optical scanning device 104 in a factory or the like. The image forming apparatus may be provided with means for detecting the position of the scanning line scanned by the laser light emitted from the laser light source 201, and the information stored in the memory 302 may be updated in real time. A well-known technique may be used as a position detection means of the subscanning direction of scanning light. For example, the position detection may be performed by a CMOS sensor or a PSD (Position Sensitive Detector) disposed inside the optical scanning device or near the photosensitive drum. Alternatively, a triangular slit may be disposed on the surface of a PD (photo diode) disposed inside the light scanning device or in the vicinity of the photosensitive drum, and position detection may be performed from the output pulse width of the PD.

図4は、一例として、工場等で光走査装置104のメモリ302に情報を格納する際のブロック図を示す。尚、図2と同じ構成には同じ符号を付し、説明を省略する。光走査装置104の調整工程において、光走査装置104が画像形成装置に搭載されたときの感光ドラムの位置に相当する位置に、測定工具400を配置する。測定工具400は、測定部410と演算部402を備えており、演算部402は、図2のCPU303の面特定部507から面同期信号が入力されるように構成されている。尚、図4のCPU303には、面特定部507のみ描画している。まず、光走査装置104から測定部410にレーザ光を照射させる。測定部410は、三角スリット411とPD412を有しており、図中、一点鎖線矢印で示す光走査装置104から走査された光ビームが三角スリット411上を走査する。測定部410は、三角スリット411を介してPD412に入力された光ビームの情報に基づき、走査ラインの副走査方向の位置を測定する。測定部410は、測定した回転多面鏡204のミラー面毎の走査ラインの、主走査方向に依存する副走査方向の位置の情報(以下、面毎データという)を、演算部402に出力する。   FIG. 4 shows, as an example, a block diagram when information is stored in the memory 302 of the optical scanning device 104 at a factory or the like. The same components as those in FIG. 2 are assigned the same reference numerals and descriptions thereof will be omitted. In the adjustment process of the optical scanning device 104, the measurement tool 400 is disposed at a position corresponding to the position of the photosensitive drum when the optical scanning device 104 is mounted on the image forming apparatus. The measurement tool 400 includes a measurement unit 410 and a calculation unit 402. The calculation unit 402 is configured to receive a surface synchronization signal from the surface identification unit 507 of the CPU 303 in FIG. In the CPU 303 of FIG. 4, only the surface identification unit 507 is drawn. First, the light scanning device 104 causes the measuring unit 410 to emit a laser beam. The measuring unit 410 has a triangular slit 411 and a PD 412, and the light beam scanned from the light scanning device 104 indicated by a dashed dotted arrow in the figure scans the triangular slit 411. The measuring unit 410 measures the position in the sub-scanning direction of the scanning line based on the information of the light beam input to the PD 412 via the triangular slit 411. The measuring unit 410 outputs information on the measured position of the scanning line for each mirror surface of the rotary polygon mirror 204 in the sub-scanning direction depending on the main scanning direction (hereinafter referred to as plane-by-plane data) to the computing unit 402.

一方、面特定部507には、光走査装置104のHPセンサ307からHP信号が入力され、BD207からBD信号が入力されている。これにより、面特定部507は、回転多面鏡204のミラー面を特定し、特定したミラー面の情報を、面同期信号として演算部402に出力する。演算部402は、面特定部507から入力された回転多面鏡204のミラー面の情報に応じた光走査装置104のメモリ302上のアドレスに、測定部410により測定した走査ラインの、主走査方向に依存する副走査方向の位置の情報を書き込む。このように、レーザ光源201の8つの素子のばらつきにより生じる走査ラインの位置ずれ量の情報(X1〜X7)がメモリ302に格納される。また、回転多面鏡204のミラー面の面倒れにより生じる走査ラインのブロック毎の位置ずれ量の情報(Y1A〜Y5E)も、メモリ302に格納される。   On the other hand, the HP signal from the HP sensor 307 of the light scanning device 104 is input to the surface identification unit 507, and the BD signal is input from the BD 207. Thereby, the surface specifying unit 507 specifies the mirror surface of the rotary polygon mirror 204, and outputs the information of the specified mirror surface to the computing unit 402 as a surface synchronization signal. Arithmetic unit 402 sets the main scanning direction of the scanning line measured by measuring unit 410 to the address on memory 302 of optical scanning device 104 according to the information on the mirror surface of rotary polygon mirror 204 input from surface identification unit 507. Write the information of the position in the sub scanning direction depending on. As described above, the information (X1 to X7) of the positional deviation amount of the scanning line generated due to the variation of the eight elements of the laser light source 201 is stored in the memory 302. Further, information (Y 1 A to Y 5 E) of positional deviation amount for each block of the scanning line which is generated due to the surface inclination of the mirror surface of the rotary polygon mirror 204 is also stored in the memory 302.

(主走査方向の補間演算処理の説明)
本実施例では、表1で説明したように、主走査方向の画像領域を5つのブロックに分けて、メモリ302に各面毎に各ブロックに対応した位置ずれ量を保持している。このため、所定のブロックのレーザ光の走査が終了して、次のブロックのレーザ光の走査が開始されると、位置ずれ量に段差が生じる。このような、各ブロック間の位置ずれ量の段差を緩和するため、例えば図5に示すように、各ブロックの位置ずれ量に対して線形補間を用いた補間処理を行い、主走査方向の位置ずれ量として用いてもよい。
(Description of interpolation calculation processing in the main scanning direction)
In this embodiment, as described in Table 1, the image area in the main scanning direction is divided into five blocks, and the amount of positional deviation corresponding to each block is held in the memory 302 for each surface. Therefore, when the scanning of the laser light of the predetermined block is completed and the scanning of the laser light of the next block is started, a step is generated in the positional deviation amount. For example, as shown in FIG. 5, in order to reduce the level difference of the positional displacement amount between blocks, interpolation processing using linear interpolation is performed on the positional displacement amount of each block, and the position in the main scanning direction It may be used as a deviation amount.

図5は、横軸に主走査方向の位置、縦軸に副走査方向の位置ずれ量(μm)を示すグラフである。図5には、主走査方向の1走査ラインの画像領域の1ブロック目から5ブロック目について、ブロック毎の位置ずれ量が記載されている。例えば、3ブロック目(b=3)では位置ずれ量が3μmである。ブロック毎の位置ずれ量は、図5に実線で示すように階段状に変化する。本実施例では、ブロック毎の位置ずれ量(補間処理前(メモリ内データ))に補間処理、例えば線形補間を行うことで、破線で示すように(補間処理後(例えば線形補間))、ブロックを切り替える際の位置ずれ量の段差が解消される。このため、ブロックを切り替える際の画像ずれを防ぐ効果が得られる。   FIG. 5 is a graph showing the position in the main scanning direction on the horizontal axis, and the amount of positional deviation (μm) in the sub-scanning direction on the vertical axis. In FIG. 5, the positional deviation amount for each block is described for the first block to the fifth block of the image area of one scanning line in the main scanning direction. For example, in the third block (b = 3), the displacement amount is 3 μm. The positional deviation amount for each block changes stepwise as shown by a solid line in FIG. In this embodiment, as shown by a broken line (after interpolation (for example, linear interpolation)) by performing interpolation processing, for example, linear interpolation before the positional displacement amount for each block (before interpolation processing (data in memory)), block The step of the positional displacement amount when switching is eliminated. For this reason, the effect of preventing the image shift when switching the block can be obtained.

<位置ずれ量算出方法>
図6は、本実施例の副走査方向におけるn番目のレーザ光の1走査期間内の制御タイミングを示す。(1)は1画素あたりの画素周期に対応したCLK信号を示しており、(2)はCPU303に対するBD207からのBD信号の入力タイミングを示している。(3)、(5)は、CPU303に対する、フィルタ演算前の画像データDATAN(N=1,2,・・・)の入力タイミングを示している。(4)は各画素に対応した位置ずれ量CnN(N=1,2,・・・)が算出されるタイミングを示している。(6)は、フィルタ演算処理が施された画像データDATAN’(N=1,2,・・・)がレーザ駆動回路304に出力されるタイミングを示している。尚、DATAN、DATAN’の末尾のNは、主走査方向の1走査ライン中の画素の番号を表している。
<How to calculate misalignment amount>
FIG. 6 shows control timing within one scanning period of the n-th laser beam in the sub scanning direction of the present embodiment. (1) shows the CLK signal corresponding to the pixel cycle per pixel, and (2) shows the input timing of the BD signal from the BD 207 to the CPU 303. (3) and (5) indicate input timings of the image data DATAN (N = 1, 2,...) Before the filter operation to the CPU 303. (4) indicates the timing at which the positional deviation amount CnN (N = 1, 2,...) Corresponding to each pixel is calculated. (6) indicates the timing at which the image data DATAN ′ (N = 1, 2,...) Subjected to the filter operation processing is output to the laser drive circuit 304. Note that N at the end of DATAN and DATAN 'represents the number of a pixel in one scanning line in the main scanning direction.

BD207から出力されるBD信号を基準としたときに、BD信号が出力されたタイミングから、レーザ光が感光ドラム102の主走査方向における画像領域の先端に到達するタイミングまでの時間をT1とする。また、BD信号が出力されたタイミングから、レーザ光が感光ドラム102の主走査方向における画像領域の終端に到達するタイミングまでの時間をT2とする。画像形成装置は、CPU303によりBD信号を検知した後、所定時間T1が経過するまで待機した後、画像形成を開始し、BD信号を検知してから所定時間T2が経過した後に、1走査ラインの画像形成を終了する。CPU303は、走査毎に、所定時間T1が経過してから所定時間T2が経過するまでの間、即ち、画像領域で、走査ラインの位置ずれ量を算出し、フィルタ処理部501によるフィルタ処理後の画像データをレーザ駆動回路304に送信し、画像形成を行う。ここで、(1)のCLK信号の1周期分の時間で、注目画素に対する位置ずれ量を算出する。また、(1)のCLK信号の1周期分の時間で、注目画素に対するフィルタ処理がフィルタ処理部501によって行われる。そして、フィルタ演算前の画像データが入力されて1クロック後に、フィルタ演算後の画像データがレーザ駆動回路304に出力される(図6破線枠部)。ΔTは、BD207から出力されるBD信号の時間間隔であり、1走査あたりの時間である。   When the BD signal output from the BD 207 is used as a reference, the time from the timing when the BD signal is output to the timing when the laser light reaches the front end of the image area in the main scanning direction of the photosensitive drum 102 is T1. Further, the time from the timing when the BD signal is output to the timing when the laser light reaches the end of the image area in the main scanning direction of the photosensitive drum 102 is T2. The image forming apparatus, after detecting the BD signal by the CPU 303, stands by until a predetermined time T1 elapses, then starts image formation, and after detecting the BD signal, after a predetermined time T2 elapses, one scanning line Finish the image formation. The CPU 303 calculates, for each scan, the amount of positional deviation of the scanning line in the image area until the predetermined time T2 elapses after the predetermined time T1 elapses, that is, after the filter processing by the filter processing unit 501. Image data is sent to the laser drive circuit 304 to form an image. Here, the amount of positional deviation with respect to the pixel of interest is calculated in the time of one cycle of the CLK signal of (1). In addition, the filter processing unit 501 performs the filtering process on the pixel of interest in the time of one cycle of the CLK signal of (1). Then, one clock cycle after the image data before the filter operation is input, the image data after the filter operation is output to the laser drive circuit 304 (broken line frame in FIG. 6). ΔT is a time interval of the BD signal output from the BD 207, which is a time per scan.

本実施例では、図6の(4)に示す各画素の位置ずれ量(CnN)は、主走査方向に分割された5つのブロック(b=1〜5)の位置ずれ量を用いて算出される。各画素の位置ずれ量は、図5で説明したように、各ブロックの位置ずれ量を線形補間し、各画素の位置ずれ量に振り分けた値を用いてもよい。このように、主走査方向の1つの画素に1つの位置ずれ量が対応するようにしてもよいし、複数の画素に1つの位置ずれ量が対応するようにしてもよい。以上の動作により、CPU303は時間T1から時間T2の間で、位置ずれ量の算出、フィルタ処理及びレーザ駆動回路304への画像データの送信を行って、1走査分の画像形成を行う。   In the present embodiment, the positional shift amount (CnN) of each pixel shown in (4) of FIG. 6 is calculated using the positional shift amounts of five blocks (b = 1 to 5) divided in the main scanning direction. Ru. As the positional displacement amount of each pixel, as described in FIG. 5, a value obtained by linearly interpolating the positional displacement amount of each block and distributing the positional displacement amount of each pixel may be used. Thus, one positional deviation amount may correspond to one pixel in the main scanning direction, or one positional deviation amount may correspond to a plurality of pixels. By the above operation, the CPU 303 performs calculation of displacement amount, filter processing, and transmission of image data to the laser drive circuit 304 between time T1 and time T2 to form an image for one scan.

(N画素目の位置ずれ量の算出)
図7は、CPU303が実行する、主走査方向のN番目の画素(N画素目ともいう)の位置ずれ量を算出しながら画像形成を行う処理を示すフローチャートである。CPU303は、画像形成時に走査ライン毎に位置ずれ量の算出を行い、画像形成を行う。ステップ(以下、Sとする)7001でCPU303は、副走査方向の位置n=1とする。S7002でCPU303は、BD207からBD信号が入力されたか否かを判断する。S7002でCPU303は、BD信号が入力されたと判断した場合は、BD信号の周期である時間間隔を計測している不図示のタイマを停止し、タイマ値を読み出し、内部レジスタに保存する。そして、CPU303は、次のBD信号を受信するまでの時間間隔を計測するため、不図示のタイマをリセットしてスタートさせ、S7003の処理に進む。尚、CPU303が不図示のタイマを2つ以上有している場合には、BD信号を受信する度に異なるタイマを交互に使用して、時間測定を行うようにしてもよい。また、ここでは、計測されたBD信号の時間間隔をCPU303の内部レジスタに保存しているが、例えばCPU303の不図示のRAMメモリに保存するようにしてもよい。S7002でCPU303は、BD信号が入力されていないと判断した場合は、BD信号が入力されるのを待つために、S7002の処理を繰り返す。
(Calculation of displacement amount of Nth pixel)
FIG. 7 is a flowchart showing a process performed by the CPU 303 to form an image while calculating the amount of positional deviation of the Nth pixel in the main scanning direction (also referred to as the Nth pixel). The CPU 303 calculates an amount of positional deviation for each scanning line at the time of image formation, and performs image formation. In step (hereinafter referred to as S) 7001, the CPU 303 sets the position n in the sub-scanning direction to one. In step S7002, the CPU 303 determines whether a BD signal has been input from the BD 207. If the CPU 303 determines in S7002 that the BD signal is input, the CPU 303 stops a timer (not shown) measuring a time interval which is a cycle of the BD signal, reads a timer value, and stores the timer value in an internal register. Then, in order to measure the time interval until the next BD signal is received, the CPU 303 resets and starts a timer (not shown), and proceeds to the process of S7003. When the CPU 303 has two or more timers (not shown), different timers may be alternately used each time a BD signal is received to perform time measurement. Further, although the time interval of the measured BD signal is stored in the internal register of the CPU 303 here, it may be stored, for example, in a RAM memory (not shown) of the CPU 303. If the CPU 303 determines in S7002 that the BD signal is not input, the processing of S7002 is repeated to wait for the BD signal to be input.

S7003でCPU303は、タイマを参照することにより、BD信号を検知してから時間T1が経過したか否かを判断する。S7003でCPU303は、時間T1が経過したと判断した場合は、主走査方向における画像領域に入ったと判断し、S7004の処理に進む。S7003でCPU303は、時間T1が経過していないと判断した場合は、まだ主走査方向における非画像領域であると判断し、S7003の処理を繰り返す。S7004でCPU303は、変数N=1と設定する。ここで変数Nは、主走査方向における画像書き出し先頭の画素からの画素番号に対応した変数である。S7005でCPU303は、主走査方向におけるN画素目の位置ずれ量(CnN)を算出し(図6(4))、位置ずれ量に基づいて画像データに対してフィルタ処理を行う(図6(5)、(6))。S7006でCPU303は、N=14000であるか否かを判断し、N=14000であると判断した場合は、S7008の処理に進む。S7006でCPU303は、N=14000ではないと判断した場合、S7007の処理に進む。S7007でCPU303は、Nに1を加算し(N=N+1)、主走査方向における次の画素についての演算を行うために、S7005の処理に戻る。ここで、例えば、A4サイズの記録紙(主走査方向の長さを297mmとする)に1200dpiの解像度で画像形成を行う場合、画素数は約14000となる。このため、主走査方向において、画素番号NをN=1〜14000まで変化させて各画素の位置ずれ量を算出することで、1走査分の位置ずれ量の演算を行うものとする。尚、解像度が変更されると、S7006の閾値も解像度に応じた値となる。   In step S7003, the CPU 303 determines whether the time T1 has elapsed after detecting the BD signal by referring to the timer. If the CPU 303 determines in step S7003 that the time T1 has elapsed, it determines that it has entered an image area in the main scanning direction, and proceeds to the processing of step S7004. If the CPU 303 determines in step S7003 that the time T1 has not elapsed, it determines that it is still a non-image area in the main scanning direction, and repeats the processing of step S7003. In step S7004, the CPU 303 sets the variable N = 1. Here, the variable N is a variable corresponding to the pixel number from the pixel at the top of the image writing in the main scanning direction. In S7005, the CPU 303 calculates the displacement amount (CnN) of the Nth pixel in the main scanning direction (FIG. 6 (4)), and performs filter processing on the image data based on the displacement amount (FIG. ), (6)). In step S7006, the CPU 303 determines whether N = 14000. If it determines that N = 14000, the process proceeds to step S7008. If the CPU 303 determines in S7006 that N is not 14000, it proceeds to the process of S7007. In S7007, the CPU 303 adds 1 to N (N = N + 1), and returns to the process of S7005 in order to perform an operation on the next pixel in the main scanning direction. Here, for example, when an image is formed on a recording sheet of A4 size (the length in the main scanning direction is 297 mm) at a resolution of 1200 dpi, the number of pixels is about 14000. For this reason, in the main scanning direction, the pixel number N is changed to N = 1 to 14000 to calculate the amount of positional deviation of each pixel, thereby calculating the amount of positional deviation for one scan. When the resolution is changed, the threshold in S7006 also becomes a value corresponding to the resolution.

S7008でCPU303は、副走査方向の位置nに1を加算し(n=n+1)、S7009の処理に進む。S7009でCPU303は、副走査方向の位置nに基づいて1ページ分の処理が終了したか否かを判断し、終了したと判断した場合は処理を終了し、終了していないと判断した場合は、S7002の処理に戻る。   In step S7008, the CPU 303 adds 1 to the position n in the sub scanning direction (n = n + 1), and the processing proceeds to step S7009. In step S7009, the CPU 303 determines whether processing for one page has ended based on the position n in the sub scanning direction. If it determines that the processing has ended, the processing ends, and if it is determined that the processing has not ended. , And returns to the process of S7002.

(位置ずれ量の算出)
S7005でCPU303が算出する位置ずれ量CnNの計算式について詳しく説明する。n番目の走査ラインの主走査方向の画素番号Nに対する位置ずれ量CnNは、次のようにして求められる。即ち、感光ドラム102や回転多面鏡204の回転速度の変動による位置ずれ量Aと走査ライン毎の主走査方向に依存する位置ずれ量Bを加算して、位置ずれ量の総和を算出することにより求められる。感光ドラム102の回転速度をVd、回転多面鏡204の回転速度をVp、1走査時間をΔT(図6参照)とすると、感光ドラム102の回転速度Vdと回転多面鏡204の回転速度Vpの速度差から生じる位置ずれ量Aは以下の式(3)から算出される。
A=(Vd−Vp)×ΔT・・・式(3)
(Calculation of misregistration amount)
The formula for calculating the positional deviation amount CnN calculated by the CPU 303 in S7005 will be described in detail. The positional deviation amount CnN with respect to the pixel number N in the main scanning direction of the nth scanning line is determined as follows. That is, the sum of positional deviations is calculated by adding the positional deviation A due to the fluctuation of the rotational speed of the photosensitive drum 102 or the rotary polygon mirror 204 and the positional deviation B depending on the main scanning direction for each scanning line. Desired. Assuming that the rotational speed of the photosensitive drum 102 is Vd, the rotational speed of the rotary polygon mirror 204 is Vp, and one scanning time is ΔT (see FIG. 6), the rotational speed Vd of the photosensitive drum 102 and the rotational speed Vp of the rotary polygon mirror 204 The positional deviation amount A resulting from the difference is calculated from the following equation (3).
A = (Vd−Vp) × ΔT formula (3)

ここで、ΔTはBD信号の出力タイミングの間隔に対応した時間であり、位置ずれ量Aは、感光ドラム102の回転速度Vdと回転多面鏡204の回転速度Vpとの差によって、1走査期間の間に移動する走査ラインの位置ずれ量を示す。ここで、上述したように、回転多面鏡204の回転速度Vpは、印字速度Vprに基づき求められる。そして、印字速度Vprは、1走査時間ΔTと、マルチビーム数(本実施例では8ビーム)の関係から、式(4)、式(5)によって決まる。
Vp=ビーム数×21.16÷ΔT・・・式(4)
ΔT=1÷(回転多面鏡204のミラー面数×回転多面鏡204の1秒間あたりの回転数)・・・式(5)
Here, ΔT is a time corresponding to the interval of the output timing of the BD signal, and the positional deviation amount A is a difference of the rotational speed Vd of the photosensitive drum 102 and the rotational speed Vp of the rotary polygon mirror 204 for one scanning period. The positional shift amount of the scanning line which moves between is shown. Here, as described above, the rotation speed Vp of the rotary polygon mirror 204 is obtained based on the printing speed Vpr. The printing speed Vpr is determined by the equations (4) and (5) from the relationship between one scanning time ΔT and the number of multi-beams (eight beams in this embodiment).
Vp = number of beams × 21.16 ÷ ΔT equation (4)
ΔT = 1 ÷ (number of mirror faces of rotary polygon mirror 204 × number of rotations per second of rotary polygon mirror 204) (5)

一方、位置ずれ量Bは、上述した式(2)から算出された値を用いる。
B=Znbm・・・式(6)
CPU303は、式(3)から算出した位置ずれ量Aと式(6)から算出した位置ずれ量Bとを加算し、位置ずれ量の総和(合計値=A+B)を算出する。CPU303は、S7005で算出した合計の位置ずれ量をCPU303の内部レジスタに保持する。ここで、レジスタに保持された位置ずれ量(=A+B)は、後述するフィルタ処理時に読み出されて演算に用いられる。
On the other hand, as the positional deviation amount B, a value calculated from the above-mentioned equation (2) is used.
B = Znbm (6)
The CPU 303 adds the positional displacement amount A calculated from the equation (3) and the positional displacement amount B calculated from the equation (6) to calculate the sum (total value = A + B) of the positional displacement amounts. The CPU 303 holds the total amount of positional deviation calculated in step S7005 in the internal register of the CPU 303. Here, the amount of positional deviation (= A + B) held in the register is read out at the time of filter processing to be described later and used for calculation.

尚、本実施例では、複数の走査ラインの画像データと位置ずれ量に基づいて、フィルタ演算を行う。例えば、フィルタ演算の範囲をL=3とした場合、注目ラインから上下3画素の画像データを参照し、注目ラインと上下3画素の範囲における各走査ラインの位置ずれ量を算出し、フィルタ演算を行うものとする。   In the present embodiment, the filter operation is performed based on the image data of a plurality of scanning lines and the amount of positional deviation. For example, when the range of the filter calculation is L = 3, the image data of the upper and lower three pixels from the target line is referred to, the positional deviation amount of each scanning line in the range between the target line and the upper and lower three pixels is calculated, Assumed to be performed.

ここで、注目ラインに対応した走査ラインの位置ずれ量は、画像形成直前の期間において算出される。また、注目ラインより前に走査された走査ラインに対しては、前に走査された走査ラインについて算出された位置ずれ量の算出結果を用いるものとする。注目ラインより後のタイミングで走査される走査ラインについては、後で走査される走査ラインに対応する回転多面鏡204のミラー面の情報とマルチビームの位置情報に基づいて位置ずれ量Bが求められる。また、回転多面鏡204の回転速度Vp、感光ドラム102の回転速度Vdについては、次のようにして求めるものとする。即ち、前にレーザ光を走査したタイミングで検出された値と、注目ライン(現在の走査ライン)が走査したタイミングで検出された値に基づいて、次に走査される走査ラインにおける回転速度Vp、Vdを各々予測して求めるものとする。   Here, the amount of positional deviation of the scanning line corresponding to the target line is calculated in the period immediately before the image formation. Further, for the scan line scanned before the target line, the calculation result of the positional deviation amount calculated for the scan line scanned earlier is used. For a scan line scanned at a timing later than the line of interest, the positional deviation amount B is determined based on the information on the mirror surface of the rotary polygon mirror 204 corresponding to the scan line to be scanned later and the multibeam position information. . The rotational speed Vp of the rotary polygon mirror 204 and the rotational speed Vd of the photosensitive drum 102 are determined as follows. That is, based on the value detected at the timing when the laser beam was scanned before and the value detected at the timing when the target line (current scan line) scanned, the rotational speed Vp in the scan line to be scanned next Assume that Vd is predicted and obtained.

(入力画像の画素の副走査方向の位置の補正)
本実施例では、CPU303は、レーザ光による走査ラインの副走査方向の位置ずれ量に基づいて、画像データに対して補正を行い、補正した画像データをレーザ駆動回路304に出力する。以下、図8のフローチャートについて説明する。図8は、副走査方向の位置ずれに起因して発生する濃度むらやバンディングを補正するための補正処理を説明するフローチャートである。S3602でCPU303は、メモリ302に格納された副走査方向の位置ずれ量を読み出す。具体的には、CPU303は、表1で説明したLD2〜LD8の位置情報X1〜X7と、回転多面鏡204のA〜E面目の各部ブロックに応じた位置情報Y1A〜Y5Eをメモリ302から読み出す。本実施例では、副走査方向の位置ずれ量に基づいて、入力された画像データの副走査方向の画素位置に対して補正を行った後、フィルタ処理を行うことによって画素データ、即ち濃度を出力する。
(Correction of the position of pixels of the input image in the sub scanning direction)
In the present embodiment, the CPU 303 corrects the image data based on the positional deviation amount in the sub-scanning direction of the scanning line by the laser light, and outputs the corrected image data to the laser drive circuit 304. Hereinafter, the flowchart of FIG. 8 will be described. FIG. 8 is a flow chart for explaining correction processing for correcting density unevenness and banding that occur due to positional deviation in the sub scanning direction. In step S3602, the CPU 303 reads the positional deviation amount in the sub scanning direction stored in the memory 302. Specifically, the CPU 303 reads from the memory 302 the position information X1 to X7 of the LD2 to LD8 described in Table 1 and the position information Y1A to Y5E corresponding to the blocks of the A to E planes of the rotary polygon mirror 204. In this embodiment, after correcting the pixel position in the sub scanning direction of the input image data based on the positional deviation amount in the sub scanning direction, filter processing is performed to output pixel data, that is, the density. Do.

(走査ラインの位置ずれの状態)
走査ラインの位置ずれの状態は略4つに分類できる。まず、位置ずれの状態には、(a)感光ドラム102上の走査ラインの位置(以下、走査位置)が理想の走査位置に対して進み方向にシフトする場合、(b)感光ドラム102上の走査位置が理想の走査位置に対して戻り方向にシフトする場合がある。また、位置ずれの状態には、(c)感光ドラム102上の走査位置の間隔が理想の走査位置の間隔に対して密になる場合、逆に、(d)感光ドラム102上の走査位置の間隔が理想の走査位置の間隔に対して疎になる場合がある。これらの副走査方向の位置ずれの状態の具体例を図9に示す。図中、破線は走査位置を示し、図中(1)〜(5)は走査の順番を示す。本実施例では8ビームを同時に走査するが、副走査方向に順に並ぶ1ビームずつに順番を振ったものとして説明する。図9の左側の列が理想の走査位置、右側の列が感光ドラム102上の走査位置を示す。走査番号(1)〜(5)に対して、S1〜S5は理想の走査位置からの位置ずれ量を示す。位置ずれ量の単位は、理想のビーム間隔(1200dpiで21.16μm)を1としたときを基準に表し、副走査方向における光ビームの進み方向(以下、単に進み方向という)を正の値としている。また、副走査方向における光ビームの戻り方向(以下、単に戻り方向という)を負の値としている。更に、画像の様子を説明するために副走査方向に並ぶ1画素を走査線上に丸で示す。丸の色は濃度を表す。
(Displacement of scanning line)
The positional deviation of the scanning line can be roughly classified into four. First, in the positional deviation state, (a) when the position of the scanning line on the photosensitive drum 102 (hereinafter, the scanning position) is shifted in the advancing direction with respect to the ideal scanning position, (b) on the photosensitive drum 102 The scan position may shift in the return direction with respect to the ideal scan position. In the positional deviation state, (c) when the scanning position interval on the photosensitive drum 102 is close to the ideal scanning position interval, the (d) scanning position on the photosensitive drum 102 is reversed. The spacing may be sparse relative to the spacing of the ideal scan position. A specific example of these positional deviations in the sub-scanning direction is shown in FIG. In the figure, the broken line indicates the scanning position, and (1) to (5) in the figure indicate the order of scanning. In this embodiment, eight beams are simultaneously scanned, but in the following description, it is assumed that the order is changed for each beam sequentially arranged in the sub-scanning direction. The left column in FIG. 9 indicates the ideal scanning position, and the right column indicates the scanning position on the photosensitive drum 102. For the scan numbers (1) to (5), S1 to S5 indicate the amount of displacement from the ideal scan position. The unit of positional deviation is expressed based on the ideal beam interval (21.16 μm at 1200 dpi) as 1, and the forward direction (hereinafter simply referred to as the forward direction) of the light beam in the sub scanning direction is a positive value. There is. Further, the return direction of the light beam in the sub scanning direction (hereinafter simply referred to as the return direction) is a negative value. Furthermore, in order to explain the appearance of the image, one pixel aligned in the sub-scanning direction is indicated by a circle on the scanning line. The color of the circle represents the density.

図9(a)は、感光ドラム102上の走査位置が、理想の走査位置から進み方向に一律に0.2ずつシフトしている例を示している。以降、図9(a)のような位置ずれ量を、+0.2のシフト量という。図9(b)は、感光ドラム102上の走査位置が、理想の走査位置から戻り方向に一律に0.2ずつシフトしている例を示している。以降、図9(b)のような位置ずれ量を、−0.2ラインのシフト量という。図9(a)、図9(b)は、走査位置が一律にシフトしているため、感光ドラム102上の走査位置の間隔はいずれも1となっている。   FIG. 9A shows an example in which the scanning position on the photosensitive drum 102 is uniformly shifted by 0.2 in the advancing direction from the ideal scanning position. Hereinafter, the displacement amount as shown in FIG. 9A is referred to as a shift amount of +0.2. FIG. 9B shows an example where the scanning position on the photosensitive drum 102 is uniformly shifted by 0.2 in the return direction from the ideal scanning position. Hereinafter, the positional deviation amount as shown in FIG. 9B is referred to as a shift amount of −0.2 line. In FIG. 9A and FIG. 9B, since the scanning positions are uniformly shifted, the intervals of the scanning positions on the photosensitive drum 102 are all one.

図9(c)は、感光ドラム102上の所定の走査位置では、位置ずれ量が0である。しかし、位置ずれ量0の走査位置から走査位置が前に戻るほど進み方向への位置ずれ量が大きくなり、位置ずれ量0の走査位置から走査位置が後に進むほど戻り方向への位置ずれ量が大きくなる。例えば、走査番号(3)ではS3=+0であるが、走査番号(2)ではS2=+0.2、走査番号(1)ではS1=+0.4となり、走査番号(4)ではS4=−0.2、走査番号(5)ではS5=−0.4となる。図9(c)では、走査位置の間隔が1よりも小さい0.8となっている。以降、図9(c)のような位置ずれの状態を、(1−0.2)ラインの間隔で密、という。   In FIG. 9C, at the predetermined scanning position on the photosensitive drum 102, the positional deviation amount is zero. However, as the scan position moves forward from the scan position with a shift amount of 0, the shift amount in the forward direction increases, and as the scan position moves back from the scan position with a shift amount of 0, the shift amount in the return direction decreases. growing. For example, S3 = + 0 for scan number (3), S2 = + 0.2 for scan number (2), S1 = + 0.4 for scan number (1), and S4 = −0 for scan number (4) In the scan number (5), S5 = -0.4. In FIG. 9C, the distance between scanning positions is 0.8, which is smaller than one. Hereinafter, the state of misalignment as shown in FIG. 9C is referred to as dense at intervals of (1-0.2) lines.

図9(d)は、感光ドラム102上の所定の走査位置では、位置ずれ量が0である。しかし、位置ずれ量0の走査位置から走査位置が前に戻るほど戻り方向への位置ずれ量が大きくなり、位置ずれ量0の走査位置から走査位置が後に進むほど進み方向への位置ずれ量が大きくなる。例えば、走査番号(3)ではS3=+0であるが、走査番号(2)ではS2=−0.2、走査番号(1)ではS1=−0.4となり、走査番号(4)ではS4=+0.2、走査番号(5)ではS5=+0.4となる。図9(d)では、走査位置の間隔が1よりも大きい1.2となっている。以降、図9(d)のような位置ずれの状態を、(1+0.2)ラインの間隔で疎、という。   In FIG. 9D, at a predetermined scanning position on the photosensitive drum 102, the positional deviation amount is zero. However, the amount of displacement in the return direction increases as the scan position moves forward from the scan position with a displacement amount of 0, and the amount of displacement in the advance direction increases as the scan position moves back from the scan position with a displacement amount of 0 growing. For example, S3 = + 0 for scan number (3), S2 = -0.2 for scan number (2), S1 = -0.4 for scan number (1), and S4 = for scan number (4) In the scan number (5), S5 = + 0.4. In FIG. 9D, the interval between the scanning positions is 1.2, which is larger than one. Hereinafter, the state of positional deviation as shown in FIG. 9D is referred to as sparse at intervals of (1 + 0.2) lines.

図9(c)のような密の状態では、位置ずれが生じているだけでなく、走査位置の間隔が密になることによって感光ドラム102上で画素が密集し、所定面積あたりの画素値が増えることで濃度が濃くなる。逆に図9(d)のような疎の状態では、位置ずれが生じているだけでなく、走査位置の間隔が疎になることによって感光ドラム102上で画素が疎となって、所定面積あたりの画素値が減って濃度が薄くなる。電子写真プロセスにおいては、潜像電位の深さと現像特性の関係により濃淡差が更に強調されることがある。また、図9(c)、図9(d)のような疎密が交互に発生すれば周期的な濃淡がモアレとなり、空間周波数によっては同じ量でも視覚的に検知されやすくなる。   In the dense state as shown in FIG. 9C, not only positional deviation occurs, but the scanning positions are closely spaced, so that the pixels are densely packed on the photosensitive drum 102, and the pixel value per predetermined area is The concentration is increased by the increase. On the contrary, in the sparse state as shown in FIG. 9D, not only positional deviation occurs but also the spacing between scanning positions becomes sparse, so that the pixels become sparse on the photosensitive drum 102, and a predetermined area per area is obtained. The pixel value of is reduced and the density is reduced. In the electrophotographic process, the density difference may be further emphasized due to the relationship between the depth of the latent image potential and the development characteristics. Further, if density density as shown in FIG. 9C and density density as shown in FIG. 9D alternately occurs, periodic shading becomes moiré, and depending on spatial frequency, it becomes easy to visually detect even the same amount.

図8のフローチャートの説明に戻る。S3603でCPU303は、補正値設定部506により入力画像の各画素に対する補正用属性情報を生成する。本実施例では、入力画像の副走査方向の画素位置を予め座標変換してから、補間することにより、位置ずれの補正と共に、入力画像の濃度を保存しながら局所的な濃淡の補正も同時に行うことを可能にする。ここで、補正用属性情報とは、具体的には、後述する補正値CnNのことである。尚、nは副走査方向における走査ライン(又は画素)の番号を示し、Nは主走査方向における画素の番号を示す。補正値CnNとは、副走査方向のn番目の走査ラインにおける主走査方向のN番目の画素の補正値を意味する。以降の説明では、各走査ラインの主走査方向のN番目の画素について説明することとし、補正値CnNを、単にCとしたりCnとしたりする。   It returns to description of the flowchart of FIG. In step S3603, the CPU 303 causes the correction value setting unit 506 to generate correction attribute information for each pixel of the input image. In this embodiment, the pixel position in the sub-scanning direction of the input image is subjected to coordinate conversion in advance, and then interpolation is performed to simultaneously perform local density correction while preserving the density of the input image as well as correcting positional deviation. Make it possible. Here, the correction attribute information specifically refers to a correction value CnN to be described later. Here, n indicates the number of the scanning line (or pixel) in the sub-scanning direction, and N indicates the number of the pixel in the main scanning direction. The correction value CnN means the correction value of the Nth pixel in the main scanning direction on the nth scanning line in the subscanning direction. In the following description, the N-th pixel in the main scanning direction of each scanning line is described, and the correction value CnN is simply C or Cn.

(座標変換)
本実施例の座標変換の方法を、図10〜図12を用いて説明する。図10〜図12のグラフは、横軸を画素番号n、縦軸を副走査方向の画素位置(走査位置でもある)y(座標変換後はy’)としており、単位はラインとしている。また、図10、図12は、それぞれ図9(a)〜図9(d)に対応している。図10、図12の左側のグラフは座標変換を行う前を、右側のグラフはy軸の座標変換を行った後を、それぞれ示している。グラフにプロットした四角のドットは感光ドラム102上の走査位置、丸のドットは理想の走査位置を表す。
(Coordinate transformation)
The coordinate conversion method of the present embodiment will be described with reference to FIGS. In the graphs of FIGS. 10 to 12, the horizontal axis represents the pixel number n, and the vertical axis represents the pixel position (also the scanning position) y in the sub scanning direction (y 'after coordinate conversion), and the unit is a line. 10 and 12 correspond to FIGS. 9A to 9D, respectively. The graphs on the left side of FIGS. 10 and 12 show the state before coordinate conversion, and the graphs on the right side show the state after y axis coordinate conversion. Square dots plotted on the graph represent scanning positions on the photosensitive drum 102, and circular dots represent ideal scanning positions.

(進み方向及び戻り方向にシフトしている場合)
図10(a)左のグラフから順に説明する。座標変換を行う前のグラフでは、丸でプロットした理想の走査位置は、例えば画素番号2に対して副走査方向の画素位置yが2となっており、画素番号nとy座標が等しく、傾き1の直線(一点鎖線で示す)である。一点鎖線の直線は、以下の式(7)で表される。
y=n・・・式(7)
(When shifting in the direction of advance and return)
The graph on the left in FIG. 10A will be described in order. In the graph before the coordinate conversion, the ideal scanning position plotted with circles is, for example, the pixel position y in the sub-scanning direction is 2 with respect to the pixel number 2, the pixel number n and y coordinate are equal, and the inclination is It is a straight line of 1 (indicated by an alternate long and short dash line). The straight line of a dashed dotted line is expressed by the following equation (7).
y = n ... Formula (7)

丸でプロットした理想の走査位置に対して、四角でプロットした走査位置は、図9(a)で説明したように、進み方向(y軸+方向)にS(=0.2)ラインだけシフトしている。このため、四角でプロットした走査位置は、傾きは1のまま、オフセットした次の式(8)で表される直線(実線で示す)となる。
y=n+S・・・式(8)
With respect to the ideal scan position plotted by a circle, the scan position plotted by a square is shifted by the S (= 0.2) line in the lead direction (y-axis + direction) as described in FIG. 9A. doing. Therefore, the scanning position plotted by a square is a straight line (indicated by a solid line) expressed by the following equation (8) offset with the slope being 1.
y = n + S (8)

本実施例では、実際の走査位置が理想の走査位置に変換されるように座標変換を行うため、図10(a)に示す例の場合、以下の式を用いて座標変換を行えばよい。尚、式(9)のCが補正量となる。
y’=y+C・・・式(9)
従って、補正量Cはシフト量Sと以下の式(10)で表される。
C=−S・・・式(10)
In this embodiment, coordinate conversion is performed so that the actual scanning position is converted to the ideal scanning position. Therefore, in the case of the example shown in FIG. 10A, coordinate conversion may be performed using the following equation. In addition, C of Formula (9) becomes a correction amount.
y '= y + C (9)
Therefore, the correction amount C is expressed by the shift amount S and the following equation (10).
C = -S .. Formula (10)

座標変換の式(9)と補正量Cを求める式(10)により、式(7)、式(8)はそれぞれ以下の式(11)、式(12)のように変換される。
y’=y+C=n+(−S)=n−S・・・式(11)
y’=y+C=(n+S)+C=(n+S)+(−S)=n・・・式(12)
図10(b)について、シフト量をS=−0.2とすれば、式(7)から式(12)が同様に成立して、図10(a)と同様に説明できる。尚、図10(a)、図10(b)に示すように、走査ライン間に疎密が発生しておらず進み方向又は戻り方向にシフトしている走査ラインの場合には、変換前後で直線が一定の傾きとなっている。
By the equation (9) for coordinate conversion and the equation (10) for obtaining the correction amount C, the equations (7) and (8) are transformed as shown by the following equations (11) and (12), respectively.
y ′ = y + C = n + (− S) = n−S formula (11)
y ′ = y + C = (n + S) + C = (n + S) + (− S) = n formula (12)
In FIG. 10B, when the shift amount is S = −0.2, the equations (7) to (12) are similarly established, and can be described similarly to FIG. 10 (a). As shown in FIGS. 10 (a) and 10 (b), in the case of a scanning line in which scanning lines are not sparse or shifted and are shifted in the advancing or returning direction, straight lines before and after conversion. Has a constant slope.

(疎密が発生している場合)
ここで、走査位置の疎密が発生する図12、及びシフトと疎密、図10、図12の組み合わせのケースにも適用できる座標変換について説明する。図11(a)は画素番号と走査位置の関係を示し、横軸は画素番号n、縦軸yは副走査方向の走査位置で、四角ドットは感光ドラム102上の走査位置をプロットしたものである。図11(a)では、画素番号n≦2の範囲では感光ドラム102上の走査ラインが密、画素番号n≧2の範囲では感光ドラム102上の走査ラインが疎の場合について説明する。
(If sparseness occurs)
Here, coordinate transformation which can be applied to the case of FIG. 12 where scan positions are sparse and sparse, shift and sparse, and combinations of FIGS. 10 and 12 will be described. 11A shows the relationship between the pixel number and the scanning position, the horizontal axis is the pixel number n, the vertical axis y is the scanning position in the sub scanning direction, and the square dot is a plot of the scanning position on the photosensitive drum 102. is there. In FIG. 11A, the scanning line on the photosensitive drum 102 is dense in the range of pixel number n ≦ 2, and the scanning line on the photosensitive drum 102 is sparse in the range of pixel number n ≧ 2.

図11(a)に示すように、画素番号n≦2では密、画素番号n≧2では疎、となっている場合、画素番号n≦2での直線の傾きと、画素番号n≧2での直線の傾きは異なり、画素番号n=2において屈曲した形状となっている。図11(a)では、四角ドットを通る走査位置の変化を表す関数をft(n)とし、実線で表す。走査位置を表す関数ft(n)は、次の式(13)で表される。
y=ft(n)・・・式(13)
次に、副走査方向の走査位置であるy軸の座標変換を行った後の関数をft’(n)で表すと、座標変換後の走査位置を表す関数ft’(n)は、次の式(14)で表される。
y’=ft’(n)・・・式(14)
As shown in FIG. 11A, when the pixel number n 2 2 is dense, and the pixel number n 2 2 is sparse, the slope of the straight line at the pixel number n 2 2 and the pixel number n 2 2 The slope of the straight line is different, and it has a curved shape at pixel number n = 2. In FIG. 11A, a function representing a change in scanning position passing through a square dot is represented by ft (n) and is represented by a solid line. The function ft (n) representing the scanning position is expressed by the following equation (13).
y = ft (n)-Formula (13)
Next, the function ft '(n) representing the scanning position after the coordinate conversion is expressed by the following equation, when the function after the coordinate conversion of the y axis which is the scanning position in the sub scanning direction is represented by ft' (n). It is expressed by equation (14).
y '= ft' (n) ... Formula (14)

本実施例では、座標変換後の走査位置が均等になるように、y軸を伸縮したり、シフトしたりして、座標変換を行う。このため、座標変換後の走査位置を表す関数ft’(n)は、以下の式(15)で表される条件を満たす。
ft’(n)=n・・・式(15)
式(15)は、例えば、画素番号2に対して、座標変換後の副走査方向の画素位置y’(=ft’(2))が2となることを意味する。
In this embodiment, coordinate conversion is performed by expanding or contracting the y-axis or shifting so that the scanning positions after coordinate conversion become uniform. For this reason, the function ft ′ (n) representing the scanning position after coordinate conversion satisfies the condition represented by the following equation (15).
ft '(n) = n .. Formula (15)
Expression (15) means that, for example, for the pixel number 2, the pixel position y ′ (= ft ′ (2)) in the sub-scanning direction after coordinate conversion is 2.

図11(a)、図11(b)間を結ぶ破線は左から右へ、y軸の元の座標位置から座標変換後のy’軸の座標位置との対応を示し、座標変換前後でy軸の下半分(n≦2に対応)が伸長、上半分(n≧2に対応)は縮小している様子を示す。図11(a)から図11(b)の座標変換によって、入力された画像データの各画素の座標変換後の座標を求める手順を図11(c)、図11(d)で説明する。図11(c)、図11(d)は、図11(a)、図11(b)と同様に、横軸は画素番号n、縦軸y(又はy’)は副走査方向の走査位置を示し、図11(c)は座標変換前、図11(d)は座標変換後を示す。入力された画像データの画素番号nと座標位置yの関係を以下に示す。まず、図11(c)に示す破線は、座標変換前の理想の走査位置を表す関数fs(n)であり、以下の式(16)で表される。
y=fs(n)・・・式(16)
また、本実施例において、入力された画像データの副走査方向の画素の間隔は均等なので、関数fs(n)は以下の式で表される。
fs(n)=n・・・式(17)
入力された画像データの注目する画素番号nsに座標変換を行った後のy’座標の走査位置を、次の3つのステップにより求める。まず、1つめのステップでは、入力された画像データの画素番号nsに対応する理想の走査位置のy座標をysとすると、ysは、以下の式(18)により求めることができる。
ys=fs(ns)・・・式(18)
感光ドラム102上(実線)で座標変換を行う前の走査位置が等しい画素番号ntを求める(図11(c)の(1))。ここで、感光ドラム102上の走査位置は関数y=ft(n)で表され、ys=ft(nt)という関係が成り立つ。関数ft(n)の逆関数をft−1(y)とすると、画素番号ntは、以下の式(19)で表される。
nt=ft−1(ys)・・・式(19)
The broken line connecting FIG. 11 (a) and FIG. 11 (b) shows, from left to right, the correspondence from the original coordinate position of the y axis to the coordinate position of the y 'axis after coordinate conversion. The lower half (corresponding to n ≦ 2) of the axis is stretched, and the upper half (corresponding to n ≧ 2) is contracted. A procedure for obtaining coordinates after coordinate conversion of each pixel of input image data by coordinate conversion in FIGS. 11 (a) to 11 (b) will be described with reference to FIGS. 11 (c) and 11 (d). 11 (c) and 11 (d), as in FIGS. 11 (a) and 11 (b), the horizontal axis is the pixel number n, and the vertical axis y (or y ') is the scanning position in the sub-scanning direction FIG. 11C shows the state before coordinate conversion, and FIG. 11D shows the state after coordinate conversion. The relationship between the pixel number n of the input image data and the coordinate position y is shown below. First, a broken line shown in FIG. 11C is a function fs (n) representing an ideal scanning position before coordinate conversion, and is expressed by the following equation (16).
y = fs (n) (16)
Further, in the present embodiment, since the pixel spacing in the sub-scanning direction of the input image data is uniform, the function fs (n) is expressed by the following equation.
fs (n) = n (17)
The scanning position of the y ′ coordinate after the coordinate conversion to the target pixel number ns of the input image data is obtained in the following three steps. First, in the first step, when the y coordinate of the ideal scanning position corresponding to the pixel number ns of the input image data is ys, ys can be obtained by the following equation (18).
ys = fs (ns) formula (18)
A pixel number nt having the same scanning position before coordinate conversion on the photosensitive drum 102 (solid line) is determined ((1) in FIG. 11C). Here, the scanning position on the photosensitive drum 102 is represented by a function y = ft (n), and the relationship ys = ft (nt) is established. Assuming that the inverse function of the function ft (n) is ft −1 (y), the pixel number nt is expressed by the following equation (19).
nt = ft −1 (ys) formula (19)

2つめのステップでは、感光ドラム102上の走査位置の画素番号ntに対応する座標変換後のy’座標(ytとする)を、座標変換後の関数ft’(n)を用いて次の式(20)により求める(図11(d)の(2))。
yt=ft’(nt)・・・式(20)
画素番号nsは任意に選んでも成立するので、画素番号nsから座標変換後のy’座標の位置ytを求める式が、入力された画像データの画素番号nから演算上のy’座標を求める関数fs’(n)に相当する。従って、式(18)〜式(20)から、以下のように式(17)で表される一般式が導かれる。尚、座標変換後の破線で示す理想の走査位置を示す関数は、y’=fs’(n)で表される(図11(d)の(3))。
yt=fs’(ns)=ft’(nt)=ft’(ft−1(ys))
=ft’(ft−1(fs(ns)))
nsをnに一般化して、
fs’(n)=ft’(ft−1(fs(n)))・・・式(21)
In the second step, the y 'coordinate (referred to as yt) after coordinate conversion corresponding to the pixel number nt of the scanning position on the photosensitive drum 102 is converted to the following equation using the function ft' (n) after coordinate conversion It calculates | requires by (20) ((2) of FIG.11 (d)).
yt = ft '(nt) ... Formula (20)
Since the pixel number ns can be arbitrarily selected, an equation for obtaining the position yt of the y 'coordinate after coordinate conversion from the pixel number ns is a function for obtaining the y' coordinate in calculation from the pixel number n of the input image data It corresponds to fs' (n). Therefore, the general formula represented by Formula (17) is derived | led-out as follows from Formula (18)-Formula (20). A function indicating an ideal scanning position indicated by a broken line after coordinate conversion is represented by y ′ = fs ′ (n) ((3) in FIG. 11D).
yt = fs' (ns) = ft '(nt) = ft' (ft- 1 (ys))
= Ft '(ft -1 (fs (ns)))
Generalize ns to n,
fs '(n) = ft' (ft- 1 (fs (n))) .. Formula (21)

また、入力された画像データの画素間隔、及び座標変換後の走査位置の間隔を均等で、距離1とした式(17)、式(15)を式(21)に代入する。そうすると、式(21)は、画素番号nから走査位置を導く関数ft(n)の逆関数ft−1(n)を用いて、式(22)のように表される。
fs’(n)=ft−1(n)・・・式(22)
Further, the equation (17) and the equation (15) are substituted into the equation (21) with the distance 1 between the pixel interval of the input image data and the interval of the scanning position after coordinate conversion being equal. Then, Expression (21) is expressed as Expression (22) using the inverse function ft −1 (n) of the function ft (n) that derives the scanning position from the pixel number n.
fs' (n) = ft- 1 (n) (22)

図10(a)、図10(b)に示した走査位置が進み方向、戻り方向に一律にシフトした式(8)と、入力された画像データの座標変換後の位置を求める式(11)も逆関数の関係にあり、式(22)の成立を確認できる。また、図12(a)、図12(b)に示すような走査位置に疎密が発生する場合に適用すると、座標変換前の走査位置を表す関数yは、(n0、y0)を通過する傾きkの直線とする場合、以下の式(23)で表せる。
fs(n)=y=k×(n−n0)+y0・・・式(23)
入力された画像データのy軸の座標変換後の画素位置を求めるために、式(21)、式(22)から、逆関数((1/k)×(y−y0)+n0)を求めて、逆関数に画素番号nを代入すればよいので、以下の式(24)が導かれる。
y’=(1/k)×(n−y0)+n0・・・式(24)
図12(a)に示す走査ラインの間隔が密な状態、図12(b)に示す走査ラインの間隔が疎な場合、いずれも座標変換後の感光ドラム102上の走査ラインの位置は、式(24)で表すことができる。また、副走査方向の画素番号nの補正値Cnは、Cn=fs’(n)−fs(n)から求められる。
Formula (8) which the scanning position shown to FIG. 10 (a) and FIG. 10 (b) shifted uniformly in the advancing direction and the return direction, Formula (11) which calculates | requires the position after coordinate conversion of the input image data Is also in the inverse function relationship, and the formation of equation (22) can be confirmed. Further, when the density y is generated at the scanning positions as shown in FIGS. 12A and 12B, the function y representing the scanning position before coordinate conversion has a slope passing (n0, y0). In the case of a straight line of k, it can be expressed by the following equation (23).
fs (n) = y = k x (n-n0) + y0 formula (23)
In order to obtain the pixel position after coordinate conversion of the y-axis of the input image data, the inverse function ((1 / k) × (y−y0) + n0) is obtained from the equations (21) and (22) Since it is sufficient to substitute the pixel number n for the inverse function, the following equation (24) is derived.
y ′ = (1 / k) × (n−y0) + n0 formula (24)
In the case where the distance between the scanning lines shown in FIG. 12 (a) is small and the distance between the scanning lines shown in FIG. 12 (b) is small, the position of the scanning line on the photosensitive drum 102 after coordinate conversion is It can be represented by (24). Further, the correction value Cn of the pixel number n in the sub scanning direction can be obtained from Cn = fs ′ (n) −fs (n).

具体的には、図12(a)では、n0=y0=3、k=0.8であり、
fs’(n)=(1/0.8)×(n−3)+3・・・式(25)
となる。例えば、画素番号3では、fs’(3)=3.00となり、補正値C3は0.00(=3.00−3.00)となる。また、画素番号5では、fs’(5)=5.50となり、補正値C5は+0.50(=+5.50−5.00)となる。走査位置が密である場合の補正値C1〜C5の値を図14(c)に示す。
Specifically, in FIG. 12A, n0 = y0 = 3 and k = 0.8.
fs' (n) = (1 / 0.8) x (n-3) + 3 ... Formula (25)
It becomes. For example, in pixel number 3, fs' (3) = 3.00, and the correction value C3 is 0.00 (= 3.00-3.00). In pixel number 5, fs' (5) = 5.50, and the correction value C5 is +0.50 (= + 5.50-5.00). The values of the correction values C1 to C5 when the scanning position is dense are shown in FIG.

また、図12(b)では、n0=y0=3、k=1.2であり、
fs’(n)=(1/1.2)×(n−3)+3・・・式(26)
となる。例えば、画素番号3では、fs’(3)=3.000となり、補正値C3は0.000(=3.000−3.000)となる。また、画素番号5では、fs’(5)=4.667となり、補正値C5は−0.333(=4.667−5.000)となる。走査位置が疎である場合の補正値C1〜C5の値を図14(d)に示す。
Further, in FIG. 12 (b), n0 = y0 = 3 and k = 1.2,
fs' (n) = (1 / 1.2) x (n-3) + 3 ... Formula (26)
It becomes. For example, in pixel number 3, fs' (3) = 3.000, and the correction value C3 is 0.000 (= 3.000-3.000). In pixel number 5, fs' (5) = 4.667, and the correction value C5 is -0.333 (= 4.667-5.000). The values of the correction values C1 to C5 when the scanning position is sparse are shown in FIG.

また、走査ラインに疎密やシフトが混在していても、式(21)又は式(22)を用いることにより、座標変換後の理想の走査位置を求めることができる。補正値設定部506は、位置ずれ量に基づき理想の走査位置を座標変換して補正値CnNを求めて、補正値CnNの情報をフィルタ係数設定部504に出力する。   Further, even if density or shift is mixed in the scanning line, the ideal scanning position after coordinate conversion can be obtained by using the equation (21) or the equation (22). The correction value setting unit 506 performs coordinate conversion of the ideal scanning position based on the positional deviation amount to obtain a correction value CnN, and outputs information of the correction value CnN to the filter coefficient setting unit 504.

(フィルタ処理)
本実施例では、補正データを生成するためにフィルタ処理を実行する。ただし、本実施例では、フィルタ処理部501は、次のようなフィルタ関数による畳み込み演算でフィルタ処理を行う。即ち、フィルタ処理部501は、入力された画像データの画素の副走査方向の走査位置の補正による画素の副走査方向の画素位置と、座標変換によって走査ラインの間隔が均等に変換された画素の副走査位置との位置関係に基づいて、フィルタ処理を行う。尚、フィルタ処理前の画素を入力画素、フィルタ処理後の画素を出力画素ともいう。また、フィルタ処理前の画素は、上述した座標変換が行われた画素である。
(Filtering)
In the present embodiment, filter processing is performed to generate correction data. However, in the present embodiment, the filter processing unit 501 performs filter processing by convolution operation using the following filter function. That is, the filter processing unit 501 detects the pixel position in the sub scanning direction of the pixel by correcting the scanning position in the sub scanning direction of the pixel of the input image data and the pixel in which the scanning line interval is uniformly converted by coordinate conversion. Filtering is performed based on the positional relationship with the sub-scanning position. A pixel before filter processing is also called an input pixel, and a pixel after filter processing is also called an output pixel. Further, the pixel before the filtering process is a pixel on which the above-described coordinate conversion has been performed.

本実施例の畳み込み関数は、図13(a)に示す線形補間、図13(b)、図13(c)に示すバイキュービック補間から選択できる。フィルタ関数出力部505は、フィルタ処理に用いられる畳み込み関数の情報を、例えばテーブルの情報としてフィルタ係数設定部504に出力する。図13は、縦軸yが副走査方向の位置を示し、単位を画素で示していて、横軸kは係数の大きさを示す。尚、縦軸yの単位を画素としているが、副走査方向を示しているため、ラインを単位としてもよい。   The convolution function of this embodiment can be selected from linear interpolation shown in FIG. 13 (a) and bicubic interpolation shown in FIGS. 13 (b) and 13 (c). The filter function output unit 505 outputs, to the filter coefficient setting unit 504, information of a convolution function used for filter processing, for example, as information of a table. In FIG. 13, the vertical axis y indicates the position in the sub scanning direction, the unit is indicated by pixels, and the horizontal axis k indicates the magnitude of the coefficient. Although the unit of the vertical axis y is a pixel, it may be a line as it indicates the sub scanning direction.

図13(a)の式は以下で表される。

Figure 0006532330
図13(b)、図13(c)の式は以下の2つの式で表される。
Figure 0006532330
本実施例では、a=−1、図13(b)はw=1、図13(c)はw=1.5としているが、各画像形成装置の電子写真的な特性に応じて、a、wを調整してもよい。フィルタ係数設定部504は、フィルタ関数出力部505から得たフィルタ関数の情報と、補正値設定部506から出力された補正値Cの情報と、に基づいて、フィルタ処理に用いられる係数(後述するk)をフィルタ処理部501に出力する。 The equation of FIG. 13 (a) is expressed as follows.
Figure 0006532330
The equations in FIG. 13B and FIG. 13C are expressed by the following two equations.
Figure 0006532330
In this embodiment, although a = −1, FIG. 13B shows w = 1, and FIG. 13C shows w = 1.5, according to the electrophotographic characteristics of each image forming apparatus, a , W may be adjusted. The filter coefficient setting unit 504 uses coefficients (described later) based on the information on the filter function obtained from the filter function output unit 505 and the information on the correction value C output from the correction value setting unit 506 (described later. k) is output to the filter processing unit 501.

ここで、図13(d)を用いて説明する。図13(d)は横軸にフィルタ処理に用いられる係数k、縦軸に副走査方向の位置yを示す。フィルタ処理部501は、補正値設定部506から補正値CnNを入力されると、フィルタ関数出力部505から入力されたフィルタ関数を用いて、補正値CnNに対応する係数knを求める。尚、図13(d)中の白丸は座標変換前の係数を示す。また、図13(d)では、補正値C1Nに対して係数k1が、補正値C2Nに対して係数k2が、それぞれフィルタ処理に用いられる係数knとして設定されたことを示す(黒丸)。本実施例では、入力された画像データの粗密の状態によらず、同じ畳み込み関数を適用し、理想の走査位置によってサンプリングすることで、入力された画像データの所定面積あたりの濃度が保存されるようにしている。   Here, it demonstrates using FIG.13 (d). In FIG. 13D, the horizontal axis indicates the coefficient k used for the filtering process, and the vertical axis indicates the position y in the sub scanning direction. When the correction value CnN is input from the correction value setting unit 506, the filter processing unit 501 uses the filter function input from the filter function output unit 505 to obtain a coefficient kn corresponding to the correction value CnN. White circles in FIG. 13D indicate coefficients before coordinate conversion. Further, FIG. 13D shows that the coefficient k1 is set for the correction value C1N and the coefficient k2 is set for the correction value C2N as a coefficient kn used for the filtering process (black circle). In the present embodiment, the density per predetermined area of the input image data is stored by applying the same convolution function and sampling according to the ideal scanning position regardless of the density state of the input image data. It is like that.

(フィルタ処理の具体例)
本実施例の座標変換を行った後の座標位置に基づいて、式(27)の線形補間によるフィルタ関数で畳み込み演算を用いたフィルタ処理を行う具体例を、図14を用いて説明する。尚、畳み込み演算を用いたフィルタ処理は、フィルタ処理部501により実行される。図14は、図9に対応している。図14の左側の列は、上述した座標変換後の入力画素を示している。また、図14の右側の列は、上述した座標変換後の感光ドラム102上の走査位置を示している。即ち、図14の右側の列の走査位置が、均等な間隔で、且つ、距離1となるように座標変換されている。
(Specific example of filter processing)
Based on the coordinate position after performing the coordinate conversion of a present Example, the specific example which performs the filter processing using a convolution calculation with the filter function by linear interpolation of Formula (27) is demonstrated using FIG. The filter processing using the convolution operation is executed by the filter processing unit 501. FIG. 14 corresponds to FIG. The left column in FIG. 14 shows input pixels after the above-described coordinate conversion. The right column in FIG. 14 indicates the scanning position on the photosensitive drum 102 after the above-described coordinate conversion. That is, the scanning positions of the right-hand column in FIG. 14 are coordinate-transformed so as to have a distance of 1 at equal intervals.

より詳細には、座標変換後の入力画素の副走査方向の走査位置は、図10、図12の右側に示す座標変換後のグラフの一点鎖線で示す直線(y’=fs’(n))で表される。座標変換後の感光ドラム102上の走査位置は、図10、図12の右側に示す座標変換後のグラフの実線で示す直線(y’=ft’(n))で表される。例えば、図10(a)では、シフト量が+0.2(=S)であるため、座標変換後は、fs’(n)=y−0.2=n−0.2で表される。   More specifically, the scanning position in the sub-scanning direction of the input pixel after coordinate conversion is the straight line indicated by the alternate long and short dash line in the graph after coordinate conversion shown on the right side of FIGS. 10 and 12 (y ′ = fs ′ (n)) Is represented by The scanning position on the photosensitive drum 102 after coordinate conversion is represented by a straight line (y '= ft' (n)) indicated by a solid line in the graph after coordinate conversion shown on the right side of FIGS. For example, in FIG. 10A, since the shift amount is +0.2 (= S), after coordinate conversion, fs' (n) = y-0.2 = n-0.2.

また、図14では、画素値、即ち濃度値の大きさを丸の濃淡で示している。また、括弧内の数字は走査ラインの番号であり、図9に記載した画素番号と同じである。図14の中央のグラフは、横軸に濃度、縦軸に副走査方向の位置を示している。畳み込み演算は、入力画素の各座標位置を中心としたフィルタ関数(図13(a))に画素値を乗算した波形W(画素(1)〜(5)に対するW1〜W5)を展開し、重ね合わせて加算したものである。   Further, in FIG. 14, the magnitude of the pixel value, that is, the density value is indicated by the shade of a circle. Also, the numbers in parentheses are the numbers of scanning lines, which are the same as the pixel numbers described in FIG. In the central graph of FIG. 14, the horizontal axis indicates the density, and the vertical axis indicates the position in the sub-scanning direction. A convolution operation develops a waveform W (W1 to W5 for pixels (1) to (5)) obtained by multiplying a filter function (FIG. 13 (a)) centered on each coordinate position of the input pixel and overlapping. In addition, it is what was added.

図14(a)から順に説明する。白丸で示す画素(1)、(5)は濃度0、即ち画素値0である。このため、フィルタ関数に画素値を乗じたWは、それぞれW1=0、W5=0である。黒丸で示す画素(2)、(3)、(4)の濃度は等しく、W2、W3、W4の波形の最大値は等しくなり、入力画素の画素位置を中心にフィルタ関数を展開した波形となる。畳み込み演算の結果は、全ての波形の総和(ΣWn、n=1〜5)である。   This will be described in order from FIG. 14 (a). Pixels (1) and (5) indicated by white circles have a density of 0, that is, a pixel value of 0. Therefore, W obtained by multiplying the filter function by the pixel value is W1 = 0 and W5 = 0. The densities of the pixels (2), (3), and (4) shown by black circles are equal, the maximum values of the waveforms of W2, W3, and W4 are equal, and the waveform is an expanded filter function centered on the pixel position of the input pixel. . The result of the convolution operation is the sum of all waveforms (ΣW n, n = 1 to 5).

出力画素の画素値は、走査位置を座標変換した後の感光ドラム102上の走査位置でサンプルする。このため、例えば感光ドラム102上の走査位置に対応する画素値(1)は、波形W2と点P0で交わるので、濃度D1と演算される。また、画素値(2)は、波形W2と点P2で、波形W3と点P1でそれぞれ交わるので、濃度D1+D2と演算される。以下、同様に画素値(3)〜(5)を求める。尚、画素値(5)は、どの波形とも交わらないので、画素値を0とする。また、図14(b)〜図14(d)の(1)〜(5)の画素値を演算した結果を、各右側の列の画素の濃淡で示している。   The pixel value of the output pixel is sampled at the scanning position on the photosensitive drum 102 after coordinate conversion of the scanning position. Therefore, for example, the pixel value (1) corresponding to the scanning position on the photosensitive drum 102 intersects with the waveform W2 at the point P0, and is thus calculated as the density D1. Further, since the pixel value (2) intersects the waveform W2 and the point P2 and the waveform W3 and the point P1 respectively, the pixel value (2) is calculated as the density D1 + D2. Hereinafter, pixel values (3) to (5) are similarly calculated. Since the pixel value (5) does not intersect with any waveform, the pixel value is set to 0. Moreover, the result of having calculated the pixel value of (1)-(5) of FIG.14 (b)-FIG.14 (d) is shown by the lightness and darkness of the pixel of each right column.

入力画素の位置ずれは、図14の縦軸の各画素に対応して示している。図14の縦軸に示す位置ずれ量は、上述した入力画像の画素の副走査方向の走査位置の座標変換に従い、逆関数で求めた位置ずれ量の情報である。例えば、図14(a)の場合、図10(a)で説明したように、走査ラインの位置ずれ量Sの補正量Cは、−0.2である。また、例えば、図14(c)は式(25)、図14(d)の場合は式(26)をそれぞれ用いて算出した補正量Cである。   The positional deviation of the input pixel is shown corresponding to each pixel on the vertical axis in FIG. The positional deviation amount shown on the vertical axis of FIG. 14 is information on the positional deviation amount obtained by the inverse function in accordance with the coordinate conversion of the scanning position of the pixel of the input image described above in the sub scanning direction. For example, in the case of FIG. 14A, as described in FIG. 10A, the correction amount C of the positional deviation amount S of the scanning line is −0.2. Further, for example, FIG. 14C shows the correction amount C calculated using the equation (25), and FIG. 14D using the equation (26).

図14(a)は、副走査方向の進み方向に走査ラインの走査位置がずれているが、画素値は逆の遅れ方向に重心がずれることとなるので、画素値の重心の位置が補正されている様子を示している。図14(b)は、副走査方向の戻り方向に走査ラインの走査位置がずれているが、画素値は逆の進み方向に重心がずれることとなるので、画素値の重心の位置が補正されている様子を示している。図14(c)は、走査位置の間隔が密な場合で、座標変換後の畳み込み演算によって濃度の分布が拡がり、濃度の局所的な集中をキャンセルして局所的な濃度変化を補正している様子を示している。また、図14(d)は、逆に走査位置の間隔が疎な場合で、座標変換後の畳み込み演算によって濃度の分布が縮まり、濃度の分散をキャンセルして局所的な濃度変化を補正している様子を示している。特に、図14(d)の(3)の画素値は、100%より濃い(100+α)%の濃度となっている。   In FIG. 14A, the scanning position of the scanning line is shifted in the advancing direction in the sub-scanning direction, but the center of gravity is shifted in the opposite delay direction in the pixel value. It shows how it is. In FIG. 14B, the scanning position of the scanning line is shifted in the return direction in the sub-scanning direction, but the center of gravity is shifted in the backward direction of the pixel value, so the position of the center of gravity of the pixel value is corrected. It shows how it is. FIG. 14C shows the case where the scanning positions are closely spaced, the distribution of density spreads by convolution after coordinate conversion, and local concentration change is canceled to correct local density change. It shows the situation. Also, in FIG. 14D, when the scanning position interval is sparse, the density distribution is reduced by the convolution operation after the coordinate conversion, and the density distribution is canceled to correct the local density change. Showing how In particular, the pixel value of (3) in FIG. 14D has a density of (100 + α)% that is higher than 100%.

(フィルタ処理)
図8の説明に戻る。図8のS3604でCPU303は、S3603で生成した補正用属性情報に基づき、フィルタ処理部501によりフィルタ処理を行う。詳細には、CPU303は、上述した入力画像への畳み込み演算と再サンプリングを行う。ここで、CPU303が実行するS3604の処理を示した図15のフローチャートを用いて詳細に説明する。CPU303は、フィルタ処理部501により畳み込み演算によるフィルタ処理をスタートすると、S3703以降の処理を実行する。S3703でCPU303は、畳み込み関数の拡がりをLとしたとき、注目する出力画像のラインyn(位置yn)の副走査位置の前後±L、即ち幅2Lの範囲((yn−L)〜(yn+L)の範囲)に含まれる入力画像のラインを抽出する。ここで、Lは畳み込み関数の+L〜−Lの範囲外は畳み込み関数の値が0になる最小の値と定義する。例えば、図13(a)の線形補間では、L=1、図13(b)のバイキュービック補間はL=2、図13(c)のバイキュービック補間はL=3である。式(22)を用い、対応する入力画像の範囲ymin〜ymaxのymin、ymaxは以下の条件を満たす。
ft−1(ymin)=yn−L、ft−1(ymax)=yn+L・・・式(30)
式(30)を変形することにより、ymin、ymaxは、以下の式(31)から求められる。
ymin=ft(yn−L)、ymax=ft(yn+L)・・・式(31)
従って、注目する出力画像のラインynに対して抽出される入力画像のラインは、ymin〜ymaxの範囲の全ての整数のラインとなる。
(Filtering)
It returns to the explanation of FIG. In step S3604 in FIG. 8, the CPU 303 performs filter processing by the filter processing unit 501 based on the correction attribute information generated in step S3603. Specifically, the CPU 303 performs the convolution operation and the resampling on the input image described above. Here, the processing of S3604 executed by the CPU 303 will be described in detail with reference to the flowchart of FIG. When the filter processing by the filter processing unit 501 is started by the filter processing unit 501, the CPU 303 executes the processing of S3703 and subsequent steps. When the spread of the convolution function is L in S3703, the range ((yn-L) to (yn + L) of the width 2L of the sub-scanning position of the line yn (position yn) of the output image of interest Extract the lines of the input image contained in Here, L is defined outside the range of + L to -L of the convolution function as the minimum value at which the value of the convolution function becomes zero. For example, in the linear interpolation of FIG. 13 (a), L = 1, the bicubic interpolation of FIG. 13 (b) is L = 2, and the bicubic interpolation of FIG. 13 (c) is L = 3. Using the equation (22), ymin and ymax in the range ymin to ymax of the corresponding input image satisfy the following conditions.
ft- 1 (ymin) = yn-L, ft- 1 (ymax) = yn + L Formula (30)
By transforming equation (30), ymin and ymax can be obtained from the following equation (31).
ymin = ft (yn-L), ymax = ft (yn + L) (31)
Therefore, the lines of the input image extracted for the line yn of the output image of interest are all integer lines in the range of ymin to ymax.

注目する出力画像のラインynと畳み込み演算の対象になる入力画像のラインをymとしたとき、距離dnmは、以下の式(32)で表される。
dnm=yn−ft−1(ym)・・・式(32)
従って、S3704でCPU303は、フィルタ係数設定部504により、畳み込み関数g(y)として係数knmを、以下の式で求める。
knm=g(dnm)・・・式(33)
Assuming that a line yn of the output image to be noticed and a line of the input image to be subjected to the convolution operation are ym, the distance d nm is expressed by the following equation (32).
dnm = yn-ft- 1 (ym) (32)
Therefore, in step S3704, the CPU 303 causes the filter coefficient setting unit 504 to obtain the coefficient k nm as the convolution function g (y) according to the following equation.
knm = g (dnm) ... Formula (33)

S3707でCPU303は、S3703で抽出した入力画像の副走査方向の位置nと、注目する主走査方向の位置Nの画素データを取得する。ここで、画素データを入力画素データPinとする。S3708でCPU303は、フィルタ処理部501により畳み込み演算を行い、処理を終了する。より詳細には、フィルタ処理部501は、S3704で求めた対応する係数knmと、S3707で取得した入力画素データPinを積和演算して、注目画素の値Poutを求める。尚、入力画素データPinは、フィルタ処理前の注目画素の濃度、注目画素の値Poutは、出力画素データであり、フィルタ処理後の注目画素の濃度である。

Figure 0006532330
ここで、式(34)は、図14に対応しており、図14の左側の丸の濃さ(濃度)は、入力画素データPinに対応し、図14(a)のD1やD2は、knm×Pinに対応し、図14の右側の丸の濃さ(濃度)は、Poutに対応している。 In step S3707, the CPU 303 acquires pixel data of the position n in the subscanning direction of the input image extracted in step S3703 and the position N in the main scanning direction to be focused. Here, pixel data is set as input pixel data Pin m . In step S3708, the CPU 303 performs a convolution operation by the filter processing unit 501, and ends the processing. More specifically, the filter processing unit 501, the corresponding coefficient knm determined in S 3704, the input pixel data Pin m acquired by the product-sum operation at S3707, obtains the value Pout n of the pixel of interest. The input pixel data Pin m is the density of the target pixel before filter processing, and the value P out n of the target pixel is output pixel data, which is the density of the target pixel after filter processing.
Figure 0006532330
Here, equation (34) corresponds to FIG. 14, and the density (density) of the circle on the left side of FIG. 14 corresponds to the input pixel data Pin m , and D1 and D2 in FIG. , K nm × Pin m, and the density (concentration) of the circle on the right side of FIG. 14 corresponds to Pout n .

このように、本実施例では、マルチビームの位置のばらつきや回転多面鏡204のミラー面の面倒れなどによる照射位置のずれによる画像の歪みや濃度むらを、次のようにして補正する。まず、入力画像の副走査方向の位置ずれのプロファイルに基づき入力画像の画素位置を座標変換する。その後、フィルタ処理、及びサンプリングすることで、各入力画素の濃度を保存しながら、位置ずれ、及びバンディングなどの局所的な濃度の偏りをキャンセルすることができ、良好な画像を得ることができる。本実施例では、主走査方向において異なる回転多面鏡204の面倒れを考慮して、副走査方向の位置ずれ量を算出することができる。   As described above, in the present embodiment, distortion and density unevenness of the image due to the deviation of the irradiation position due to the dispersion of the multi-beam position and the mirror surface of the rotary polygon mirror 204 are corrected as follows. First, the pixel position of the input image is coordinate-transformed based on the profile of positional deviation in the sub-scanning direction of the input image. After that, by filtering and sampling, it is possible to cancel local density deviation such as positional deviation and banding while preserving the density of each input pixel, and obtain a good image. In this embodiment, it is possible to calculate the amount of positional deviation in the sub-scanning direction, taking into consideration the surface inclination of the rotary polygon mirror 204 which differs in the main scanning direction.

以上、本実施例によれば、主走査方向の位置毎に異なる位置ずれ量に起因する画像の歪みや濃度むらを補正して、良好な画質を得ることができる。   As described above, according to the present embodiment, it is possible to correct image distortion and density unevenness caused by displacement amounts that differ for each position in the main scanning direction, and to obtain excellent image quality.

102 感光ドラム
104 光走査装置
201 レーザ光源
204 回転多面鏡
302 メモリ
303 CPU
102 Photosensitive drum 104 Optical scanning device 201 Laser light source 204 Rotating polygon mirror 302 Memory 303 CPU

Claims (10)

複数の発光素子を有する光源と、第1の方向に回転し、前記光源から出射された光ビームにより潜像が形成される感光体と、前記光源から出射された光ビームを偏向し、前記感光体に照射された光ビームのスポットを前記第1の方向に直交する第2の方向に移動させ走査線を形成する偏向手段と、を備える画像形成装置の補正方法であって、
走査線の前記第2の方向に応じた前記第1の方向の位置ずれに関する情報を記憶手段に記憶する記憶工程と、
前記記憶手段に記憶された前記情報に基づいて、前記感光体上の走査線の間隔が所定の間隔となるような座標変換を行うことにより、入力画像の画素の位置を変換する変換工程と、
前記座標変換後の入力画像の画素の位置に基づいて、入力画像の画素の画素値に畳み込み演算を行い、出力画像の画素の画素値を求めるフィルタ処理工程と、
を備えることを特徴とする補正方法。
A light source having a plurality of light emitting elements; a photosensitive member which is rotated in a first direction and on which a latent image is formed by the light beam emitted from the light source; and deflects the light beam emitted from the light source; And a deflection unit configured to move a spot of a light beam irradiated to a body in a second direction orthogonal to the first direction to form a scanning line.
Storing, in a storage unit, information on positional deviation in the first direction according to the second direction of the scanning line;
Converting the position of the pixel of the input image by performing coordinate conversion such that the distance between the scanning lines on the photosensitive member becomes a predetermined distance based on the information stored in the storage unit;
A filter processing step of calculating a pixel value of a pixel of an output image by performing a convolution operation on a pixel value of a pixel of the input image based on the position of the pixel of the input image after the coordinate conversion;
A correction method comprising:
前記記憶工程では、前記第2の方向の前記光ビームが走査する領域を所定数のブロックに分割し、分割したブロックごとの前記第1の方向の位置ずれに関する情報を、前記記憶手段に記憶することを特徴とする請求項1に記載の補正方法。   In the storage step, a region scanned by the light beam in the second direction is divided into a predetermined number of blocks, and information regarding positional deviation in the first direction for each of the divided blocks is stored in the storage means. The correction method according to claim 1, characterized in that: 前記変換工程では、前記記憶手段に記憶された前記ブロックごとの前記位置ずれに関する情報に前記第2の方向における線形補間を行った値を用いて、前記入力画像の画素の前記座標変換前の位置を求めることを特徴とする請求項2に記載の補正方法。   In the conversion step, using the value obtained by performing linear interpolation in the second direction on the information on the positional deviation for each block stored in the storage means, the position of the pixel of the input image before the coordinate conversion The correction method according to claim 2, wherein: 前記入力画像の前記第1の方向におけるn番目の画素の位置を示す関数をfs(n)とし、
前記出力画像の前記第1の方向におけるn番目の画素の位置を示す関数をft(n)とし、
前記座標変換後の前記入力画像の前記第1の方向におけるn番目の画素の位置を示す関数をfs’(n)とし、
前記座標変換後の前記出力画像の前記第1の方向におけるn番目の画素の位置を示す関数をft’(n)としたとき、
前記変換工程では、前記座標変換後の前記入力画像の画素の位置を、関数ft(n)の逆関数ft−1(n)を用いて、
fs’(n)=ft’(ft−1(fs(n)))
から求めることを特徴とする請求項1から請求項3のいずれか1項に記載の補正方法。
Let fs (n) be a function that indicates the position of the nth pixel in the first direction of the input image.
Let ft (n) be a function indicating the position of the n-th pixel in the first direction of the output image,
Let fs' (n) be a function indicating the position of the n-th pixel in the first direction of the input image after the coordinate conversion,
When a function indicating the position of the n-th pixel in the first direction of the output image after the coordinate conversion is ft ′ (n),
In the conversion step, the position of the pixel of the input image after the coordinate conversion is calculated using an inverse function ft −1 (n) of the function ft (n),
fs '(n) = ft' (ft- 1 (fs (n)))
The correction method according to any one of claims 1 to 3, characterized by:
関数fs(n)がfs(n)=nを満たし、且つ、関数ft’(n)がft’(n)=nを満たすとき、
前記変換工程では、前記座標変換後の前記入力画像の画素の位置を、
fs’(n)=ft−1(n)
から求めることを特徴とする請求項4に記載の補正方法。
When the function fs (n) satisfies fs (n) = n and the function ft '(n) satisfies ft' (n) = n
In the conversion step, the pixel position of the input image after the coordinate conversion is
fs' (n) = ft- 1 (n)
The correction method according to claim 4, characterized in that:
前記フィルタ処理工程では、線形補間又はバイキュービック補間を用いて前記畳み込み演算を行うことを特徴とする請求項3から請求項5のいずれか1項に記載の補正方法。   The correction method according to any one of claims 3 to 5, wherein in the filtering step, the convolution operation is performed using linear interpolation or bicubic interpolation. 前記画素値は濃度値であり、
前記フィルタ処理工程では、前記畳み込み演算を行う前と行った後とで、所定面積あたりの濃度値が保存されることを特徴とする請求項3から請求項6のいずれか1項に記載の補正方法。
The pixel value is a density value,
The correction according to any one of claims 3 to 6, wherein in the filtering step, density values per predetermined area are stored before and after performing the convolution operation. Method.
前記フィルタ処理工程では、前記畳み込み演算に用いる畳み込み関数の0でない範囲の前記第1の方向における幅を2Lとしたとき、前記出力画像の所定の画素の位置ynを中心とした前記2Lの幅の範囲に対応する前記入力画像の画素の範囲yminからymaxについて、
ymin=ft(yn−L)、
ymax=ft(yn+L)
と定義することを特徴とする請求項4又は請求項5に記載の補正方法。
In the filtering process, when the width in the first direction of the non-zero range of the convolution function used for the convolution operation is 2L, the width of the 2L centered on the position yn of the predetermined pixel of the output image For the range ymin to ymax of pixels of the input image corresponding to the range:
ymin = ft (yn-L),
ymax = ft (yn + L)
The correction method according to claim 4 or 5, characterized in that:
前記偏向手段は、所定の数の面を有する回転多面鏡であり、
前記記憶手段に記憶される前記情報には、前記回転多面鏡の回転軸に対する前記面毎の角度のばらつきの情報が含まれていることを特徴とする請求項1から請求項8のいずれか1項に記載の補正方法。
The deflection means is a rotary polygon mirror having a predetermined number of faces,
9. The information stored in the storage means includes information on variations in the angle of each surface with respect to the rotation axis of the rotary polygon mirror, according to any one of claims 1 to 8, Correction method described in section.
前記所定の間隔は、前記画像形成装置による画像形成の解像度に応じて決定されることを特徴とする請求項1から請求項9のいずれか1項に記載の補正方法。   The correction method according to any one of claims 1 to 9, wherein the predetermined interval is determined according to the resolution of image formation by the image forming apparatus.
JP2015141780A 2015-07-16 2015-07-16 Correction method of image forming apparatus Active JP6532330B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015141780A JP6532330B2 (en) 2015-07-16 2015-07-16 Correction method of image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015141780A JP6532330B2 (en) 2015-07-16 2015-07-16 Correction method of image forming apparatus

Publications (2)

Publication Number Publication Date
JP2017026657A JP2017026657A (en) 2017-02-02
JP6532330B2 true JP6532330B2 (en) 2019-06-19

Family

ID=57950487

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015141780A Active JP6532330B2 (en) 2015-07-16 2015-07-16 Correction method of image forming apparatus

Country Status (1)

Country Link
JP (1) JP6532330B2 (en)

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60248013A (en) * 1984-05-23 1985-12-07 Murata Mfg Co Ltd Lc filter
JP3753792B2 (en) * 1996-07-02 2006-03-08 株式会社リコー Image forming apparatus
JP2000015869A (en) * 1998-07-03 2000-01-18 Minolta Co Ltd Image-processing apparatus
JP2006150772A (en) * 2004-11-30 2006-06-15 Kyocera Mita Corp Imaging device
JP2006198896A (en) * 2005-01-20 2006-08-03 Ricoh Co Ltd Multicolor image forming apparatus
JP4942176B2 (en) * 2006-11-01 2012-05-30 キヤノン株式会社 Image forming apparatus and control method thereof
JP4928346B2 (en) * 2007-05-08 2012-05-09 キヤノン株式会社 Image search apparatus, image search method, program thereof, and storage medium
US7688341B2 (en) * 2007-06-06 2010-03-30 Hewlett-Packard Development Company, L.P. Laser jet bow/tilt correction
WO2012060432A1 (en) * 2010-11-02 2012-05-10 Canon Kabushiki Kaisha Image processing apparatus, image processing method and program
JP2012237772A (en) * 2011-05-09 2012-12-06 Canon Inc Optical scanner and image forming device
US9199481B2 (en) * 2011-08-11 2015-12-01 Kyocera Document Solutions Inc. Image forming apparatus configured to perform exposure control and exposure method
JP2013066153A (en) * 2011-09-02 2013-04-11 Ricoh Co Ltd Image formation device
JP2013120985A (en) * 2011-12-06 2013-06-17 Fuji Xerox Co Ltd Affine transformation apparatus and image forming apparatus
JP2013218654A (en) * 2012-03-16 2013-10-24 Panasonic Corp Image processing device
JP6213182B2 (en) * 2013-11-21 2017-10-18 コニカミノルタ株式会社 Image forming apparatus and density unevenness correction method
JP6194903B2 (en) * 2015-01-23 2017-09-13 コニカミノルタ株式会社 Image processing apparatus and image processing method

Also Published As

Publication number Publication date
JP2017026657A (en) 2017-02-02

Similar Documents

Publication Publication Date Title
JP6532345B2 (en) Image forming device
JP6821341B2 (en) Image forming device
JP6821343B2 (en) Image forming device
JP6611510B2 (en) Correction method for image forming apparatus
JP6821342B2 (en) Image forming device
JP6723780B2 (en) Image forming device
JP6723848B2 (en) Image forming device
US10021271B2 (en) Correction method for image forming apparatus
JP4987115B2 (en) Image forming apparatus
JP6632346B2 (en) Image forming device
JP6632393B2 (en) Image forming device
JP6532330B2 (en) Correction method of image forming apparatus
JP6821349B2 (en) Image forming device
JP2000238329A (en) Image-forming apparatus
JP2017024184A (en) Image forming device
JP2000292720A (en) Image forming device
JP6171654B2 (en) Image forming apparatus, image forming control apparatus, and image forming apparatus control method
JP2001281589A (en) Device and method for forming image

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20171201

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180709

TRDD Decision of grant or rejection written
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190410

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20190423

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190521

R151 Written notification of patent or utility model registration

Ref document number: 6532330

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151