JP2008270955A - Image forming apparatus - Google Patents

Image forming apparatus Download PDF

Info

Publication number
JP2008270955A
JP2008270955A JP2007108188A JP2007108188A JP2008270955A JP 2008270955 A JP2008270955 A JP 2008270955A JP 2007108188 A JP2007108188 A JP 2007108188A JP 2007108188 A JP2007108188 A JP 2007108188A JP 2008270955 A JP2008270955 A JP 2008270955A
Authority
JP
Japan
Prior art keywords
data
paper
line
read
threshold value
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.)
Pending
Application number
JP2007108188A
Other languages
Japanese (ja)
Inventor
Shinpei Kawasaki
心平 河崎
Yuuho Ho
有宝 彭
Sunao Matsudaira
直 松平
Atsushi Takahashi
厚 高橋
Utami Soma
宇民 相馬
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.)
Konica Minolta Business Technologies Inc
Original Assignee
Konica Minolta Business Technologies 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 Konica Minolta Business Technologies Inc filed Critical Konica Minolta Business Technologies Inc
Priority to JP2007108188A priority Critical patent/JP2008270955A/en
Publication of JP2008270955A publication Critical patent/JP2008270955A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To detect position data on a paper end and a reference mark without using a large-capacity memory. <P>SOLUTION: The image forming apparatus which detects a write-out position for image formation of image data of a read document on a form based upon line data read by a CIS 14 and performs the image formation according to the detected write-out position, includes a RAM 21A in which line data are updated by lines and stored, and a control unit 21 which reads the line data out of the RAM 21A in predetermined timing, computes a paper end threshold Sp for detecting a paper end of the form and a mark threshold Sm for detecting the reference mark on which the write-out position is based on the basis of the read line data, and acquires the position data on the paper end and the position data on the reference mark based upon the computed paper end threshold Sp and mark threshold Sm. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、画像形成装置に関する。   The present invention relates to an image forming apparatus.

従来より、読取対象である原稿の画像データを用紙に画像形成する画像形成装置が知られている。   2. Description of the Related Art Conventionally, an image forming apparatus that forms an image of image data of a document to be read on a sheet is known.

例えば、ラインイメージセンサにより読み取られる画像データをメモリに格納し、当該画像データのエッジ部分を抽出することにより原稿の傾きを補正する画像形成装置が知られている(例えば、特許文献1参照)。
特開2002−142084号公報
For example, an image forming apparatus that stores image data read by a line image sensor in a memory and extracts an edge portion of the image data to correct the inclination of the document is known (see, for example, Patent Document 1).
JP 2002-142084 A

しかしながら、上述の技術はラインイメージセンサにより読み取られる画像データを多値データのままメモリ(記憶部)に格納させる技術である。このため、大容量のメモリを用意する必要があった。   However, the above-described technique is a technique for storing image data read by the line image sensor in a memory (storage unit) as multi-value data. For this reason, it is necessary to prepare a large-capacity memory.

また、原稿の表裏両面の画像データを用紙へ画像形成する際、裏面の画像データを書き出す位置を補正するために紙端及び基準マークの位置データの取得が行われる。この場合、大容量のメモリを用いずに紙端及び基準マークの位置データを取得する画像形成装置を実現する要請があった。
図8は、原稿の表裏両面の画像データを用紙Pへ画像形成する場合、裏面の画像データの書き出し位置を補正する際に用いられる位置データ(X1、Y1)、(X2、Y2)、(X3、Y3)を示した図である。(X1、Y1)は、用紙Pの先端の位置データを示す。(X2、Y2)は、用紙Pの横端の位置データを示す。(X3、Y3)は、基準マーク(トンボマーク)の交点の位置データを示す。トンボマークとは、原稿の画像データを用紙Pの裏面へ画像形成する際、裏面の画像データの書き出し位置を補正するために用いられる基準となるマークである。当該トンボマークは、原稿の表面の画像データを用紙Pへ画像形成する際に、用紙Pの表面に画像形成される。
裏面の画像データの書き出し位置は、表裏倍率合わせを行う(すなわち、用紙Pの表面における紙端からトンボマークの距離と用紙Pの裏面における紙端からトンボマークの距離とのずれ量を補正する)ことにより求められる。当該表裏倍率合わせは、位置データ(X1、Y1)、(X2、Y2)、(X3、Y3)を取得することにより行われる。位置データの取得はCIS(Contact Image Sensor)により、用紙Pの画像データを読み取り、当該読み取った画像データをメモリに記憶することにより行われる。このとき、CISで読み取るデータ量が少なければ、大容量のメモリを容易する必要がない。したがって、大容量のメモリを使用せずに、紙端及び基準マークの位置データを取得する要請があった。
In addition, when image data on both the front and back sides of a document is formed on a sheet, the position data of the paper edge and the reference mark is acquired in order to correct the position where the back side image data is written. In this case, there has been a demand for realizing an image forming apparatus that acquires the position data of the paper edge and the reference mark without using a large-capacity memory.
FIG. 8 shows position data (X1, Y1), (X2, Y2), (X3) used for correcting the writing position of the image data on the back side when image data on both sides of the document is formed on the paper P. , Y3). (X1, Y1) indicates the position data of the leading edge of the paper P. (X2, Y2) indicates the position data of the lateral edge of the paper P. (X3, Y3) indicates the position data of the intersection of the reference marks (register mark). The registration mark is a reference mark used to correct the writing position of the image data on the back side when the image data of the document is formed on the back side of the paper P. The registration mark is formed on the surface of the paper P when image data on the surface of the document is formed on the paper P.
The backside image data write position is adjusted for front and back magnification (ie, the amount of deviation between the distance from the paper edge to the registration mark on the front surface of the paper P and the distance from the paper edge to the registration mark distance on the back surface of the paper P is corrected). Is required. The front / back magnification matching is performed by acquiring position data (X1, Y1), (X2, Y2), (X3, Y3). The position data is acquired by reading the image data of the paper P by a CIS (Contact Image Sensor) and storing the read image data in a memory. At this time, if the amount of data read by the CIS is small, it is not necessary to facilitate a large-capacity memory. Therefore, there has been a request for acquiring the paper edge and reference mark position data without using a large-capacity memory.

本発明の課題は、大容量のメモリを使用せずに紙端及び基準マークの位置データを検出することである。   An object of the present invention is to detect the position data of a paper edge and a reference mark without using a large-capacity memory.

上記課題を解決するため、請求項1に記載の発明の画像形成装置は、
ラインイメージセンサにより読み取られたラインデータに基づいて、読取原稿の画像データを用紙に画像形成する場合の書き出し位置を検出し、当該検出した書き出し位置に応じて画像形成を行う画像形成装置において、
前記ラインデータをライン毎に順次更新して記憶する記憶部と、
所定のタイミングで前記記憶部からラインデータを読み出し、当該読み出したラインデータに基づいて、前記用紙の紙端を検出するための第1の閾値、及び前記書き出し位置の基準となる基準マークを検出するための第2の閾値を演算し、当該演算した第1の閾値及び第2の閾値に基づいて、当該紙端の位置データ及び当該基準マークの位置データを取得する制御部と、を備える。
In order to solve the above-described problem, an image forming apparatus according to a first aspect of the present invention provides:
An image forming apparatus that detects a writing position when image data of a read original is formed on a sheet based on line data read by a line image sensor, and performs image formation according to the detected writing position.
A storage unit for sequentially updating and storing the line data for each line;
Line data is read from the storage unit at a predetermined timing, and based on the read line data, a first threshold for detecting a paper edge of the paper and a reference mark serving as a reference for the writing position are detected. And a control unit that obtains the position data of the paper edge and the position data of the reference mark based on the calculated first threshold value and the second threshold value.

請求項2に記載の発明は、請求項1に記載の画像形成装置において、
前記所定のタイミングとして、ユーザにより設定された前記第1の閾値及び第2の閾値を演算するタイミングの入力を受け付ける入力部を備える。
According to a second aspect of the present invention, in the image forming apparatus according to the first aspect,
As the predetermined timing, an input unit is provided for receiving an input of timing for calculating the first threshold value and the second threshold value set by the user.

