JPH04266345A - Size detector for paper sheet to be carried - Google Patents

Size detector for paper sheet to be carried

Info

Publication number
JPH04266345A
JPH04266345A JP2821691A JP2821691A JPH04266345A JP H04266345 A JPH04266345 A JP H04266345A JP 2821691 A JP2821691 A JP 2821691A JP 2821691 A JP2821691 A JP 2821691A JP H04266345 A JPH04266345 A JP H04266345A
Authority
JP
Japan
Prior art keywords
paper
microprocessor
counter
feed
mode
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
JP2821691A
Other languages
Japanese (ja)
Inventor
Atsushi Akiyama
厚 秋山
Atsuhiko Yamaguchi
敦彦 山口
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.)
Toshiba TEC Corp
Original Assignee
Tokyo Electric Co Ltd
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 Tokyo Electric Co Ltd filed Critical Tokyo Electric Co Ltd
Priority to JP2821691A priority Critical patent/JPH04266345A/en
Publication of JPH04266345A publication Critical patent/JPH04266345A/en
Pending legal-status Critical Current

Links

Landscapes

  • Handling Of Sheets (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Laser Beam Printer (AREA)
  • Controlling Sheets Or Webs (AREA)

Abstract

PURPOSE:To reduce the burden on a software of a microprocessor when the size of a paper sheet to be carried is judged by the microprocessor. CONSTITUTION:A stepping clock SCK1 from an inter-motor driving circuit 35 on which a paper sheet passes a feed sensor, is counted by a step counter 40. The carrier condition of the paper sheet is counted by a mode counter 43 as a mode value corresponding to the signal from the feed sensor. When the paper sheet completely passes through the feed sensor, the complete passing is judged by a complete passing judging circuit 34, and a microprocessor is interrupted. The microprocessor reads the value of the step counter, and the size of the paper sheet is thus judged.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、例えばレーザプリンタ
や複写機等において搬送用紙のサイズを検出するサイズ
検出装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a size detection device for detecting the size of conveyed paper in, for example, a laser printer or a copying machine.

【0002】0002

【従来の技術】例えばレーザプリンタは感光体ドラムの
感光体を帯電部で帯電した後その感光体にレーザビーム
により情報を靜電潜像として記録し、その靜電潜像に現
像部でトナーを付着させるようになっている。一方、給
紙カセットを設けた給紙部から用紙を送出しその用紙を
搬送路を介して感光体ドラムからのトナー像を転写させ
る転写部へ搬送させ、用紙が転写部に到達するタイミン
グで感光体ドラムからトナー像が用紙に転写されるよう
になっている。そして転写終了後の用紙は定着器で定着
された後排出されるようになっている。
[Prior Art] For example, in a laser printer, a photoreceptor of a photoreceptor drum is charged in a charging section, information is recorded on the photoreceptor as a electrostatic latent image using a laser beam, and toner is attached to the electrostatic latent image in a developing section. It looks like this. On the other hand, the paper is sent out from a paper feed section equipped with a paper feed cassette, the paper is conveyed via a conveyance path to a transfer section where the toner image from the photoreceptor drum is transferred, and when the paper reaches the transfer section, it is exposed to light. The toner image is transferred from the body drum to the paper. After the transfer is completed, the paper is fixed in a fixing device and then discharged.

【0003】このようなレーザプリンタでは搬送される
用紙のサイズを検出してオペレータに知らせるようにな
っている。このため従来は搬送路の途中にフィードセン
サを設け、給紙部から送出された用紙がフィードセンサ
を通過する時間を制御部本体を構成するマイクロプロセ
ッサにタイマを設けて管理し、その通過時間と搬送速度
との関係から用紙サイズを判断するようになっていた。
[0003] In such a laser printer, the size of the paper being conveyed is detected and the operator is notified of the size. For this reason, in the past, a feed sensor was installed in the middle of the conveyance path, and a timer was installed in the microprocessor that constitutes the main body of the control unit to manage the time it took for the paper fed from the paper feeder to pass through the feed sensor. The paper size was determined based on the relationship with the transport speed.

【0004】0004

【発明が解決しようとする課題】しかしこのように用紙
のサイズ判断をマイクロプロセッサがタイマで時間をカ
ウントして管理したのではマイクロプロセッサのソフト
ウエア上の負担が大きくなる問題があった。
However, when paper size judgment is managed by a microprocessor by counting the time using a timer, there is a problem in that the burden on the microprocessor's software increases.

【0005】そこで本発明は、マイクロプロセッサで搬
送用紙のサイズを判断するものにおいて、マイクロプロ
セッサのソフトウエア上の負担を軽減でき、従ってマイ
クロプロセッサとして性能の低いものを使用することも
可能な搬送用紙のサイズ検出装置を提供しようとするも
のである。
[0005] Therefore, the present invention aims to reduce the burden on the software of the microprocessor in a device in which the size of the paper to be transported is determined by a microprocessor, and therefore allows the use of a microprocessor with low performance. The purpose of this invention is to provide a size detection device.

【0006】[0006]

【課題を解決するための手段】本発明は、搬送路の用紙
を搬送制御するフィードモータと、搬送路の所定位置を
通過する用紙を検知するフィードセンサと、クロックパ
ルスを発生するクロックパルス発生手段と、フィードモ
ータのオン信号によりクリア状態が解除され、フィード
センサからの用紙検出信号に応動してクロックパルス発
生手段からのクロックパルスをカウントし、フィードセ
ンサからの用紙非検出信号に応動してクロックパルスの
カウントを停止するクロックカウンタと、フィードセン
サからの用紙検出信号及び用紙非検出信号に応動して搬
送状態モードをカウントするモードカウンタと、このモ
ードカウンタが用紙非検出信号に応動して搬送状態モー
ドをカウントしたときの値と用紙非検出信号に応動して
用紙のフィードセンサ通過完了を判断し割込み信号を出
力する通過完了判断回路と、この通過完了判断回路から
の割込み信号に応動してクロックカウンタのカウント値
により搬送された用紙のサイズを判断するマイクロプロ
セッサを設けたものである。
[Means for Solving the Problems] The present invention includes a feed motor that controls the conveyance of paper on a conveyance path, a feed sensor that detects the paper passing a predetermined position on the conveyance path, and a clock pulse generation means that generates clock pulses. Then, the clear state is canceled by the ON signal of the feed motor, the clock pulses from the clock pulse generation means are counted in response to the paper detection signal from the feed sensor, and the clock pulses are counted in response to the paper non-detection signal from the feed sensor. A clock counter that stops counting pulses, a mode counter that counts the transport state mode in response to the paper detection signal and paper non-detection signal from the feed sensor, and a mode counter that counts the transport state mode in response to the paper non-detection signal. A passing completion judgment circuit that judges whether the paper has passed the feed sensor in response to the value when counting the mode and the paper non-detection signal and outputs an interrupt signal, and a clock in response to the interrupt signal from the passing completion judgment circuit. It is equipped with a microprocessor that determines the size of the transported paper based on the count value of the counter.

【0007】[0007]

【作用】本発明においては、搬送路を搬送する用紙がフ
ィードセンサで検出されるとクロックカウンタがクロッ
クパルスをカウント開始し、用紙がフィードセンサを通
過するとクロックカウンタはクロックパルスのカウント
を停止する。またフィードセンサからの用紙検出信号及
び用紙非検出信号に応動してモードカウンタが搬送状態
モードをカウントする。そしてモードカウンタが用紙非
検出信号に応動して搬送状態モードをカウントしたとき
の値と用紙非検出信号に応動して通過完了判断回路が用
紙のフィードセンサ通過完了を判断し割込み信号を出力
する。この割込み信号によりマイクロプロセッサはクロ
ックカウンタのカウント値を読込み用紙サイズを判断す
る。
In the present invention, when the feed sensor detects a sheet of paper being conveyed along the conveyance path, the clock counter starts counting clock pulses, and when the sheet passes the feed sensor, the clock counter stops counting the clock pulses. Further, a mode counter counts the transport state mode in response to a paper detection signal and a paper non-detection signal from the feed sensor. Then, in response to the paper non-detection signal, the mode counter counts the transport state mode in response to the paper non-detection signal, and in response to the paper non-detection signal, the passage completion determination circuit determines that the paper has passed the feed sensor and outputs an interrupt signal. This interrupt signal causes the microprocessor to read the count value of the clock counter and determine the paper size.

【0008】[0008]

【実施例】以下、本発明の実施例を図面を参照して説明
する。なお、本実施例は本発明をレーザプリンタに適用
したものについて述べる。
Embodiments Hereinafter, embodiments of the present invention will be described with reference to the drawings. In this embodiment, the present invention will be described as applied to a laser printer.

【0009】第1図に示すように筐体11内の略中央部
には表面が光導電性物質からなる感光体ドラム12が配
置されている。この感光体ドラム12はステッピングモ
ータで構成されるフィードモータ13により一方向、す
なわち図中時計方向に回転駆動されるものであり、その
感光体ドラム12の周囲には電子写真プロセスに従い、
感光体ドラム12の感光体を帯電させる帯電部14、こ
の帯電部14で帯電された感光体に対してレーザビーム
を照射して情報を露光記録して靜電潜像を形成するレー
ザスキャナユニット15、感光体に形成された靜電潜像
に現像剤であるトナーを付着させる現像部16、給紙さ
れる用紙へ感光体ドラム12からトナー像を転写させる
転写部17、転写済みの感光体ドラム12から残留トナ
ーを落とすクリーニング装置18、転写済みの感光体ド
ラム12を除電する除電部19が順に配置されている。
As shown in FIG. 1, a photosensitive drum 12 whose surface is made of a photoconductive material is disposed approximately at the center of the housing 11. As shown in FIG. This photoreceptor drum 12 is rotated in one direction, that is, clockwise in the figure, by a feed motor 13 composed of a stepping motor.
a charging unit 14 that charges the photoconductor of the photoconductor drum 12; a laser scanner unit 15 that irradiates the photoconductor charged by the charging unit 14 with a laser beam to record information by exposure to form a static latent image; A developing section 16 that attaches toner as a developer to the electrostatic latent image formed on the photoconductor, a transfer section 17 that transfers the toner image from the photoconductor drum 12 to the fed paper, and a transfer section 17 that transfers the toner image from the photoconductor drum 12 to which the photoconductor drum 12 has already been transferred. A cleaning device 18 that removes residual toner and a static eliminator 19 that neutralizes the transferred photosensitive drum 12 are arranged in this order.

【0010】前記筐体11の一方の側には給紙部20が
設けられ、この給紙部20に、内部に収納された用紙2
1の上面に接離自在な給紙ローラ22及びこの給紙ロー
ラ22を接離動作させる給紙ソレノイド23を設けてい
る。
A paper feed section 20 is provided on one side of the casing 11, and the paper 2 stored inside is fed to the paper feed section 20.
A paper feed roller 22 that can move toward and away from the paper feed roller 22 and a paper feed solenoid 23 that moves the paper feed roller 22 toward and away from each other are provided on the upper surface of the paper feed roller 1 .

【0011】前記給紙ソレノイド23により回転状態に
ある給紙ローラ22が用紙21に所定時間接触すること
により用紙21が給紙部20から所定のタイミングで1
枚ずつ送り出され、かつ送り出された用紙21が搬送ロ
ーラ(図示せず)を設けた搬送路24を介して前記転写
部17の位置に搬送されるようになっている。前記搬送
路24の途中にはフィードセンサ25が設けられている
The paper feed roller 22 rotated by the paper feed solenoid 23 contacts the paper 21 for a predetermined time, so that the paper 21 is removed from the paper feed section 20 at a predetermined timing.
The paper 21 is fed out sheet by sheet, and the fed paper 21 is conveyed to the transfer section 17 via a conveyance path 24 provided with conveyance rollers (not shown). A feed sensor 25 is provided in the middle of the conveyance path 24.

【0012】前記転写部17において感光体ドラム12
からトナー像が転写された用紙21は熱定着部26に供
給され、その熱定着部26で熱定着された後排出ローラ
27により前記筐体11の他方の側に設けられた用紙排
出口28から筐体外に排出されるようになっている。
In the transfer section 17, the photosensitive drum 12
The paper 21 on which the toner image has been transferred is supplied to a heat fixing section 26, and after being heat-fixed in the heat fixing section 26, the paper 21 is discharged from a paper discharge port 28 provided on the other side of the housing 11 by a discharge roller 27. It is designed to be discharged outside the casing.

【0013】第2図は回路構成を示すブロック図で、3
1は制御部本体を構成するマイクロプロセッサ、32は
入出力ポートで、これらはバスライン33によって接続
されている。
FIG. 2 is a block diagram showing the circuit configuration.
Reference numeral 1 denotes a microprocessor constituting the main body of the control unit, 32 an input/output port, and these are connected by a bus line 33.

【0014】前記入出力ポート32には、前記給紙ソレ
ノイド23を駆動する給紙ソレノイド駆動回路34、前
記フィードモータ13を駆動するモータ駆動回路35、
前記レーザスキャナユニット15、前記帯電部14、転
写部17に高圧を供給する高圧電源36、前記熱定着部
26の定着用ヒータ37、スタートキーや印刷枚数設定
用キ−等を設けた操作部38、モードカウンタ回路39
、クロックカウンタとしてのステップカウンタ40、前
記フィードセンサ25を含む各種センサ41を制御する
センサ回路42がそれぞれ接続されている。また前記マ
イクロプロセッサ31の割込み端子には通過完了判断回
路43の出力端子が接続されている。
The input/output port 32 includes a paper feed solenoid drive circuit 34 that drives the paper feed solenoid 23, a motor drive circuit 35 that drives the feed motor 13,
A high-voltage power supply 36 that supplies high voltage to the laser scanner unit 15, the charging section 14, and the transfer section 17, a fixing heater 37 of the thermal fixing section 26, and an operation section 38 provided with a start key, a key for setting the number of prints, etc. , mode counter circuit 39
, a step counter 40 as a clock counter, and a sensor circuit 42 for controlling various sensors 41 including the feed sensor 25 are connected to the sensor circuit 42 . Further, an output terminal of a passage completion determination circuit 43 is connected to an interrupt terminal of the microprocessor 31.

【0015】第3図は要部構成を示すもので、前記モー
ドカウンタ回路39はモードカウンタ43、ワンショッ
トタイマ44及び立上り立下り検出回路45からなり、
前記センサ回路42から出力される前記フィードセンサ
25が用紙21の通過中を検出しているか否かを知らせ
る信号FSO を前記立上り立下り検出回路45に供給
するとともに前記ステップカウンタ40のイネーブル端
子ENにも供給している。この信号FSO は前記フィ
ードセンサ25が用紙21を検出しないときにはハイレ
ベル(用紙非検出信号)で、前記フィードセンサ25が
用紙21を検出するとローレベル(用紙検出信号)に反
転するようになっている。
FIG. 3 shows the main part configuration, and the mode counter circuit 39 consists of a mode counter 43, a one-shot timer 44, and a rising/falling detection circuit 45.
A signal FSO outputted from the sensor circuit 42 and indicating whether or not the feed sensor 25 detects whether the paper 21 is passing is supplied to the rise/fall detection circuit 45 and also to the enable terminal EN of the step counter 40. We also supply This signal FSO is at a high level (paper non-detection signal) when the feed sensor 25 does not detect the paper 21, and is inverted to a low level (paper detection signal) when the feed sensor 25 detects the paper 21. .

【0016】前記I/Oポート32から前記モータ駆動
回路35のイネーブル端子EN1 にフィードモータ用
オン/オフ信号ST1/STOPを供給するとともにそ
のフィードモータ用オン/オフ信号ST1/STOPを
さらに前記モードカウンタ43及びステップカウンタ4
0のクリア端子(ロー・アクティブ)CLにも供給して
いる。
A feed motor on/off signal ST1/STOP is supplied from the I/O port 32 to the enable terminal EN1 of the motor drive circuit 35, and the feed motor on/off signal ST1/STOP is further applied to the mode counter. 43 and step counter 4
It is also supplied to the 0 clear terminal (low active) CL.

【0017】前記モータ駆動回路35はクロックパルス
発生手段も兼ねるもので前記フィードモータ13の相切
替え用に使用されるステッピングクロックSCK1をク
ロックパルスとして前記ステップカウンタ40のクロッ
ク入力端子CKに供給している。
The motor drive circuit 35 also serves as a clock pulse generating means, and supplies the stepping clock SCK1 used for phase switching of the feed motor 13 as a clock pulse to the clock input terminal CK of the step counter 40. .

【0018】前記モードカウンタ回路43は前記センサ
回路42からの信号FSO の立上り及び立下りを立上
り・立下り検出回路45で検出しその検出信号を前記ワ
ンショットタイマ44に供給する。このワンショットタ
イマ回路44は検出信号を十分な幅のパルス信号MCK
1に変換して前記モードカウンタ43に供給する。この
モードカウンタ43はパルス信号MCK1の入力数をカ
ウントし、そのカウント値を搬送状態モード値MDとし
て前記I/Oポート32に供給している。
The mode counter circuit 43 detects the rise and fall of the signal FSO from the sensor circuit 42 using a rise/fall detection circuit 45 and supplies the detection signal to the one-shot timer 44 . This one-shot timer circuit 44 converts the detection signal into a pulse signal MCK of sufficient width.
It is converted to 1 and supplied to the mode counter 43. This mode counter 43 counts the number of input pulse signals MCK1, and supplies the counted value to the I/O port 32 as a transport state mode value MD.

【0019】また前記ワンショットタイマ回路44から
のパルス信号MCK1及び前記モードカウンタ43から
の搬送状態モード値MDを前記通過完了判断回路43に
供給している。前記通過完了判断回路43はパルス信号
MCK1が入力され、そのときの搬送状態モード値MD
が「2」のとき用紙の通過完了を判断し割込み信号IN
を前記マイクロプロセッサ31に供給するようになって
いる。
Further, the pulse signal MCK1 from the one-shot timer circuit 44 and the transport state mode value MD from the mode counter 43 are supplied to the passage completion judgment circuit 43. The passage completion judgment circuit 43 receives the pulse signal MCK1 and determines the conveyance state mode value MD at that time.
When is "2", it is determined that the paper has passed and the interrupt signal IN is sent.
is supplied to the microprocessor 31.

【0020】前記マイクロプロセッサ31は前記通過完
了判断回路43から割込み信号INが入力されると割込
み処理によって前記ステップカウンタ40のカウント値
をステップ値SDとして取込み用紙サイズの判断処理を
行うようになっている。
When the microprocessor 31 receives an interrupt signal IN from the pass completion determination circuit 43, it uses the count value of the step counter 40 as a step value SD to determine the paper size to be taken in by interrupt processing. There is.

【0021】このような構成の本実施例においては、印
刷を開始する前の状態はI/Oポート32からのフィー
ドモータ用オン/オフ信号ST1/STOPはオフでロ
ーレベルとなっているのでモードカウンタ43及びステ
ップカウンタ40はクリア状態にある。従ってモードカ
ウンタ42のカウント値は「0」、すなわちI/Oポー
ト32に供給されるモード値MDは「0」となっている
In this embodiment having such a configuration, the feed motor on/off signal ST1/STOP from the I/O port 32 is off and at a low level before printing starts, so the mode is Counter 43 and step counter 40 are in a clear state. Therefore, the count value of the mode counter 42 is "0", that is, the mode value MD supplied to the I/O port 32 is "0".

【0022】この状態で印刷を開始するためにスタート
キーが操作されるとマイクロプロセッサ31はI/Oポ
ート32を介してフィードモータ用オン/オフ信号ST
1/STOPをハイレベルなオン信号にする。これによ
りモードカウンタ43及びステップカウンタ40のクリ
ア状態が解除されるとともに、モータ駆動回路35がフ
ィードモータ13を回転駆動するようになる。こうして
感光体ドラム12や搬送ローラ、給紙ローラ22等が回
転するようになる。またレーザスキャナユニット15の
ポリゴンモータも起動される。
When the start key is operated in this state to start printing, the microprocessor 31 outputs the feed motor on/off signal ST via the I/O port 32.
Turn 1/STOP into a high-level on signal. As a result, the clear state of the mode counter 43 and the step counter 40 is released, and the motor drive circuit 35 starts rotating the feed motor 13. In this way, the photosensitive drum 12, the conveyance roller, the paper feed roller 22, etc. begin to rotate. The polygon motor of the laser scanner unit 15 is also started.

【0023】続いてマイクロプロセッサ31はI/Oポ
ート32を介して給紙ソレノイド駆動回路34を制御し
給紙ソレノイド23を一定時間動作させる。これにより
給紙ローラ22が一定時間吸引されて用紙21の上面に
接触される。こうして給紙部20から用紙21が1枚搬
送路24に送出される。
Next, the microprocessor 31 controls the paper feed solenoid drive circuit 34 via the I/O port 32 to operate the paper feed solenoid 23 for a certain period of time. As a result, the paper feed roller 22 is attracted for a certain period of time and comes into contact with the upper surface of the paper 21. In this way, one sheet of paper 21 is sent from the paper feed section 20 to the conveyance path 24.

【0024】搬送路24を通過中の用紙21がフィード
センサ25により検知されると、センサ回路42からの
信号FSO がハイレベルからローレベルに立下がる。 この信号FSO の立下りが立上り・立下り検出回路4
5で検出される。そして立上り・立下り検出回路45か
ら検出信号がワンショットタイマ44に供給されそのワ
ンショットタイマ44で十分な幅のパルス信号MCK1
に変換されモードカウンタ43及び通過完了判断回路3
4に供給される。これによりモードカウンタ43は1つ
カウントアップしモード値「1」を出力する。またこの
とき通過完了判断回路34に入力されるモードカウンタ
43からのモード値は「1」なので通過完了判断は行わ
ない。
When the paper 21 passing through the transport path 24 is detected by the feed sensor 25, the signal FSO from the sensor circuit 42 falls from a high level to a low level. The falling edge of this signal FSO is detected by the rising/falling detection circuit 4.
Detected at 5. Then, a detection signal is supplied from the rising/falling detection circuit 45 to the one-shot timer 44, and the one-shot timer 44 generates a pulse signal MCK1 with a sufficient width.
mode counter 43 and passage completion judgment circuit 3
4. As a result, the mode counter 43 counts up by one and outputs the mode value "1". Further, at this time, since the mode value from the mode counter 43 inputted to the passage completion determination circuit 34 is "1", no passage completion determination is made.

【0025】また信号FSO がハイレベルからローレ
ベルに立下がるとステップカウンタ40がイネーブルと
なりモータ駆動回路35から出力されるステッピングク
ロックSCK1をカウントするようになる。
Further, when the signal FSO falls from the high level to the low level, the step counter 40 is enabled and starts counting the stepping clock SCK1 output from the motor drive circuit 35.

【0026】その後用紙21がフィードセンサ25を通
過するとセンサ回路42からの信号FSO がローレベ
ルからハイレベルに立上る。この信号FSO の立上り
が立上り・立下り検出回路45で検出される。そして立
上り・立下り検出回路45から検出信号がワンショット
タイマ44に供給されそのワンショットタイマ44で十
分な幅のパルス信号MCK1に変換されモードカウンタ
43及び通過完了判断回路34に供給される。これによ
りモードカウンタ43は1つカウントアップしモード値
「2」を出力する。また通過完了判断回路34に入力さ
れるモードカウンタ43からのモード値は「2」となる
ので、通過完了判断回路34は通過完了判断を行って割
込み信号INを出力する。
After that, when the paper 21 passes the feed sensor 25, the signal FSO from the sensor circuit 42 rises from a low level to a high level. The rise of this signal FSO is detected by the rise/fall detection circuit 45. Then, the detection signal from the rising/falling detection circuit 45 is supplied to the one-shot timer 44, which converts it into a pulse signal MCK1 of sufficient width, and supplies it to the mode counter 43 and the passage completion determination circuit 34. As a result, the mode counter 43 counts up by one and outputs the mode value "2". Further, since the mode value from the mode counter 43 inputted to the passage completion determination circuit 34 is "2", the passage completion determination circuit 34 makes a passage completion determination and outputs the interrupt signal IN.

【0027】また信号FSO がローレベルからハイレ
ベルに立上るとステップカウンタ40のイネーブル状態
が解除されステップカウンタ40はステッピングクロッ
クSCK1のカウント動作を停止する。こうしてステッ
プカウンタ40のステップ値SDが固定される。
Further, when the signal FSO rises from the low level to the high level, the enable state of the step counter 40 is released, and the step counter 40 stops counting the stepping clock SCK1. In this way, the step value SD of the step counter 40 is fixed.

【0028】通過完了判断回路34から割込み信号IN
が入力されるとマイクロプロセッサ31は割込み処理に
よりステップカウンタ40のステップ値SDを読込む。 そしてそのステップ値SDを予め設定された用紙サイズ
に対応した数値範囲と比較して搬送用紙がどのサイズか
を判断する。
Interrupt signal IN from passage completion judgment circuit 34
When input, the microprocessor 31 reads the step value SD of the step counter 40 by interrupt processing. Then, the step value SD is compared with a numerical range corresponding to a preset paper size to determine which size the paper to be transported is.

【0029】またフィードセンサ25を通過した用紙2
1はその後転写部17で転写され熱定着部26で熱定着
された後排出ローラ27により用紙排出口28から筐体
外に排出される。
Also, the paper 2 that has passed through the feed sensor 25
1 is then transferred by the transfer unit 17 and thermally fixed by the heat fixing unit 26, and then discharged from the housing from the paper discharge port 28 by the discharge roller 27.

【0030】そしてマイクロプロセッサ31は用紙21
が用紙排出口28から排出されるに十分なタイミングで
I/Oポート32からのフィードモータ用オン/オフ信
号ST1/STOPをオフ、すなわちローレベルにする
。これによりフィードモータ13の動作が停止されると
ともにモードカウンタ43及びステップカウンタ40が
クリアされ、モードカウンタ43のモード値が「0」と
なる。以上の動作をタイミングチャートで示せば第4図
に示すようになる。
The microprocessor 31 then processes the paper 21
The feed motor on/off signal ST1/STOP from the I/O port 32 is turned off, that is, set to a low level, at a timing sufficient for the paper to be discharged from the paper discharge port 28. As a result, the operation of the feed motor 13 is stopped, the mode counter 43 and the step counter 40 are cleared, and the mode value of the mode counter 43 becomes "0". The above operation is shown in a timing chart as shown in FIG.

【0031】すなわちマイクロプロセッサ31は第5図
に示すように、モード値MDが「0」であれば続いて給
紙開始する状態か否かを判断し、給紙開始する状態であ
れば動作状態(A) 、すなわち給紙ローラ22や搬送
ローラ、さらにはレーザスキャナユニット15内のポリ
ゴンモータが起動を開始し給紙が行われる状態であるこ
とを判断する。また給紙開始する状態でなければ動作状
態(D) 、すなわち用紙搬送が全く行われていない状
態を判断する。
That is, as shown in FIG. 5, if the mode value MD is "0", the microprocessor 31 determines whether or not it is in a state to start feeding paper, and if it is in a state to start feeding paper, it is in the operating state. (A) That is, it is determined that the paper feed roller 22, the conveyance roller, and even the polygon motor in the laser scanner unit 15 have started to start and are ready to feed paper. Further, if the state is not such that paper feeding is to be started, the operating state (D), that is, the state in which paper transport is not performed at all, is determined.

【0032】またモード値MDが「1」であれば動作状
態(B) 、すなわちフィードセンサ25により用紙2
1の通過中が検出され用紙の搬送制御が続行している状
態を判断する。
Further, if the mode value MD is "1", the operating state (B) is reached, that is, the feed sensor 25 detects the paper 2.
1 is detected, and it is determined whether the paper conveyance control is continuing.

【0033】またモード値MDが「1」でなければ割込
み信号INの入力があればモード値MDが「2」である
と判断し動作状態(C) 、すなわちフィードセンサ2
5を用紙21が通過し、ステップカウンタ40のステッ
プ値SDを読込む状態になったことを判断する。
Further, if the mode value MD is not "1", if the interrupt signal IN is input, it is determined that the mode value MD is "2", and the operating state (C), that is, the feed sensor 2 is determined.
It is determined that the paper 21 has passed through the step counter 40 and the step value SD of the step counter 40 is now read.

【0034】そしてステップ値SDを読込むと予め設定
された数値範囲によりそのステップ値が用紙1の範囲か
、用紙2の範囲か、…用紙nの範囲かをチェックする。 そして該当する範囲があればその範囲に対応する用紙サ
イズを判断する。またどの範囲にも入らなければ用紙サ
イズの検出不良としてエラーにする。
When the step value SD is read, it is checked whether the step value is in the range of paper 1, paper 2, . . . paper n, based on a preset numerical range. If there is a corresponding range, the paper size corresponding to that range is determined. Further, if the size does not fall within any range, an error is generated as a paper size detection failure.

【0035】このようにマイクロプロセッサ31として
は割込み信号INが入力されたときにステップカウンタ
40からのステップ値SDを読込んで用紙21のサイズ
を判断するので、従来のようにフィードーセンサ25が
用紙21の搬送を検出している間ソフトウエアで内部タ
イマを動作させて時間を管理する必要はない。従ってマ
イクロプロセッサ31のソフトウエア上の負担を軽減で
きる。
In this way, the microprocessor 31 reads the step value SD from the step counter 40 to determine the size of the paper 21 when the interrupt signal IN is input, so that the feed sensor 25 detects the size of the paper 21 as in the conventional case. There is no need to operate an internal timer using software to manage time while detecting the conveyance of 21. Therefore, the software burden on the microprocessor 31 can be reduced.

【0036】従って高速印刷のために用紙の搬送速度が
アップしてもマイクロプロセッサ31は充分に対処する
ことができ、またマイクロプロセッサを8bit タイ
プから4bitタイプに切替えても充分に制御ができる
。すなわちマイクロプロセッサとして性能の低いものを
使用することも可能となる。またマイクロプロセッサ3
1はモード値MDを読込むことによって現在用紙21が
どのような搬送状態にあるかを容易に知ることもできる
。なお、前記実施例は本発明をレーザプリンタに適用し
たものについて述べたが必ずしもこれに限定されるもの
でないのは勿論である。
Therefore, the microprocessor 31 can sufficiently cope with the increase in paper conveyance speed for high-speed printing, and can perform sufficient control even when the microprocessor is switched from an 8-bit type to a 4-bit type. In other words, it is also possible to use a microprocessor with low performance. Also microprocessor 3
1 can also easily know what state of conveyance the paper 21 is currently in by reading the mode value MD. In the above embodiments, the present invention was applied to a laser printer, but it is needless to say that the present invention is not limited thereto.

【0037】[0037]

【発明の効果】以上詳述したように本発明によれば、マ
イクロプロセッサで搬送用紙のサイズを判断するものに
おいて、マイクロプロセッサのソフトウエア上の負担を
軽減でき、従ってマイクロプロセッサとして性能の低い
ものを使用することも可能な搬送用紙のサイズ検出装置
を提供できるものである。
Effects of the Invention As detailed above, according to the present invention, in a system in which a microprocessor determines the size of conveyed paper, the burden on the software of the microprocessor can be reduced, and therefore the software load on the microprocessor can be reduced. It is possible to provide a size detection device for conveyed paper that can also be used.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】本発明の一実施例におけるレーザプリンタの概
略構成図。
FIG. 1 is a schematic configuration diagram of a laser printer in an embodiment of the present invention.

【図2】同実施例における全体のブロック図。FIG. 2 is an overall block diagram of the same embodiment.

【図3】同実施例における要部ブロック図。FIG. 3 is a block diagram of main parts in the same embodiment.

【図4】図3における各部の動作タイミングを示すタイ
ミング図。
FIG. 4 is a timing diagram showing the operation timing of each part in FIG. 3;

【図5】同実施例におけるマイクロプロセッサによる用
紙搬送時の状態判断処理を示す流れ図。
FIG. 5 is a flowchart showing a process of determining the state of paper conveyance by the microprocessor in the same embodiment.

【符号の説明】[Explanation of symbols]

13…フィードモータ、21…用紙、25…フィードセ
ンサ、31…マイクロプロセッサ、35…モータ駆動回
路、40…ステップカウンタ、43…モードカウンタ。
DESCRIPTION OF SYMBOLS 13... Feed motor, 21... Paper, 25... Feed sensor, 31... Microprocessor, 35... Motor drive circuit, 40... Step counter, 43... Mode counter.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  搬送路の用紙を搬送制御するフィード
モータと、前記搬送路の所定位置を通過する用紙を検知
するフィードセンサと、クロックパルスを発生するクロ
ックパルス発生手段と、前記フィードモータのオン信号
によりクリア状態が解除され、前記フィードセンサから
の用紙検出信号に応動して前記クロックパルス発生手段
からのクロックパルスをカウントし、前記フィードセン
サからの用紙非検出信号に応動してクロックパルスのカ
ウントを停止するクロックカウンタと、前記フィードセ
ンサからの用紙検出信号及び用紙非検出信号に応動して
搬送状態モードをカウントするモードカウンタと、この
モードカウンタが用紙非検出信号に応動して搬送状態モ
ードをカウントしたときの値と前記用紙非検出信号に応
動して用紙の前記フィードセンサ通過完了を判断し割込
み信号を出力する通過完了判断回路と、この通過完了判
断回路からの割込み信号に応動して前記クロックカウン
タのカウント値により搬送された用紙のサイズを判断す
るマイクロプロセッサを設けたことを特徴とする搬送用
紙のサイズ検出装置。
1. A feed motor that controls the conveyance of paper on a conveyance path, a feed sensor that detects the paper passing a predetermined position on the conveyance path, a clock pulse generation means that generates a clock pulse, and a feed motor that controls the conveyance of the paper on the conveyance path. The clear state is canceled by the signal, the clock pulses from the clock pulse generating means are counted in response to the paper detection signal from the feed sensor, and the clock pulses are counted in response to the paper non-detection signal from the feed sensor. a mode counter that counts the transport state mode in response to the paper detection signal and paper non-detection signal from the feed sensor; and a mode counter that counts the transport state mode in response to the paper non-detection signal. a passage completion determination circuit that determines whether the paper has passed the feed sensor in response to the counted value and the paper non-detection signal and outputs an interrupt signal; What is claimed is: 1. A size detection device for conveyed paper, comprising a microprocessor that determines the size of the conveyed paper based on the count value of a clock counter.
JP2821691A 1991-02-22 1991-02-22 Size detector for paper sheet to be carried Pending JPH04266345A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2821691A JPH04266345A (en) 1991-02-22 1991-02-22 Size detector for paper sheet to be carried

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2821691A JPH04266345A (en) 1991-02-22 1991-02-22 Size detector for paper sheet to be carried

Publications (1)

Publication Number Publication Date
JPH04266345A true JPH04266345A (en) 1992-09-22

Family

ID=12242440

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2821691A Pending JPH04266345A (en) 1991-02-22 1991-02-22 Size detector for paper sheet to be carried

Country Status (1)

Country Link
JP (1) JPH04266345A (en)

Similar Documents

Publication Publication Date Title
JP3294315B2 (en) Image forming device
US5124759A (en) Control method for detecting a paper jam using a toner density sensor
US4477179A (en) Image forming apparatus with adjustable light source
KR940010600B1 (en) Paper size determination device
JP2619974B2 (en) Conveyance paper size detection device
JP2524652B2 (en) Paper size detector for laser printer
US4669862A (en) Program controlled image forming apparatus
JPH04266345A (en) Size detector for paper sheet to be carried
JP2524651B2 (en) Paper feeder
US5499081A (en) High speed image forming apparatus
JP3256043B2 (en) Image forming device
JP2753380B2 (en) Electrophotographic equipment
JPH08202211A (en) Image forming device
JPH09197919A (en) Color image recording device and accessory unit therefor
JP3718376B2 (en) Image forming apparatus
JPS6334098B2 (en)
JPH08174902A (en) Image-recording apparatus
JPH07306625A (en) Image forming device
JP2002236435A (en) Image forming device and abnormality detecting system
KR950004446B1 (en) Method for preventing reverse charging in an electrophotographic printer
KR900009115B1 (en) A sensitive drum protecting circuit of the copying machine
JP3033075B2 (en) Toner density control device
KR960014062B1 (en) Auto-recovering method of printer sheet
JPH04320282A (en) Form carrying device for laser printer
JP2788457B2 (en) Image density control device in copying machines, etc.