JPS6390221A - Binarizing circuit for image sensor output - Google Patents

Binarizing circuit for image sensor output

Info

Publication number
JPS6390221A
JPS6390221A JP61235664A JP23566486A JPS6390221A JP S6390221 A JPS6390221 A JP S6390221A JP 61235664 A JP61235664 A JP 61235664A JP 23566486 A JP23566486 A JP 23566486A JP S6390221 A JPS6390221 A JP S6390221A
Authority
JP
Japan
Prior art keywords
output
circuit
signal
binary signal
section
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.)
Granted
Application number
JP61235664A
Other languages
Japanese (ja)
Other versions
JP2540818B2 (en
Inventor
Akio Tsuji
明男 辻
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP61235664A priority Critical patent/JP2540818B2/en
Publication of JPS6390221A publication Critical patent/JPS6390221A/en
Application granted granted Critical
Publication of JP2540818B2 publication Critical patent/JP2540818B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To always obtain an accurate binary signal by selecting a binary signal in a floating system or a binary signal based on a single threshold voltage in accordance with the output difference between adjacent CCD outputs of intermittently given CCD outputs. CONSTITUTION:In case of an original which is painted out in white or black and whose read output is changed in DC, the binary output is fixed to a high or low level and the accurate binary signal cannot be obtained because the output of a CCD and the output obtained by integrating it are always equal to each other. The difference between adjacent CCD outputs of intermittently given CCD outputs is detected, and the binary signal in the floating system is selected if the output difference exceeds a prescribed value, and the binary signal based on a single threshold voltage is selected if the output difference is smaller than the prescribed value. Thus, the accurate binary signal is outputted even if the read output of the original surface is changed in AC as well as DC.

Description

【発明の詳細な説明】 [発明の技術分野] この発明は光学的な画像データ読取り手段に用いられる
イメージセンサ出力の2値化回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to an image sensor output binarization circuit used in optical image data reading means.

[従来技術とその問題点コ 最近、超小型のハンディコピー機などには、光源の光を
原稿面に照射し、原稿面からの反射光をイメージセンサ
、例えばCODで受けて画像データを読取るような画像
データ読取り手段が用いられている。
[Prior art and its problems] Recently, ultra-compact hand-held copy machines and the like have been equipped with a technology that irradiates light from a light source onto the document surface and receives reflected light from the document surface using an image sensor, such as a COD, to read image data. Image data reading means are used.

ところで、このようなイメージセンサとして用いられる
CODは原稿面での白、黒のコントラストの変化率に応
じて出力電圧が変化することが知られている。したがっ
て、例えば、第7図(a)に示すように、白:黒の関係
が1:1の原稿面の画像データを読取る。場合と、同図
(b)に示すように白:黒の関係が5=1の原稿面の画
像データを読取る場合とでは、後者の方が全体的な電圧
レベルが上昇する。
Incidentally, it is known that the output voltage of the COD used as such an image sensor changes depending on the rate of change in contrast between white and black on the surface of the document. Therefore, for example, as shown in FIG. 7(a), image data of a document surface with a white:black ratio of 1:1 is read. The overall voltage level is higher in the latter case than in the case of reading the image data of the original surface where the white:black relationship is 5=1 as shown in FIG.

このため、従来では、CODの出力を2値化する手段と
して、CODの出力と、該CODの出力を積分したフロ
ーティング値とを比較して2値化出力を得る、いわゆる
フローティング方式が採用されている。
For this reason, conventionally, as a means to binarize the output of a COD, a so-called floating method has been adopted in which a binarized output is obtained by comparing the output of the COD and a floating value obtained by integrating the output of the COD. There is.

ところが、このようなフローティング方式を採用すると
、上述のように原稿面に白部分と、黒部分が交互に現わ
れ、その読取り出力が交流的変化を有するものの場合は
回答問題ないが、いわゆるベタ白あるいはベタ黒のよう
に読取り出力が直流的変化を呈するものの場合には、こ
の時のCODの出力と、該CODの出力を積分した出力
とが常に等しくなることから、2値化出力がrHJまた
はrLJのいずれかに固定されてしまい、正確な2値化
信号が得られない欠点があった。
However, when such a floating method is adopted, as mentioned above, white parts and black parts appear alternately on the document surface, and if the readout output has alternating current changes, there is no problem with the answer, but if the reading output has alternating current changes, then the so-called solid white or In the case of something like solid black where the read output shows a direct current change, the output of the COD at this time and the output obtained by integrating the output of the COD are always equal, so the binarized output is rHJ or rLJ. This has the disadvantage that accurate binarized signals cannot be obtained.

[発明の目的] この発明は上記事情に鑑みてなされたもので、原稿面の
読取り出力が交流的変化するものであっても、直流的変
化するものであっても正確な2値化信号が得られる瀦力
の2値化回路を提供することを目的とする。
[Objective of the Invention] This invention was made in view of the above circumstances, and it is possible to obtain an accurate binary signal regardless of whether the reading output of the document surface changes in an alternating current or direct current manner. The object of the present invention is to provide a binarization circuit with the power obtained.

[発明の要点] この発明にかかるイメージセンサ出力の2値化回路は、
原稿面のデータを読取るイメージセンサから断続的な画
像信号を出力する出力手段、この出力手段により出力さ
れる画像信号を該画像信号の積分値に基づいて2値化す
る第1の2値化手段、上記出力手段により出力される画
像信号を単一のシュレッシュ電圧に基づき2Wi化する
第2の21a化手段、上記出力手段により出力される画
像信号の相互に隣接する画像信号の差を検出する出力差
検出手段を有し、この検出手段にて検出された出力差が
所定値を越えるとき上記第1の21ia化手段の2値化
信号を選択するとともに、上記出力差が所定値以下のと
き上記第2の2値化手段の2値化信号を選択するように
なっている。
[Summary of the Invention] The image sensor output binarization circuit according to the present invention has the following features:
An output means for outputting an intermittent image signal from an image sensor that reads data on a document surface, and a first binarization means for binarizing the image signal output by the output means based on an integral value of the image signal. , second 21a converting means for converting the image signal outputted by the outputting means into 2Wi based on a single threshold voltage, detecting a difference between adjacent image signals outputted by the outputting means; It has an output difference detection means, and when the output difference detected by the detection means exceeds a predetermined value, the binarized signal of the first 21ia converting means is selected, and when the output difference is less than the predetermined value, the binarized signal is selected. The binarized signal of the second binarizing means is selected.

[発明の実施例] 以下、この発明の一実施例を図面にしたがい説明する。[Embodiments of the invention] An embodiment of the present invention will be described below with reference to the drawings.

この実施例では、この発明をハンディコピー薇に適用し
た例を示している。第1図は、この発明を実施したハン
ディコピー機の外観構成を示したものである。同図にお
いて1はハンディコピー機本体で、例えば幅7011、
厚ざ30鵬−1高さ160■程度の大きさを有し、有効
読取り幅、有効プリント幅40mm、読取り記憶長さ2
00 full、読取りドツト密度8dot/u+、プ
リントドツト密度8dot/m−を想定している。しか
して、上記ハンディコピー機本体1には、その先端部、
つまり、図示下端部に読取り及びプリントを行なうため
のヘッド部HAを設けている。このヘッド部HAは、幅
及び厚さがハンディコピー機本体1より小さく形成され
ており、ハンディコピー機本体1との間に段差部りが形
成されている。そして、上記ヘッド部HAの先端面は、
中央より両側部に向かって斜めに形成されており、その
斜面部1a、1bに読取部2及びプリント部3がそれぞ
れ設けられる。また、上記ハンディコピー機本体1には
、−側部の図示下方に電源・読取/プリント切換スイッ
チ4が設けられると共に、前面及び裏面の両面部に相対
向するように動作キー5a、5bが設けられる。この動
作キー5a、5bは平板状に形成されており、その上面
部間を手で挟んでハンディコピー機本体1を前後に移動
できるようになっている。上記ff1Ii!・読取/プ
リント切換スイッチ4は、電源のオン/オフ、読取、プ
リントの各動作モードを指定するもので、読取及びプリ
ントの各モードを指定した時に電源がオンするようにな
っている。更に上記ハンディコピー機本体1には、上記
読取部2及びプリント部3が設けられている側とは反対
の端部にクリアキー6及びプリント濃度調整用の濃度調
整ボリューム7が設けられる。
This embodiment shows an example in which the present invention is applied to a handy copy machine. FIG. 1 shows the external configuration of a handy copy machine embodying the present invention. In the figure, 1 is the main body of the handy copy machine, for example, the width is 7011,
It has a size of about 30 cm in thickness and 160 cm in height, and has an effective reading width of 40 mm, an effective print width of 40 mm, and a reading memory length of 2 mm.
00 full, a read dot density of 8 dots/u+, and a print dot density of 8 dots/m-. However, the handheld copy machine main body 1 has a tip portion,
That is, a head section HA for reading and printing is provided at the lower end in the figure. The head portion HA is smaller in width and thickness than the handy copy machine main body 1, and a stepped portion is formed between the head portion HA and the handy copy machine main body 1. The tip end surface of the head portion HA is
It is formed obliquely from the center toward both sides, and a reading section 2 and a printing section 3 are provided on the sloped sections 1a and 1b, respectively. Further, the handy copy machine body 1 is provided with a power/read/print switch 4 at the lower side of the minus side as shown in the figure, and operation keys 5a and 5b are provided oppositely on both the front and back sides. It will be done. The operation keys 5a and 5b are formed into a flat plate shape, and the handy copy machine main body 1 can be moved back and forth by holding the upper surface portions between the keys by hand. Above ff1Ii! - The reading/printing switch 4 is used to specify the power on/off, reading, and printing operation modes, and the power is turned on when each reading and printing mode is specified. Further, the handy copy machine main body 1 is provided with a clear key 6 and a density adjustment volume 7 for adjusting print density at an end opposite to the side where the reading section 2 and printing section 3 are provided.

上記クリアキー6は、画像読取り時は画像メモリの消去
に使用され、プリント時は画像データの頭出しに用いら
れる。また、ハンディコピー機本体1には、上記読取部
3に近接して電源LED8が設けられると共に、前面部
の図示上端側にメモリLED9及び速度警告LEDIO
が配置される。
The clear key 6 is used to erase the image memory when reading an image, and is used to locate the beginning of image data when printing. In addition, the handy copy machine main body 1 is provided with a power LED 8 in the vicinity of the reading section 3, and a memory LED 9 and a speed warning LED 8 are provided on the upper end side of the front part in the figure.
is placed.

しかして、上記ハンディ・コピー機により原稿を読取る
場合は、電源・読取/プリント切換スイッチ4を“読取
′°の位置にする。電源・読取/プリント切換スイッチ
4を゛読取パの位置にすると、電源がオンとなってII
IILED8が点灯する。この状態で読取部2を原稿面
に接触させ、動作キー5a、5bを押しながら移動させ
る。ハンディコピー機本体1の移動速度が速過ぎる場合
は、速度警告LEDIOで警告する。
When reading a document using the above-mentioned handy copy machine, the power/read/print selector switch 4 is set to the "read" position.When the power/read/print selector switch 4 is set to the "reader" position, Power on II
IILED8 lights up. In this state, the reading section 2 is brought into contact with the document surface and moved while pressing the operation keys 5a and 5b. If the moving speed of the handy copy machine main body 1 is too fast, a speed warning LEDIO will warn you.

そして、読取った画像データをプリント・アウトする場
合は、電源・読取/プリント切換スイッチ4を“プリン
ト“の位置に切換えた後、プリント部3を印写紙A(普
通紙)に接触させ、動作キー5 a、 5 bを押しな
がらハンディコピー機本体1を矢印X方向に移動させる
ことにより行なわれる。
If you want to print out the scanned image data, switch the power/read/print switch 4 to the "Print" position, then bring the print section 3 into contact with the printing paper A (plain paper) and press This is done by moving the handy copy machine main body 1 in the direction of arrow X while pressing keys 5a and 5b.

次に上記ハンディコピー機本体1内に設けられる読取部
2及びプリント部3の詳細について第2図及び第3図に
より説明する。読取部2は、第2図(a)(b)に示す
ようにハンディコピー機本体1内において、斜面部1a
に近接してLEDアレーからなる光[11が配設され、
この光!!111により斜面部1aに設けられた読取窓
12を介して読取り原稿Bを照明するようになっている
。また、ハンディコピー機本体1内には、斜面部1aの
近隣から上方に向かう光ガイド13が設けられ、この光
ガイド13の上端部側にレンズ14及び−次元イメージ
センサ15が順次所定の間隔を保って配置される。
Next, details of the reading section 2 and printing section 3 provided in the handy copy machine main body 1 will be explained with reference to FIGS. 2 and 3. As shown in FIGS. 2(a) and 2(b), the reading unit 2 is located inside the handy copy machine main body 1 on a sloped portion 1a.
A light [11] consisting of an LED array is arranged in the vicinity of the
This light! ! 111 illuminates the original document B to be read through the reading window 12 provided on the slope portion 1a. Furthermore, a light guide 13 is provided in the handy copy machine main body 1 and extends upward from the vicinity of the slope portion 1a, and a lens 14 and a -dimensional image sensor 15 are sequentially arranged at a predetermined interval on the upper end side of the light guide 13. maintained and placed.

上記−次元イメージセンサ15は、例えば1024ビツ
トの一次元CODで、そのうちの320ビツト(8do
t/miで4Qmm幅の場合)を使用している。上記レ
ンズ14及び−次元イメージセンサ15は、支持体16
により所定の位置に保持されている。
The above-mentioned -dimensional image sensor 15 is, for example, a 1024-bit one-dimensional COD, of which 320 bits (8do
t/mi and 4Qmm width) is used. The lens 14 and the -dimensional image sensor 15 are mounted on a support 16
is held in place by the

この支持体16は、ハンディコピー機本体1の内側に所
定間隔を保って設けられた内枠17に固着される。そし
て、上記支持体16に近接して電子部品実装部18及び
バッテリ格納部19が設けられ、上記電子部品実装部1
8に装着される回路基板20に上記−次元イメージセン
サ15が接続される。また、上記回路基板20には、上
記クリアキー6.11度調整ボリューム7等が接続され
る。
This support body 16 is fixed to an inner frame 17 provided inside the handy copy machine main body 1 at a predetermined interval. An electronic component mounting section 18 and a battery storage section 19 are provided adjacent to the support body 16, and the electronic component mounting section 1
The above-mentioned -dimensional image sensor 15 is connected to a circuit board 20 mounted on the circuit board 8 . Further, the circuit board 20 is connected to the clear key 6, the 11 degree adjustment volume 7, and the like.

しかして、上記内枠17内にはサーマルヘッド21、イ
ンクリボンロール22、等連送りローラ23、インクリ
ボン巻取りロール24が設けられ、ハンディコピー機本
体1との間にはゴムローラ25a、25b。
A thermal head 21, an ink ribbon roll 22, a continuous feed roller 23, and an ink ribbon take-up roll 24 are provided within the inner frame 17, and rubber rollers 25a and 25b are provided between the inner frame 17 and the handy copy machine main body 1.

歯車26.27.28.29.30が設けられる。上記
ゴムローラ25a、25bは、内枠17に軸31を介し
て回転自在にVt@され、その外周面が斜面部1a、1
bの両側に設けた切欠部32から僅かに外部に突出する
ようになっている。そして、上記一方のゴムローラ25
aには、その側部に同軸的に上記歯車26が固着される
。この歯車26は、ゴムローラ25aより小径に形成さ
れ、中間歯車27を介在して歯車28に結合される。こ
の歯車28は、1方向クラツチ33を介して上記等連送
りローラ23の軸に連結される。
Gear wheels 26.27.28.29.30 are provided. The rubber rollers 25a, 25b are rotatably connected to the inner frame 17 via a shaft 31, and their outer peripheral surfaces are attached to the slope portions 1a, 1.
It projects slightly to the outside from notches 32 provided on both sides of b. Then, the one rubber roller 25
The gear 26 is fixed coaxially to the side of a. This gear 26 is formed to have a smaller diameter than the rubber roller 25a, and is coupled to a gear 28 with an intermediate gear 27 interposed therebetween. This gear 28 is connected to the shaft of the constant feed roller 23 via a one-way clutch 33.

この1方向クラツチ33は、プリント動作時のみ1次側
の回転を2次側に、つまり、歯車28の回転を等連送り
ローラ23側に伝える構成となっている。
This one-way clutch 33 is configured to transmit the rotation of the primary side to the secondary side only during printing operation, that is, the rotation of the gear 28 to the constant feed roller 23 side.

また、上記1方向クラツチ33の1次側にはエンコーダ
ディスク34が装着され、1方向クラツチ33のクラッ
チ動作とは関係なく、歯車28とエンコーダディスク3
4が一緒に回転するようになっている。
Further, an encoder disk 34 is attached to the primary side of the one-way clutch 33, and the gear 28 and the encoder disk 34 are connected to each other regardless of the clutch operation of the one-way clutch 33.
4 are designed to rotate together.

このエンコーダディスク34には、第3図に示すように
複数のスリット35が一定間隔を保って放射状に設けら
れている。そして、上記エンコーダディスク34を間に
介して相対向するようにLED36及びフォトセンサ3
7が配置される。この場合、LED36は第2図(a)
に示すようにハンディコピー機本体1の内側に装着され
、フォトセンサ37は内枠17の内側に装着される。こ
の内枠17の上記フォトセンサ37を8@した部分には
透孔38が設けられ、LED3Bからの投射光がエンコ
ーダディスク34のスリット35及び上記透孔38を通
ってフォトセンサ37に入射するようになっている。す
なわち、エンコーダディスク34、LED36、フォト
センサ37等によりエンコーダ39が構成される。
As shown in FIG. 3, the encoder disk 34 is provided with a plurality of slits 35 radially spaced at regular intervals. Then, the LED 36 and the photo sensor 3 are arranged so as to face each other with the encoder disk 34 interposed therebetween.
7 is placed. In this case, the LED 36 is shown in FIG. 2(a).
As shown in FIG. 2, the photo sensor 37 is installed inside the handy copy machine main body 1, and the photosensor 37 is installed inside the inner frame 17. A through hole 38 is provided in a portion of the inner frame 17 located 8@ above the photosensor 37 so that the projected light from the LED 3B passes through the slit 35 of the encoder disk 34 and the through hole 38 and enters the photosensor 37. It has become. That is, the encoder 39 is configured by the encoder disk 34, the LED 36, the photosensor 37, and the like.

また、上記プリント部3における斜面部1bには、第3
図に示すようにプリント窓41及びインクリボンガイド
窓42が並行して設けられる。この場合、プリント窓4
1に対してインクリボンガイド窓42が内側に位置する
ように設けられる。上記プリント窓41には上記゛サー
マルヘッド21の発熱部21aが挿入され、その先端面
が斜面部1bより僅かに突出するように位置設定される
。そして、ハンディコビー様本体1の動作キー5aが設
けられている側の段差部りには、第2図(b)に示すよ
うにスリット43が設けられ、インクリボンロール22
から引出された熱転写インクリボン22aが上記スリッ
ト43からハンディコピー機本体1の外部に導出され、
その後、サーマルヘッド21の発熱部218部分を通っ
てインクリボンガイド窓42からハンディコピー機本体
1の内部に導入される。このハンディコピー機本体1の
内部に導入されたインクリボン22aは、軸31、イン
クリボンガイド44及び等連送りローラ23によりガイ
ドされてインクリボン巻取りロール24に巻取られるよ
うになっている。更に、上記ハンディコピー機本体1は
、第219(b)に示すように動作キー5bが設けられ
ている面がヒンジ45によって開閉可能に形成されてお
り、インクリボン22aの交換操作、内部の点検等がで
きるようになっている。
Further, on the slope portion 1b of the print section 3, a third
As shown in the figure, a print window 41 and an ink ribbon guide window 42 are provided in parallel. In this case, print window 4
1, the ink ribbon guide window 42 is located inside. The heat generating portion 21a of the thermal head 21 is inserted into the print window 41, and positioned so that its tip surface slightly protrudes from the slope portion 1b. As shown in FIG. 2(b), a slit 43 is provided in the stepped portion of the HandyCobby main body 1 on the side where the operation key 5a is provided, and the ink ribbon roll 22
The thermal transfer ink ribbon 22a pulled out from the slit 43 is led out of the handy copy machine main body 1,
Thereafter, the ink ribbon passes through the heat generating section 218 of the thermal head 21 and is introduced into the interior of the handy copier main body 1 through the ink ribbon guide window 42. The ink ribbon 22a introduced into the main body 1 of the handy copying machine is guided by a shaft 31, an ink ribbon guide 44, and a continuous feeding roller 23, and is wound onto an ink ribbon take-up roll 24. Furthermore, as shown in No. 219(b), the handheld copier main body 1 is formed so that the surface on which the operation key 5b is provided can be opened and closed by a hinge 45, so that the ink ribbon 22a can be replaced and the interior can be inspected. etc. can now be done.

次に上記回路基板20上に形成される電子回路の構成に
ついて第4図により説明する。エンコーダ39は、上記
したようにエンコーダディスク34、L E D 36
、フォトセンサ37等により構成されており、ハンディ
コピー機本体1の移動員に応じたパルス信号、すなわち
、移動量検出信号を出力する。
Next, the configuration of the electronic circuit formed on the circuit board 20 will be explained with reference to FIG. 4. The encoder 39 includes the encoder disk 34 and the LED 36 as described above.
, a photosensor 37, etc., and outputs a pulse signal, that is, a movement amount detection signal, depending on the person moving the handy copy machine main body 1.

このエンコーダ39から出力される移動量検出信号は、
制御部51、タイミング信号発生部52、速度検出部5
3へ送られる。上記制御部51には、上記電源・読取/
プリント切換スイッチ4、動作キー5a。
The movement amount detection signal output from this encoder 39 is
Control section 51, timing signal generation section 52, speed detection section 5
Sent to 3. The control unit 51 includes the power supply/read/
Print changeover switch 4, operation key 5a.

5b1クリアキー6、濃度調整ボリューム7等のキー及
びスイッチ群54から操作信号が与えられると共に、サ
ーマルヘッド21の温度及び印写紙の温度を検出する温
度センサ55から温度検出信号が与えられる。そして、
制御部51は、上記キー及びスイッチ群54からの操作
信号に応じてLED部50における電II!LED8及
びメモリLED9の点灯制御及びその他各部の制御動作
を行なうと共に、電源・読取/プリント切換スイッチ4
により指定される読取モード或いはプリントモードに応
じてタイミング信号発生部52に動作指令Sl、S2を
与える。この場合、制御部51は、読取モードであれば
動作命令S1、また、プリントモードであれば動作命令
S2をタイミング信号発生部52に与える。
Operation signals are given from a group of keys and switches 54 such as the 5b1 clear key 6 and the density adjustment volume 7, and a temperature detection signal is given from a temperature sensor 55 that detects the temperature of the thermal head 21 and the temperature of the printing paper. and,
The control unit 51 controls the LED unit 50 to turn on and off in response to operation signals from the key and switch group 54 . In addition to controlling the lighting of the LED 8 and memory LED 9 and controlling other parts, the power/read/print selector switch 4
Operation commands Sl and S2 are given to the timing signal generator 52 according to the reading mode or print mode specified by. In this case, the control unit 51 provides the timing signal generating unit 52 with an operation command S1 in the reading mode and an operation command S2 in the print mode.

上記タイミング信号発生部52は、制御部51から動作
命令S1が与えられた場合は、一定周期のCOD露光タ
イミング信号を発生すると共に、エンコーダ39からの
移動量検出信号に同期して所定数の読取タイミング信号
a1シリアル/パラレル変換信号b1クロックパルスC
等の各種タイミング信号を発生する。また、タイミング
信号発生部52は、制御部51から動作命令S2が与え
られた場合は、プリントタイミング信号を発生する。そ
して、上記タイミング信号発生部52から出力されるC
OD露光タイミング信号は一次元イメージセンサ15に
、読取タイミング信号aは2値化回路57に、シリアル
/パラレル変換信号すはシリアル/パラレル変換部58
に、クロックパルスCはアドレスカウンタ61に、それ
ぞれ送られる。上記−次元イメージセンサ15は、原稿
Bから反射光をCOD露光タイミング信号に同期して読
最り、2値化回路57へ出力する。この2値化回路57
は、入力信号を白黒2値の信号に変換し、シリアル/パ
ラレル変換部58に出力する。
When the timing signal generating section 52 receives the operation command S1 from the control section 51, it generates a COD exposure timing signal of a constant period, and also reads a predetermined number of times in synchronization with the movement amount detection signal from the encoder 39. Timing signal a1 Serial/parallel conversion signal b1 Clock pulse C
Generates various timing signals such as Further, the timing signal generation section 52 generates a print timing signal when the operation command S2 is given from the control section 51. Then, the C output from the timing signal generating section 52 is
The OD exposure timing signal is sent to the one-dimensional image sensor 15, the reading timing signal a is sent to the binarization circuit 57, and the serial/parallel conversion signal is sent to the serial/parallel conversion section 58.
Then, the clock pulse C is sent to the address counter 61, respectively. The -dimensional image sensor 15 reads the reflected light from the original B in synchronization with the COD exposure timing signal and outputs it to the binarization circuit 57 . This binarization circuit 57
converts the input signal into a black and white binary signal and outputs it to the serial/parallel converter 58.

このシリアル/パラレル変換部58は、入力信号をシリ
アル/パラレル変換信号すにより例えば8ビツト毎にパ
ラレル信号に変換し、データセレクタ59を介して画像
データメモリ60に出力する。また、データセレクタ5
9は、データラインが制御部51に接続されており、制
御部51からのセレクト信号dによりシリアル/パラレ
ル変換部58あるいは制御部51の一方が選択される。
The serial/parallel converter 58 converts the input signal into a parallel signal every 8 bits using a serial/parallel conversion signal, and outputs the converted signal to the image data memory 60 via the data selector 59. Also, data selector 5
Reference numeral 9 has a data line connected to the control section 51, and either the serial/parallel conversion section 58 or the control section 51 is selected by a select signal d from the control section 51.

上記画像データメモリ60の書込みアドレス(行及び桁
アドレス)は、アドレスカウンタ61により示され、ア
ドレスセレクタ62を介して指定される。また、画像デ
ータメモリ60の読出しアドレスは、制御部51よりア
ドレスセレクタ62を介して与えられる。このアドレス
セレクタ62は、制御部51からのセレクト信号eによ
り、読取モード時はアドレスカウンタ61側を選択し、
プリントモード時は制御部51を選択して画像データメ
モリ60のアドレスを指定する。
The write address (row and column address) of the image data memory 60 is indicated by an address counter 61 and designated via an address selector 62. Further, the read address of the image data memory 60 is given by the control section 51 via the address selector 62. This address selector 62 selects the address counter 61 side in the read mode in response to a select signal e from the control unit 51,
In the print mode, the controller 51 is selected and the address of the image data memory 60 is designated.

しかして、上記原稿の読取りが終了し、その後、プリン
トモードに切換えられると、制御部51は上記したよう
に動作命令S2をタイミング信号発生部52に出力する
と共に、エンコーダ39からの移動態検出信号に応じて
画像データメモリ60の記憶データをデータセレクタ5
9を介して順次読出す。この制御部51は、画像データ
メモリ60から画像データを読出すと、その画像データ
をサーマルヘッド駆動回路64へ出力すると共に、印字
データの黒字数、温度センサ55からの温度検出信号及
び濃度調整ボリューム7の値を基に通電時間を設定する
When the reading of the document is completed and the mode is switched to the print mode, the control section 51 outputs the operation command S2 to the timing signal generation section 52 as described above, and also outputs the movement state detection signal from the encoder 39. The data selector 5 selects the data stored in the image data memory 60 according to the
9 sequentially. When the control unit 51 reads image data from the image data memory 60, it outputs the image data to the thermal head drive circuit 64, and also outputs the number of black characters in the print data, the temperature detection signal from the temperature sensor 55, and the density adjustment volume. Set the energization time based on the value of 7.

上記サーマルヘッド駆動回路64は、制神部51からプ
リントデータが送られてくると、タイミング信号発生部
52からのタイミング信号に同期してサーマルヘッド2
1を駆動する。
When the thermal head drive circuit 64 receives print data from the print control section 51, the thermal head drive circuit 64 drives the thermal head 2 in synchronization with the timing signal from the timing signal generation section 52.
Drive 1.

次に上記2値化回路57の回路構成について第5図によ
り説明する。
Next, the circuit configuration of the binarization circuit 57 will be explained with reference to FIG.

一次元イメージセンサ15の出力はローパスフィルタ(
L P F ) 65を介してノイズがカットされ、増
幅回路86に与えられる。増幅回路66は2値化に必要
なレベルまで入力信号を増幅する。この増幅回路66の
出力はコンパレータ67の正側端子に与えられる。この
コンパレータ67は負側端子に一定のシュレッシュ電圧
を出力するVREF2発生回路68の出力が与えられる
。そして、コンパレータ67の比較結果はセレクト回路
69に送られる。セレクト回路69はアンドゲート69
1.692 、オアゲート693、インバータ694を
有するもので、コンパレータ67の出力はアンドゲート
691の一方端子に与えられる。
The output of the one-dimensional image sensor 15 is filtered through a low-pass filter (
Noise is cut through L P F ) 65 and provided to an amplifier circuit 86 . The amplifier circuit 66 amplifies the input signal to a level required for binarization. The output of this amplifier circuit 66 is given to the positive terminal of a comparator 67. This comparator 67 is supplied with the output of a VREF2 generating circuit 68 which outputs a constant threshold voltage to its negative terminal. The comparison result of the comparator 67 is then sent to the select circuit 69. The select circuit 69 is an AND gate 69
1.692, an OR gate 693, and an inverter 694, and the output of the comparator 67 is given to one terminal of an AND gate 691.

また、増幅回路66の出力はコンパレータ70の負側端
子に与えられるとともに、ローパスフィルタ(LPF)
71、ボルテージフォロア回路72に与えられ、ここで
COD出力の積分値である70−ティング値が得られコ
ンパレータ70の正側端子に与えられる。そして、この
コンパレータ70の比較結果は70−テイング2値化信
号としてセレクト回路69のアンドゲート692の一方
端子に与えられる。
Further, the output of the amplifier circuit 66 is given to the negative terminal of the comparator 70, and is also applied to a low pass filter (LPF).
71 is applied to a voltage follower circuit 72, where a 70-ting value, which is an integral value of the COD output, is obtained and applied to the positive terminal of the comparator 70. The comparison result of the comparator 70 is applied to one terminal of the AND gate 692 of the select circuit 69 as a 70-biting binary signal.

タイミング信号発生部52の読取りタイミング信号aは
第1サンプリングクロック発生回路73および第2サン
プリングクロック発生回路74に与えられ、第1サンプ
リングクロック発生回路γ3の出力は第1サンプルホー
ルド回路75に、第2サンプリングクロック発生回路7
4の出力は第2サンプルホールド回路76に送られる。
The read timing signal a of the timing signal generator 52 is applied to a first sampling clock generation circuit 73 and a second sampling clock generation circuit 74, and the output of the first sampling clock generation circuit γ3 is applied to a first sample hold circuit 75 and a second sampling clock generation circuit 74. Sampling clock generation circuit 7
The output of 4 is sent to a second sample and hold circuit 76.

第1サンプルホールド回路75は増幅回路66の出力を
第6図(f)に示す第1サンプリングクロック発生回路
73のサンプリングクロックのrHJレベルでサンプリ
ングし、rLJレベルでホールドする。また、第2サン
プルホールド回路76は増幅回路66の出力を第6図(
Q)に示す第2サンプリングクOツク発生回路74のサ
ンプリングクロックのrHJレベルでサンプリングし、
rLJレベルでホールドする。これらのホールド内容は
コンパレータ17に与えられる。
The first sample and hold circuit 75 samples the output of the amplifier circuit 66 at the rHJ level of the sampling clock of the first sampling clock generation circuit 73 shown in FIG. 6(f), and holds it at the rLJ level. Further, the second sample and hold circuit 76 receives the output of the amplifier circuit 66 as shown in FIG.
Sampling is performed at the rHJ level of the sampling clock of the second sampling clock generation circuit 74 shown in Q),
Hold at rLJ level. These held contents are given to the comparator 17.

したがって、この動作を繰返すことで、第1サンプルホ
ールド回路75は第2サンプルホールド回路16の1つ
前のCOD出力をホールドするようになり、コンパレー
タ77よりこれらの比較結果が得られる。そして、この
コンパレータ77の比較出力はコンパレータ78の正側
端子に与えられる。このコンパレータ78は負側端子に
一定のシュレツシュ電圧を出力するVREFI発生回路
79の出力が与えられる。そして、コンパレータ79の
比較結果はラッチ回路80に送られる。
Therefore, by repeating this operation, the first sample and hold circuit 75 comes to hold the previous COD output of the second sample and hold circuit 16, and the comparator 77 obtains a comparison result between them. The comparison output of this comparator 77 is given to the positive terminal of a comparator 78. This comparator 78 is supplied with the output of a VREFI generating circuit 79 which outputs a constant threshold voltage to its negative terminal. The comparison result of the comparator 79 is then sent to the latch circuit 80.

ラッチ回路80は第6図(h)に示すラッチクロック発
生回路81のクロック信号が与えられ、コンパレータ7
9の比較結果をセレクト回路69のアンドゲート692
の他方端子に与えるとともに、インバータ694を介し
てアンドゲート691の他方端子に与える。そして、ア
ンドゲート691.692の出力はオアゲート693を
介して出力される。
The latch circuit 80 is supplied with a clock signal from the latch clock generation circuit 81 shown in FIG. 6(h), and the comparator 7
The AND gate 692 of the select circuit 69 selects the comparison result of 9.
and the other terminal of AND gate 691 via inverter 694. The outputs of AND gates 691 and 692 are outputted via OR gate 693.

次に、上記実施例の動作を説明する。Next, the operation of the above embodiment will be explained.

原稿に記録されている文字、画像等の情報を読取る場合
には、まず、電源・読取/プリント切換スイッチ4を“
N源オフ′°の位置から゛読取、°゛の位置に切換える
。電源・読取/プリント切換スイッチ4を“読取”の位
置に切換えると、電源がオンして各回路部が動作状態と
なる。また、このとき制御部51は、LED部50にお
ける電源LED8を点灯し、電源がオンしたことを表示
すると共に、動作命令S1をタイミング信号発生部52
に与える。
When reading information such as characters and images recorded on a document, first turn on the power/read/print switch 4.
Switch from the N source OFF '° position to the 'Read, °' position. When the power/read/print selector switch 4 is switched to the "read" position, the power is turned on and each circuit section becomes operational. At this time, the control unit 51 lights up the power LED 8 in the LED unit 50 to display that the power is turned on, and also sends the operation command S1 to the timing signal generation unit 52.
give to

しかして、ユーザーは、この状態で第2図(b)に示す
ようにヘッド部HAに形成されている読取部2を原稿B
の所望読取り面に当接させ、動作キー5 a、 5 b
を押しながらハンディコピー機本体1を動作キー5a側
の前方に向かって移動させる。
In this state, as shown in FIG. 2(b), the user moves the reading section 2 formed in the head section HA to the document B.
Touch the desired reading surface of the operation keys 5a, 5b.
While pressing , move the handy copy machine main body 1 toward the front on the operation key 5a side.

このとき光源11からの投射光が斜面部1aに設けた読
取窓12を介して原IB面に照射され、その反射光が光
ガイド13及びレンズ14を介して一次元イメージセン
サ15に入射する。
At this time, the projection light from the light source 11 is irradiated onto the original IB surface through the reading window 12 provided on the slope portion 1a, and the reflected light is incident on the one-dimensional image sensor 15 via the light guide 13 and lens 14.

また、ハンディコピー機本体1の移動に伴い、ゴムロー
ラ25a、25bが原稿8面に接して回転し、その回転
が歯車26.21を介して歯車28に伝達される。そし
て、この歯l!28の回転と共にエンコーダディスク3
4がハンディコピー機本体1の移動速度に比例した速さ
で回転する。このエンコーダディスク34の回転により
、LED3Bからスリット35を介してフォトセンサ3
7に送られる光が断続制御され、フォトセンサ37から
パルス信号が出力される。
Further, as the handy copy machine main body 1 moves, the rubber rollers 25a and 25b rotate in contact with the surface of the document 8, and the rotation is transmitted to the gear 28 via the gears 26 and 21. And these teeth! Encoder disk 3 with rotation of 28
4 rotates at a speed proportional to the moving speed of the handy copy machine main body 1. This rotation of the encoder disk 34 causes the photo sensor 3 to pass from the LED 3B through the slit 35.
The light sent to the photo sensor 7 is controlled intermittently, and the photo sensor 37 outputs a pulse signal.

そして、このフォトセンサ37から出力されるパルス信
号が第4図におけるエンコーダ39の出力となり、ハン
ディコピー機本体1に対する移動量検出信号として制御
部51、タイミング信号発生部52、速度検出部53へ
送られる。
The pulse signal output from the photo sensor 37 becomes the output of the encoder 39 in FIG. It will be done.

一方、タイミング信号発生部52は、制御部51から動
作命令S1が与えられると、一定周期のCCD露光タイ
ミング信号を発生し、−次元イメージセンサ15に与え
ると共に、エンコーダ39からの移動量検出信号に応じ
て読取りタイミング信号a及びシリアル/パラレル変換
信号すを発生し、2値化回路57及びシリアル/パラレ
ル変換部58へそれぞれ出力する。更にタイミング信号
発生部52は、上記シリアル/パラレル変換信号すに同
期してクロックパルスCを発生し、アドレスカウンタ6
1に出力する。
On the other hand, when the timing signal generation section 52 receives the operation command S1 from the control section 51, it generates a CCD exposure timing signal of a constant period and supplies it to the -dimensional image sensor 15, and also applies it to the movement amount detection signal from the encoder 39. Accordingly, a read timing signal a and a serial/parallel conversion signal S are generated and outputted to the binarization circuit 57 and the serial/parallel conversion section 58, respectively. Furthermore, the timing signal generator 52 generates a clock pulse C in synchronization with the serial/parallel conversion signal S, and outputs a clock pulse C to the address counter 6.
Output to 1.

しかして、上記−次元イメージセンサ15は、タイミン
グ信号発生部52から上記CCD露光タイミング信号に
同期して原稿B面からの反射光に応じた信号、すなわち
画像信号を出力する。この場合、−次元イメージセンサ
15では、第6図(a)のシフトゲートパルスSH,同
図(b)、(C)の信@電荷φ1、φ2および同図(d
)のりセットゲートパルスR8により同図(e)に示す
出力O8が得られる。そして、この−次元イメージセン
サ15の・出力信号は、2値化回路57へ送られる。
Thus, the above-mentioned -dimensional image sensor 15 outputs a signal corresponding to the light reflected from the surface of the document B, that is, an image signal, in synchronization with the above-mentioned CCD exposure timing signal from the timing signal generating section 52. In this case, in the -dimensional image sensor 15, the shift gate pulse SH in FIG. 6(a), the signals @ charges φ1, φ2 in FIG.
) An output O8 shown in FIG. 3(e) is obtained by the glue set gate pulse R8. The output signal of this -dimensional image sensor 15 is then sent to a binarization circuit 57.

この2値化回路57は、−次元イメージセンサ15より
送られてくるm像信号をタイミング信号発生部52から
の読取りタイミング信号aに同期して2値化信号に変換
し、シリアル/パラレル変換部58へ出力する。つまり
、かかる2値化回路57では、−次元イメージセンサ1
5からの出力、つまりCOD出力がローパスフィルタ6
5に与えられ、リセットノイズがカットされ、増幅回路
66に与えられる。そして、この増幅回路66にて2値
化に必要なレベルまで増幅され、コンパレータ67.7
0に送られる。コンパレータ67では、VREF2発生
回路67の一定のシュレッシュ電圧と比較され、この比
較結果がセレクト回路69のアンドゲート691に与え
られる。また、コンパレータ70では、ローパスフィル
タ71およびボルテージフォロア回路72を介して得ら
れたフローティング値と比較され、この比較結果がセレ
クト回路69のアンドゲート692に与えられる。
The binarization circuit 57 converts the m-image signal sent from the -dimensional image sensor 15 into a binarization signal in synchronization with the read timing signal a from the timing signal generation section 52, and converts the m-image signal sent from the -dimensional image sensor 15 into a binarization signal, and converts it into a binary signal. Output to 58. In other words, in the binarization circuit 57, the -dimensional image sensor 1
The output from 5, that is, the COD output, is sent to the low-pass filter 6.
5, the reset noise is cut, and the signal is applied to the amplifier circuit 66. The amplification circuit 66 amplifies it to the level required for binarization, and the comparator 67.7
Sent to 0. The comparator 67 compares it with a constant threshold voltage of the VREF2 generating circuit 67, and the comparison result is applied to the AND gate 691 of the select circuit 69. Further, the comparator 70 compares the floating value obtained through the low-pass filter 71 and the voltage follower circuit 72, and provides the result of this comparison to the AND gate 692 of the select circuit 69.

一方、増幅回路66の出力は第1サンプルホールド回路
75、第2サンプルホールド回路16に送られる。この
状態で、タイミング信号発生部52からの読取りタイミ
ング信号aが第1サンプリングクロック発生回路73、
第2サンプリングクロック発生回路74に与えられると
、第1サンプリングクOツク発生回路73より第6回(
f)に示すサンプリングクロックが出力され、第1サン
プルホールド回路75の内容はrHJレベルでサンプリ
ングされ、rLJレベルでホールドされる。同様に、第
2サンプリングクロック発生回路74より第6図(0)
に示すサンプリングクロックが出力され、第2サンプル
ホールド回路76の内容はrHJレベルでサンプリング
され、rLJレベルでホールドされる。
On the other hand, the output of the amplifier circuit 66 is sent to the first sample and hold circuit 75 and the second sample and hold circuit 16. In this state, the read timing signal a from the timing signal generator 52 is transmitted to the first sampling clock generator 73,
When applied to the second sampling clock generation circuit 74, the first sampling clock generation circuit 73 generates the sixth clock (
The sampling clock shown in f) is output, and the contents of the first sample and hold circuit 75 are sampled at the rHJ level and held at the rLJ level. Similarly, from the second sampling clock generation circuit 74,
A sampling clock shown in is output, and the contents of the second sample and hold circuit 76 are sampled at the rHJ level and held at the rLJ level.

こうして第1サンプルホールド回路75および第2サン
プルホールド回路76にホールドされた内容はコンパレ
ータ77に与えられる。この場合、コンパレータ77に
与えられる第1サンプルホールド回路75のCOD出力
は、第2サンプルホールド回路76のCOD出力の1つ
前のものとなり、これらの比較結果がコンパレータ77
より出力される。ここで、コンパレータ77は、COD
出力が交流的に変化するものであるときは大きな出力が
、逆にCOD出力が直流的に変化するものであるときは
小さな出力が得られる。そして、このコンパレータ77
の出力はコンパレータ78に与えられ、VREFI発生
回路79の一定のシュレッシュ電圧と比較される。
The contents held in the first sample and hold circuit 75 and the second sample and hold circuit 76 are provided to the comparator 77. In this case, the COD output of the first sample-and-hold circuit 75 given to the comparator 77 is the one before the COD output of the second sample-and-hold circuit 76, and the results of these comparisons are given to the comparator 77.
It is output from Here, the comparator 77 is COD
When the output changes in an alternating current manner, a large output is obtained, and conversely, when the COD output changes in a direct current manner, a small output is obtained. And this comparator 77
The output of VREFI generating circuit 79 is applied to comparator 78 and compared with a constant threshold voltage of VREFI generating circuit 79.

この場合、コンパレータ78は、コンパレータ77での
出力が十分大きく、VREFI発生回路79の一定のシ
ュレッシュ電圧を越えるときは「1」出力を、また、コ
ンパレータ77での出力が小さく、VREFI発生回路
79の一定のシュレッシュ電圧以下であるときはrOJ
出力を発生する。そして、この出力はラッチクロック発
生回路81の第6図(h)に示すラッチクロックにより
ラッチ回路80にラッチされたのち、セレクト回路69
に送られる。
In this case, the comparator 78 outputs "1" when the output from the comparator 77 is sufficiently large and exceeds a certain threshold voltage of the VREFI generation circuit 79, and outputs "1" when the output from the comparator 77 is small and exceeds the certain threshold voltage of the VREFI generation circuit 79. rOJ when it is below a certain threshold voltage of
Generate output. This output is latched by the latch circuit 80 by the latch clock shown in FIG. 6(h) of the latch clock generation circuit 81, and then
sent to.

したがって、仮にCOD出力が交流的に大きく変化する
もので、コンパレータ77での出力がVREF1発生回
路79の一定のシュレッシュ電圧を越えるときは「1」
出力がラッチ回路80を介してセレクト回路69のアン
ドゲート692に与えられるので、コンパレータ70の
出力が70−ティング2値化信号として送出される。こ
の場合、アンドゲート691はインバータ694より「
0」出力が与えられるので、コンパレータ67の出力が
セレクトされることがない。一方、COD出力が直流的
に変化するもので、コンパレータγ1での出力がVRE
FI発生回路79の一定のシュレツシュ電圧以下のとき
は「0」出力がラッチ回路80よりセレクト回路69の
インバータ694に与えられる。すると、インバータ6
94より「1」出力がアンドゲート691に与えられる
ようになり、今度はコンパレータ67より2値化信号が
出力されるようになる。
Therefore, if the COD output changes significantly in an AC manner and the output from the comparator 77 exceeds a certain threshold voltage of the VREF1 generation circuit 79, the value is "1".
Since the output is given to the AND gate 692 of the select circuit 69 via the latch circuit 80, the output of the comparator 70 is sent out as a 70-ting binary signal. In this case, the AND gate 691 is
0'' output, the output of the comparator 67 is never selected. On the other hand, the COD output changes DC, and the output from comparator γ1 is VRE.
When the threshold voltage of the FI generating circuit 79 is below a certain threshold, a "0" output is given from the latch circuit 80 to the inverter 694 of the select circuit 69. Then, inverter 6
94, a "1" output is given to the AND gate 691, and the comparator 67 then outputs a binarized signal.

この場合、アンドゲート692はrOJ出力が与えられ
るので、コンパレータ70の出力がセレクトされること
はない。
In this case, since the rOJ output is given to the AND gate 692, the output of the comparator 70 is not selected.

このようにして、2値化回路57より得られた2値化信
号はシリアル/パラレル変換部58に送られる。このシ
リアル/パラレル変換部58は、タイミング信号発生部
52から送られてくるシリアル/パラレル変換信号すに
同期して入力信号を例えば8ビツト毎にパラレルの画像
データに変換し、データセレクタ59へ出力する。この
データセレクタ59は、読取モードが指定されている場
合には制御部51からのセレクトdによりシリアル/パ
ラレル変換部58側に切換えられている。従って、上記
シリアル/パラレル変換部58から出力される画像デー
タは、データセレクタ59を介して画像データメモリ6
0へ送られる。
In this way, the binarized signal obtained from the binarization circuit 57 is sent to the serial/parallel converter 58. This serial/parallel converter 58 converts the input signal into parallel image data, for example, every 8 bits in synchronization with the serial/parallel conversion signal sent from the timing signal generator 52, and outputs it to the data selector 59. do. This data selector 59 is switched to the serial/parallel converter 58 side by select d from the controller 51 when the reading mode is designated. Therefore, the image data output from the serial/parallel converter 58 is transferred to the image data memory 6 via the data selector 59.
Sent to 0.

画像データメモリ60のアドレスは、アドレスセレクタ
62を介して指定されるが、このときアドレスセレクタ
62は制御部51からのセレクト信号eによりアドレス
カウンタ61側に切換えられている。
The address of the image data memory 60 is designated via the address selector 62, but at this time the address selector 62 is switched to the address counter 61 side by the select signal e from the control section 51.

従って、アドレスカウンタ61のカウント出力により画
像データメモリ60のアドレス指定が行なわれる。上記
アドレスカウンタ61は、タイミング信号発生部52か
らのクロックパルスCにより順次桁アドレスが「+1」
され、画像データメモリ60のアドレスを指定する。そ
して、タイミング信号発生部52は、画像データメモリ
60に1行分の画像データが書込まれると、タイミング
信号の発生を停止し、エンコーダ3つから次の移vJ!
検出信号が送られてくるまで待機状態となる。以下同様
の動作が繰返され、原稿Bから読取った画像データが画
像データメモリ60に順次書込まれる。
Therefore, the address of the image data memory 60 is specified by the count output of the address counter 61. The address counter 61 sequentially changes the digit address to "+1" by the clock pulse C from the timing signal generator 52.
and specifies the address of the image data memory 60. Then, when one line of image data is written into the image data memory 60, the timing signal generating section 52 stops generating the timing signal, and starts the next transition vJ! from the three encoders.
It will be in a standby state until a detection signal is sent. Thereafter, similar operations are repeated, and image data read from document B is sequentially written into image data memory 60.

次に上記のようにして原稿Bから読取った画像データを
プリント・アウトする場合の動作について説明する。画
像データをプリント・アウトする場合は、N源・読取/
プリント切換スイッチ4をプリント位置に切換える。こ
の電源・読取/プリント切換スイッチ4の切換えにより
プリントモードとなり、制御部51はセレクト信号d、
eによりデータセレクタ59及びアドレスセレクタ62
を制御部51側に切換える。この状態でユーザーが第1
図に示すようにヘッド部HAにおけるプリント部3を印
写紙Aに接触させ、動作キー5a、5bを押しながらハ
ンディコピー機本体1を図示矢印X方向に移動させる。
Next, the operation when printing out the image data read from document B as described above will be explained. When printing out image data, use the N source/read/
Switch the print changeover switch 4 to the print position. By switching the power/read/print selector switch 4, the print mode is entered, and the control unit 51 outputs the select signal d,
e, the data selector 59 and address selector 62
is switched to the control section 51 side. In this state, the user
As shown in the figure, the print section 3 of the head section HA is brought into contact with the printing paper A, and the handy copy machine main body 1 is moved in the direction of the arrow X shown while pressing the operation keys 5a and 5b.

このハンディコピー機本体1の移動に伴いゴムローラ2
5a125bが回転し、その回転が歯車26.27を介
して歯車28に伝達される。
As the handy copy machine body 1 moves, the rubber roller 2
5a125b rotates, and the rotation is transmitted to gear 28 via gears 26 and 27.

そして、この歯車28の回転に伴ってエンコーダディス
ク34が回転し、フォトセンサ31から上記読取り時と
同様にハンディコピー機本体1の移動速度に応じて移動
量検出信号が取出される。
As the gear 28 rotates, the encoder disk 34 rotates, and a movement amount detection signal is extracted from the photosensor 31 in accordance with the movement speed of the handy copy machine main body 1, as in the above reading.

また、上記歯車28の回転は、1方向クラツチ33を介
して等速送りローラ23に伝達され、更に歯車29.3
0を介して巻取りロール24に伝えられる。これにより
等速送りローラ23及び巻取りロール24が回転し、イ
ンクリボンロール22から段部りのスリット43、サー
マルヘッド21の発熱部21a1インクリボンガイド窓
42を通り、軸31、インクリボンガイド44、等速送
りローラ23により案内されてきたインクリボン22a
を巻取る。この場合、上記等連送りローラ23は、ハン
ディコピー機本体1の移動に伴い、印写紙Aとインクリ
ボン22aとの間に相対速度を生じないようにハンディ
コピー機本体1の移動量に合わせて回転する。
Further, the rotation of the gear 28 is transmitted to the constant speed feed roller 23 via the one-way clutch 33, and further the rotation of the gear 29.
0 to the take-up roll 24. As a result, the constant speed feed roller 23 and the take-up roll 24 rotate, and the ink ribbon roll 22 passes through the stepped slit 43, the heat generating part 21a1 of the thermal head 21, the ink ribbon guide window 42, the shaft 31, and the ink ribbon guide 44. , the ink ribbon 22a guided by the constant speed feed roller 23
Wind up. In this case, the continuous feed roller 23 is adjusted to the amount of movement of the handy copier main body 1 so as not to generate a relative speed between the printing paper A and the ink ribbon 22a as the handy copier main body 1 moves. and rotate.

一方、上記フォトセンサ37から出力される移動量検出
信号は、上記したようにエンコーダ39の出力信号とし
て制御部51、タイミング信号発生部52及び速度検出
部53へ送られる。上記タイミング信号発生部52は、
上記エンコーダ39から送られてくる移動m検出信号に
応じて制御部51に1行印字命令を出力すると共にサー
マルヘッド駆動回路64にプリントタイミング信号を出
力する。また、制御部51は、エンコーダ39からの移
動m検出信号に応じて画像データメモリ60の行及び桁
アドレスを順茨指定し、画像データメモリ60に記憶さ
れている画像データをデータセレクタ59を介して読出
し、サーマルヘッド駆動回路64へ1行分づつ出力する
On the other hand, the movement amount detection signal output from the photosensor 37 is sent to the control section 51, the timing signal generation section 52, and the speed detection section 53 as an output signal of the encoder 39, as described above. The timing signal generating section 52 includes:
In response to the movement m detection signal sent from the encoder 39, a one-line print command is output to the control section 51, and a print timing signal is output to the thermal head drive circuit 64. Further, the control unit 51 sequentially specifies the row and digit addresses of the image data memory 60 according to the movement m detection signal from the encoder 39, and selects the image data stored in the image data memory 60 via the data selector 59. The data is read out and output to the thermal head drive circuit 64 one row at a time.

このサーマルヘッド駆動回路64は、制御部51からの
データに従って駆動信号をサーマルヘッド21に出力す
る。更に制御部51は、タイミング信号発生部52から
1行印字命令が与えられると、印字データの黒字数、温
度センサ55からのヘッド温度、濃度調整ボリューム7
の調整値等を基にサーマルヘッド21に対する通電時間
を設定するようになる。
The thermal head drive circuit 64 outputs a drive signal to the thermal head 21 according to data from the control section 51. Further, when the control unit 51 receives a one-line print command from the timing signal generation unit 52, the control unit 51 outputs the number of black characters in the print data, the head temperature from the temperature sensor 55, and the density adjustment volume 7.
The energization time for the thermal head 21 is set based on the adjustment value and the like.

このようにして画像データメモリ60に記憶している画
像データが、1行分づつサーマルヘッド21に出力され
、印字処理される。
The image data stored in the image data memory 60 in this manner is output line by line to the thermal head 21 and printed.

したがって、このようにすれば断続的に与えられるCO
D出力の隣接するCOD出力の差を検出し、この出力差
が所定値を越える場合はフローティング方式による2値
化信号を選択し、一方、出力差が所定値以下の場合は単
一のシュレツシュ電圧に基づく2値化信号を選択するよ
うにしたので、原稿面での読取り出力が交流的に変化す
るもの、あるいは直流的に変化するもののいずれの場合
でも、正確な2値化信号を出力することができる。
Therefore, in this way, CO that is given intermittently
The difference between adjacent COD outputs of the D output is detected, and if this output difference exceeds a predetermined value, a floating system binary signal is selected, while if the output difference is less than a predetermined value, a single Schresh voltage is selected. Since the binary signal is selected based on , an accurate binary signal can be output regardless of whether the reading output on the document surface changes in an alternating current or direct current manner. Can be done.

なお、この発明は上記実施例にのみ限定されず、要旨を
変更しない範囲で適宜変形して実施できる。
It should be noted that the present invention is not limited to the above-mentioned embodiments, but can be implemented with appropriate modifications without changing the gist.

[発明の効果] この発明によれば、断続的に与えられるCOD出力の隣
接するもの同士の出力差に応じてフローティング方式に
よる211[化信号あるいは単一シュレッシュ電圧での
21ii化信号を選択できるようにしたので、原稿面よ
り読取られる出力が交流的に変化する場合、あるいは直
流的に変化する場合のいずれでも、正確な2値化信号を
得ることができる。
[Effects of the Invention] According to the present invention, it is possible to select a 211 signal using a floating method or a 21iii signal using a single threshold voltage, depending on the output difference between adjacent COD outputs that are intermittently applied. As a result, an accurate binary signal can be obtained regardless of whether the output read from the document surface changes in an alternating current manner or in a direct current manner.

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

第1図はこの発明の一実施例の外観構成を示す斜視図、
第2図(a)は第1図の内部構成を示す断面図、第2図
(b)は同図(a)のI−I線矢視断面図、第3図は内
部の主要構成部分を取出して示す斜視図、第4図は電子
回路全体の構成を示すブロック図、第5図は同実施例に
使用される2値化回路の回路構成を示すブロック図、第
6図は同2値化回路を説明するための波形図、第7図は
従来のCOD出力の2値化回路を説明するための図であ
る。 1・・・ハンディコピー機本体、2・・・読取部、3・
・・プリント部、4・・・電源・読取/プリント切換ス
イッチ、5a、5b・・・動作キー、6・・・クリアキ
ー、7・・・濃度調整ボリューム、8・・・電源LED
19・・・メモリLED110・・・速度警告しED、
11・・・光源、11a・・・光源本体、11b・・・
鏡、12・・・読取窓、13・・・光ガイド、14・・
・レンズ、15・・・−次元イメージセンサ、16・・
・支持体、17・・・内枠、18・・・電子部品実装部
、19・・・バッテリ格納部、20・・・回路基板、2
1・・・サーマルヘッド、22・・・インクリボンロー
ル、23・・・等連送りローラ、24・・・インクリボ
ン巻取りロール、25a、25b・・・ゴムローラ、2
6〜30・・・歯車、32・・・切欠部、33・・・1
方向クラツチ、34・・・エンコーダディスク、35・
・・スリット、36・・・LED、37・・・フォトセ
ンサ、38・・・透孔、39・・・エンコーダ、41・
・・プリント窓、42・・・インクリボンガイド窓、4
3・・・スリット、44・・・インクリボンガイド、4
5・・・ヒンジ、51・・・制御部、52・・・タイミ
ング信号発生部、53・・・速度検出部、54・・・ス
イッチ群、55・・・温度センサ、56・・・アンプ、
51・・・A/D2換部、58・・・シリアル/パラレ
ル変換部、59・・・データセレクタ、60・・・画像
データメモリ、61・・・アドレスカウンタ、62・・
・アドレスセレクタ、64・・・サーマルヘッド駆動回
路、67、70.77.78・・・コンパレータ、68
・・・VREF2発生回路、69・・・セレクト回路、
72・・・ボルテージフォロア、13・・・第1サンプ
ルク0ツク発生回路、74・・・第2サンプルクロック
発生回路、75・・・第1サンプルホールド回路、76
・・・第2サンプルホールド回路、79・・・VREF
I発生回路、80・・・ラッチ回路。
FIG. 1 is a perspective view showing the external configuration of an embodiment of the present invention;
Fig. 2(a) is a sectional view showing the internal structure of Fig. 1, Fig. 2(b) is a sectional view taken along the line I-I in Fig. 1(a), and Fig. 3 shows the main internal components. FIG. 4 is a block diagram showing the overall configuration of the electronic circuit, FIG. 5 is a block diagram showing the circuit configuration of the binarization circuit used in the same example, and FIG. 6 is the same binary circuit. FIG. 7 is a waveform diagram for explaining a conventional COD output binarization circuit. 1... Handy copy machine body, 2... Reading section, 3...
...Print section, 4...Power/read/print switch, 5a, 5b...Operation key, 6...Clear key, 7...Density adjustment volume, 8...Power LED
19...Memory LED110...Speed warning ED,
11...Light source, 11a...Light source body, 11b...
Mirror, 12...Reading window, 13...Light guide, 14...
・Lens, 15...-dimensional image sensor, 16...
- Support body, 17... Inner frame, 18... Electronic component mounting section, 19... Battery storage section, 20... Circuit board, 2
DESCRIPTION OF SYMBOLS 1... Thermal head, 22... Ink ribbon roll, 23... Continuous feed roller, 24... Ink ribbon winding roll, 25a, 25b... Rubber roller, 2
6-30...Gear, 32...Notch, 33...1
Directional clutch, 34... Encoder disk, 35...
...Slit, 36...LED, 37...Photo sensor, 38...Through hole, 39...Encoder, 41...
...Print window, 42...Ink ribbon guide window, 4
3...Slit, 44...Ink ribbon guide, 4
5... Hinge, 51... Control unit, 52... Timing signal generation unit, 53... Speed detection unit, 54... Switch group, 55... Temperature sensor, 56... Amplifier,
51... A/D2 converter, 58... Serial/parallel converter, 59... Data selector, 60... Image data memory, 61... Address counter, 62...
・Address selector, 64... Thermal head drive circuit, 67, 70.77.78... Comparator, 68
...VREF2 generation circuit, 69...select circuit,
72... Voltage follower, 13... First sample clock generation circuit, 74... Second sample clock generation circuit, 75... First sample hold circuit, 76
...Second sample hold circuit, 79...VREF
I generation circuit, 80... latch circuit.

Claims (1)

【特許請求の範囲】[Claims] 原稿面のデータを読取るイメージセンサから断続的なに
画面信号を出力させる出力手段と、この出力手段より出
力される画像信号を該画像信号の積分値に基づいて2値
化する第1の2値化手段と、上記出力発生手段より出力
される画像信号を単一のシュレッシュ電圧に基づき2値
化する第2の2値化手段と、上記出力手段により出力さ
れる画像信号の相互に隣接する画像信号の差を検出する
出力差検出手段と、この出力差検出手段にて検出された
出力差が所定値以上のとき上記第1の2値化手段の2値
化信号を選択し上記出力差が所定値以下のとき上記第2
の2値化手段の2値化信号を選択する選択手段とを具備
したことを特徴とするイメージセンサ出力の2値化回路
an output means for intermittently outputting a screen signal from an image sensor that reads data on a document surface; and a first binary value that binarizes the image signal output from the output means based on an integral value of the image signal. a second binarizing means for binarizing the image signal output from the output generating means based on a single threshold voltage; output difference detection means for detecting a difference between image signals; and when the output difference detected by the output difference detection means is greater than or equal to a predetermined value, the binarized signal of the first binarization means is selected; is below a predetermined value, the second
1. A binarization circuit for image sensor output, comprising: selection means for selecting a binarized signal of the binarization means.
JP61235664A 1986-10-03 1986-10-03 Image sensor output binarization circuit Expired - Lifetime JP2540818B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61235664A JP2540818B2 (en) 1986-10-03 1986-10-03 Image sensor output binarization circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61235664A JP2540818B2 (en) 1986-10-03 1986-10-03 Image sensor output binarization circuit

Publications (2)

Publication Number Publication Date
JPS6390221A true JPS6390221A (en) 1988-04-21
JP2540818B2 JP2540818B2 (en) 1996-10-09

Family

ID=16989367

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61235664A Expired - Lifetime JP2540818B2 (en) 1986-10-03 1986-10-03 Image sensor output binarization circuit

Country Status (1)

Country Link
JP (1) JP2540818B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7218688B2 (en) 2002-04-16 2007-05-15 Sharp Kabushiki Kaisha Data slicer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7218688B2 (en) 2002-04-16 2007-05-15 Sharp Kabushiki Kaisha Data slicer

Also Published As

Publication number Publication date
JP2540818B2 (en) 1996-10-09

Similar Documents

Publication Publication Date Title
EP0278004B1 (en) Small copying apparatus
US4851921A (en) Manual sweeping, image data processing apparatus
EP0332114B1 (en) Sweeping apparatus for reading image data
EP0257651B1 (en) Manual document scanning apparatus
US4613759A (en) Small photoelectric reading apparatus
JPS6390221A (en) Binarizing circuit for image sensor output
JPS6390220A (en) Binarizing circuit for image sensor output
JPS6374255A (en) Compact image information processor
JP2512901B2 (en) Manual image input device
JPH0450692Y2 (en)
JPS62292062A (en) Manual system picture information processor
JP2531160B2 (en) Image data reader
KR100241243B1 (en) Electronic blackboard apparatus
JPS62290556A (en) Line printer
JPS62292061A (en) Small-sized printing device
JPS63281878A (en) Small-sized printing apparatus
JPS6376566A (en) Picture data reader
JPS63127670A (en) Picture data processor
JPS63127669A (en) Picture data processor
JPS63276567A (en) Thermal printer
JPS62292065A (en) Small-sized copying device
JPS6386953A (en) Image data processor
JPS62292063A (en) Picture data reader
JPS63275265A (en) Manual scanner
JPS63127659A (en) Image data processor