請求項3に記載の発明は、請求項1又は2に記載の画像形成装置において、
前記制御部は、
前記ラインイメージセンサにより前記用紙外の部分で読み取られたラインのラインデータである第1のラインデータを読み出し、当該読み出した第1のラインデータに任意値を乗算した値を前記第1の閾値として演算し、
前記ラインイメージセンサにより前記用紙上の前記基準マーク以外の部分で読み取られたラインのラインデータである第2のラインデータを読み出し、当該読み出した第2のラインデータに任意値を乗算した値を前記第2の閾値として演算する。
According to a third aspect of the present invention, in the image forming apparatus according to the first or second aspect,
The controller is
First line data, which is line data of a line read by the line image sensor at a portion outside the sheet, is read, and a value obtained by multiplying the read first line data by an arbitrary value is used as the first threshold value. Operate,
Second line data that is line data of a line read by the line image sensor at a portion other than the reference mark on the paper is read, and a value obtained by multiplying the read second line data by an arbitrary value is obtained. Calculate as the second threshold.

請求項4に記載の発明は、請求項3に記載の画像形成装置において、
前記制御部は、
前記ラインイメージセンサにより前記用紙外の部分で読み取られたラインの所定の領域のラインデータの平均値を前記第1のラインデータとして演算し、
前記ラインイメージセンサにより前記用紙上の前記基準マーク以外の部分で読み取られたラインの所定の領域のラインデータの平均値を前記第2のラインデータとして演算する。
According to a fourth aspect of the present invention, in the image forming apparatus according to the third aspect,
The controller is
An average value of line data of a predetermined area of a line read by the line image sensor at a portion outside the paper is calculated as the first line data,
An average value of line data of a predetermined area of a line read by a part other than the reference mark on the paper by the line image sensor is calculated as the second line data.

請求項5に記載の発明は、請求項1から4のいずれか一項に記載の画像形成装置におい
て、
前記制御部は、
前記第1の閾値を演算し、当該演算した第1の閾値に基づいて前記紙端の位置データを取得し、当該紙端の位置データを取得した後に前記第2の閾値を演算し、当該演算した第2の閾値に基づいて前記基準マークの位置データを取得する。
According to a fifth aspect of the present invention, in the image forming apparatus according to any one of the first to fourth aspects,
The controller is
The first threshold value is calculated, the paper edge position data is acquired based on the calculated first threshold value, the second edge value is calculated after acquiring the paper edge position data, and the calculation is performed. The reference mark position data is obtained based on the second threshold value.

請求項1に記載の発明によれば、ライン毎に順次更新されたラインデータが記憶された記憶部から所定のタイミングでラインデータを読み出し、当該読み出したラインデータに基づいて、第1の閾値、及び第2の閾値を演算し、当該演算した第1の閾値及び第2の閾値に基づいて、当該紙端の位置データ及び当該基準マークの位置データを取得することができる。これにより、読み取られたラインデータの全てを記憶部に記憶する必要がないので、大容量のメモリを使用せずに紙端及び基準マークの位置データを検出することができる。また、所定のタイミングで読み出されたラインデータに基づいて第1の閾値及び第2の閾値を演算するので、少ないデータ量で第1の閾値及び第2の閾の演算を行うことができる。すなわち、高速に紙端及び基準マークの位置データを検出することができる。   According to the first aspect of the present invention, the line data is read at a predetermined timing from the storage unit in which the line data sequentially updated for each line is stored, and based on the read line data, the first threshold value, And the second threshold value is calculated, and the position data of the paper edge and the position data of the reference mark can be obtained based on the calculated first threshold value and second threshold value. Accordingly, since it is not necessary to store all of the read line data in the storage unit, it is possible to detect the position data of the paper edge and the reference mark without using a large-capacity memory. Further, since the first threshold value and the second threshold value are calculated based on the line data read out at a predetermined timing, the first threshold value and the second threshold value can be calculated with a small amount of data. That is, the position data of the paper edge and the reference mark can be detected at high speed.

請求項2に記載の発明によれば、入力部は、ユーザにより設定された第1の閾値及び第2の閾値を演算するタイミングの入力を受け付けることができる。これにより、ユーザは、第1の閾値及び第2の閾値を演算するタイミングを自由に設定入力することができる。   According to the second aspect of the present invention, the input unit can accept an input of timing for calculating the first threshold value and the second threshold value set by the user. Thereby, the user can freely set and input the timing for calculating the first threshold value and the second threshold value.

請求項3に記載の発明によれば、第1のラインデータに任意の値を乗算した値を第1の閾値として演算することができる。また、第2のラインデータに任意値乗算した値を第2の閾値として演算することができる。   According to the third aspect of the present invention, a value obtained by multiplying the first line data by an arbitrary value can be calculated as the first threshold value. A value obtained by multiplying the second line data by an arbitrary value can be calculated as the second threshold value.

請求項4に記載の発明によれば、ラインイメージセンサにより用紙外の部分で読み取られたラインの所定の領域のラインデータの平均値を第1のラインデータとして演算することができる。また、ラインイメージセンサにより用紙上の基準マーク以外の部分で読み取られたラインの所定の領域のラインデータの平均値を第2のラインデータとして演算することができる。これにより、第1の閾値及び第2の閾値を用紙の通紙状態に影響を受けない値として演算することができる。すなわち、高精度に紙端及び基準マークの位置データを検出することができる。   According to the fourth aspect of the present invention, the average value of the line data of a predetermined area of the line read by the line image sensor at the portion outside the sheet can be calculated as the first line data. Further, the average value of the line data of a predetermined area of the line read by the line image sensor at a portion other than the reference mark on the paper can be calculated as the second line data. Thus, the first threshold value and the second threshold value can be calculated as values that are not affected by the sheet passing state. That is, the position data of the paper edge and the reference mark can be detected with high accuracy.

請求項5に記載の発明によれば、第1の閾値を演算し、当該演算した第1の閾値に基づいて紙端の位置データを取得し、当該紙端の位置データを取得した後に第2の閾値を演算し、当該演算した第2の閾値に基づいて前記基準マークの位置データを取得することができる。   According to the fifth aspect of the invention, the first threshold value is calculated, the paper edge position data is acquired based on the calculated first threshold value, and the paper edge position data is acquired. The reference mark position data can be acquired based on the calculated second threshold value.

以下、添付図面を参照して本発明に係る一実施の形態を詳細に説明する。ただし、発明の範囲は図示例に限定されない。   Hereinafter, an embodiment according to the present invention will be described in detail with reference to the accompanying drawings. However, the scope of the invention is not limited to the illustrated examples.

図1に本実施の形態に係る画像形成装置1の全体構成の概略図例を示す。画像形成装置1は、例えば、複写機、プリンタ、ファクシミリおよびこれらの諸機能を有する複合機等である。   FIG. 1 shows a schematic example of the overall configuration of an image forming apparatus 1 according to the present embodiment. The image forming apparatus 1 is, for example, a copying machine, a printer, a facsimile machine, or a multifunction machine having these functions.

画像形成装置1は、制御部11と、レーザ部12と、感光体ドラム13と、ラインイメージセンサとしてのCIS14と、レジストローラ15と、定着ローラ16と、を備えて構成される。   The image forming apparatus 1 includes a control unit 11, a laser unit 12, a photosensitive drum 13, a CIS 14 as a line image sensor, a registration roller 15, and a fixing roller 16.

制御部11は、画像形成装置1を構成する各部に対する指示及び閾値演算を行う。詳細は後述する。   The control unit 11 performs an instruction and threshold calculation for each unit constituting the image forming apparatus 1. Details will be described later.

レーザ部12は、LD(Laser Diode)等により構成され、スキャンした読取対象の原稿の画像データをパルス幅変調器(図示省略)によりパルス幅変調してレーザ光を発光させる。   The laser unit 12 is configured by an LD (Laser Diode) or the like, and emits laser light by pulse width modulating image data of a scanned original to be read by a pulse width modulator (not shown).

感光体ドラム13は、レーザ部12により照射されたレーザ光により、表面に静電潜像を形成する。当該静電潜像には、現像器(図示省略)によりトナーが付着される。   The photosensitive drum 13 forms an electrostatic latent image on the surface by the laser light irradiated by the laser unit 12. Toner is attached to the electrostatic latent image by a developing device (not shown).

CIS14は、反射型の光センサにより構成され、用紙Pの端部及び用紙P上の基準マーク(トンボマーク)を検出する。   The CIS 14 is constituted by a reflection type optical sensor, and detects an end of the paper P and a reference mark (register mark) on the paper P.

レジストローラ15及び定着ローラ16は、給紙トレイ(図示省略)より給紙された用紙Pを搬送する。   The registration roller 15 and the fixing roller 16 convey the paper P fed from a paper feed tray (not shown).

次いで、図2を参照して、画像形成装置1の内部構成を説明する。図2に示す画像形成装置1は、制御部21と、入力部としての操作表示部22と、画像読取部23と、画像処理部24と、プリンタ部25と、検出部26と、搬送部27と、備えて構成される。   Next, the internal configuration of the image forming apparatus 1 will be described with reference to FIG. The image forming apparatus 1 illustrated in FIG. 2 includes a control unit 21, an operation display unit 22 as an input unit, an image reading unit 23, an image processing unit 24, a printer unit 25, a detection unit 26, and a conveyance unit 27. And configured.

制御部21は、図1の制御部11に該当する。制御部21は、CPU(Central Processing Unit)、ROM(Read Only Memory)(以上、図示省略)、記憶部としてのRAM(Random Access Memory)21Aにより構成され、画像形成装置1を構成する各機能に対する指示や、当該機能部間のデータ通信等を制御する。   The control unit 21 corresponds to the control unit 11 in FIG. The control unit 21 includes a CPU (Central Processing Unit), a ROM (Read Only Memory) (not shown), and a RAM (Random Access Memory) 21A serving as a storage unit, and corresponds to each function constituting the image forming apparatus 1. Controls instructions and data communication between the functional units.

具体的に、制御部21は、ROMに記憶されているシステムプログラム及び各種アプリケーションプログラムの中から指定されたプログラムをRAM21Aに展開し、RAM21Aに展開されたプログラムとCPUとの協働で、各種処理を実行する。RAM21Aは、CIS14により読み取られたラインデータをライン毎に順次更新して記憶する。ラインデータをライン毎に順次更新するとは、CIS14により読み取られたラインデータを1ライン毎に上書きして記憶することをいう。またROMは、後述するマーク検出プログラムを記憶する。   Specifically, the control unit 21 develops a program designated in the system program and various application programs stored in the ROM in the RAM 21A, and performs various processes in cooperation with the program expanded in the RAM 21A and the CPU. Execute. The RAM 21A sequentially updates and stores the line data read by the CIS 14 for each line. Updating the line data sequentially for each line means that the line data read by the CIS 14 is overwritten and stored for each line. The ROM stores a mark detection program described later.

制御部21は、マーク位置取得プログラムにより、用紙Pの紙端及びトンボマークの検出を行う。用紙Pの紙端とは、用紙Pの先端部及び横端部のことをいう。トンボマークとは、原稿の画像データを用紙Pの裏面へ画像形成する際、裏面の画像データの書き出し位置を補正するために用いられる基準となるマークのことをいう。
具体的に、制御部21は、所定のタイミングでRAM21Aからラインデータを読み出し、当該読み出したラインデータに基づいて、第1の閾値としての紙端閾値Sp、及び第2の閾値としてのマーク閾値Smを演算する。そして、演算した紙端閾値Sp及びマーク閾値Smに基づいて、紙端の位置データ及びトンボマークの位置データを取得する。
所定のタイミングとは、紙端閾値Sp、及びマーク閾値Smを演算するタイミングのことをいう。当該タイミングは、ユーザにより操作表示部22を介して設定入力される。紙端閾値Spとは、用紙Pの紙端を検出するための閾値のことをいう。マーク閾値Smとは、裏面の画像データの書き出し位置の基準となるトンボマークを検出するための閾値のことをいう。紙端の位置データとは、用紙Pの先端部及び横端部の位置データのことをいう。トンボマークの位置データとは、トンボマークの交点を示す位置データのことをいう。
The control unit 21 detects the paper edge and the registration mark of the paper P by the mark position acquisition program. The paper edge of the paper P refers to the leading edge and the horizontal edge of the paper P. The registration mark is a mark used as a reference for correcting the writing position of the image data on the back side when the image data of the document is formed on the back side of the paper P.
Specifically, the control unit 21 reads line data from the RAM 21A at a predetermined timing, and based on the read line data, the paper edge threshold Sp as the first threshold and the mark threshold Sm as the second threshold. Is calculated. Then, based on the calculated paper edge threshold Sp and mark threshold Sm, paper edge position data and registration mark mark position data are acquired.
The predetermined timing refers to timing for calculating the paper edge threshold Sp and the mark threshold Sm. The timing is set and input by the user via the operation display unit 22. The paper edge threshold value Sp is a threshold value for detecting the paper edge of the paper P. The mark threshold value Sm is a threshold value for detecting a registration mark serving as a reference for the writing position of the back side image data. The paper edge position data refers to the position data of the leading edge and the horizontal edge of the paper P. The registration mark position data refers to position data indicating the intersection of registration marks.

操作表示部22は、LCD(Liquid Crystal Display)等により構成され、制御部21から入力される表示信号の指示に従って表示画面上に各種操作ボタンや装置の状態表示、各機能の動作状況等の表示を行う。また、LCDの表示画面上は、透明電極を格子状に配置した感圧式(抵抗膜圧式)のタッチパネルが構成されており、手指やタッチペン等で押下された力点のXY座標を電圧値で検出し、検出された位置信号を操作信号として制御部21に出力する。   The operation display unit 22 is configured by an LCD (Liquid Crystal Display) or the like, and displays various operation buttons, device statuses, operation statuses of functions, and the like on the display screen according to instructions of display signals input from the control unit 21. I do. On the LCD display screen, a pressure-sensitive (resistive film pressure type) touch panel with transparent electrodes arranged in a grid is configured, and the XY coordinates of the force point pressed by a finger or a touch pen are detected by voltage values. The detected position signal is output to the control unit 21 as an operation signal.

画像読取部23は、スキャナを備えて構成され、原稿の画像データを読み取る。スキャナは、光源、CCD(Charge Coupled Device)等により構成され、光源から原稿へ照明走査した光の反射光を結像して光電変換することにより原稿の画像を読み取る。そして、読み取った画像をA/D変換器によりデジタル画像データに変換して画像処理部24に出力する。画像処理部24は、画像読取部23から入力された原稿の画像データに階調補正処理等の画像処理を施す。そして、当該画像データをプリンタ部25に出力する。   The image reading unit 23 includes a scanner and reads image data of a document. The scanner includes a light source, a CCD (Charge Coupled Device), and the like, and reads an image of a document by forming an image of reflected light of light scanned from the light source to the document and performing photoelectric conversion. Then, the read image is converted into digital image data by an A / D converter and output to the image processing unit 24. The image processing unit 24 performs image processing such as gradation correction processing on the document image data input from the image reading unit 23. Then, the image data is output to the printer unit 25.

プリンタ部25は、図1のレーザ部12、感光体ドラム13を含み、原稿の画像データを用紙P上に画像形成する。プリンタ部25は、レーザ部12、感光体ドラム13の他にも、パルス幅変調器、帯電器、現像器、定着器(いずれも図示省略)等を備えて構成される。   The printer unit 25 includes the laser unit 12 and the photosensitive drum 13 in FIG. 1, and forms image data of the original on the paper P. In addition to the laser unit 12 and the photosensitive drum 13, the printer unit 25 includes a pulse width modulator, a charger, a developing unit, a fixing unit (all not shown), and the like.

検出部26は、図1のCIS14に該当し、用紙Pの端部及び用紙P上のマークを検出する。搬送部27は、図1のレジストローラ15及び定着ローラ16に該当し、給紙トレイ(図示省略)より給紙された用紙Pを搬送する。   The detection unit 26 corresponds to the CIS 14 in FIG. 1 and detects the end of the paper P and the mark on the paper P. The transport unit 27 corresponds to the registration roller 15 and the fixing roller 16 in FIG. 1 and transports the paper P fed from a paper feed tray (not shown).

次に、図3を参照して、位置データ(X1、Y1)、(X2、Y2)、(X3、Y3)の検出例について説明する。なお、位置データの説明は、図8の説明を援用する。図3は、紙端部の位置データ及びトンボマークの交点の位置データを検出する際のCIS14の出力値を示した図である。図3のA部は、用紙Pの先端部を示す。A1は、A部をCIS14で読み取った場合のグラフを示す。B部は、用紙Pの横端部を示す。B1はB部をCIS14で読み取った場合のグラフを示す。C部は、トンボマークを示す。C1は、C部をCIS14で読み取った場合のグラフを示す。 Next, detection examples of the position data (X1, Y1), (X2, Y2), (X3, Y3) will be described with reference to FIG. In addition, description of position data uses the description of FIG. FIG. 3 is a diagram showing output values of the CIS 14 when detecting the position data of the paper edge and the position data of the intersection of the registration mark. A part A of FIG. A1 shows a graph when the A part is read by the CIS14. Part B indicates the lateral end of the paper P. B1 shows a graph when the B part is read by the CIS14. Part C indicates a registration mark. C1 shows a graph when C part is read by CIS14.

ここで、グラフA1を代表して、用紙Pの先端の位置データ(X1、Y1)を検出する例を説明する。グラフA1の縦軸は、CIS14の出力値を示す。グラフA1の横軸はCISの画素番号を示す。CIS14の1画素は距離を示す。ここで、用紙Pの先端の位置データ(X1、Y1)は、紙端閾値Spに基づいて求められる。例えば、紙端閾値Spを固定して用紙Pの先端の位置データ(X1、Y1)の検出を行うとする。この場合、紙端閾値Spを超えたときのCISの画素番号を求めることにより、用紙Pの先端の位置データ(X1、Y1)を取得することができる。用紙Pの紙横端の位置データ(X2、Y2)は、同様に紙端閾値Spに基づいて求められる。トンボマークの交点の位置データ(X3、Y3)は、マーク閾値Smに基づいて求められる。   Here, an example of detecting the position data (X1, Y1) of the leading edge of the paper P will be described on behalf of the graph A1. The vertical axis of graph A1 shows the output value of CIS14. The horizontal axis of the graph A1 indicates the pixel number of CIS. One pixel of the CIS 14 indicates a distance. Here, the position data (X1, Y1) of the leading edge of the paper P is obtained based on the paper edge threshold Sp. For example, it is assumed that the position data (X1, Y1) of the leading edge of the paper P is detected while the paper edge threshold Sp is fixed. In this case, the position data (X1, Y1) of the leading edge of the paper P can be obtained by obtaining the CIS pixel number when the paper edge threshold Sp is exceeded. The position data (X2, Y2) of the paper lateral edge of the paper P is similarly obtained based on the paper edge threshold Sp. The position data (X3, Y3) of the intersection of the registration mark is obtained based on the mark threshold value Sm.

次に、グラフA1を用いてCIS14の出力値が異なる場合、用紙Pの先端の位置データ(X1、Y1)にずれが生じることについて説明する。A2は、用紙PとCIS14との距離が0mmの場合におけるCIS14の出力値を示す。A3は、用紙PとCIS14との距離が2.5mmの場合におけるCIS14の出力値を示す。A2及びA3に示すように、用紙PとCIS14との距離に応じて、CIS14の出力値は異なる値を示す。すなわち、用紙Pの通紙状態に応じてCIS14の出力値は異なる値を示す。この場合、用紙Pの先端の位置データ(X1、Y1)にずれが生じてしまう。例えば、A2とA3とでは、A5とA6の差分だけ用紙Pの先端の位置データ(X1、Y1)にずれが生じてしまう。そうすると、裏面の画像データを用紙Pに画像形成する際、画像データの書き出し位置にずれが生じる。したがって、用紙の通紙状態に応じて紙端閾値Sp及びマーク閾値Smを演算する必要がある。   Next, it will be described that the position data (X1, Y1) of the leading edge of the paper P is shifted when the output value of the CIS 14 differs using the graph A1. A2 indicates the output value of the CIS 14 when the distance between the paper P and the CIS 14 is 0 mm. A3 indicates an output value of the CIS 14 when the distance between the paper P and the CIS 14 is 2.5 mm. As shown in A2 and A3, the output value of the CIS 14 varies depending on the distance between the paper P and the CIS 14. That is, the output value of the CIS 14 varies depending on the paper P passing state. In this case, the position data (X1, Y1) of the leading edge of the paper P is displaced. For example, in A2 and A3, the position data (X1, Y1) of the leading edge of the paper P is shifted by the difference between A5 and A6. Then, when the image data of the back side is formed on the paper P, the image data writing position is shifted. Therefore, it is necessary to calculate the paper edge threshold value Sp and the mark threshold value Sm according to the paper passing state.

次いで、図4を参照して、制御部21で実行される紙端閾値Sp及びマーク閾値Smの演算方法について説明する。図4は、用紙P外及び用紙PにおけるCIS14の出力データの分布を示す。CIS14の出力値は、読み取り部分が黒い場合(すなわち、読み取り部分が用紙P外の場合)、低い値を示す。読み取り部分が白い場合(すなわち、読み取り部分が用紙上の場合)、高い値を示す。   Next, with reference to FIG. 4, a method for calculating the paper edge threshold Sp and the mark threshold Sm executed by the control unit 21 will be described. FIG. 4 shows the distribution of output data of the CIS 14 outside and on the paper P. The output value of the CIS 14 shows a low value when the reading portion is black (that is, when the reading portion is outside the paper P). When the reading portion is white (that is, when the reading portion is on a sheet), a high value is indicated.

A1〜Anは、CIS14により用紙P外の部分で読み取られたラインの所定の領域におけるCIS14の出力データを示す。所定の領域とは、CIS14により読み取られたライン上の任意の範囲(距離)のことをいう。例えば、図4のA1〜Anの範囲Cが所定の領域に該当する。
B1〜Bnは、CIS14により用紙P上のトンボマーク以外の部分で読み取られたラインの所定の領域におけるCIS14の出力値を示す。所定の領域とは、CIS14により読み取ったライン上の任意の範囲(距離)のことをいう。例えば、図4のB1〜Bnの範囲Dが所定の領域に該当する。
A1 to An indicate output data of the CIS 14 in a predetermined area of a line read by a portion outside the paper P by the CIS 14. The predetermined area refers to an arbitrary range (distance) on the line read by the CIS 14. For example, a range C from A1 to An in FIG. 4 corresponds to a predetermined region.
B1 to Bn indicate output values of the CIS 14 in a predetermined area of the line read by the CIS 14 at portions other than the registration mark on the paper P. The predetermined area refers to an arbitrary range (distance) on the line read by the CIS 14. For example, a range D from B1 to Bn in FIG. 4 corresponds to a predetermined region.

次に紙端閾値Sp及びマーク閾値Smの演算方法について説明する。
紙端閾値Spは、次式(1)で求められる。
Sp=Kp×(A1+A2+・・・+An−1+An)/n ・・・(1)
(A1+A2+・・・+An−1+An)/nは、CIS14により読み取られたラインの所定の領域におけるラインデータの平均値を示す。A1+A2+・・・+An−1+An)/nは、第1のラインデータに該当する。nは、A1〜Anの測定点数を示す。任意値としてのKpは、所定の倍率を示す。Kpは、紙端閾値Spを演算するごとにユーザにより設定入力される値としてもよいし、予め設定された固定値としてもよい。
Next, a method for calculating the paper edge threshold Sp and the mark threshold Sm will be described.
The paper edge threshold value Sp is obtained by the following equation (1).
Sp = Kp × (A1 + A2 +... + An-1 + An) / n (1)
(A1 + A2 +... + An-1 + An) / n represents an average value of line data in a predetermined area of the line read by the CIS 14. A1 + A2 +... + An-1 + An) / n corresponds to the first line data. n represents the number of measurement points A1 to An. Kp as an arbitrary value indicates a predetermined magnification. Kp may be a value set and input by the user every time the paper edge threshold Sp is calculated, or may be a fixed value set in advance.

上記式(1)で求められた紙端閾Spを用いて、紙端の位置データ(X1、Y1)又は(X2、Y2)が取得される。例えば、CIS14の出力値が紙端閾値Spを越えた場合、当該紙端閾値Spを超えた位置が紙端の位置データ(X1、Y1)又は(X2、Y2)として取得される。また、上式(1)に示すように、紙端閾値Spは、CIS14により読み取られたラインデータの平均値に基づいて演算される。したがって、用紙の通紙状態に応じた紙端閾値Spを演算することができる。   The paper edge position data (X1, Y1) or (X2, Y2) is acquired using the paper edge threshold Sp obtained by the above equation (1). For example, when the output value of the CIS 14 exceeds the paper edge threshold Sp, the position exceeding the paper edge threshold Sp is acquired as paper edge position data (X1, Y1) or (X2, Y2). Further, as shown in the above equation (1), the paper edge threshold Sp is calculated based on the average value of the line data read by the CIS 14. Therefore, it is possible to calculate the paper edge threshold value Sp corresponding to the paper passing state.

マーク閾値Smは、次式(2)で求められる。
Sm=Km×(B1+B2+・・・+Bn−1+Bn)/n ・・・(2)
(B1+B2+・・・+Bn−1+Bn)/nは、CIS14により読み取られたラインの所定の領域におけるラインデータの平均値を示す。(B1+B2+・・・+Bn−1+Bn)/nは、第2のラインデータに該当する。nは、B1〜Bnの測定点数を示す。任意値としてのKmは、所定の倍率を示す。Kmは、マーク閾値Smを演算するごとにユーザにより設定入力される値としてもよいし、予め設定された固定値としてもよい。
The mark threshold value Sm is obtained by the following equation (2).
Sm = Km × (B1 + B2 +... + Bn-1 + Bn) / n (2)
(B1 + B2 +... + Bn-1 + Bn) / n represents an average value of line data in a predetermined region of the line read by the CIS 14. (B1 + B2 +... + Bn-1 + Bn) / n corresponds to the second line data. n represents the number of measurement points B1 to Bn. Km as an arbitrary value indicates a predetermined magnification. Km may be a value set and input by the user every time the mark threshold value Sm is calculated, or may be a fixed value set in advance.

上記式(2)で求められたマーク閾値Smを用いて、トンボマークの位置データ(X3、Y3)が取得される。例えば、CIS14の出力値がマーク閾値Smを下回った場合、当該位置がトンボマークの位置データ(X3、Y3)として取得される。また、上式(2)に示すように、マークSmは、CIS14により読み取られたラインデータの平均値に基づいて演算される。したがって、用紙の通紙状態に応じた紙端閾値Smを演算することができる。   The registration mark position data (X3, Y3) is acquired using the mark threshold value Sm obtained by the above equation (2). For example, when the output value of the CIS 14 falls below the mark threshold value Sm, the position is acquired as registration mark mark position data (X3, Y3). Further, as shown in the above equation (2), the mark Sm is calculated based on the average value of the line data read by the CIS 14. Accordingly, it is possible to calculate the paper edge threshold value Sm according to the paper passing state.

また、紙端閾値Sp及びマーク閾値Smを演算するタイミングは、ユーザより操作表示部22を介して入力される。例えば、所定のタイミングがユーザにより操作表示部22を介して入力されたとする。この場合、当該入力された所定のタイミングでRAM21からラインデータ(すなわち、A1〜An、B1〜Bn)が読み出される。そして、当該読み出されたラインデータに基づいて紙端閾値Sp及びマーク閾値Smが演算される。紙端閾値Sp及びマーク閾値の演算のタイミングは、任意枚数、任意ジョブ、又は任意時間を設定入力することとしてもよい。
また、所定倍率Kp(Km)、測定点数N、A1〜An(B1〜Bn)のデータ取得間隔、及びA1〜An(B1〜Bn)の取得タイミングは、ユーザにより操作表示部22を介して設定することができる。
The timing for calculating the paper edge threshold value Sp and the mark threshold value Sm is input from the user via the operation display unit 22. For example, it is assumed that a predetermined timing is input by the user via the operation display unit 22. In this case, line data (that is, A1 to An, B1 to Bn) is read from the RAM 21 at the inputted predetermined timing. Based on the read line data, the paper edge threshold Sp and the mark threshold Sm are calculated. Arbitrary number of sheets, arbitrary job, or arbitrary time may be set and inputted as the timing for calculating the paper edge threshold Sp and mark threshold.
Further, the predetermined magnification Kp (Km), the number N of measurement points, the data acquisition interval of A1 to An (B1 to Bn), and the acquisition timing of A1 to An (B1 to Bn) are set by the user via the operation display unit 22. can do.

次いで、図5を参照して、制御部21で実行されるトンボマークの交点の位置データ(X3、Y3)の算出例について説明する。図5は、トンボマークの交点の位置データ(X3、Y3)を示した図である。(X3、Y3)は、4点の位置データ(Xa、Ya)、(Xb、Yb)、(Xc、Yc)、(Xd、Yd)を取得し、当該取得した位置データを用いて求められる。具体的には、下記に示す式(3)、(4)で求められる。
X3=(Xa+Xd)/2 ・・・ (3)
Y3=(Yb+Yc)/2 ・・・ (4)
Next, an example of calculating the position data (X3, Y3) of the intersection of the registration marks executed by the control unit 21 will be described with reference to FIG. FIG. 5 is a diagram showing position data (X3, Y3) of the intersection of the registration mark. (X3, Y3) is obtained by acquiring four points of position data (Xa, Ya), (Xb, Yb), (Xc, Yc), (Xd, Yd) and using the acquired position data. Specifically, it is obtained by the following formulas (3) and (4).
X3 = (Xa + Xd) / 2 (3)
Y3 = (Yb + Yc) / 2 (4)

ここで、4点の位置データの取得例について説明する。図4の場合、CIS14による画像データの読み取りは、X方向のライン毎にY方向に向かって行われる。このとき、CIS14により読み取られたデータは、X方向のライン毎にRAM21Aに更新記憶される。また、マーク閾値Smを演算するラインとして、Aラインが設定されているものとして以下、説明する。   Here, an example of acquiring position data of four points will be described. In the case of FIG. 4, reading of image data by the CIS 14 is performed in the Y direction for each line in the X direction. At this time, the data read by the CIS 14 is updated and stored in the RAM 21A for each line in the X direction. In the following description, it is assumed that the A line is set as the line for calculating the mark threshold value Sm.

先ず、Aラインの(Xa、Ya)が取得される。(Xa、Ya)は、図3で説明したマーク閾値Smを用いることにより取得される。そして、Aライン上の位置データ(Xe、Ye)が取得される。(Xe、Ye)は、(Xa、Ya)と同様にマーク閾値Smを用いることにより取得される。(Xe、Ye)は、トンボマークの設計値に基づいて取得することとしてもよい。)   First, (Xa, Ya) of the A line is acquired. (Xa, Ya) is acquired by using the mark threshold value Sm described in FIG. Then, position data (Xe, Ye) on the A line is acquired. (Xe, Ye) is acquired by using the mark threshold value Sm in the same manner as (Xa, Ya). (Xe, Ye) may be acquired based on the design value of the registration mark. )

次いで、(Xb、Yb)が取得される。ここで、Xbは、XaからX方向に数ドット離れたオフセット値を用いることにより取得される。例えば、Xaから、X方向に10ドット離れた位置がオフセット値として設定されているとする。この場合、先ず、マーク閾値Smを用いて、Cライン(すなわち、Yb)がトンボマークのエッジであると検出される。そして、検出されたYbのラインのうち、Xaから10ドット離れたXbの位置データが取得される。これにより、(Xb、Yb)が取得される。 Next, (Xb, Yb) is acquired. Here, Xb is acquired by using an offset value that is several dots away from Xa in the X direction. For example, assume that a position 10 dots away from Xa in the X direction is set as the offset value. In this case, first, using the mark threshold value Sm, it is detected that the C line (that is, Yb) is the edge of the registration mark. Then, among the detected Yb lines, position data of Xb that is 10 dots away from Xa is acquired. Thereby, (Xb, Yb) is acquired.

そして、(Xc、Yc)が取得される。ここで、Xcは、XeからX方向に数ドット(例えば10ドット)離れたオフセット値を用いることにより取得される。取得方法は、XaからXbを取得した方法と同様である。   Then, (Xc, Yc) is acquired. Here, Xc is acquired by using an offset value separated from Xe by several dots (for example, 10 dots) in the X direction. The acquisition method is the same as the method of acquiring Xb from Xa.

そして、(Xd、Yd)が取得される。ここで、Ydは、YcからY方向に数ドット(例えば10ドット)離れたオフセット値を用いることにより取得される。取得方法は、XaからXbを取得した方法と同様である。
上述の通り、4点の位置データ(Xa、Ya)、(Xb、Yb)、(Xc、Yc)、(Xd、Yd)が取得され、当該取得した位置データを用いて(X3、Y3)が求められる。
Then, (Xd, Yd) is acquired. Here, Yd is acquired by using an offset value separated from Yc by several dots (for example, 10 dots) in the Y direction. The acquisition method is the same as the method of acquiring Xb from Xa.
As described above, the four position data (Xa, Ya), (Xb, Yb), (Xc, Yc), (Xd, Yd) are acquired, and (X3, Y3) is obtained using the acquired position data. Desired.

次に、図6及び図7を参照して、画像形成装置1で実行されるマーク位置取得処理について説明する。マーク位置取得処理は、用紙Pの紙端及びトンボマークの位置データを取得する処理である。以下に説明するマーク位置取得処理は、用紙Pの表面に画像形成を行った後、当該用紙Pの裏面に画像形成する場合の書き出し位置を検出し、当該検出した書き出し位置に応じて画像形成を行う際の動作の一部である。   Next, with reference to FIG. 6 and FIG. 7, the mark position acquisition process executed in the image forming apparatus 1 will be described. The mark position acquisition process is a process of acquiring the position data of the paper edge and the registration mark of the paper P. In the mark position acquisition process described below, after image formation is performed on the front surface of the paper P, a writing position when the image is formed on the back surface of the paper P is detected, and image formation is performed according to the detected writing position. It is a part of the operation when performing.

例えば、画像形成装置1において、ユーザによりマーク位置取得処理の実行指示が操作表示部22を介して入力されたこと等をトリガとして、ROMから読み出されて適宜RAM21Aに展開されたマーク位置取得プログラムと、CPUとの協働によりマーク位置取得処理が実行される。   For example, in the image forming apparatus 1, a mark position acquisition program that is read from the ROM and appropriately expanded in the RAM 21 </ b> A is triggered by the input of the execution instruction of the mark position acquisition process by the user via the operation display unit 22. The mark position acquisition process is executed in cooperation with the CPU.

予め、用紙の表面に原稿の画像データ及びトンボマークが画像形成されているものとする。また、ユーザにより操作表示部22を介して、紙端閾値Sp及びマーク閾値Smを演算するタイミングの入力が受け付けられているものとする。すなわち、A1〜An、B1〜Bnを取得するためのタイミングの入力が受け付けられているものとする。同様に、所定倍率Kp(Km)、測定点数N、A1〜An(B1〜Bn)の取得間隔、及びA1〜An(B1〜Bn)の取得タイミングについても予め設定されているものとする。   It is assumed that image data of a document and a registration mark are formed in advance on the surface of a sheet. In addition, it is assumed that an input of timing for calculating the paper edge threshold Sp and the mark threshold Sm is received by the user via the operation display unit 22. That is, it is assumed that the timing input for acquiring A1 to An and B1 to Bn is accepted. Similarly, it is assumed that the predetermined magnification Kp (Km), the number N of measurement points, the acquisition interval of A1 to An (B1 to Bn), and the acquisition timing of A1 to An (B1 to Bn) are set in advance.

先ず、紙先端閾値Sp1を演算するためのデータが取得されたか否かが判別される(ステップS101)。紙先端閾値Sp1とは、式(1)の紙端閾値Spのことをいう。紙先端閾値Sp1を演算するためのデータとは、式(1)のA1〜Anのデータのことをいう。紙先端閾値Sp1が決定されていないと判別された場合(ステップS101;NO)、データ取得が実行される(ステップS102)。本ステップのデータ取得とは、式(1)のA1〜Anのデータを取得することをいう。ステップS102の実行後、ステップS101に移行される。   First, it is determined whether or not data for calculating the paper leading edge threshold Sp1 has been acquired (step S101). The paper leading edge threshold Sp1 refers to the paper leading edge threshold Sp in Expression (1). The data for calculating the paper leading edge threshold Sp1 refers to data A1 to An in Expression (1). If it is determined that the paper leading edge threshold Sp1 has not been determined (step S101; NO), data acquisition is executed (step S102). Data acquisition in this step refers to acquiring data of A1 to An in Expression (1). After execution of step S102, the process proceeds to step S101.

ステップS101において紙先端閾値Sp1を演算するためのデータが取得されたと判別された場合(ステップS101;YES)、紙先端閾値Sp1の演算が実行される(ステップS103)。紙先端閾値Sp1の演算は、上述した式(1)に基づいて実行される。   If it is determined in step S101 that data for calculating the paper leading edge threshold Sp1 has been acquired (step S101; YES), the calculation of the paper leading edge threshold Sp1 is executed (step S103). The calculation of the paper leading edge threshold Sp1 is executed based on the above-described equation (1).

ステップS103の実行後、紙先端を検知するタイミングであるか否かが判別される(ステップS104)。すなわち、紙先端を検知する状態であるか否かが判別される。紙先端を検知するタイミングであると判別された場合(ステップS104;YES)、紙先端の位置データが取得される(ステップS105)。すなわち、図3で説明した(X1、Y1)が取得される。紙先端を検知するタイミングでないと判別された場合(ステップS104;NO)、ステップS104に移行される。   After execution of step S103, it is determined whether it is time to detect the leading edge of the paper (step S104). That is, it is determined whether or not the leading edge of the paper is being detected. If it is determined that it is time to detect the leading edge of the paper (step S104; YES), position data of the leading edge of the paper is acquired (step S105). That is, (X1, Y1) described in FIG. 3 is acquired. If it is determined that it is not time to detect the leading edge of the paper (step S104; NO), the process proceeds to step S104.

ステップS105の実行後、紙横端閾値Sp2を演算するためのデータが取得されたか否か判別される(ステップS106)。紙横端閾Sp2とは、式(1)の紙端閾値Spのことをいう。紙先端閾値Sp2を演算するためのデータとは、式(1)のA1〜Anのデータのことをいう。紙横端閾値Sp2を演算するためのデータが取得されていないと判別された場合(ステップS106;NO)、データが取得される(ステップS107)。本ステップのデータ取得とは、式(1)のA1〜Anのデータを取得することをいう。ステップS107の実行後、ステップS106に移行される。   After execution of step S105, it is determined whether or not data for calculating the paper lateral edge threshold Sp2 has been acquired (step S106). The paper lateral edge threshold Sp2 refers to the paper edge threshold Sp in the formula (1). The data for calculating the paper leading edge threshold Sp2 refers to data A1 to An in Expression (1). If it is determined that the data for calculating the paper lateral edge threshold Sp2 has not been acquired (step S106; NO), the data is acquired (step S107). Data acquisition in this step refers to acquiring data of A1 to An in Expression (1). After execution of step S107, the process proceeds to step S106.

ステップS106において、紙横端閾値Sp2を演算するためのデータが取得されていると判別された場合(ステップS106;YES)、紙横端閾値Sp2の演算が実行される(ステップS108)。紙横端閾値Sp2の演算は、式(1)に基づいて実行される。   If it is determined in step S106 that data for calculating the paper horizontal edge threshold Sp2 has been acquired (step S106; YES), the paper horizontal edge threshold Sp2 is calculated (step S108). The calculation of the paper lateral edge threshold Sp2 is executed based on the equation (1).

ステップS108の実行後、紙横端を検知するタイミングであるか否かが判別される(ステップS109)。すなわち、紙横端を検知する状態であるか否かが判別される。紙横端を検知するタイミングであると判別された場合(ステップS109;YES)、紙横端の位置データが取得される(ステップS110)。すなわち、図3で説明した(X2、Y2)が取得される。紙横端を検知するタイミングでないと判別された場合(ステップS109;NO)、ステップS109に移行される。   After the execution of step S108, it is determined whether or not it is time to detect the lateral edge of the paper (step S109). That is, it is determined whether or not it is in a state of detecting the lateral edge of the paper. When it is determined that it is time to detect the paper lateral edge (step S109; YES), the position data of the paper lateral edge is acquired (step S110). That is, (X2, Y2) described in FIG. 3 is acquired. If it is determined that it is not time to detect the horizontal edge of the paper (step S109; NO), the process proceeds to step S109.

ステップS110の実行後、マーク閾値Smを演算するためのデータが取得されたか否かが判別される(ステップS111)。マーク閾値Smとは、式(2)のマーク閾値Smのことをいう。マーク閾値Smを演算するためのデータとは、式(2)のB1〜Bnのデータのことをいう。マーク閾値Smを演算するためのデータが取得されていないと判別された場合(ステップS111;NO)、データが取得される(ステップS112)。本ステップのデータ取得とは、式(2)のB1〜Bnを取得することをいう。ステップS112の実行後、ステップS111に移行される。   After execution of step S110, it is determined whether or not data for calculating the mark threshold value Sm has been acquired (step S111). The mark threshold value Sm refers to the mark threshold value Sm of Expression (2). The data for calculating the mark threshold value Sm refers to the data of B1 to Bn in Expression (2). If it is determined that data for calculating the mark threshold value Sm has not been acquired (step S111; NO), data is acquired (step S112). Data acquisition in this step refers to acquiring B1 to Bn in Expression (2). After execution of step S112, the process proceeds to step S111.

ステップS111において、マーク閾値Smを演算するためのデータが取得されたと判別された場合(ステップS111;YES)、マーク閾値Smの演算が実行される(ステップS113)。マーク閾値Smの演算は、式(2)に基づいて実行される。   When it is determined in step S111 that data for calculating the mark threshold value Sm has been acquired (step S111; YES), the mark threshold value Sm is calculated (step S113). The calculation of the mark threshold value Sm is executed based on Expression (2).

ステップS113の実行後、マークを検知するタイミングであるか否かが判別される(ステップS114)。すなわち、トンボマークを検知する状態であるか否かが判別される。マークを検知するタイミングであると判別された場合(ステップS114;YES)、マークの位置データが取得される(ステップS115)。すなわち、図5で説明した(Xa、Ya)〜(Xd、Yd)が算出され、(X3、Y3)が取得される。マークを検知していないと判別された場合(ステップS114;NO)、ステップS114に移行される。ステップS115の実行後、マーク位置取得処理は終了する。   After execution of step S113, it is determined whether or not it is time to detect a mark (step S114). That is, it is determined whether or not the registration mark is being detected. If it is determined that it is time to detect the mark (step S114; YES), the mark position data is acquired (step S115). That is, (Xa, Ya) to (Xd, Yd) described in FIG. 5 are calculated, and (X3, Y3) is acquired. If it is determined that the mark is not detected (step S114; NO), the process proceeds to step S114. After execution of step S115, the mark position acquisition process ends.

以上、本実施の形態によれば、ライン毎に順次更新されたラインデータが記憶されたRAM21Aから所定のタイミングでラインデータを読み出し、当該読み出したラインデータに基づいて、紙端閾値Sp、及びマーク閾値Smを演算し、当該演算した紙端閾値Sp及びマーク閾値Smに基づいて、当該紙端の位置データ及び当該基準マークの位置データを取得することができる。これにより、読み取られたラインデータの全てをRAM21Aに記憶する必要がないので、大容量のメモリを使用せずに紙端及び基準マークの位置データを検出(取得)することができる。また、所定のタイミングで読み出されたラインデータに基づいて紙端閾値Sp及びマーク閾値Smを演算するので、少ないデータ量で紙端閾値Sp及びマーク閾値の演算を行うことができる。すなわち、高速に紙端及び基準マークの位置データを取得することができる。   As described above, according to the present embodiment, the line data is read at a predetermined timing from the RAM 21A in which the line data sequentially updated for each line is stored, and the paper edge threshold Sp and the mark are determined based on the read line data. The threshold value Sm is calculated, and the paper edge position data and the reference mark position data can be acquired based on the calculated paper edge threshold value Sp and mark threshold value Sm. Thereby, since it is not necessary to store all of the read line data in the RAM 21A, it is possible to detect (acquire) the paper edge and reference mark position data without using a large-capacity memory. Further, since the paper edge threshold Sp and the mark threshold Sm are calculated based on the line data read at a predetermined timing, the paper edge threshold Sp and the mark threshold can be calculated with a small amount of data. That is, the position data of the paper edge and the reference mark can be acquired at high speed.

また、ユーザにより設定された紙端閾値Sp及びマーク閾値Smを演算するタイミングの入力を受け付けることができる。これにより、ユーザは、紙端閾値Sp及びマーク閾値Smを演算するタイミングを自由に設定入力することができる。   Further, it is possible to receive an input of timing for calculating the paper edge threshold Sp and the mark threshold Sm set by the user. Thereby, the user can freely set and input the timing for calculating the paper edge threshold value Sp and the mark threshold value Sm.

また、(A1+A2+・・・+An−1+An)/NにKpを乗算した値を紙端閾値Smとして演算することができる。また、(B1+B2+・・・+Bn−1+Bn)/NにKmを乗算した値をマーク閾値Smとして演算することができる。   Further, a value obtained by multiplying (A1 + A2 +... + An-1 + An) / N by Kp can be calculated as the paper edge threshold value Sm. Further, a value obtained by multiplying (B1 + B2 +... + Bn-1 + Bn) / N by Km can be calculated as the mark threshold value Sm.

また、CIS14により用紙外の部分で読み取られたラインの所定の領域のラインデータの平均値を演算することができる。また、CIS14により用紙上の基準マーク外の部分で読み取られたラインの所定の領域のラインデータの平均値を演算することができる。これにより、紙端閾値Sp及びマーク閾値Smを用紙Pの通紙状態に影響を受けない値として演算することができる。すなわち、高精度に紙端及び基準マークの位置データを検出することができる。   Further, the average value of the line data of a predetermined area of the line read by the CIS 14 at the portion outside the sheet can be calculated. Further, the average value of the line data of a predetermined area of the line read by the CIS 14 outside the reference mark on the sheet can be calculated. As a result, the paper edge threshold Sp and the mark threshold Sm can be calculated as values that are not affected by the paper passing state of the paper P. That is, the position data of the paper edge and the reference mark can be detected with high accuracy.

また、紙端閾値Spを演算し、当該演算した紙端閾値Spに基づいて紙端の位置データを取得し、当該紙端の位置データを取得した後にマーク閾値Smを演算し、当該演算したマーク閾値Smに基づいてトンボマークの位置データを取得することができる。   Further, the paper edge threshold Sp is calculated, the paper edge position data is acquired based on the calculated paper edge threshold Sp, the mark threshold Sm is calculated after acquiring the paper edge position data, and the calculated mark The registration mark position data can be acquired based on the threshold value Sm.

その他、上記実施の形態における画像形成装置1の細部構成及び詳細動作に関しても、本発明の趣旨を逸脱しない範囲で適宜変更可能である。   In addition, the detailed configuration and detailed operation of the image forming apparatus 1 in the above embodiment can be changed as appropriate without departing from the spirit of the present invention.

本発明に係る画像形成装置1の構成概略図である。1 is a schematic configuration diagram of an image forming apparatus 1 according to the present invention. 画像形成装置1の内部構成図である。2 is an internal configuration diagram of the image forming apparatus 1. FIG. 紙端部の位置データ及びトンボマークの交点の位置データを検出する際のCIS14の出力値を示した図である。It is a figure showing the output value of CIS14 at the time of detecting the position data of a paper edge part, and the position data of the intersection of a register mark. 紙端閾値Sp及びマーク閾値Smの演算方法を示す図である。It is a figure which shows the calculation method of paper edge threshold value Sp and mark threshold value Sm. トンボマークの交点の位置データ(X3、Y3)を示す図である。It is a figure which shows the positional data (X3, Y3) of the intersection of a registration mark. マーク位置取得処理の流れを示した図である。It is the figure which showed the flow of the mark position acquisition process. マーク位置取得処理の流れを示した図である。It is the figure which showed the flow of the mark position acquisition process. 位置データ(X1、Y1)、(X2、Y2)、(X3、Y3)を示した図である。It is the figure which showed position data (X1, Y1), (X2, Y2), (X3, Y3).

符号の説明Explanation of symbols

1 画像形成装置
11、21 制御部
12 レーザ部
13 感光体ドラム
14 CIS
15 レジストローラ
16 定着ローラ
21A RAM
22 操作表示部
23 画像読取部
24 画像処理部
25 プリンタ部
26 検出部
27 搬送部
Sm マーク閾値
Sp 紙端閾値
DESCRIPTION OF SYMBOLS 1 Image forming apparatus 11, 21 Control part 12 Laser part 13 Photosensitive drum 14 CIS
15 Registration roller 16 Fixing roller 21A RAM
22 Operation display unit 23 Image reading unit 24 Image processing unit 25 Printer unit 26 Detection unit 27 Conveying unit Sm Mark threshold Sp Paper edge threshold

Claims (5)

ラインイメージセンサにより読み取られたラインデータに基づいて、読取原稿の画像データを用紙に画像形成する場合の書き出し位置を検出し、当該検出した書き出し位置に応じて画像形成を行う画像形成装置において、
前記ラインデータをライン毎に順次更新して記憶する記憶部と、
所定のタイミングで前記記憶部からラインデータを読み出し、当該読み出したラインデータに基づいて、前記用紙の紙端を検出するための第1の閾値、及び前記書き出し位置の基準となる基準マークを検出するための第2の閾値を演算し、当該演算した第1の閾値及び第2の閾値に基づいて、当該紙端の位置データ及び当該基準マークの位置データを取得する制御部と、
を備える画像形成装置。
An image forming apparatus that detects a writing position when image data of a read original is formed on a sheet based on line data read by a line image sensor, and performs image formation according to the detected writing position.
A storage unit for sequentially updating and storing the line data for each line;
Line data is read from the storage unit at a predetermined timing, and based on the read line data, a first threshold for detecting a paper edge of the paper and a reference mark serving as a reference for the writing position are detected. A control unit that calculates a second threshold value for acquiring the position data of the paper edge and the position data of the reference mark based on the calculated first threshold value and the second threshold value;
An image forming apparatus comprising:
前記所定のタイミングとして、ユーザにより設定された前記第1の閾値及び第2の閾値を演算するタイミングの入力を受け付ける入力部を備える請求項1記載の画像形成装置。   The image forming apparatus according to claim 1, further comprising an input unit configured to receive an input of a timing for calculating the first threshold value and the second threshold value set by a user as the predetermined timing. 前記制御部は、
前記ラインイメージセンサにより前記用紙外の部分で読み取られたラインのラインデータである第1のラインデータを読み出し、当該読み出した第1のラインデータに任意値を乗算した値を前記第1の閾値として演算し、
前記ラインイメージセンサにより前記用紙上の前記基準マーク以外の部分で読み取られたラインのラインデータである第2のラインデータを読み出し、当該読み出した第2のラインデータに任意値を乗算した値を前記第2の閾値として演算する請求項1又は2に記載の画像形成装置。
The controller is
First line data, which is line data of a line read by the line image sensor at a portion outside the sheet, is read, and a value obtained by multiplying the read first line data by an arbitrary value is used as the first threshold value. Operate,
Second line data that is line data of a line read by the line image sensor at a portion other than the reference mark on the paper is read, and a value obtained by multiplying the read second line data by an arbitrary value is obtained. The image forming apparatus according to claim 1, wherein the image forming apparatus calculates the second threshold value.
前記制御部は、
前記ラインイメージセンサにより前記用紙外の部分で読み取られたラインの所定の領域のラインデータの平均値を前記第1のラインデータとして演算し、
前記ラインイメージセンサにより前記用紙上の前記基準マーク以外の部分で読み取られたラインの所定の領域のラインデータの平均値を前記第2のラインデータとして演算する請求項3に記載の画像形成装置。
The controller is
An average value of line data of a predetermined area of a line read by the line image sensor at a portion outside the paper is calculated as the first line data,
4. The image forming apparatus according to claim 3, wherein an average value of line data of a predetermined area of a line read at a portion other than the reference mark on the paper by the line image sensor is calculated as the second line data.
前記制御部は、
前記第1の閾値を演算し、当該演算した第1の閾値に基づいて前記紙端の位置データを取得し、当該紙端の位置データを取得した後に前記第2の閾値を演算し、当該演算した第2の閾値に基づいて前記基準マークの位置データを取得する請求項1から4のいずれか一項に記載の画像形成装置。
The controller is
The first threshold value is calculated, the paper edge position data is acquired based on the calculated first threshold value, the second edge value is calculated after acquiring the paper edge position data, and the calculation is performed. 5. The image forming apparatus according to claim 1, wherein position data of the reference mark is acquired based on the second threshold value.
JP2007108188A 2007-04-17 2007-04-17 Image forming apparatus Pending JP2008270955A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007108188A JP2008270955A (en) 2007-04-17 2007-04-17 Image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007108188A JP2008270955A (en) 2007-04-17 2007-04-17 Image forming apparatus

Publications (1)

Publication Number Publication Date
JP2008270955A true JP2008270955A (en) 2008-11-06

Family

ID=40049918

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007108188A Pending JP2008270955A (en) 2007-04-17 2007-04-17 Image forming apparatus

Country Status (1)

Country Link
JP (1) JP2008270955A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013232748A (en) * 2012-04-27 2013-11-14 Brother Ind Ltd Image reading apparatus and image reading method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013232748A (en) * 2012-04-27 2013-11-14 Brother Ind Ltd Image reading apparatus and image reading method

Similar Documents

Publication Publication Date Title
JP6119425B2 (en) Image forming apparatus and alignment method
JP4530020B2 (en) Image forming apparatus
JP6671927B2 (en) Image reading apparatus and image reading method
US9164414B2 (en) Optical writing control device, image forming apparatus, and method of controlling optical writing device
US10200565B2 (en) Image forming system and reading device
US9223279B2 (en) Image forming apparatus, image forming method and non-transitory computer-readable storage medium
JP2007008008A (en) Image forming apparatus and program
JP6179551B2 (en) Image inspection apparatus and image forming apparatus
CN104754169A (en) Image forming apparatus and print position adjustment method
JP5683099B2 (en) Image reading apparatus, image reading apparatus control method, and program
US20150185674A1 (en) Image forming apparatus and print position adjustment method
JP4994271B2 (en) Image forming apparatus
JP2008270955A (en) Image forming apparatus
JP2007030192A (en) Image forming apparatus and program
JP2006345367A (en) Image measuring device and image measuring method
JP2018065660A (en) Image forming apparatus
CN110007573B (en) Image forming apparatus and position correction method
CN104243737B (en) Multifunctional equipment and reading device
JP4172474B2 (en) Image reading apparatus and program
JP2019004314A (en) Image reading apparatus
JP2014117849A (en) Write control device, image formation device, and program
JP7433865B2 (en) Image reading device and image forming device
JP2007296782A (en) Image forming apparatus
JP6572579B2 (en) Image processing apparatus, image forming apparatus, image forming system, and image processing method
JP6459997B2 (en) Image processing apparatus, image reading apparatus, and foreign object image area detection method